diff --git a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php index 4a04b2a7966d9..c71828001cc5a 100644 --- a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php +++ b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php @@ -11,13 +11,11 @@ /** * Class \Magento\AdminNotification\Block\Grid\Renderer\Actions * - * @since 2.0.0 */ class Actions extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var \Magento\Framework\Url\Helper\Data - * @since 2.0.0 */ protected $_urlHelper; @@ -25,7 +23,6 @@ class Actions extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstrac * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Url\Helper\Data $urlHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -41,7 +38,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php index 88c0f4bae2879..834e23bccae64 100644 --- a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php +++ b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php @@ -10,7 +10,6 @@ /** * Class \Magento\AdminNotification\Block\Grid\Renderer\Notice * - * @since 2.0.0 */ class Notice extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -19,7 +18,6 @@ class Notice extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Severity.php b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Severity.php index 3cea0f791cfd0..cac45a5992fc9 100644 --- a/app/code/Magento/AdminNotification/Block/Grid/Renderer/Severity.php +++ b/app/code/Magento/AdminNotification/Block/Grid/Renderer/Severity.php @@ -12,13 +12,11 @@ /** * Class \Magento\AdminNotification\Block\Grid\Renderer\Severity * - * @since 2.0.0 */ class Severity extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var \Magento\AdminNotification\Model\Inbox - * @since 2.0.0 */ protected $_notice; @@ -26,7 +24,6 @@ class Severity extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * @param \Magento\Backend\Block\Context $context * @param \Magento\AdminNotification\Model\Inbox $notice * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -42,7 +39,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/AdminNotification/Block/Inbox.php b/app/code/Magento/AdminNotification/Block/Inbox.php index 66f455979c02a..7137181e3cb3d 100644 --- a/app/code/Magento/AdminNotification/Block/Inbox.php +++ b/app/code/Magento/AdminNotification/Block/Inbox.php @@ -9,13 +9,11 @@ /** * @api - * @since 2.0.0 */ class Inbox extends \Magento\Backend\Block\Widget\Grid\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/AdminNotification/Block/System/Messages.php b/app/code/Magento/AdminNotification/Block/System/Messages.php index a3372bb111415..2a382319fe31c 100644 --- a/app/code/Magento/AdminNotification/Block/System/Messages.php +++ b/app/code/Magento/AdminNotification/Block/System/Messages.php @@ -8,7 +8,6 @@ /** * Class \Magento\AdminNotification\Block\System\Messages * - * @since 2.0.0 */ class Messages extends \Magento\Backend\Block\Template { @@ -16,13 +15,11 @@ class Messages extends \Magento\Backend\Block\Template * Message list * * @var \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection\Synchronized - * @since 2.0.0 */ protected $_messages; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -31,7 +28,6 @@ class Messages extends \Magento\Backend\Block\Template * @param \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection\Synchronized $messages * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -48,7 +44,6 @@ public function __construct( * Prepare html output * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -62,7 +57,6 @@ protected function _toHtml() * Retrieve message list * * @return \Magento\Framework\Notification\MessageInterface[] - * @since 2.0.0 */ public function getLastCritical() { @@ -80,7 +74,6 @@ public function getLastCritical() * Retrieve number of critical messages * * @return int - * @since 2.0.0 */ public function getCriticalCount() { @@ -93,7 +86,6 @@ public function getCriticalCount() * Retrieve number of major messages * * @return int - * @since 2.0.0 */ public function getMajorCount() { @@ -106,7 +98,6 @@ public function getMajorCount() * Check whether system messages are present * * @return bool - * @since 2.0.0 */ public function hasMessages() { @@ -117,7 +108,6 @@ public function hasMessages() * Retrieve message list url * * @return string - * @since 2.0.0 */ protected function _getMessagesUrl() { @@ -128,7 +118,6 @@ protected function _getMessagesUrl() * Initialize system message dialog widget * * @return string - * @since 2.0.0 */ public function getSystemMessageDialogJson() { diff --git a/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php b/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php index fc0e6d107fbdd..bd9153968973f 100644 --- a/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php +++ b/app/code/Magento/AdminNotification/Block/System/Messages/UnreadMessagePopup.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class UnreadMessagePopup extends \Magento\Backend\Block\Template { @@ -17,7 +16,6 @@ class UnreadMessagePopup extends \Magento\Backend\Block\Template * List of item classes per severity * * @var array - * @since 2.0.0 */ protected $_itemClasses = [ MessageInterface::SEVERITY_CRITICAL => 'error', @@ -28,7 +26,6 @@ class UnreadMessagePopup extends \Magento\Backend\Block\Template * System Message list * * @var \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection - * @since 2.0.0 */ protected $_messages; @@ -36,7 +33,6 @@ class UnreadMessagePopup extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection\Synchronized $messages * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -51,7 +47,6 @@ public function __construct( * Render block * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -65,7 +60,6 @@ protected function _toHtml() * Retrieve list of unread messages * * @return MessageInterface[] - * @since 2.0.0 */ public function getUnreadMessages() { @@ -76,7 +70,6 @@ public function getUnreadMessages() * Retrieve popup title * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getPopupTitle() { @@ -93,7 +86,6 @@ public function getPopupTitle() * * @param MessageInterface $message * @return string - * @since 2.0.0 */ public function getItemClass(MessageInterface $message) { diff --git a/app/code/Magento/AdminNotification/Block/ToolbarEntry.php b/app/code/Magento/AdminNotification/Block/ToolbarEntry.php index c9eab2040de86..9b05dd200e31c 100644 --- a/app/code/Magento/AdminNotification/Block/ToolbarEntry.php +++ b/app/code/Magento/AdminNotification/Block/ToolbarEntry.php @@ -11,7 +11,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class ToolbarEntry extends \Magento\Backend\Block\Template { @@ -34,7 +33,6 @@ class ToolbarEntry extends \Magento\Backend\Block\Template * Collection of latest unread notifications * * @var \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection - * @since 2.0.0 */ protected $_notificationList; @@ -42,7 +40,6 @@ class ToolbarEntry extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection\Unread $notificationList * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -57,7 +54,6 @@ public function __construct( * Retrieve notification description start length * * @return int - * @since 2.0.0 */ public function getNotificationDescriptionLength() { @@ -68,7 +64,6 @@ public function getNotificationDescriptionLength() * Retrieve notification counter max value * * @return int - * @since 2.0.0 */ public function getNotificationCounterMax() { @@ -79,7 +74,6 @@ public function getNotificationCounterMax() * Retrieve number of unread notifications * * @return int - * @since 2.0.0 */ public function getUnreadNotificationCount() { @@ -90,7 +84,6 @@ public function getUnreadNotificationCount() * Retrieve the list of latest unread notifications * * @return \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection - * @since 2.0.0 */ public function getLatestUnreadNotifications() { @@ -102,7 +95,6 @@ public function getLatestUnreadNotifications() * * @param string $dateString * @return string - * @since 2.0.0 */ public function formatNotificationDate($dateString) { diff --git a/app/code/Magento/AdminNotification/Block/Window.php b/app/code/Magento/AdminNotification/Block/Window.php index 12bc2010cce3a..277e25dac1727 100644 --- a/app/code/Magento/AdminNotification/Block/Window.php +++ b/app/code/Magento/AdminNotification/Block/Window.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Window extends \Magento\Backend\Block\Template { @@ -22,7 +21,6 @@ class Window extends \Magento\Backend\Block\Template * Severity icons url * * @var string - * @since 2.0.0 */ protected $_severityIconsUrl; @@ -30,7 +28,6 @@ class Window extends \Magento\Backend\Block\Template * Authentication * * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; @@ -38,13 +35,11 @@ class Window extends \Magento\Backend\Block\Template * Critical messages collection * * @var \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection - * @since 2.0.0 */ protected $_criticalCollection; /** * @var \Magento\Adminnotification\Model\Inbox - * @since 2.0.0 */ protected $_latestItem; @@ -53,7 +48,6 @@ class Window extends \Magento\Backend\Block\Template * If it isn't defined then application considers it as false. * * @var bool - * @since 2.0.0 */ protected $_isScopePrivate; @@ -62,7 +56,6 @@ class Window extends \Magento\Backend\Block\Template * @param \Magento\Backend\Model\Auth\Session $authSession * @param \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection\Critical $criticalCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -80,7 +73,6 @@ public function __construct( * Render block * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -100,7 +92,6 @@ protected function _toHtml() * Retrieve latest critical item * * @return bool|\Magento\Adminnotification\Model\Inbox - * @since 2.0.0 */ protected function _getLatestItem() { @@ -119,7 +110,6 @@ protected function _getLatestItem() * Check whether block should be displayed * * @return bool - * @since 2.0.0 */ public function canShow() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification.php index 1cb61117a01f0..850af7dcd6954 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ abstract class Notification extends \Magento\Backend\App\AbstractAction { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/AjaxMarkAsRead.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/AjaxMarkAsRead.php index ae50103fe4db3..55d34127970fc 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/AjaxMarkAsRead.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/AjaxMarkAsRead.php @@ -9,7 +9,6 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\AjaxMarkAsRead * - * @since 2.0.0 */ class AjaxMarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Notification { @@ -17,7 +16,6 @@ class AjaxMarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Not * Mark notification as read (AJAX action) * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php index 410cac3928666..9a68c5a49c70d 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\Index * - * @since 2.0.0 */ class Index extends \Magento\AdminNotification\Controller\Adminhtml\Notification { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MarkAsRead.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MarkAsRead.php index ccc879bcac105..d6c75014d9697 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MarkAsRead.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MarkAsRead.php @@ -9,7 +9,6 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\MarkAsRead * - * @since 2.0.0 */ class MarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Notification { @@ -22,7 +21,6 @@ class MarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Notific /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassMarkAsRead.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassMarkAsRead.php index f32c7cc1548bf..daf688e627678 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassMarkAsRead.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassMarkAsRead.php @@ -9,7 +9,6 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\MassMarkAsRead * - * @since 2.0.0 */ class MassMarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Notification { @@ -23,7 +22,6 @@ class MassMarkAsRead extends \Magento\AdminNotification\Controller\Adminhtml\Not /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php index a1d81fec832d4..d2b6007bd98a5 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php @@ -9,7 +9,6 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\MassRemove * - * @since 2.0.0 */ class MassRemove extends \Magento\AdminNotification\Controller\Adminhtml\Notification { @@ -23,7 +22,6 @@ class MassRemove extends \Magento\AdminNotification\Controller\Adminhtml\Notific /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Remove.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Remove.php index 081f58090f23d..9327676e12627 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Remove.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/Remove.php @@ -9,7 +9,6 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\Notification\Remove * - * @since 2.0.0 */ class Remove extends \Magento\AdminNotification\Controller\Adminhtml\Notification { @@ -23,7 +22,6 @@ class Remove extends \Magento\AdminNotification\Controller\Adminhtml\Notificatio /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php b/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php index 0af9e89b85561..cc195d04a6941 100644 --- a/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php +++ b/app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php @@ -9,19 +9,16 @@ /** * Class \Magento\AdminNotification\Controller\Adminhtml\System\Message\ListAction * - * @since 2.0.0 */ class ListAction extends \Magento\Backend\App\AbstractAction { /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; /** * @var \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection - * @since 2.0.0 */ protected $messageCollection; @@ -31,7 +28,6 @@ class ListAction extends \Magento\Backend\App\AbstractAction * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection $messageCollection - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -45,7 +41,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdminNotification/Model/Config/Source/Frequency.php b/app/code/Magento/AdminNotification/Model/Config/Source/Frequency.php index 5a029be286770..3a42b4c752d55 100644 --- a/app/code/Magento/AdminNotification/Model/Config/Source/Frequency.php +++ b/app/code/Magento/AdminNotification/Model/Config/Source/Frequency.php @@ -10,13 +10,11 @@ * * @codeCoverageIgnore * @api - * @since 2.0.0 */ class Frequency implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/AdminNotification/Model/Feed.php b/app/code/Magento/AdminNotification/Model/Feed.php index 0d3423bee62e7..0d628bd9c9d07 100644 --- a/app/code/Magento/AdminNotification/Model/Feed.php +++ b/app/code/Magento/AdminNotification/Model/Feed.php @@ -13,7 +13,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Feed extends \Magento\Framework\Model\AbstractModel { @@ -29,26 +28,22 @@ class Feed extends \Magento\Framework\Model\AbstractModel * Feed url * * @var string - * @since 2.0.0 */ protected $_feedUrl; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $_backendConfig; /** * @var \Magento\AdminNotification\Model\InboxFactory - * @since 2.0.0 */ protected $_inboxFactory; /** * @var \Magento\Framework\HTTP\Adapter\CurlFactory * - * @since 2.0.0 */ protected $curlFactory; @@ -56,19 +51,16 @@ class Feed extends \Magento\Framework\Model\AbstractModel * Deployment configuration * * @var \Magento\Framework\App\DeploymentConfig - * @since 2.0.0 */ protected $_deploymentConfig; /** * @var \Magento\Framework\App\ProductMetadataInterface - * @since 2.0.0 */ protected $productMetadata; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -85,7 +77,6 @@ class Feed extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -113,7 +104,6 @@ public function __construct( * Init model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -123,7 +113,6 @@ protected function _construct() * Retrieve feed url * * @return string - * @since 2.0.0 */ public function getFeedUrl() { @@ -138,7 +127,6 @@ public function getFeedUrl() * Check feed for modification * * @return $this - * @since 2.0.0 */ public function checkUpdate() { @@ -179,7 +167,6 @@ public function checkUpdate() * Retrieve Update Frequency * * @return int - * @since 2.0.0 */ public function getFrequency() { @@ -190,7 +177,6 @@ public function getFrequency() * Retrieve Last update time * * @return int - * @since 2.0.0 */ public function getLastUpdate() { @@ -201,7 +187,6 @@ public function getLastUpdate() * Set last update time (now) * * @return $this - * @since 2.0.0 */ public function setLastUpdate() { @@ -213,7 +198,6 @@ public function setLastUpdate() * Retrieve feed data as XML element * * @return \SimpleXMLElement - * @since 2.0.0 */ public function getFeedData() { @@ -249,7 +233,6 @@ public function getFeedData() * Retrieve feed as XML element * * @return \SimpleXMLElement - * @since 2.0.0 */ public function getFeedXml() { diff --git a/app/code/Magento/AdminNotification/Model/Inbox.php b/app/code/Magento/AdminNotification/Model/Inbox.php index 5c670d06b9093..d13045a5c9cb5 100644 --- a/app/code/Magento/AdminNotification/Model/Inbox.php +++ b/app/code/Magento/AdminNotification/Model/Inbox.php @@ -30,13 +30,11 @@ * @method \Magento\AdminNotification\Model\Inbox setIsRemove(int $value) * * @api - * @since 2.0.0 */ class Inbox extends \Magento\Framework\Model\AbstractModel implements NotifierInterface, InboxInterface { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -45,7 +43,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function getSeverities($severity = null) { @@ -68,7 +65,6 @@ public function getSeverities($severity = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function loadLatestNotice() { @@ -79,7 +75,6 @@ public function loadLatestNotice() /** * {@inheritdoc} - * @since 2.0.0 */ public function getNoticeStatus() { @@ -91,7 +86,6 @@ public function getNoticeStatus() * * @param array $data * @return $this - * @since 2.0.0 */ public function parse(array $data) { @@ -109,7 +103,6 @@ public function parse(array $data) * @param bool $isInternal * @throws \Magento\Framework\Exception\LocalizedException * @return $this - * @since 2.0.0 */ public function add($severity, $title, $description, $url = '', $isInternal = true) { @@ -143,7 +136,6 @@ public function add($severity, $title, $description, $url = '', $isInternal = tr * @param string $url * @param bool $isInternal * @return $this - * @since 2.0.0 */ public function addCritical($title, $description, $url = '', $isInternal = true) { @@ -159,7 +151,6 @@ public function addCritical($title, $description, $url = '', $isInternal = true) * @param string $url * @param bool $isInternal * @return $this - * @since 2.0.0 */ public function addMajor($title, $description, $url = '', $isInternal = true) { @@ -175,7 +166,6 @@ public function addMajor($title, $description, $url = '', $isInternal = true) * @param string $url * @param bool $isInternal * @return $this - * @since 2.0.0 */ public function addMinor($title, $description, $url = '', $isInternal = true) { @@ -191,7 +181,6 @@ public function addMinor($title, $description, $url = '', $isInternal = true) * @param string $url * @param bool $isInternal * @return $this - * @since 2.0.0 */ public function addNotice($title, $description, $url = '', $isInternal = true) { diff --git a/app/code/Magento/AdminNotification/Model/InboxInterface.php b/app/code/Magento/AdminNotification/Model/InboxInterface.php index f241c6176bc0e..5248f171ceb21 100644 --- a/app/code/Magento/AdminNotification/Model/InboxInterface.php +++ b/app/code/Magento/AdminNotification/Model/InboxInterface.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ interface InboxInterface { @@ -20,7 +19,6 @@ interface InboxInterface * @param int|null $severity * @return array|string|null * @api - * @since 2.0.0 */ public function getSeverities($severity = null); @@ -29,7 +27,6 @@ public function getSeverities($severity = null); * * @return $this * @api - * @since 2.0.0 */ public function loadLatestNotice(); @@ -38,7 +35,6 @@ public function loadLatestNotice(); * * @return array * @api - * @since 2.0.0 */ public function getNoticeStatus(); } diff --git a/app/code/Magento/AdminNotification/Model/NotificationService.php b/app/code/Magento/AdminNotification/Model/NotificationService.php index feb162954b83f..96ed6dcab9df4 100644 --- a/app/code/Magento/AdminNotification/Model/NotificationService.php +++ b/app/code/Magento/AdminNotification/Model/NotificationService.php @@ -10,19 +10,16 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class NotificationService { /** * @var \Magento\AdminNotification\Model\InboxFactory $notificationFactory - * @since 2.0.0 */ protected $_notificationFactory; /** * @param \Magento\AdminNotification\Model\InboxFactory $notificationFactory - * @since 2.0.0 */ public function __construct(\Magento\AdminNotification\Model\InboxFactory $notificationFactory) { @@ -35,7 +32,6 @@ public function __construct(\Magento\AdminNotification\Model\InboxFactory $notif * @param int $notificationId * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function markAsRead($notificationId) { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Grid/Collection.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Grid/Collection.php index a166e7e4ca43d..d325ed437a3a6 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Grid/Collection.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Grid/Collection.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Collection extends \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection { @@ -21,7 +20,6 @@ class Collection extends \Magento\AdminNotification\Model\ResourceModel\Inbox\Co * Add remove filter * * @return Collection|\Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php index 4cb605e1bb4c3..612ce319d938e 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Inbox extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -15,7 +14,6 @@ class Inbox extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * AdminNotification Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -27,7 +25,6 @@ protected function _construct() * * @param \Magento\AdminNotification\Model\Inbox $object * @return $this - * @since 2.0.0 */ public function loadLatestNotice(\Magento\AdminNotification\Model\Inbox $object) { @@ -60,7 +57,6 @@ public function loadLatestNotice(\Magento\AdminNotification\Model\Inbox $object) * @param \Magento\AdminNotification\Model\Inbox $object * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getNoticeStatus(\Magento\AdminNotification\Model\Inbox $object) { @@ -91,7 +87,6 @@ public function getNoticeStatus(\Magento\AdminNotification\Model\Inbox $object) * @param array $data * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function parse(\Magento\AdminNotification\Model\Inbox $object, array $data) { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php index 4592e445f5440..5bebf436eb883 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection.php @@ -11,7 +11,6 @@ * @api * @author Magento Core Team * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -19,7 +18,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Resource collection initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -33,7 +31,6 @@ protected function _construct() * Add remove filter * * @return $this - * @since 2.0.0 */ public function addRemoveFilter() { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Critical.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Critical.php index eafdb6c4c0770..bd45860556c9e 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Critical.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Critical.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Critical extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -17,7 +16,6 @@ class Critical extends \Magento\Framework\Model\ResourceModel\Db\Collection\Abst * Resource collection initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -29,7 +27,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Unread.php b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Unread.php index c1989881739cc..211657fac5b77 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Unread.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/Inbox/Collection/Unread.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Unread extends \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection { @@ -21,7 +20,6 @@ class Unread extends \Magento\AdminNotification\Model\ResourceModel\Inbox\Collec * Init collection select * * @return \Magento\AdminNotification\Model\ResourceModel\Inbox\Collection\Unread - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message.php b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message.php index 7aafbe533c309..90cd28dd228ff 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Message extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -15,7 +14,6 @@ class Message extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Flag that notifies whether Primary key of table is auto-incremeted * * @var bool - * @since 2.0.0 */ protected $_isPkAutoIncrement = false; @@ -23,7 +21,6 @@ class Message extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection.php b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection.php index a151e1349874a..2cf19318e0723 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.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 * System message list * * @var \Magento\Framework\Notification\MessageList - * @since 2.0.0 */ protected $_messageList; @@ -23,7 +21,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Number of messages by severity * * @var array - * @since 2.0.0 */ protected $_countBySeverity = []; @@ -35,7 +32,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * @param \Magento\Framework\Notification\MessageList $messageList * @param mixed $connection * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -54,7 +50,6 @@ public function __construct( * Resource collection initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -68,7 +63,6 @@ protected function _construct() * Initialize db query * * @return void - * @since 2.0.0 */ protected function _initSelect() { @@ -80,7 +74,6 @@ protected function _initSelect() * Initialize system messages after load * * @return void - * @since 2.0.0 */ protected function _afterLoad() { @@ -104,7 +97,6 @@ protected function _afterLoad() * * @param int $severity * @return $this - * @since 2.0.0 */ public function setSeverity($severity) { @@ -117,7 +109,6 @@ public function setSeverity($severity) * * @param int $severity * @return int - * @since 2.0.0 */ public function getCountBySeverity($severity) { diff --git a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection/Synchronized.php b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection/Synchronized.php index 116ea0c4c4ad6..89f00fe0f52f2 100644 --- a/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection/Synchronized.php +++ b/app/code/Magento/AdminNotification/Model/ResourceModel/System/Message/Collection/Synchronized.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Synchronized extends \Magento\AdminNotification\Model\ResourceModel\System\Message\Collection { @@ -15,7 +14,6 @@ class Synchronized extends \Magento\AdminNotification\Model\ResourceModel\System * Unread message list * * @var \Magento\Framework\Notification\MessageInterface[] - * @since 2.0.0 */ protected $_unreadMessages = []; @@ -23,7 +21,6 @@ class Synchronized extends \Magento\AdminNotification\Model\ResourceModel\System * Store new messages in database and remove outdated messages * * @return $this|\Magento\Framework\Model\ResourceModel\Db\AbstractDb - * @since 2.0.0 */ public function _afterLoad() { @@ -63,7 +60,6 @@ public function _afterLoad() * Retrieve list of unread messages * * @return \Magento\Framework\Notification\MessageInterface[] - * @since 2.0.0 */ public function getUnread() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message.php b/app/code/Magento/AdminNotification/Model/System/Message.php index 05e34f9676616..de437d9bf3e28 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message.php +++ b/app/code/Magento/AdminNotification/Model/System/Message.php @@ -8,13 +8,11 @@ /** * @codeCoverageIgnore * @api - * @since 2.0.0 */ class Message extends \Magento\Framework\Model\AbstractModel implements \Magento\Framework\Notification\MessageInterface { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -25,7 +23,6 @@ protected function _construct() * Check whether * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -36,7 +33,6 @@ public function isDisplayed() * Retrieve message text * * @return string - * @since 2.0.0 */ public function getText() { @@ -47,7 +43,6 @@ public function getText() * Retrieve message severity * * @return int - * @since 2.0.0 */ public function getSeverity() { @@ -58,7 +53,6 @@ public function getSeverity() * Retrieve unique message identity * * @return string - * @since 2.0.0 */ public function getIdentity() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php b/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php index 95440ff0cd719..63e62abcb6733 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php @@ -10,31 +10,26 @@ /** * @deprecated 2.1.0 - * @since 2.0.0 */ class Baseurl implements \Magento\Framework\Notification\MessageInterface { /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_urlBuilder; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; @@ -43,7 +38,6 @@ class Baseurl implements \Magento\Framework\Notification\MessageInterface * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\UrlInterface $urlBuilder * @param \Magento\Framework\App\Config\ValueFactory $configValueFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $config, @@ -61,7 +55,6 @@ public function __construct( * Get url for config settings where base url option can be changed * * @return string - * @since 2.0.0 */ protected function _getConfigUrl() { @@ -105,7 +98,6 @@ protected function _getConfigUrl() * Retrieve unique message identity * * @return string - * @since 2.0.0 */ public function getIdentity() { @@ -116,7 +108,6 @@ public function getIdentity() * Check whether * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -127,7 +118,6 @@ public function isDisplayed() * Retrieve message text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getText() { @@ -143,7 +133,6 @@ public function getText() * Retrieve message severity * * @return int - * @since 2.0.0 */ public function getSeverity() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/CacheOutdated.php b/app/code/Magento/AdminNotification/Model/System/Message/CacheOutdated.php index ebbe84c1cd821..a5dc649a266a2 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/CacheOutdated.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/CacheOutdated.php @@ -7,25 +7,21 @@ /** * @api - * @since 2.0.0 */ class CacheOutdated implements \Magento\Framework\Notification\MessageInterface { /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_urlBuilder; /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; @@ -33,7 +29,6 @@ class CacheOutdated implements \Magento\Framework\Notification\MessageInterface * @param \Magento\Framework\AuthorizationInterface $authorization * @param \Magento\Framework\UrlInterface $urlBuilder * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList - * @since 2.0.0 */ public function __construct( \Magento\Framework\AuthorizationInterface $authorization, @@ -49,7 +44,6 @@ public function __construct( * Get array of cache types which require data refresh * * @return array - * @since 2.0.0 */ protected function _getCacheTypesForRefresh() { @@ -64,7 +58,6 @@ protected function _getCacheTypesForRefresh() * Retrieve unique message identity * * @return string - * @since 2.0.0 */ public function getIdentity() { @@ -75,7 +68,6 @@ public function getIdentity() * Check whether * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -90,7 +82,6 @@ public function isDisplayed() * Retrieve message text * * @return string - * @since 2.0.0 */ public function getText() { @@ -105,7 +96,6 @@ public function getText() * Retrieve problem management url * * @return string|null - * @since 2.0.0 */ public function getLink() { @@ -116,7 +106,6 @@ public function getLink() * Retrieve message severity * * @return int - * @since 2.0.0 */ public function getSeverity() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Media/AbstractSynchronization.php b/app/code/Magento/AdminNotification/Model/System/Message/Media/AbstractSynchronization.php index 1257f31b559ba..20f7e1f46b64d 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Media/AbstractSynchronization.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Media/AbstractSynchronization.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractSynchronization implements \Magento\Framework\Notification\MessageInterface { /** * @var \Magento\MediaStorage\Model\File\Storage\Flag - * @since 2.0.0 */ protected $_syncFlag; @@ -21,7 +19,6 @@ abstract class AbstractSynchronization implements \Magento\Framework\Notificatio * Message identity * * @var string - * @since 2.0.0 */ protected $_identity; @@ -29,13 +26,11 @@ abstract class AbstractSynchronization implements \Magento\Framework\Notificatio * Is displayed flag * * @var bool - * @since 2.0.0 */ protected $_isDisplayed = null; /** * @param \Magento\MediaStorage\Model\File\Storage\Flag $fileStorage - * @since 2.0.0 */ public function __construct(\Magento\MediaStorage\Model\File\Storage\Flag $fileStorage) { @@ -46,7 +41,6 @@ public function __construct(\Magento\MediaStorage\Model\File\Storage\Flag $fileS * Check if message should be displayed * * @return bool - * @since 2.0.0 */ abstract protected function _shouldBeDisplayed(); @@ -54,7 +48,6 @@ abstract protected function _shouldBeDisplayed(); * Retrieve unique message identity * * @return string - * @since 2.0.0 */ public function getIdentity() { @@ -65,7 +58,6 @@ public function getIdentity() * Check whether * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -84,7 +76,6 @@ public function isDisplayed() * Retrieve message severity * * @return int - * @since 2.0.0 */ public function getSeverity() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Error.php b/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Error.php index 8d15c30cef7f3..8b9695c1d3bad 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Error.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Error.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ class Error extends \Magento\AdminNotification\Model\System\Message\Media\AbstractSynchronization { @@ -16,7 +15,6 @@ class Error extends \Magento\AdminNotification\Model\System\Message\Media\Abstra * Message identity * * @var string - * @since 2.0.0 */ protected $_identity = 'MEDIA_SYNCHRONIZATION_ERROR'; @@ -24,7 +22,6 @@ class Error extends \Magento\AdminNotification\Model\System\Message\Media\Abstra * Check whether * * @return bool - * @since 2.0.0 */ protected function _shouldBeDisplayed() { @@ -36,7 +33,6 @@ protected function _shouldBeDisplayed() * Retrieve message text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getText() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Success.php b/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Success.php index b7e267ab93358..82f98b97f230d 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Success.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Media/Synchronization/Success.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Success extends \Magento\AdminNotification\Model\System\Message\Media\AbstractSynchronization { @@ -15,7 +14,6 @@ class Success extends \Magento\AdminNotification\Model\System\Message\Media\Abst * Message identity * * @var string - * @since 2.0.0 */ protected $_identity = 'MEDIA_SYNCHRONIZATION_SUCCESS'; @@ -23,7 +21,6 @@ class Success extends \Magento\AdminNotification\Model\System\Message\Media\Abst * Check whether * * @return bool - * @since 2.0.0 */ protected function _shouldBeDisplayed() { @@ -37,7 +34,6 @@ protected function _shouldBeDisplayed() * Retrieve message text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getText() { diff --git a/app/code/Magento/AdminNotification/Model/System/Message/Security.php b/app/code/Magento/AdminNotification/Model/System/Message/Security.php index 2938c3592bc0b..dad52074befeb 100644 --- a/app/code/Magento/AdminNotification/Model/System/Message/Security.php +++ b/app/code/Magento/AdminNotification/Model/System/Message/Security.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Security implements \Magento\Framework\Notification\MessageInterface { @@ -23,7 +22,6 @@ class Security implements \Magento\Framework\Notification\MessageInterface * File path for verification * * @var string - * @since 2.0.0 */ private $_filePath = 'app/etc/config.php'; @@ -31,31 +29,26 @@ class Security implements \Magento\Framework\Notification\MessageInterface * Time out for HTTP verification request * * @var int - * @since 2.0.0 */ private $_verificationTimeOut = 2; /** * @var \Magento\Framework\App\CacheInterface - * @since 2.0.0 */ protected $_cache; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $_backendConfig; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Framework\HTTP\Adapter\CurlFactory - * @since 2.0.0 */ protected $_curlFactory; @@ -64,7 +57,6 @@ class Security implements \Magento\Framework\Notification\MessageInterface * @param \Magento\Backend\App\ConfigInterface $backendConfig * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param \Magento\Framework\HTTP\Adapter\CurlFactory $curlFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\CacheInterface $cache, @@ -82,7 +74,6 @@ public function __construct( * Check verification result and return true if system must to show notification message * * @return bool - * @since 2.0.0 */ private function _canShowNotification() { @@ -103,7 +94,6 @@ private function _canShowNotification() * If file is accessible return true or false * * @return bool - * @since 2.0.0 */ private function _isFileAccessible() { @@ -124,7 +114,6 @@ private function _isFileAccessible() * Retrieve unique message identity * * @return string - * @since 2.0.0 */ public function getIdentity() { @@ -135,7 +124,6 @@ public function getIdentity() * Check whether * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -146,7 +134,6 @@ public function isDisplayed() * Retrieve message text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getText() { @@ -160,7 +147,6 @@ public function getText() * Retrieve message severity * * @return int - * @since 2.0.0 */ public function getSeverity() { diff --git a/app/code/Magento/AdminNotification/Observer/PredispatchAdminActionControllerObserver.php b/app/code/Magento/AdminNotification/Observer/PredispatchAdminActionControllerObserver.php index 4a9fee93a3919..3275de2a82fb7 100644 --- a/app/code/Magento/AdminNotification/Observer/PredispatchAdminActionControllerObserver.php +++ b/app/code/Magento/AdminNotification/Observer/PredispatchAdminActionControllerObserver.php @@ -11,26 +11,22 @@ * AdminNotification observer * * @author Magento Core Team - * @since 2.0.0 */ class PredispatchAdminActionControllerObserver implements ObserverInterface { /** * @var \Magento\AdminNotification\Model\FeedFactory - * @since 2.0.0 */ protected $_feedFactory; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_backendAuthSession; /** * @param \Magento\AdminNotification\Model\FeedFactory $feedFactory * @param \Magento\Backend\Model\Auth\Session $backendAuthSession - * @since 2.0.0 */ public function __construct( \Magento\AdminNotification\Model\FeedFactory $feedFactory, @@ -46,7 +42,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/AdminNotification/Setup/InstallSchema.php b/app/code/Magento/AdminNotification/Setup/InstallSchema.php index 12ba09122bc35..081be974dc809 100644 --- a/app/code/Magento/AdminNotification/Setup/InstallSchema.php +++ b/app/code/Magento/AdminNotification/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/AdvancedPricingImportExport/Controller/Adminhtml/Export/GetFilter.php b/app/code/Magento/AdvancedPricingImportExport/Controller/Adminhtml/Export/GetFilter.php index f3493b330a753..823391e68cd31 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Controller/Adminhtml/Export/GetFilter.php +++ b/app/code/Magento/AdvancedPricingImportExport/Controller/Adminhtml/Export/GetFilter.php @@ -13,7 +13,6 @@ /** * Class \Magento\AdvancedPricingImportExport\Controller\Adminhtml\Export\GetFilter * - * @since 2.0.0 */ class GetFilter extends ExportController { @@ -21,7 +20,6 @@ class GetFilter extends ExportController * Get grid-filter of entity attributes action. * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php b/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php index 1c628eb16595e..6a34541ac75d7 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php @@ -17,7 +17,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product { @@ -25,31 +24,26 @@ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $_storeResolver; /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.0.0 */ protected $_groupRepository; /** * @var string - * @since 2.0.0 */ protected $_entityTypeCode; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @var int - * @since 2.0.0 */ protected $_passTierPrice = 0; @@ -57,7 +51,6 @@ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product * List of items websites * * @var array - * @since 2.0.0 */ protected $_priceWebsite = [ ImportAdvancedPricing::COL_TIER_PRICE_WEBSITE, @@ -67,7 +60,6 @@ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product * List of items customer groups * * @var array - * @since 2.0.0 */ protected $_priceCustomerGroup = [ ImportAdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP, @@ -77,7 +69,6 @@ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product * Export template * * @var array - * @since 2.0.0 */ protected $templateExportData = [ ImportAdvancedPricing::COL_SKU => '', @@ -109,7 +100,6 @@ class AdvancedPricing extends \Magento\CatalogImportExport\Model\Export\Product * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -157,7 +147,6 @@ public function __construct( /** * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function initTypeModels() { @@ -198,7 +187,6 @@ protected function initTypeModels() * Export process * * @return string - * @since 2.0.0 */ public function export() { @@ -233,7 +221,6 @@ public function export() * * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $collection * @return \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection - * @since 2.0.0 */ public function filterAttributeCollection(\Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $collection) { @@ -265,7 +252,6 @@ public function filterAttributeCollection(\Magento\Eav\Model\ResourceModel\Entit * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function getExportData() { @@ -299,7 +285,6 @@ protected function getExportData() * @param array $exportData * @return array * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function correctExportData($exportData) { @@ -361,7 +346,6 @@ private function tierPriceTypeValue($tierPricePercentage) * @return array|bool * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function getTierPrices(array $listSku, $table) { @@ -434,7 +418,6 @@ protected function getTierPrices(array $listSku, $table) * * @param int $websiteId * @return string - * @since 2.0.0 */ protected function _getWebsiteCode($websiteId) { @@ -458,7 +441,6 @@ protected function _getWebsiteCode($websiteId) * @param int $customerGroupId * @param null $allGroups * @return string - * @since 2.0.0 */ protected function _getCustomerGroupById($customerGroupId, $allGroups = null) { @@ -473,7 +455,6 @@ protected function _getCustomerGroupById($customerGroupId, $allGroups = null) * Get Entity type code * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php index 25445ae0703a0..91b844e0c3587 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php @@ -16,7 +16,6 @@ * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity { @@ -58,7 +57,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Validation failure message template definitions. * * @var array - * @since 2.0.0 */ protected $_messageTemplates = [ ValidatorInterface::ERROR_INVALID_WEBSITE => 'Invalid value in Website column (website does not exists?)', @@ -78,7 +76,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * If we should check column names * * @var bool - * @since 2.0.0 */ protected $needColumnCheck = true; @@ -86,7 +83,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Valid column names. * * @array - * @since 2.0.0 */ protected $validColumnNames = [ self::COL_SKU, @@ -101,55 +97,46 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Need to log in import history * * @var bool - * @since 2.0.0 */ protected $logInHistory = true; /** * @var \Magento\CatalogImportExport\Model\Import\Proxy\Product\ResourceModelFactory - * @since 2.0.0 */ protected $_resourceFactory; /** * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData; /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_productModel; /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $_storeResolver; /** * @var ImportProduct - * @since 2.0.0 */ protected $_importProduct; /** * @var array - * @since 2.0.0 */ protected $_validators = []; /** * @var array - * @since 2.0.0 */ protected $_cachedSkuToDelete; /** * @var array - * @since 2.0.0 */ protected $_oldSkus = null; @@ -157,7 +144,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Permanent entity columns. * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [self::COL_SKU]; @@ -165,13 +151,11 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * Catalog product entity * * @var string - * @since 2.0.0 */ protected $_catalogProductEntity; /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $dateTime; @@ -203,7 +187,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract * @param AdvancedPricing\Validator\Website $websiteValidator * @param AdvancedPricing\Validator\TierPrice $tierPriceValidator * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Json\Helper\Data $jsonHelper, @@ -252,7 +235,6 @@ public function __construct( * * @param string $type * @return AdvancedPricing\Validator|AdvancedPricing\Validator\Website - * @since 2.0.0 */ protected function _getValidator($type) { @@ -263,7 +245,6 @@ protected function _getValidator($type) * Entity type code getter. * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -276,7 +257,6 @@ public function getEntityTypeCode() * @param array $rowData * @param int $rowNum * @return bool - * @since 2.0.0 */ public function validateRow(array $rowData, $rowNum) { @@ -312,7 +292,6 @@ public function validateRow(array $rowData, $rowNum) * * @throws \Exception * @return bool Result of operation. - * @since 2.0.0 */ protected function _importData() { @@ -331,7 +310,6 @@ protected function _importData() * Save advanced pricing * * @return $this - * @since 2.0.0 */ public function saveAdvancedPricing() { @@ -343,7 +321,6 @@ public function saveAdvancedPricing() * Deletes Advanced price data from raw data. * * @return $this - * @since 2.0.0 */ public function deleteAdvancedPricing() { @@ -372,7 +349,6 @@ public function deleteAdvancedPricing() * Replace advanced pricing * * @return $this - * @since 2.0.0 */ public function replaceAdvancedPricing() { @@ -386,7 +362,6 @@ public function replaceAdvancedPricing() * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function saveAndReplaceAdvancedPrices() { @@ -450,7 +425,6 @@ protected function saveAndReplaceAdvancedPrices() * @param array $priceData * @param string $table * @return $this - * @since 2.0.0 */ protected function saveProductPrices(array $priceData, $table) { @@ -482,7 +456,6 @@ protected function saveProductPrices(array $priceData, $table) * @param array $listSku * @param string $table * @return boolean - * @since 2.0.0 */ protected function deleteProductTierPrices(array $listSku, $table) { @@ -520,7 +493,6 @@ protected function deleteProductTierPrices(array $listSku, $table) * * @param array $listSku * @return $this - * @since 2.0.0 */ protected function setUpdatedAt(array $listSku) { @@ -538,7 +510,6 @@ protected function setUpdatedAt(array $listSku) * * @param string $websiteCode * @return array|int|string - * @since 2.0.0 */ protected function getWebSiteId($websiteCode) { @@ -552,7 +523,6 @@ protected function getWebSiteId($websiteCode) * * @param string $customerGroup * @return int - * @since 2.0.0 */ protected function getCustomerGroupId($customerGroup) { @@ -564,7 +534,6 @@ protected function getCustomerGroupId($customerGroup) * Retrieve product skus * * @return array - * @since 2.0.0 */ protected function retrieveOldSkus() { @@ -585,7 +554,6 @@ protected function retrieveOldSkus() * @param array $prices * @param string $table * @return $this - * @since 2.0.0 */ protected function processCountExistingPrices($prices, $table) { @@ -620,7 +588,6 @@ protected function processCountExistingPrices($prices, $table) * @param array $prices * @param array $existingPrice * @return void - * @since 2.0.0 */ protected function incrementCounterUpdated($prices, $existingPrice) { @@ -638,7 +605,6 @@ protected function incrementCounterUpdated($prices, $existingPrice) * * @param array $tierPrices * @return $this - * @since 2.0.0 */ protected function processCountNewPrices(array $tierPrices) { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator.php index 5229e8a974538..35ae530d539cd 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator.php @@ -11,19 +11,16 @@ /** * Class \Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing\Validator * - * @since 2.0.0 */ class Validator extends AbstractValidator implements RowValidatorInterface { /** * @var RowValidatorInterface[]|AbstractValidator[] - * @since 2.0.0 */ protected $validators = []; /** * @param RowValidatorInterface[] $validators - * @since 2.0.0 */ public function __construct($validators = []) { @@ -35,7 +32,6 @@ public function __construct($validators = []) * * @param array $value * @return bool - * @since 2.0.0 */ public function isValid($value) { @@ -53,7 +49,6 @@ public function isValid($value) /** * @param \Magento\CatalogImportExport\Model\Import\Product $context * @return $this - * @since 2.0.0 */ public function init($context) { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPrice.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPrice.php index 30b55ec3cd31c..240a9d711fbec 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPrice.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPrice.php @@ -11,19 +11,16 @@ /** * Class \Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing\Validator\TierPrice * - * @since 2.0.0 */ class TierPrice extends \Magento\CatalogImportExport\Model\Import\Product\Validator\AbstractPrice { /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $storeResolver; /** * @var array - * @since 2.0.0 */ private $_tierPriceColumns = [ AdvancedPricing::COL_TIER_PRICE_WEBSITE, @@ -37,7 +34,6 @@ class TierPrice extends \Magento\CatalogImportExport\Model\Import\Product\Valida * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver - * @since 2.0.0 */ public function __construct( \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, @@ -50,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function init($context) { @@ -63,7 +58,6 @@ public function init($context) /** * @param string $attribute * @return void - * @since 2.0.0 */ protected function addDecimalError($attribute) { @@ -83,7 +77,6 @@ protected function addDecimalError($attribute) * Get existing customers groups * * @return array - * @since 2.0.0 */ public function getCustomerGroups() { @@ -100,7 +93,6 @@ public function getCustomerGroups() * @param mixed $value * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isValid($value) { @@ -146,7 +138,6 @@ public function isValid($value) * * @param array $value * @return bool - * @since 2.0.0 */ protected function isValidValueAndLength(array $value) { @@ -164,7 +155,6 @@ protected function isValidValueAndLength(array $value) * * @param array $value * @return bool - * @since 2.0.0 */ protected function hasEmptyColumns(array $value) { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/Website.php b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/Website.php index 3b4f096117ba4..350a7e7651da0 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/Website.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/Website.php @@ -12,26 +12,22 @@ /** * Class \Magento\AdvancedPricingImportExport\Model\Import\AdvancedPricing\Validator\Website * - * @since 2.0.0 */ class Website extends AbstractImportValidator implements RowValidatorInterface { /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $storeResolver; /** * @var \Magento\Store\Model\Website - * @since 2.0.0 */ protected $websiteModel; /** * @param \Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver * @param \Magento\Store\Model\Website $websiteModel - * @since 2.0.0 */ public function __construct( \Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver, @@ -43,7 +39,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function init($context) { @@ -56,7 +51,6 @@ public function init($context) * @param array $value * @param string $websiteCode * @return bool - * @since 2.0.0 */ protected function isWebsiteValid($value, $websiteCode) { @@ -74,7 +68,6 @@ protected function isWebsiteValid($value, $websiteCode) * * @param mixed $value * @return bool - * @since 2.0.0 */ public function isValid($value) { @@ -93,7 +86,6 @@ public function isValid($value) * Get all websites value with currency code * * @return string - * @since 2.0.0 */ public function getAllWebsitesValue() { diff --git a/app/code/Magento/AdvancedPricingImportExport/Model/Indexer/Product/Price/Plugin/Import.php b/app/code/Magento/AdvancedPricingImportExport/Model/Indexer/Product/Price/Plugin/Import.php index 3919c424047c8..0b081923e28ec 100644 --- a/app/code/Magento/AdvancedPricingImportExport/Model/Indexer/Product/Price/Plugin/Import.php +++ b/app/code/Magento/AdvancedPricingImportExport/Model/Indexer/Product/Price/Plugin/Import.php @@ -10,7 +10,6 @@ /** * Class \Magento\AdvancedPricingImportExport\Model\Indexer\Product\Price\Plugin\Import * - * @since 2.0.0 */ class Import extends \Magento\Catalog\Model\Indexer\Product\Price\Plugin\AbstractPlugin { @@ -20,7 +19,6 @@ class Import extends \Magento\Catalog\Model\Indexer\Product\Price\Plugin\Abstrac * @param AdvancedPricing $subject * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterSaveAdvancedPricing(AdvancedPricing $subject) { @@ -35,7 +33,6 @@ public function afterSaveAdvancedPricing(AdvancedPricing $subject) * @param AdvancedPricing $subject * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDeleteAdvancedPricing(AdvancedPricing $subject) { @@ -48,7 +45,6 @@ public function afterDeleteAdvancedPricing(AdvancedPricing $subject) * Get price indexer * * @return \Magento\Framework\Indexer\IndexerInterface - * @since 2.0.0 */ protected function getPriceIndexer() { diff --git a/app/code/Magento/Analytics/ReportXml/Query.php b/app/code/Magento/Analytics/ReportXml/Query.php index 7e464a5ad46d1..31059df5f77a3 100644 --- a/app/code/Magento/Analytics/ReportXml/Query.php +++ b/app/code/Magento/Analytics/ReportXml/Query.php @@ -92,7 +92,7 @@ public function getConfig() * @link http://php.net/manual/en/jsonserializable.jsonserialize.php * @return mixed data which can be serialized by json_encode, * which is a value of any type other than a resource. - * @since 5.4.0 + * @since 2.2.0 */ public function jsonSerialize() { diff --git a/app/code/Magento/Authorization/Model/Acl/AclRetriever.php b/app/code/Magento/Authorization/Model/Acl/AclRetriever.php index 92dd181f26434..f22cbaf46332b 100644 --- a/app/code/Magento/Authorization/Model/Acl/AclRetriever.php +++ b/app/code/Magento/Authorization/Model/Acl/AclRetriever.php @@ -18,7 +18,6 @@ /** * Permission tree retriever * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AclRetriever { @@ -27,25 +26,21 @@ class AclRetriever /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $logger; /** * @var \Magento\Authorization\Model\ResourceModel\Rules\CollectionFactory - * @since 2.0.0 */ protected $rulesCollectionFactory; /** * @var \Magento\Framework\Acl\Builder - * @since 2.0.0 */ protected $aclBuilder; /** * @var \Magento\Authorization\Model\ResourceModel\Role\CollectionFactory - * @since 2.0.0 */ protected $roleCollectionFactory; @@ -56,7 +51,6 @@ class AclRetriever * @param RoleCollectionFactory $roleCollectionFactory * @param RulesCollectionFactory $rulesCollectionFactory * @param Logger $logger - * @since 2.0.0 */ public function __construct( AclBuilder $aclBuilder, @@ -78,7 +72,6 @@ public function __construct( * @return string[] * @throws AuthorizationException * @throws LocalizedException - * @since 2.0.0 */ public function getAllowedResourcesByUser($userType, $userId) { @@ -114,7 +107,6 @@ public function getAllowedResourcesByUser($userType, $userId) * * @param string $roleId * @return string[] - * @since 2.0.0 */ public function getAllowedResourcesByRole($roleId) { @@ -139,7 +131,6 @@ public function getAllowedResourcesByRole($roleId) * @param int $userId * @return \Magento\Authorization\Model\Role|bool False if no role associated with provided user was found. * @throws \LogicException - * @since 2.0.0 */ protected function _getUserRole($userType, $userId) { @@ -161,7 +152,6 @@ protected function _getUserRole($userType, $userId) * * @param int $userType * @return bool - * @since 2.0.0 */ protected function _canRoleBeCreatedForUserType($userType) { diff --git a/app/code/Magento/Authorization/Model/Acl/Loader/Role.php b/app/code/Magento/Authorization/Model/Acl/Loader/Role.php index eec9c026bddcb..5e1ce2c6f9700 100644 --- a/app/code/Magento/Authorization/Model/Acl/Loader/Role.php +++ b/app/code/Magento/Authorization/Model/Acl/Loader/Role.php @@ -13,7 +13,6 @@ /** * Class \Magento\Authorization\Model\Acl\Loader\Role * - * @since 2.0.0 */ class Role implements \Magento\Framework\Acl\LoaderInterface { @@ -24,19 +23,16 @@ class Role implements \Magento\Framework\Acl\LoaderInterface /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Authorization\Model\Acl\Role\GroupFactory - * @since 2.0.0 */ protected $_groupFactory; /** * @var \Magento\Authorization\Model\Acl\Role\UserFactory - * @since 2.0.0 */ protected $_roleFactory; @@ -65,7 +61,6 @@ class Role implements \Magento\Framework\Acl\LoaderInterface * @param \Magento\Framework\Acl\Data\CacheInterface $aclDataCache * @param Json $serializer * @param string $cacheKey - * @since 2.0.0 */ public function __construct( \Magento\Authorization\Model\Acl\Role\GroupFactory $groupFactory, @@ -90,7 +85,6 @@ public function __construct( * * @param \Magento\Framework\Acl $acl * @return void - * @since 2.0.0 */ public function populateAcl(\Magento\Framework\Acl $acl) { diff --git a/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php b/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php index 2227bb8b924bd..e1f22ed70c838 100644 --- a/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php +++ b/app/code/Magento/Authorization/Model/Acl/Loader/Rule.php @@ -11,7 +11,6 @@ /** * Class \Magento\Authorization\Model\Acl\Loader\Rule * - * @since 2.0.0 */ class Rule implements \Magento\Framework\Acl\LoaderInterface { @@ -22,7 +21,6 @@ class Rule implements \Magento\Framework\Acl\LoaderInterface /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; @@ -58,7 +56,6 @@ class Rule implements \Magento\Framework\Acl\LoaderInterface * @param Json $serializer * @param string $cacheKey * @SuppressWarnings(PHPMD.UnusedFormalParameter): - * @since 2.0.0 */ public function __construct( \Magento\Framework\Acl\RootResource $rootResource, @@ -82,7 +79,6 @@ public function __construct( * * @param \Magento\Framework\Acl $acl * @return void - * @since 2.0.0 */ public function populateAcl(\Magento\Framework\Acl $acl) { diff --git a/app/code/Magento/Authorization/Model/Acl/Role/Generic.php b/app/code/Magento/Authorization/Model/Acl/Role/Generic.php index 6bc59039a82d1..c4d1f8baa25c6 100644 --- a/app/code/Magento/Authorization/Model/Acl/Role/Generic.php +++ b/app/code/Magento/Authorization/Model/Acl/Role/Generic.php @@ -7,7 +7,6 @@ /** * Generic acl role - * @since 2.0.0 */ class Generic extends \Zend_Acl_Role { diff --git a/app/code/Magento/Authorization/Model/Acl/Role/Group.php b/app/code/Magento/Authorization/Model/Acl/Role/Group.php index f4e5e6c4e4b65..4af8f7009a1bd 100644 --- a/app/code/Magento/Authorization/Model/Acl/Role/Group.php +++ b/app/code/Magento/Authorization/Model/Acl/Role/Group.php @@ -7,7 +7,6 @@ /** * Acl Group model - * @since 2.0.0 */ class Group extends \Magento\Authorization\Model\Acl\Role\Generic { diff --git a/app/code/Magento/Authorization/Model/Acl/Role/User.php b/app/code/Magento/Authorization/Model/Acl/Role/User.php index e3c48bce9c5dd..b7e9fbc63fccd 100644 --- a/app/code/Magento/Authorization/Model/Acl/Role/User.php +++ b/app/code/Magento/Authorization/Model/Acl/Role/User.php @@ -7,7 +7,6 @@ /** * User acl role - * @since 2.0.0 */ class User extends \Magento\Authorization\Model\Acl\Role\Generic { diff --git a/app/code/Magento/Authorization/Model/CompositeUserContext.php b/app/code/Magento/Authorization/Model/CompositeUserContext.php index b18197cdb2e3d..1f98631188307 100644 --- a/app/code/Magento/Authorization/Model/CompositeUserContext.php +++ b/app/code/Magento/Authorization/Model/CompositeUserContext.php @@ -15,19 +15,16 @@ * Instead, it will try to find the first suitable child and return its result. * * @api - * @since 2.0.0 */ class CompositeUserContext implements \Magento\Authorization\Model\UserContextInterface { /** * @var UserContextInterface[] - * @since 2.0.0 */ protected $userContexts = []; /** * @var UserContextInterface|bool - * @since 2.0.0 */ protected $chosenUserContext; @@ -36,7 +33,6 @@ class CompositeUserContext implements \Magento\Authorization\Model\UserContextIn * * @param CompositeHelper $compositeHelper * @param UserContextInterface[] $userContexts - * @since 2.0.0 */ public function __construct(CompositeHelper $compositeHelper, $userContexts = []) { @@ -51,7 +47,6 @@ public function __construct(CompositeHelper $compositeHelper, $userContexts = [] * * @param UserContextInterface $userContext * @return CompositeUserContext - * @since 2.0.0 */ protected function add(UserContextInterface $userContext) { @@ -61,7 +56,6 @@ protected function add(UserContextInterface $userContext) /** * {@inheritdoc} - * @since 2.0.0 */ public function getUserId() { @@ -70,7 +64,6 @@ public function getUserId() /** * {@inheritdoc} - * @since 2.0.0 */ public function getUserType() { @@ -81,7 +74,6 @@ public function getUserType() * Retrieve user context * * @return UserContextInterface|bool False if none of the registered user contexts can identify user type - * @since 2.0.0 */ protected function getUserContext() { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php b/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php index 00bb1aa1ec82b..22949341fbeca 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Permissions/Collection.php @@ -10,7 +10,6 @@ * * @deprecated 2.2.0 * @see \Magento\Authorization\Model\ResourceModel\Rules\Collection - * @since 2.0.0 */ class Collection extends \Magento\Authorization\Model\ResourceModel\Rules\Collection { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Role.php b/app/code/Magento/Authorization/Model/ResourceModel/Role.php index 6b6969fc4d186..633ae741b44a1 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Role.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Role.php @@ -9,7 +9,6 @@ /** * Admin role resource model - * @since 2.0.0 */ class Role extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Role extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Rule table * * @var string - * @since 2.0.0 */ protected $_ruleTable; @@ -25,7 +23,6 @@ class Role extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Cache * * @var \Magento\Framework\Cache\FrontendInterface - * @since 2.0.0 */ protected $_cache; @@ -33,7 +30,6 @@ class Role extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Model\ResourceModel\Db\Context $context * @param \Magento\Framework\App\CacheInterface $cache * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -48,7 +44,6 @@ public function __construct( * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -61,7 +56,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $role * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $role) { @@ -105,7 +99,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $role) * @param \Magento\Framework\Model\AbstractModel $role * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $role) { @@ -118,7 +111,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $role) * * @param \Magento\Framework\Model\AbstractModel $role * @return $this - * @since 2.0.0 */ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $role) { @@ -136,7 +128,6 @@ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $role) * * @param \Magento\Authorization\Model\Role $role * @return array - * @since 2.0.0 */ public function getRoleUsers(\Magento\Authorization\Model\Role $role) { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Role/Collection.php b/app/code/Magento/Authorization/Model/ResourceModel/Role/Collection.php index 973bccacaa079..18f932d2732d0 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Role/Collection.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Role/Collection.php @@ -11,7 +11,6 @@ * Admin role collection * * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -19,7 +18,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +30,6 @@ protected function _construct() * @param int $userId * @param string $userType * @return $this - * @since 2.0.0 */ public function setUserFilter($userId, $userType) { @@ -45,7 +42,6 @@ public function setUserFilter($userId, $userType) * Set roles filter * * @return $this - * @since 2.0.0 */ public function setRolesFilter() { @@ -57,7 +53,6 @@ public function setRolesFilter() * Convert to option array * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Role/Grid/Collection.php b/app/code/Magento/Authorization/Model/ResourceModel/Role/Grid/Collection.php index 5a5f073f6bd95..76e128a587e09 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Role/Grid/Collection.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Role/Grid/Collection.php @@ -9,7 +9,6 @@ /** * Admin role data grid collection - * @since 2.0.0 */ class Collection extends \Magento\Authorization\Model\ResourceModel\Role\Collection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Authorization\Model\ResourceModel\Role\Collect * Prepare select for load * * @return $this - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Rules.php b/app/code/Magento/Authorization/Model/ResourceModel/Rules.php index c72ff5c7162af..869c5c97f82bd 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Rules.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Rules.php @@ -10,7 +10,6 @@ /** * Admin rule resource model - * @since 2.0.0 */ class Rules extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -18,19 +17,16 @@ class Rules extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Root ACL resource * * @var \Magento\Framework\Acl\RootResource - * @since 2.0.0 */ protected $_rootResource; /** * @var \Magento\Framework\Acl\Builder - * @since 2.0.0 */ protected $_aclBuilder; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -47,7 +43,6 @@ class Rules extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Acl\RootResource $rootResource * @param string $connectionName * @param \Magento\Framework\Acl\Data\CacheInterface $aclDataCache - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -70,7 +65,6 @@ public function __construct( * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +77,6 @@ protected function _construct() * @param \Magento\Authorization\Model\Rules $rule * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function saveRel(\Magento\Authorization\Model\Rules $rule) { diff --git a/app/code/Magento/Authorization/Model/ResourceModel/Rules/Collection.php b/app/code/Magento/Authorization/Model/ResourceModel/Rules/Collection.php index a5025eb257259..d90cdfd1df6d7 100644 --- a/app/code/Magento/Authorization/Model/ResourceModel/Rules/Collection.php +++ b/app/code/Magento/Authorization/Model/ResourceModel/Rules/Collection.php @@ -9,7 +9,6 @@ * Rules collection * * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +30,6 @@ protected function _construct() * * @param int $roleId * @return $this - * @since 2.0.0 */ public function getByRoles($roleId) { @@ -44,7 +41,6 @@ public function getByRoles($roleId) * Sort by length * * @return $this - * @since 2.0.0 */ public function addSortByLength() { diff --git a/app/code/Magento/Authorization/Model/Role.php b/app/code/Magento/Authorization/Model/Role.php index db51a3e3875d2..ab6e180762ef1 100644 --- a/app/code/Magento/Authorization/Model/Role.php +++ b/app/code/Magento/Authorization/Model/Role.php @@ -26,13 +26,11 @@ * @method string getRoleName() * @method \Magento\Authorization\Model\Role setRoleName(string $value) * @api - * @since 2.0.0 */ class Role extends \Magento\Framework\Model\AbstractModel { /** * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'authorization_roles'; @@ -42,7 +40,6 @@ class Role extends \Magento\Framework\Model\AbstractModel * @param \Magento\Authorization\Model\ResourceModel\Role $resource * @param \Magento\Authorization\Model\ResourceModel\Role\Collection $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -56,7 +53,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function __sleep() { @@ -66,7 +62,6 @@ public function __sleep() /** * {@inheritdoc} - * @since 2.0.0 */ public function __wakeup() { @@ -82,7 +77,6 @@ public function __wakeup() * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -93,7 +87,6 @@ protected function _construct() * Update object into database * * @return $this - * @since 2.0.0 */ public function update() { @@ -105,7 +98,6 @@ public function update() * Return users for role * * @return array - * @since 2.0.0 */ public function getRoleUsers() { diff --git a/app/code/Magento/Authorization/Model/Rules.php b/app/code/Magento/Authorization/Model/Rules.php index c097e80d8e02b..77ca82e059ca8 100644 --- a/app/code/Magento/Authorization/Model/Rules.php +++ b/app/code/Magento/Authorization/Model/Rules.php @@ -22,7 +22,6 @@ * @method string getPermission() * @method \Magento\Authorization\Model\Rules setPermission(string $value) * @api - * @since 2.0.0 */ class Rules extends \Magento\Framework\Model\AbstractModel { @@ -34,7 +33,6 @@ class Rules extends \Magento\Framework\Model\AbstractModel * @param \Magento\Authorization\Model\ResourceModel\Rules $resource * @param \Magento\Authorization\Model\ResourceModel\Rules\Collection $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -50,7 +48,6 @@ public function __construct( * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -59,7 +56,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ public function update() { @@ -69,7 +65,6 @@ public function update() /** * @return $this - * @since 2.0.0 */ public function saveRel() { diff --git a/app/code/Magento/Authorization/Model/UserContextInterface.php b/app/code/Magento/Authorization/Model/UserContextInterface.php index be2077a72f085..2db9cec811651 100644 --- a/app/code/Magento/Authorization/Model/UserContextInterface.php +++ b/app/code/Magento/Authorization/Model/UserContextInterface.php @@ -10,7 +10,6 @@ * Interface for current user identification. * * @api - * @since 2.0.0 */ interface UserContextInterface { @@ -28,7 +27,6 @@ interface UserContextInterface * * @return int|null * @api - * @since 2.0.0 */ public function getUserId(); @@ -37,7 +35,6 @@ public function getUserId(); * * @return int|null * @api - * @since 2.0.0 */ public function getUserType(); } diff --git a/app/code/Magento/Authorization/Setup/AuthorizationFactory.php b/app/code/Magento/Authorization/Setup/AuthorizationFactory.php index 514dd52abf354..5feff786fb75e 100644 --- a/app/code/Magento/Authorization/Setup/AuthorizationFactory.php +++ b/app/code/Magento/Authorization/Setup/AuthorizationFactory.php @@ -9,7 +9,6 @@ * Resource Setup Model * * @codeCoverageIgnore - * @since 2.0.0 */ class AuthorizationFactory { @@ -17,7 +16,6 @@ class AuthorizationFactory * Role model factory * * @var \Magento\Authorization\Model\RoleFactory - * @since 2.0.0 */ protected $_roleCollectionFactory; @@ -25,7 +23,6 @@ class AuthorizationFactory * Factory for rules model * * @var \Magento\Authorization\Model\RulesFactory - * @since 2.0.0 */ protected $_rulesCollectionFactory; @@ -33,7 +30,6 @@ class AuthorizationFactory * Role model factory * * @var \Magento\Authorization\Model\RoleFactory - * @since 2.0.0 */ protected $_roleFactory; @@ -41,7 +37,6 @@ class AuthorizationFactory * Rules model factory * * @var \Magento\Authorization\Model\RulesFactory - * @since 2.0.0 */ protected $_rulesFactory; @@ -52,7 +47,6 @@ class AuthorizationFactory * @param \Magento\Authorization\Model\ResourceModel\Rules\CollectionFactory $rulesCollectionFactory * @param \Magento\Authorization\Model\RoleFactory $roleFactory * @param \Magento\Authorization\Model\RulesFactory $rulesFactory - * @since 2.0.0 */ public function __construct( \Magento\Authorization\Model\ResourceModel\Role\CollectionFactory $roleCollectionFactory, @@ -70,7 +64,6 @@ public function __construct( * Creates role collection * * @return \Magento\Authorization\Model\ResourceModel\Role\Collection - * @since 2.0.0 */ public function createRoleCollection() { @@ -81,7 +74,6 @@ public function createRoleCollection() * Creates rules collection * * @return \Magento\Authorization\Model\ResourceModel\Rules\Collection - * @since 2.0.0 */ public function createRulesCollection() { @@ -92,7 +84,6 @@ public function createRulesCollection() * Creates role model * * @return \Magento\Authorization\Model\Role - * @since 2.0.0 */ public function createRole() { @@ -103,7 +94,6 @@ public function createRole() * Creates rules model * * @return \Magento\Authorization\Model\Rules - * @since 2.0.0 */ public function createRules() { diff --git a/app/code/Magento/Authorization/Setup/InstallData.php b/app/code/Magento/Authorization/Setup/InstallData.php index 90f22a1f12990..b8b18706722a5 100644 --- a/app/code/Magento/Authorization/Setup/InstallData.php +++ b/app/code/Magento/Authorization/Setup/InstallData.php @@ -14,7 +14,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -22,7 +21,6 @@ class InstallData implements InstallDataInterface * Authorization factory * * @var AuthorizationFactory - * @since 2.0.0 */ private $authFactory; @@ -30,7 +28,6 @@ class InstallData implements InstallDataInterface * Init * * @param AuthorizationFactory $authFactory - * @since 2.0.0 */ public function __construct(AuthorizationFactory $authFactory) { @@ -39,7 +36,6 @@ public function __construct(AuthorizationFactory $authFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Authorization/Setup/InstallSchema.php b/app/code/Magento/Authorization/Setup/InstallSchema.php index e71b84de4c588..9471b448ea3b4 100644 --- a/app/code/Magento/Authorization/Setup/InstallSchema.php +++ b/app/code/Magento/Authorization/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php b/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php index 2d299a3971e59..ca2bc286d38a8 100644 --- a/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php +++ b/app/code/Magento/Authorizenet/Block/Adminhtml/Order/View/Info/FraudDetails.php @@ -9,13 +9,11 @@ /** * @api - * @since 2.0.0 */ class FraudDetails extends \Magento\Backend\Block\Template { /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; @@ -23,7 +21,6 @@ class FraudDetails extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Sales\Model\Order\Payment - * @since 2.0.0 */ public function getPayment() { @@ -46,7 +42,6 @@ public function getPayment() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php b/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php index 3888179013c65..1c8fb9ee29988 100644 --- a/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php +++ b/app/code/Magento/Authorizenet/Block/Transparent/Iframe.php @@ -9,19 +9,16 @@ /** * @api - * @since 2.0.0 */ class Iframe extends TransparentIframe { /** * @var \Magento\Authorizenet\Helper\DataFactory - * @since 2.0.0 */ protected $dataFactory; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ private $messageManager; @@ -33,7 +30,6 @@ class Iframe extends TransparentIframe * @param \Magento\Authorizenet\Helper\DataFactory $dataFactory * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -52,7 +48,6 @@ public function __construct( * * @param string $area * @return \Magento\Authorizenet\Helper\Backend\Data|\Magento\Authorizenet\Helper\Data - * @since 2.0.0 */ public function getHelper($area) { @@ -61,7 +56,6 @@ public function getHelper($area) /** * {inheritdoc} - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -73,7 +67,6 @@ protected function _beforeToHtml() * Add success message * * @return void - * @since 2.0.0 */ private function addSuccessMessage() { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/AddConfigured.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/AddConfigured.php index 972154175c120..cb5237e2ce52a 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/AddConfigured.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/AddConfigured.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\AddConfigured * - * @since 2.0.0 */ class AddConfigured extends \Magento\Sales\Controller\Adminhtml\Order\Create\AddConfigured { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Cancel.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Cancel.php index e67e56f466a97..4328a532d2b01 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Cancel.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Cancel.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\Cancel * - * @since 2.0.0 */ class Cancel extends \Magento\Sales\Controller\Adminhtml\Order\Create\Cancel { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureProductToAdd.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureProductToAdd.php index ceb408ac5bcc2..2cb472d64e5db 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureProductToAdd.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureProductToAdd.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\ConfigureProductToAdd * - * @since 2.0.0 */ class ConfigureProductToAdd extends \Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureProductToAdd { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureQuoteItems.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureQuoteItems.php index b915c62863dad..6f8ced0e7dc21 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureQuoteItems.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ConfigureQuoteItems.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\ConfigureQuoteItems * - * @since 2.0.0 */ class ConfigureQuoteItems extends \Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureQuoteItems { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Index.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Index.php index 9f8a75b5d984b..bf5be6a9d339f 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Index.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\Index * - * @since 2.0.0 */ class Index extends \Magento\Sales\Controller\Adminhtml\Order\Create\Index { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/LoadBlock.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/LoadBlock.php index 0b07971225314..d9b7a5b7aa911 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/LoadBlock.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/LoadBlock.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\LoadBlock * - * @since 2.0.0 */ class LoadBlock extends \Magento\Sales\Controller\Adminhtml\Order\Create\LoadBlock { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Place.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Place.php index 4ad78ed8d38a2..b393015ce1231 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Place.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Place.php @@ -16,13 +16,11 @@ * Class Place * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Place extends \Magento\Sales\Controller\Adminhtml\Order\Create { /** * @var DataHelper - * @since 2.0.0 */ protected $helper; @@ -35,7 +33,6 @@ class Place extends \Magento\Sales\Controller\Adminhtml\Order\Create * @param PageFactory $resultPageFactory * @param ForwardFactory $resultForwardFactory * @param DataHelper $helper - * @since 2.0.0 */ public function __construct( Context $context, @@ -55,7 +52,6 @@ public function __construct( * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ProcessData.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ProcessData.php index 113ba9680c52b..70d6a856d2372 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ProcessData.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ProcessData.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\ProcessData * - * @since 2.0.0 */ class ProcessData extends \Magento\Sales\Controller\Adminhtml\Order\Create\ProcessData { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Redirect.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Redirect.php index da64bac28823c..bd9de956dc647 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Redirect.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Redirect.php @@ -13,7 +13,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Redirect extends \Magento\Sales\Controller\Adminhtml\Order\Create { @@ -21,19 +20,16 @@ class Redirect extends \Magento\Sales\Controller\Adminhtml\Order\Create * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; /** * @var \Magento\Authorizenet\Helper\Backend\Data - * @since 2.0.0 */ protected $helper; @@ -46,7 +42,6 @@ class Redirect extends \Magento\Sales\Controller\Adminhtml\Order\Create * @param \Magento\Framework\Registry $coreRegistry * @param LayoutFactory $resultLayoutFactory * @param \Magento\Authorizenet\Helper\Backend\Data $helper - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -76,7 +71,6 @@ public function __construct( * @param bool $cancelOrder * @param string $errorMsg * @return void - * @since 2.0.0 */ protected function _returnQuote($cancelOrder, $errorMsg) { @@ -98,7 +92,6 @@ protected function _returnQuote($cancelOrder, $errorMsg) * Retrieve params and put javascript into iframe * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Reorder.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Reorder.php index fc3d321ddf0db..f8777308383bc 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Reorder.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Reorder.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\Reorder * - * @since 2.0.0 */ class Reorder extends \Magento\Sales\Controller\Adminhtml\Order\Create\Reorder { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ReturnQuote.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ReturnQuote.php index c3ca9b9d1af67..55fa35f5312f0 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ReturnQuote.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ReturnQuote.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\ReturnQuote * - * @since 2.0.0 */ class ReturnQuote extends \Magento\Sales\Controller\Adminhtml\Order\Create { @@ -17,7 +16,6 @@ class ReturnQuote extends \Magento\Sales\Controller\Adminhtml\Order\Create * Return quote * * @return void - * @since 2.0.0 */ protected function _returnQuote() { @@ -36,7 +34,6 @@ protected function _returnQuote() * Return order quote by ajax * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Save.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Save.php index f31d64e86090d..a087209ef8618 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Save.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Save.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\Save * - * @since 2.0.0 */ class Save extends \Magento\Sales\Controller\Adminhtml\Order\Create\Save { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ShowUpdateResult.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ShowUpdateResult.php index 2223a74f93995..8300161580fc6 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ShowUpdateResult.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/ShowUpdateResult.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\ShowUpdateResult * - * @since 2.0.0 */ class ShowUpdateResult extends \Magento\Sales\Controller\Adminhtml\Order\Create\ShowUpdateResult { diff --git a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Start.php b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Start.php index 3ee4d9f0e11fc..6bf2ac31ef5d3 100644 --- a/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Start.php +++ b/app/code/Magento/Authorizenet/Controller/Adminhtml/Authorizenet/Directpost/Payment/Start.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment\Start * - * @since 2.0.0 */ abstract class Start extends \Magento\Sales\Controller\Adminhtml\Order\Create { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment.php index fa5b41a25c619..fc9e7807cd99e 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment.php @@ -11,7 +11,6 @@ * DirectPost Payment Controller * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Payment extends \Magento\Framework\App\Action\Action { @@ -19,13 +18,11 @@ abstract class Payment extends \Magento\Framework\App\Action\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Authorizenet\Helper\DataFactory - * @since 2.0.0 */ protected $dataFactory; @@ -35,7 +32,6 @@ abstract class Payment extends \Magento\Framework\App\Action\Action * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Authorizenet\Helper\DataFactory $dataFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -49,7 +45,6 @@ public function __construct( /** * @return \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected function _getCheckout() { @@ -60,7 +55,6 @@ protected function _getCheckout() * Get session model * * @return \Magento\Authorizenet\Model\Directpost\Session - * @since 2.0.0 */ protected function _getDirectPostSession() { @@ -73,7 +67,6 @@ protected function _getDirectPostSession() * * @param string $area * @return void - * @since 2.0.0 */ protected function _responseAction($area = 'frontend') { @@ -128,7 +121,6 @@ protected function _responseAction($area = 'frontend') * @param bool $cancelOrder * @param string $errorMsg * @return void - * @since 2.0.0 */ protected function _returnCustomerQuote($cancelOrder = false, $errorMsg = '') { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php index fcc2be1b44772..6414da8806205 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/BackendResponse.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Directpost\Payment\BackendResponse * - * @since 2.0.0 */ class BackendResponse extends \Magento\Authorizenet\Controller\Directpost\Payment { @@ -18,7 +17,7 @@ class BackendResponse extends \Magento\Authorizenet\Controller\Directpost\Paymen * Action for Authorize.net SIM Relay Request. * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 + * @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 7e7591c2aa323..a6671c977eb35 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php @@ -23,31 +23,26 @@ * Class Place * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Place extends Payment { /** * @var \Magento\Quote\Api\CartManagementInterface - * @since 2.0.0 */ protected $cartManagement; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; /** * @var \Magento\Checkout\Model\Type\Onepage - * @since 2.0.0 */ protected $onepageCheckout; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -67,7 +62,6 @@ class Place extends Payment * @param Onepage $onepageCheckout * @param JsonHelper $jsonHelper * @param LoggerInterface|null $logger - * @since 2.0.0 */ public function __construct( Context $context, @@ -90,7 +84,6 @@ public function __construct( * Send request to authorize.net * * @return string - * @since 2.0.0 */ public function execute() { @@ -131,7 +124,6 @@ public function execute() * Place order for checkout flow * * @return string - * @since 2.0.0 */ protected function placeCheckoutOrder() { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Redirect.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Redirect.php index c5a658cea5891..028b90bf7da50 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Redirect.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Redirect.php @@ -11,7 +11,6 @@ /** * Class Redirect - * @since 2.0.0 */ class Redirect extends \Magento\Authorizenet\Controller\Directpost\Payment { @@ -19,7 +18,6 @@ class Redirect extends \Magento\Authorizenet\Controller\Directpost\Payment * Retrieve params and put javascript into iframe * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Response.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Response.php index 7157527bd9a50..4df749e5bdbac 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Response.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Response.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Directpost\Payment\Response * - * @since 2.0.0 */ class Response extends \Magento\Authorizenet\Controller\Directpost\Payment { @@ -18,7 +17,6 @@ class Response extends \Magento\Authorizenet\Controller\Directpost\Payment * Action for Authorize.net SIM Relay Request. * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/ReturnQuote.php b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/ReturnQuote.php index 3b69991f9415e..f92ba11d4990c 100644 --- a/app/code/Magento/Authorizenet/Controller/Directpost/Payment/ReturnQuote.php +++ b/app/code/Magento/Authorizenet/Controller/Directpost/Payment/ReturnQuote.php @@ -9,7 +9,6 @@ /** * Class \Magento\Authorizenet\Controller\Directpost\Payment\ReturnQuote * - * @since 2.0.0 */ class ReturnQuote extends \Magento\Authorizenet\Controller\Directpost\Payment { @@ -17,7 +16,6 @@ class ReturnQuote extends \Magento\Authorizenet\Controller\Directpost\Payment * Return customer quote by ajax * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Authorizenet/Helper/Backend/Data.php b/app/code/Magento/Authorizenet/Helper/Backend/Data.php index f23b56e1b38e0..c95806a524fac 100644 --- a/app/code/Magento/Authorizenet/Helper/Backend/Data.php +++ b/app/code/Magento/Authorizenet/Helper/Backend/Data.php @@ -15,7 +15,6 @@ * Authorize.net Backend Data Helper * * @api - * @since 2.0.0 */ class Data extends FrontendDataHelper { @@ -24,7 +23,6 @@ class Data extends FrontendDataHelper * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Sales\Model\OrderFactory $orderFactory * @param \Magento\Backend\Model\UrlInterface $backendUrl - * @since 2.0.0 */ public function __construct( Context $context, @@ -42,7 +40,6 @@ public function __construct( * @param string $route * @param array $params * @return string - * @since 2.0.0 */ protected function _getUrl($route, $params = []) { @@ -53,7 +50,6 @@ protected function _getUrl($route, $params = []) * Retrieve place order url in admin * * @return string - * @since 2.0.0 */ public function getPlaceOrderAdminUrl() { @@ -65,7 +61,6 @@ public function getPlaceOrderAdminUrl() * * @param array $params * @return string - * @since 2.0.0 */ public function getSuccessOrderUrl($params) { @@ -81,7 +76,6 @@ public function getSuccessOrderUrl($params) * * @param array $params * @return string - * @since 2.0.0 */ public function getRedirectIframeUrl($params) { @@ -95,7 +89,6 @@ public function getRedirectIframeUrl($params) * @return string * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getRelayUrl($storeId = null) { diff --git a/app/code/Magento/Authorizenet/Helper/Data.php b/app/code/Magento/Authorizenet/Helper/Data.php index 9623e718e86ca..7de71d8ed11e4 100644 --- a/app/code/Magento/Authorizenet/Helper/Data.php +++ b/app/code/Magento/Authorizenet/Helper/Data.php @@ -16,19 +16,16 @@ * Authorize.net Data Helper * * @api - * @since 2.0.0 */ class Data extends AbstractHelper { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $orderFactory; @@ -36,7 +33,6 @@ class Data extends AbstractHelper * Allowed currencies * * @var array - * @since 2.0.0 */ protected $allowedCurrencyCodes = ['USD']; @@ -44,7 +40,6 @@ class Data extends AbstractHelper * Transaction statuses key to value map * * @var array - * @since 2.0.0 */ protected $transactionStatuses = [ 'authorizedPendingCapture' => 'Authorized/Pending Capture', @@ -62,7 +57,6 @@ class Data extends AbstractHelper * Fraud filter actions key to value map * * @var array - * @since 2.0.0 */ protected $fdsFilterActions = [ 'decline ' => 'Decline', @@ -75,7 +69,6 @@ class Data extends AbstractHelper * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Sales\Model\OrderFactory $orderFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -93,7 +86,6 @@ public function __construct( * @param string $route * @param array $params * @return string - * @since 2.0.0 */ protected function _getUrl($route, $params = []) { @@ -111,7 +103,6 @@ protected function _getUrl($route, $params = []) * * @param string $controller * @return array - * @since 2.0.0 */ public function getSaveOrderUrlParams($controller) { @@ -142,7 +133,6 @@ public function getSaveOrderUrlParams($controller) * * @param array $params * @return string - * @since 2.0.0 */ public function getRedirectIframeUrl($params) { @@ -154,7 +144,6 @@ public function getRedirectIframeUrl($params) * * @param array $params * @return string - * @since 2.0.0 */ public function getSuccessOrderUrl($params) { @@ -167,7 +156,6 @@ public function getSuccessOrderUrl($params) * * @param \Magento\Sales\Model\Order $order * @return void - * @since 2.0.0 */ public function updateOrderEditIncrements(\Magento\Sales\Model\Order $order) { @@ -190,7 +178,6 @@ public function updateOrderEditIncrements(\Magento\Sales\Model\Order $order) * * @param array $messages * @return string - * @since 2.0.0 */ public function convertMessagesToMessage($messages) { @@ -208,7 +195,6 @@ public function convertMessagesToMessage($messages) * @param bool|string $exception * @param bool|string $additionalMessage * @return bool|string - * @since 2.0.0 */ public function getTransactionMessage( $payment, @@ -247,7 +233,6 @@ public function getTransactionMessage( * * @param string $requestType * @return \Magento\Framework\Phrase|bool - * @since 2.0.0 */ protected function getOperation($requestType) { @@ -272,7 +257,6 @@ protected function getOperation($requestType) * @param \Magento\Payment\Model\InfoInterface $payment * @param float $amount * @return string - * @since 2.0.0 */ protected function formatPrice($payment, $amount) { @@ -284,7 +268,6 @@ protected function formatPrice($payment, $amount) * * @param \Magento\Framework\App\ViewInterface $view * @return string - * @since 2.0.0 */ public function getPaymentMethodsHtml(\Magento\Framework\App\ViewInterface $view) { @@ -302,7 +285,6 @@ public function getPaymentMethodsHtml(\Magento\Framework\App\ViewInterface $view * * @param null|int|string $storeId * @return string - * @since 2.0.0 */ public function getRelayUrl($storeId = null) { @@ -315,7 +297,6 @@ public function getRelayUrl($storeId = null) * Get allowed currencies * * @return array - * @since 2.0.0 */ public function getAllowedCurrencyCodes() { @@ -327,7 +308,6 @@ public function getAllowedCurrencyCodes() * * @param string $key * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getFdsFilterActionLabel($key) { @@ -339,7 +319,6 @@ public function getFdsFilterActionLabel($key) * * @param string $key * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getTransactionStatusLabel($key) { @@ -351,7 +330,6 @@ public function getTransactionStatusLabel($key) * * @param string $text * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function wrapGatewayError($text) { diff --git a/app/code/Magento/Authorizenet/Helper/DataFactory.php b/app/code/Magento/Authorizenet/Helper/DataFactory.php index a011bbf82039c..f3ccf16e7d396 100644 --- a/app/code/Magento/Authorizenet/Helper/DataFactory.php +++ b/app/code/Magento/Authorizenet/Helper/DataFactory.php @@ -10,7 +10,6 @@ /** * Class DataFactory - * @since 2.0.0 */ class DataFactory { @@ -19,13 +18,11 @@ class DataFactory /** * @var ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var array - * @since 2.0.0 */ protected $helperMap = [ self::AREA_FRONTEND => \Magento\Authorizenet\Helper\Data::class, @@ -36,7 +33,6 @@ class DataFactory * Constructor * * @param ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(ObjectManagerInterface $objectManager) { @@ -49,7 +45,6 @@ public function __construct(ObjectManagerInterface $objectManager) * @param string $area * @return \Magento\Authorizenet\Helper\Backend\Data|\Magento\Authorizenet\Helper\Data * @throws LocalizedException - * @since 2.0.0 */ public function create($area) { diff --git a/app/code/Magento/Authorizenet/Model/Authorizenet.php b/app/code/Magento/Authorizenet/Model/Authorizenet.php index 3bddf36be2381..ae9ac833a4395 100644 --- a/app/code/Magento/Authorizenet/Model/Authorizenet.php +++ b/app/code/Magento/Authorizenet/Model/Authorizenet.php @@ -12,7 +12,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc { @@ -70,7 +69,6 @@ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc /** * @var \Magento\Authorizenet\Helper\Data - * @since 2.0.0 */ protected $dataHelper; @@ -78,7 +76,6 @@ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc * Request factory * * @var \Magento\Authorizenet\Model\RequestFactory - * @since 2.0.0 */ protected $requestFactory; @@ -86,13 +83,11 @@ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc * Response factory * * @var \Magento\Authorizenet\Model\ResponseFactory - * @since 2.0.0 */ protected $responseFactory; /** * @var \Magento\Authorizenet\Model\TransactionService; - * @since 2.0.0 */ protected $transactionService; @@ -100,13 +95,11 @@ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc * Fields that should be replaced in debug with '***' * * @var array - * @since 2.0.0 */ protected $_debugReplacePrivateDataKeys = ['merchantAuthentication', 'x_login']; /** * @var \Magento\Framework\HTTP\ZendClientFactory - * @since 2.0.0 */ protected $httpClientFactory; @@ -129,7 +122,6 @@ abstract class Authorizenet extends \Magento\Payment\Model\Method\Cc * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -177,7 +169,6 @@ public function __construct( * * @param string $currencyCode * @return bool - * @since 2.0.0 */ public function canUseForCurrency($currencyCode) { @@ -191,7 +182,6 @@ public function canUseForCurrency($currencyCode) * Return array of currency codes supplied by Payment Gateway * * @return array - * @since 2.0.0 */ public function getAcceptedCurrencyCodes() { @@ -208,7 +198,6 @@ public function getAcceptedCurrencyCodes() * * @param \Magento\Payment\Model\InfoInterface $payment * @return $this - * @since 2.0.0 */ public function cancel(\Magento\Payment\Model\InfoInterface $payment) { @@ -221,7 +210,6 @@ public function cancel(\Magento\Payment\Model\InfoInterface $payment) * @param string $transactionId * @return \Magento\Framework\DataObject * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function fetchTransactionFraudDetails($transactionId) { @@ -248,7 +236,6 @@ public function fetchTransactionFraudDetails($transactionId) * * @param \Magento\Framework\Simplexml\Element $fraudFilters * @return array - * @since 2.0.0 */ protected function getFraudFilters($fraudFilters) { @@ -268,7 +255,6 @@ protected function getFraudFilters($fraudFilters) * Return authorize payment request * * @return \Magento\Authorizenet\Model\Request - * @since 2.0.0 */ protected function getRequest() { @@ -291,7 +277,6 @@ protected function getRequest() * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function buildRequest(\Magento\Framework\DataObject $payment) { @@ -390,7 +375,6 @@ protected function buildRequest(\Magento\Framework\DataObject $payment) * @param \Magento\Authorizenet\Model\Request $request * @return \Magento\Authorizenet\Model\Response * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function postRequest(\Magento\Authorizenet\Model\Request $request) { @@ -452,7 +436,6 @@ protected function postRequest(\Magento\Authorizenet\Model\Request $request) * * @param \Magento\Payment\Model\InfoInterface $payment * @return bool - * @since 2.0.0 */ protected function isGatewayActionsLocked($payment) { diff --git a/app/code/Magento/Authorizenet/Model/Debug.php b/app/code/Magento/Authorizenet/Model/Debug.php index 0e0345daa5a90..9c7bd352c58ca 100644 --- a/app/code/Magento/Authorizenet/Model/Debug.php +++ b/app/code/Magento/Authorizenet/Model/Debug.php @@ -20,13 +20,11 @@ * @method \Magento\Authorizenet\Model\Debug setRequestDump(string $value) * @method string getResultDump() * @method \Magento\Authorizenet\Model\Debug setResultDump(string $value) - * @since 2.0.0 */ class Debug extends \Magento\Framework\Model\AbstractModel { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Authorizenet/Model/Directpost.php b/app/code/Magento/Authorizenet/Model/Directpost.php index be9034011dff4..c1acd88db6dee 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost.php +++ b/app/code/Magento/Authorizenet/Model/Directpost.php @@ -15,7 +15,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) - * @since 2.0.0 */ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements TransparentInterface, ConfigInterface { @@ -23,13 +22,11 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra /** * @var string - * @since 2.0.0 */ protected $_formBlockType = \Magento\Payment\Block\Transparent\Info::class; /** * @var string - * @since 2.0.0 */ protected $_infoBlockType = \Magento\Payment\Block\Info::class; @@ -37,7 +34,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_isGateway = true; @@ -45,7 +41,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canAuthorize = true; @@ -53,7 +48,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canCapture = true; @@ -61,7 +55,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canRefund = true; @@ -69,7 +62,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canRefundInvoicePartial = true; @@ -77,7 +69,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canVoid = true; @@ -85,7 +76,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_canFetchTransactionInfo = true; @@ -93,31 +83,26 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Payment Method feature * * @var bool - * @since 2.0.0 */ protected $_isInitializeNeeded = true; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Authorizenet\Model\Directpost\Response - * @since 2.0.0 */ protected $response; /** * @var OrderSender - * @since 2.0.0 */ protected $orderSender; @@ -125,13 +110,11 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * Order factory * * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $orderFactory; /** * @var \Magento\Sales\Api\TransactionRepositoryInterface - * @since 2.0.0 */ protected $transactionRepository; @@ -165,7 +148,6 @@ class Directpost extends \Magento\Authorizenet\Model\Authorizenet implements Tra * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -225,7 +207,6 @@ public function __construct( * * @param \Magento\Authorizenet\Helper\Data $dataHelper * @return void - * @since 2.0.0 */ public function setDataHelper(\Magento\Authorizenet\Helper\Data $dataHelper) { @@ -236,7 +217,6 @@ public function setDataHelper(\Magento\Authorizenet\Helper\Data $dataHelper) * Do not validate payment form using server methods * * @return bool - * @since 2.0.0 */ public function validate() { @@ -250,7 +230,6 @@ public function validate() * @param float $amount * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount) { @@ -264,7 +243,6 @@ public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount * @param float $amount * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function capture(\Magento\Payment\Model\InfoInterface $payment, $amount) { @@ -297,7 +275,6 @@ public function capture(\Magento\Payment\Model\InfoInterface $payment, $amount) * @param \Magento\Payment\Model\InfoInterface $payment * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function processCapture($result, $payment) { @@ -344,7 +321,6 @@ protected function processCapture($result, $payment) * @param \Magento\Framework\DataObject|\Magento\Payment\Model\InfoInterface $payment * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function void(\Magento\Payment\Model\InfoInterface $payment) { @@ -390,7 +366,6 @@ public function void(\Magento\Payment\Model\InfoInterface $payment) * @param float $amount * @return $this * @throws \Exception - * @since 2.0.0 */ public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount) { @@ -413,7 +388,6 @@ public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount) * @param float $amount * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function processRefund(\Magento\Framework\DataObject $payment, $amount) { @@ -459,7 +433,6 @@ protected function processRefund(\Magento\Framework\DataObject $payment, $amount * Get CGI url * * @return string - * @since 2.0.0 */ public function getCgiUrl() { @@ -472,7 +445,6 @@ public function getCgiUrl() * * @param int $storeId * @return string - * @since 2.0.0 */ public function getRelayUrl($storeId = null) { @@ -486,7 +458,6 @@ public function getRelayUrl($storeId = null) * Return response. * * @return \Magento\Authorizenet\Model\Directpost\Response - * @since 2.0.0 */ public function getResponse() { @@ -500,7 +471,6 @@ public function getResponse() * @param \Magento\Framework\DataObject $stateObject * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function initialize($paymentAction, $stateObject) { @@ -528,7 +498,6 @@ public function initialize($paymentAction, $stateObject) * * @param \Magento\Sales\Model\Order $order Quote or order object. * @return \Magento\Authorizenet\Model\Directpost\Request - * @since 2.0.0 */ public function generateRequestFromOrder(\Magento\Sales\Model\Order $order) { @@ -547,7 +516,6 @@ public function generateRequestFromOrder(\Magento\Sales\Model\Order $order) * * @param array $postData * @return $this - * @since 2.0.0 */ public function setResponseData(array $postData) { @@ -560,7 +528,6 @@ public function setResponseData(array $postData) * * @return bool true in case of validation success. * @throws \Magento\Framework\Exception\LocalizedException In case of validation error - * @since 2.0.0 */ public function validateResponse() { @@ -583,7 +550,6 @@ public function validateResponse() * @param array $responseData data from Authorize.net from $_POST * @return void * @throws \Magento\Framework\Exception\LocalizedException In case of validation error or order creation error - * @since 2.0.0 */ public function process(array $responseData) { @@ -633,7 +599,6 @@ public function process(array $responseData) * * @param \Magento\Framework\DataObject $payment * @return void - * @since 2.0.0 */ protected function fillPaymentByResponse(\Magento\Framework\DataObject $payment) { @@ -659,7 +624,6 @@ protected function fillPaymentByResponse(\Magento\Framework\DataObject $payment) * * @return true in case of Approved response * @throws \Magento\Framework\Exception\LocalizedException In case of Declined or Error response from Authorize.net - * @since 2.0.0 */ public function checkResponseCode() { @@ -684,7 +648,6 @@ public function checkResponseCode() * * @return true in case of right transaction id * @throws \Magento\Framework\Exception\LocalizedException In case of bad transaction id. - * @since 2.0.0 */ public function checkTransId() { @@ -701,7 +664,6 @@ public function checkTransId() * * @param float $amount * @return bool - * @since 2.0.0 */ protected function matchAmount($amount) { @@ -717,7 +679,6 @@ protected function matchAmount($amount) * @throws \Magento\Framework\Exception\LocalizedException * @throws \Exception * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function processOrder(\Magento\Sales\Model\Order $order) { @@ -771,7 +732,6 @@ protected function processOrder(\Magento\Sales\Model\Order $order) * * @param \Magento\Sales\Model\Order\Payment $payment * @return $this - * @since 2.0.0 */ protected function processPaymentFraudStatus(\Magento\Sales\Model\Order\Payment $payment) { @@ -803,7 +763,6 @@ protected function processPaymentFraudStatus(\Magento\Sales\Model\Order\Payment * * @param \Magento\Sales\Model\Order\Payment $payment * @return $this - * @since 2.0.0 */ protected function addStatusComment(\Magento\Sales\Model\Order\Payment $payment) { @@ -840,7 +799,6 @@ protected function addStatusComment(\Magento\Sales\Model\Order\Payment $payment) * @param string $message * @param bool $voidPayment * @return void - * @since 2.0.0 */ protected function declineOrder(\Magento\Sales\Model\Order $order, $message = '', $voidPayment = true) { @@ -863,7 +821,6 @@ protected function declineOrder(\Magento\Sales\Model\Order $order, $message = '' * * @param \Magento\Sales\Model\Order\Payment $payment * @return string - * @since 2.0.0 */ protected function getRealParentTransactionId($payment) { @@ -877,7 +834,6 @@ protected function getRealParentTransactionId($payment) /** * {inheritdoc} - * @since 2.0.0 */ public function getConfigInterface() { @@ -890,7 +846,6 @@ public function getConfigInterface() * @param mixed $key * @param null $storeId * @return mixed - * @since 2.0.0 */ public function getValue($key, $storeId = null) { @@ -902,7 +857,6 @@ public function getValue($key, $storeId = null) * * @param bool $isInitializeNeeded * @return void - * @since 2.0.0 */ public function setIsInitializeNeeded($isInitializeNeeded = true) { @@ -913,7 +867,6 @@ public function setIsInitializeNeeded($isInitializeNeeded = true) * Get whether it is possible to capture * * @return bool - * @since 2.0.0 */ public function canCapture() { @@ -928,7 +881,6 @@ public function canCapture() * @param \Magento\Payment\Model\InfoInterface $payment * @param string $transactionId * @return array - * @since 2.0.0 */ public function fetchTransactionInfo(\Magento\Payment\Model\InfoInterface $payment, $transactionId) { @@ -960,7 +912,6 @@ public function fetchTransactionInfo(\Magento\Payment\Model\InfoInterface $payme * @param \Magento\Framework\DataObject $response * @param string $transactionId * @return $this - * @since 2.0.0 */ protected function addStatusCommentOnUpdate( \Magento\Sales\Model\Order\Payment $payment, @@ -993,7 +944,6 @@ protected function addStatusCommentOnUpdate( * @param string $methodCode * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function setMethodCode($methodCode) { @@ -1005,7 +955,6 @@ public function setMethodCode($methodCode) * @param string $pathPattern * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function setPathPattern($pathPattern) { @@ -1019,7 +968,6 @@ public function setPathPattern($pathPattern) * @throws \Magento\Framework\Exception\LocalizedException * @link http://www.authorize.net/support/ReportingGuide_XML.pdf * @link http://developer.authorize.net/api/transaction_details/ - * @since 2.0.0 */ protected function getTransactionResponse($transactionId) { diff --git a/app/code/Magento/Authorizenet/Model/Directpost/Request.php b/app/code/Magento/Authorizenet/Model/Directpost/Request.php index b0ecf34962805..d9a403e5c991e 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost/Request.php +++ b/app/code/Magento/Authorizenet/Model/Directpost/Request.php @@ -10,13 +10,11 @@ /** * Authorize.net request model for DirectPost model - * @since 2.0.0 */ class Request extends AuthorizenetRequest { /** * @var string - * @since 2.0.0 */ protected $_transKey = null; @@ -25,7 +23,6 @@ class Request extends AuthorizenetRequest * Needed to generate sign. * * @return string - * @since 2.0.0 */ protected function _getTransactionKey() { @@ -38,7 +35,6 @@ protected function _getTransactionKey() * * @param string $transKey * @return $this - * @since 2.0.0 */ protected function _setTransactionKey($transKey) { @@ -56,7 +52,6 @@ protected function _setTransactionKey($transKey) * @param string $fpSequence An invoice number or random number. * @param string $fpTimestamp * @return string The fingerprint. - * @since 2.0.0 */ public function generateRequestSign( $merchantApiLoginId, @@ -78,7 +73,6 @@ public function generateRequestSign( * * @param \Magento\Authorizenet\Model\Directpost $paymentMethod * @return $this - * @since 2.0.0 */ public function setConstantData(\Magento\Authorizenet\Model\Directpost $paymentMethod) { @@ -100,7 +94,6 @@ public function setConstantData(\Magento\Authorizenet\Model\Directpost $paymentM * @param \Magento\Sales\Model\Order $order * @param \Magento\Authorizenet\Model\Directpost $paymentMethod * @return $this - * @since 2.0.0 */ public function setDataFromOrder( \Magento\Sales\Model\Order $order, @@ -172,7 +165,6 @@ public function setDataFromOrder( * All needed fields should be placed in the object fist. * * @return $this - * @since 2.0.0 */ public function signRequestData() { diff --git a/app/code/Magento/Authorizenet/Model/Directpost/Request/Factory.php b/app/code/Magento/Authorizenet/Model/Directpost/Request/Factory.php index 4c35b33d675a3..2cdd02d7f8488 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost/Request/Factory.php +++ b/app/code/Magento/Authorizenet/Model/Directpost/Request/Factory.php @@ -9,7 +9,6 @@ /** * Factory class for @see \Magento\Authorizenet\Model\Directpost\Request - * @since 2.0.0 */ class Factory extends AuthorizenetRequestFactory { @@ -18,7 +17,6 @@ class Factory extends AuthorizenetRequestFactory * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, diff --git a/app/code/Magento/Authorizenet/Model/Directpost/Response.php b/app/code/Magento/Authorizenet/Model/Directpost/Response.php index 3a4b160fb9e41..dc62c1e990dc3 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost/Response.php +++ b/app/code/Magento/Authorizenet/Model/Directpost/Response.php @@ -10,7 +10,6 @@ /** * Authorize.net response model for DirectPost model - * @since 2.0.0 */ class Response extends AuthorizenetResponse { @@ -22,7 +21,6 @@ class Response extends AuthorizenetResponse * @param string $amount * @param string $transactionId * @return string - * @since 2.0.0 */ public function generateHash($merchantMd5, $merchantApiLogin, $amount, $transactionId) { @@ -39,7 +37,6 @@ public function generateHash($merchantMd5, $merchantApiLogin, $amount, $transact * @param string $merchantMd5 * @param string $merchantApiLogin * @return bool - * @since 2.0.0 */ public function isValidHash($merchantMd5, $merchantApiLogin) { @@ -52,7 +49,6 @@ public function isValidHash($merchantMd5, $merchantApiLogin) * Return if this is approved response from Authorize.net auth request. * * @return bool - * @since 2.0.0 */ public function isApproved() { diff --git a/app/code/Magento/Authorizenet/Model/Directpost/Response/Factory.php b/app/code/Magento/Authorizenet/Model/Directpost/Response/Factory.php index 2b69df71a8f9f..c2a24ef386ab0 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost/Response/Factory.php +++ b/app/code/Magento/Authorizenet/Model/Directpost/Response/Factory.php @@ -9,7 +9,6 @@ /** * Factory class for @see \Magento\Authorizenet\Model\Directpost\Response - * @since 2.0.0 */ class Factory extends AuthorizenetResponseFactory { @@ -18,7 +17,6 @@ class Factory extends AuthorizenetResponseFactory * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, diff --git a/app/code/Magento/Authorizenet/Model/Directpost/Session.php b/app/code/Magento/Authorizenet/Model/Directpost/Session.php index 6272f7b387719..7ddedac161399 100644 --- a/app/code/Magento/Authorizenet/Model/Directpost/Session.php +++ b/app/code/Magento/Authorizenet/Model/Directpost/Session.php @@ -9,7 +9,6 @@ /** * Authorize.net DirectPost session model - * @since 2.0.0 */ class Session extends SessionManager { @@ -18,7 +17,6 @@ class Session extends SessionManager * * @param string $orderIncrementId * @return void - * @since 2.0.0 */ public function addCheckoutOrderIncrementId($orderIncrementId) { @@ -35,7 +33,6 @@ public function addCheckoutOrderIncrementId($orderIncrementId) * * @param string $orderIncrementId * @return void - * @since 2.0.0 */ public function removeCheckoutOrderIncrementId($orderIncrementId) { @@ -56,7 +53,6 @@ public function removeCheckoutOrderIncrementId($orderIncrementId) * * @param string $orderIncrementId * @return bool - * @since 2.0.0 */ public function isCheckoutOrderIncrementIdExist($orderIncrementId) { @@ -72,7 +68,6 @@ public function isCheckoutOrderIncrementIdExist($orderIncrementId) * * @param int|string $id * @return $this - * @since 2.0.0 */ public function setQuoteId($id) { diff --git a/app/code/Magento/Authorizenet/Model/Request.php b/app/code/Magento/Authorizenet/Model/Request.php index 1d35beaf5e3dc..dc52f84baecee 100644 --- a/app/code/Magento/Authorizenet/Model/Request.php +++ b/app/code/Magento/Authorizenet/Model/Request.php @@ -9,7 +9,6 @@ /** * Request object - * @since 2.0.0 */ class Request extends DataObject { diff --git a/app/code/Magento/Authorizenet/Model/Request/Factory.php b/app/code/Magento/Authorizenet/Model/Request/Factory.php index eee86d2c6395c..e60bbd0c88e83 100644 --- a/app/code/Magento/Authorizenet/Model/Request/Factory.php +++ b/app/code/Magento/Authorizenet/Model/Request/Factory.php @@ -7,7 +7,6 @@ /** * Factory class for @see \Magento\Authorizenet\Model\Request - * @since 2.0.0 */ class Factory { @@ -15,7 +14,6 @@ class Factory * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -23,7 +21,6 @@ class Factory * Instance name to create * * @var string - * @since 2.0.0 */ protected $instanceName; @@ -32,7 +29,6 @@ class Factory * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -47,7 +43,6 @@ public function __construct( * * @param array $data * @return \Magento\Authorizenet\Model\Request - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Authorizenet/Model/ResourceModel/Debug.php b/app/code/Magento/Authorizenet/Model/ResourceModel/Debug.php index 37c4a3f84dbb9..ee6ec6783bb06 100644 --- a/app/code/Magento/Authorizenet/Model/ResourceModel/Debug.php +++ b/app/code/Magento/Authorizenet/Model/ResourceModel/Debug.php @@ -7,7 +7,6 @@ /** * Resource Authorize.net debug model - * @since 2.0.0 */ class Debug extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -15,7 +14,6 @@ class Debug extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Authorizenet/Model/ResourceModel/Debug/Collection.php b/app/code/Magento/Authorizenet/Model/ResourceModel/Debug/Collection.php index cff9e4020cb66..095ac5a91dd7c 100644 --- a/app/code/Magento/Authorizenet/Model/ResourceModel/Debug/Collection.php +++ b/app/code/Magento/Authorizenet/Model/ResourceModel/Debug/Collection.php @@ -7,7 +7,6 @@ /** * Resource Authorize.net debug collection model - * @since 2.0.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 * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Authorizenet/Model/Response.php b/app/code/Magento/Authorizenet/Model/Response.php index 3cbb55d9205fe..52b43c251dca2 100644 --- a/app/code/Magento/Authorizenet/Model/Response.php +++ b/app/code/Magento/Authorizenet/Model/Response.php @@ -9,7 +9,6 @@ /** * Response object - * @since 2.0.0 */ class Response extends DataObject { diff --git a/app/code/Magento/Authorizenet/Model/Response/Factory.php b/app/code/Magento/Authorizenet/Model/Response/Factory.php index 23941c23d9351..74bf8953471d2 100644 --- a/app/code/Magento/Authorizenet/Model/Response/Factory.php +++ b/app/code/Magento/Authorizenet/Model/Response/Factory.php @@ -7,7 +7,6 @@ /** * Factory class for @see \Magento\Authorizenet\Model\Response - * @since 2.0.0 */ class Factory { @@ -15,7 +14,6 @@ class Factory * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -23,7 +21,6 @@ class Factory * Instance name to create * * @var string - * @since 2.0.0 */ protected $instanceName; @@ -32,7 +29,6 @@ class Factory * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -47,7 +43,6 @@ public function __construct( * * @param array $data * @return \Magento\Authorizenet\Model\Response - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Authorizenet/Model/Source/Cctype.php b/app/code/Magento/Authorizenet/Model/Source/Cctype.php index 6c517058da8d7..0a5fe8ab9b341 100644 --- a/app/code/Magento/Authorizenet/Model/Source/Cctype.php +++ b/app/code/Magento/Authorizenet/Model/Source/Cctype.php @@ -9,13 +9,11 @@ /** * Authorize.net Payment CC Types Source Model - * @since 2.0.0 */ class Cctype extends PaymentCctype { /** * @return string[] - * @since 2.0.0 */ public function getAllowedTypes() { diff --git a/app/code/Magento/Authorizenet/Model/Source/PaymentAction.php b/app/code/Magento/Authorizenet/Model/Source/PaymentAction.php index 70e3a011ac5be..9943e1001da56 100644 --- a/app/code/Magento/Authorizenet/Model/Source/PaymentAction.php +++ b/app/code/Magento/Authorizenet/Model/Source/PaymentAction.php @@ -10,13 +10,11 @@ /** * * Authorize.net Payment Action Dropdown source - * @since 2.0.0 */ class PaymentAction implements ArrayInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Authorizenet/Model/TransactionService.php b/app/code/Magento/Authorizenet/Model/TransactionService.php index ba326c1b3c477..fef22d6c913c0 100644 --- a/app/code/Magento/Authorizenet/Model/TransactionService.php +++ b/app/code/Magento/Authorizenet/Model/TransactionService.php @@ -15,7 +15,6 @@ /** * Class TransactionService * @package Magento\Authorizenet\Model - * @since 2.0.0 */ class TransactionService { @@ -32,25 +31,21 @@ class TransactionService * Stored information about transaction * * @var array - * @since 2.0.0 */ protected $transactionDetails = []; /** * @var \Magento\Framework\Xml\Security - * @since 2.0.0 */ protected $xmlSecurityHelper; /** * @var \Magento\Payment\Model\Method\Logger - * @since 2.0.0 */ protected $logger; /** * @var \Magento\Framework\HTTP\ZendClientFactory - * @since 2.0.0 */ protected $httpClientFactory; @@ -58,7 +53,6 @@ class TransactionService * Fields that should be replaced in debug with '***' * * @var array - * @since 2.0.0 */ protected $debugReplacePrivateDataKeys = ['merchantAuthentication', 'x_login']; @@ -66,7 +60,6 @@ class TransactionService * @param Security $xmlSecurityHelper * @param Logger $logger * @param ZendClientFactory $httpClientFactory - * @since 2.0.0 */ public function __construct( Security $xmlSecurityHelper, @@ -84,7 +77,6 @@ public function __construct( * @param string $transactionId * @return \Magento\Framework\Simplexml\Element * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getTransactionDetails(Authorizenet $context, $transactionId) { @@ -100,7 +92,6 @@ public function getTransactionDetails(Authorizenet $context, $transactionId) * @param string $transactionId * @return \Magento\Framework\Simplexml\Element * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function loadTransactionDetails(Authorizenet $context, $transactionId) { @@ -154,7 +145,6 @@ protected function loadTransactionDetails(Authorizenet $context, $transactionId) * @param string $transactionKey * @param string $transactionId * @return string - * @since 2.0.0 */ private function getRequestBody($login, $transactionKey, $transactionId) { @@ -178,7 +168,6 @@ private function getRequestBody($login, $transactionKey, $transactionId) * * @param string $xml * @return string - * @since 2.0.0 */ private function removePrivateDataFromXml($xml) { diff --git a/app/code/Magento/Authorizenet/Observer/AddFieldsToResponseObserver.php b/app/code/Magento/Authorizenet/Observer/AddFieldsToResponseObserver.php index f0dcd07d9c133..27f83ddfbce7c 100644 --- a/app/code/Magento/Authorizenet/Observer/AddFieldsToResponseObserver.php +++ b/app/code/Magento/Authorizenet/Observer/AddFieldsToResponseObserver.php @@ -11,32 +11,27 @@ /** * Class \Magento\Authorizenet\Observer\AddFieldsToResponseObserver * - * @since 2.0.0 */ class AddFieldsToResponseObserver implements ObserverInterface { /** * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; /** * @var \Magento\Authorizenet\Model\Directpost - * @since 2.0.0 */ protected $payment; /** * @var \Magento\Authorizenet\Model\Directpost\Session - * @since 2.0.0 */ protected $session; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -45,7 +40,6 @@ class AddFieldsToResponseObserver implements ObserverInterface * @param \Magento\Authorizenet\Model\Directpost $payment * @param \Magento\Authorizenet\Model\Directpost\Session $session * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Framework\Registry $coreRegistry, @@ -64,7 +58,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Authorizenet/Observer/SaveOrderAfterSubmitObserver.php b/app/code/Magento/Authorizenet/Observer/SaveOrderAfterSubmitObserver.php index 2044e9fe922f3..d4a0f0f1ce9b9 100644 --- a/app/code/Magento/Authorizenet/Observer/SaveOrderAfterSubmitObserver.php +++ b/app/code/Magento/Authorizenet/Observer/SaveOrderAfterSubmitObserver.php @@ -11,20 +11,17 @@ /** * Class \Magento\Authorizenet\Observer\SaveOrderAfterSubmitObserver * - * @since 2.0.0 */ class SaveOrderAfterSubmitObserver implements ObserverInterface { /** * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; /** * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct( \Magento\Framework\Registry $coreRegistry @@ -37,7 +34,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Authorizenet/Observer/UpdateAllEditIncrementsObserver.php b/app/code/Magento/Authorizenet/Observer/UpdateAllEditIncrementsObserver.php index 081f13d187ee6..f295e2c97cffc 100644 --- a/app/code/Magento/Authorizenet/Observer/UpdateAllEditIncrementsObserver.php +++ b/app/code/Magento/Authorizenet/Observer/UpdateAllEditIncrementsObserver.php @@ -11,20 +11,17 @@ /** * Class \Magento\Authorizenet\Observer\UpdateAllEditIncrementsObserver * - * @since 2.0.0 */ class UpdateAllEditIncrementsObserver implements ObserverInterface { /** * * @var \Magento\Authorizenet\Helper\Data - * @since 2.0.0 */ protected $authorizenetData; /** * @param \Magento\Authorizenet\Helper\Data $authorizenetData - * @since 2.0.0 */ public function __construct( \Magento\Authorizenet\Helper\Data $authorizenetData @@ -37,7 +34,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Backend/App/AbstractAction.php b/app/code/Magento/Backend/App/AbstractAction.php index 68d963ada9b58..857b5e2a37f26 100644 --- a/app/code/Magento/Backend/App/AbstractAction.php +++ b/app/code/Magento/Backend/App/AbstractAction.php @@ -11,7 +11,6 @@ * @api * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractAction extends \Magento\Framework\App\Action\Action { @@ -34,7 +33,6 @@ abstract class AbstractAction extends \Magento\Framework\App\Action\Action * Array of actions which can be processed without secret key validation * * @var array - * @since 2.0.0 */ protected $_publicActions = []; @@ -42,61 +40,51 @@ abstract class AbstractAction extends \Magento\Framework\App\Action\Action * Namespace for session. * * @var string - * @since 2.0.0 */ protected $_sessionNamespace = self::SESSION_NAMESPACE; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Backend\Model\Auth - * @since 2.0.0 */ protected $_auth; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; /** * @var bool - * @since 2.0.0 */ protected $_canUseBaseUrl; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @param \Magento\Backend\App\Action\Context $context - * @since 2.0.0 */ public function __construct(Action\Context $context) { @@ -113,7 +101,6 @@ public function __construct(Action\Context $context) /** * @return bool - * @since 2.0.0 */ protected function _isAllowed() { @@ -124,7 +111,6 @@ protected function _isAllowed() * Retrieve adminhtml session model object * * @return \Magento\Backend\Model\Session - * @since 2.0.0 */ protected function _getSession() { @@ -133,7 +119,6 @@ protected function _getSession() /** * @return \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected function getMessageManager() { @@ -145,7 +130,6 @@ protected function getMessageManager() * * @param string $itemId current active menu item * @return $this - * @since 2.0.0 */ protected function _setActiveMenu($itemId) { @@ -165,7 +149,6 @@ protected function _setActiveMenu($itemId) * @param string $title * @param string|null $link * @return $this - * @since 2.0.0 */ protected function _addBreadcrumb($label, $title, $link = null) { @@ -176,7 +159,6 @@ protected function _addBreadcrumb($label, $title, $link = null) /** * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ protected function _addContent(\Magento\Framework\View\Element\AbstractBlock $block) { @@ -186,7 +168,6 @@ protected function _addContent(\Magento\Framework\View\Element\AbstractBlock $bl /** * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ protected function _addLeft(\Magento\Framework\View\Element\AbstractBlock $block) { @@ -196,7 +177,6 @@ protected function _addLeft(\Magento\Framework\View\Element\AbstractBlock $block /** * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ protected function _addJs(\Magento\Framework\View\Element\AbstractBlock $block) { @@ -211,7 +191,6 @@ protected function _addJs(\Magento\Framework\View\Element\AbstractBlock $block) * @param \Magento\Framework\View\Element\AbstractBlock $block * @param string $containerName * @return $this - * @since 2.0.0 */ private function _moveBlockToContainer(\Magento\Framework\View\Element\AbstractBlock $block, $containerName) { @@ -222,7 +201,6 @@ private function _moveBlockToContainer(\Magento\Framework\View\Element\AbstractB /** * @param \Magento\Framework\App\RequestInterface $request * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function dispatch(\Magento\Framework\App\RequestInterface $request) { @@ -254,7 +232,6 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request) * Check whether url is checked * * @return bool - * @since 2.0.0 */ protected function _isUrlChecked() { @@ -268,7 +245,6 @@ protected function _isUrlChecked() * Check url keys. If non valid - redirect * * @return bool - * @since 2.0.0 */ public function _processUrlKeys() { @@ -308,7 +284,6 @@ public function _processUrlKeys() * process force locale set through url params * * @return $this - * @since 2.0.0 */ protected function _processLocaleSettings() { @@ -331,7 +306,6 @@ protected function _processLocaleSettings() * @param string $path * @param array $arguments * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ protected function _redirect($path, $arguments = []) { @@ -349,7 +323,6 @@ protected function _redirect($path, $arguments = []) * @param string|null $module * @param array|null $params * @return void - * @since 2.0.0 */ protected function _forward($action, $controller = null, $module = null, array $params = null) { @@ -363,7 +336,6 @@ protected function _forward($action, $controller = null, $module = null, array $ * @param string $route * @param array $params * @return string - * @since 2.0.0 */ public function getUrl($route = '', $params = []) { @@ -374,7 +346,6 @@ public function getUrl($route = '', $params = []) * Validate Secret Key * * @return bool - * @since 2.0.0 */ protected function _validateSecretKey() { diff --git a/app/code/Magento/Backend/App/Action.php b/app/code/Magento/Backend/App/Action.php index fbeb93b2a1bce..3acd60540a0ea 100644 --- a/app/code/Magento/Backend/App/Action.php +++ b/app/code/Magento/Backend/App/Action.php @@ -12,7 +12,6 @@ /** * @api * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ abstract class Action extends \Magento\Backend\App\AbstractAction { diff --git a/app/code/Magento/Backend/App/Action/Context.php b/app/code/Magento/Backend/App/Action/Context.php index 2dd2a9df786b5..efa9c952ef788 100644 --- a/app/code/Magento/Backend/App/Action/Context.php +++ b/app/code/Magento/Backend/App/Action/Context.php @@ -20,55 +20,46 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Context extends \Magento\Framework\App\Action\Context { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Backend\Model\Auth - * @since 2.0.0 */ protected $_auth; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @var bool - * @since 2.0.0 */ protected $_canUseBaseUrl; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; @@ -93,7 +84,6 @@ class Context extends \Magento\Framework\App\Action\Context * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param bool $canUseBaseUrl * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -142,7 +132,6 @@ public function __construct( /** * @return \Magento\Backend\Model\Auth - * @since 2.0.0 */ public function getAuth() { @@ -151,7 +140,6 @@ public function getAuth() /** * @return \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ public function getAuthorization() { @@ -160,7 +148,6 @@ public function getAuthorization() /** * @return \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ public function getBackendUrl() { @@ -170,7 +157,6 @@ public function getBackendUrl() /** * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCanUseBaseUrl() { @@ -179,7 +165,6 @@ public function getCanUseBaseUrl() /** * @return \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ public function getFormKeyValidator() { @@ -188,7 +173,6 @@ public function getFormKeyValidator() /** * @return \Magento\Backend\Helper\Data - * @since 2.0.0 */ public function getHelper() { @@ -197,7 +181,6 @@ public function getHelper() /** * @return \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ public function getLocaleResolver() { @@ -206,7 +189,6 @@ public function getLocaleResolver() /** * @return \Magento\Backend\Model\Session - * @since 2.0.0 */ public function getSession() { diff --git a/app/code/Magento/Backend/App/Action/Plugin/Authentication.php b/app/code/Magento/Backend/App/Action/Plugin/Authentication.php index 6c0f3ba5c1805..68506a521c1cf 100644 --- a/app/code/Magento/Backend/App/Action/Plugin/Authentication.php +++ b/app/code/Magento/Backend/App/Action/Plugin/Authentication.php @@ -9,19 +9,16 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Authentication { /** * @var \Magento\Backend\Model\Auth - * @since 2.0.0 */ protected $_auth; /** * @var string[] - * @since 2.0.0 */ protected $_openActions = [ 'forgotpassword', @@ -33,49 +30,41 @@ class Authentication /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_url; /** * @var \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ protected $_response; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $backendUrl; /** * @var \Magento\Backend\App\BackendAppList - * @since 2.0.0 */ protected $backendAppList; /** * @var \Magento\Framework\Controller\Result\RedirectFactory - * @since 2.0.0 */ protected $resultRedirectFactory; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $formKeyValidator; @@ -89,7 +78,6 @@ class Authentication * @param \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory * @param \Magento\Backend\App\BackendAppList $backendAppList * @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Auth $auth, @@ -120,7 +108,6 @@ public function __construct( * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundDispatch( \Magento\Backend\App\AbstractAction $subject, @@ -161,7 +148,6 @@ public function aroundDispatch( * * @param \Magento\Framework\App\RequestInterface $request * @return void - * @since 2.0.0 */ protected function _processNotLoggedInUser(\Magento\Framework\App\RequestInterface $request) { @@ -206,7 +192,6 @@ protected function _processNotLoggedInUser(\Magento\Framework\App\RequestInterfa * * @param \Magento\Framework\App\RequestInterface $request * @return bool - * @since 2.0.0 */ protected function _performLogin(\Magento\Framework\App\RequestInterface $request) { @@ -233,7 +218,6 @@ protected function _performLogin(\Magento\Framework\App\RequestInterface $reques * * @param \Magento\Framework\App\RequestInterface $request * @return bool - * @since 2.0.0 */ protected function _redirectIfNeededAfterLogin(\Magento\Framework\App\RequestInterface $request) { diff --git a/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php b/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php index 3bbeb0d347d07..6e9b305eac5c0 100644 --- a/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php +++ b/app/code/Magento/Backend/App/Action/Plugin/MassactionKey.php @@ -13,7 +13,6 @@ /** * Class \Magento\Backend\App\Action\Plugin\MassactionKey * - * @since 2.0.0 */ class MassactionKey { diff --git a/app/code/Magento/Backend/App/Area/FrontNameResolver.php b/app/code/Magento/Backend/App/Area/FrontNameResolver.php index 58b1602e3836e..c35ee4b259d93 100644 --- a/app/code/Magento/Backend/App/Area/FrontNameResolver.php +++ b/app/code/Magento/Backend/App/Area/FrontNameResolver.php @@ -15,7 +15,6 @@ /** * @api - * @since 2.0.0 */ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolverInterface { @@ -34,19 +33,16 @@ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolver /** * @var array - * @since 2.0.0 */ protected $standardPorts = ['http' => '80', 'https' => '443']; /** * @var string - * @since 2.0.0 */ protected $defaultFrontName; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $config; @@ -54,13 +50,11 @@ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolver * Deployment configuration * * @var DeploymentConfig - * @since 2.0.0 */ protected $deploymentConfig; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; @@ -68,7 +62,6 @@ class FrontNameResolver implements \Magento\Framework\App\Area\FrontNameResolver * @param \Magento\Backend\App\Config $config * @param DeploymentConfig $deploymentConfig * @param ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Config $config, @@ -85,7 +78,6 @@ public function __construct( * * @param bool $checkHost If true, verify front name is valid for this url (hostname is correct) * @return string|bool - * @since 2.0.0 */ public function getFrontName($checkHost = false) { @@ -103,7 +95,6 @@ public function getFrontName($checkHost = false) * Return whether the host from request is the backend host * * @return bool - * @since 2.0.0 */ public function isHostBackend() { @@ -121,7 +112,6 @@ public function isHostBackend() * * @param string $url * @return mixed|string - * @since 2.0.0 */ private function getHostWithPort($url) { diff --git a/app/code/Magento/Backend/App/BackendApp.php b/app/code/Magento/Backend/App/BackendApp.php index 14d6c70b7674e..8c40b41ac35c7 100644 --- a/app/code/Magento/Backend/App/BackendApp.php +++ b/app/code/Magento/Backend/App/BackendApp.php @@ -9,25 +9,21 @@ /** * Backend Application which uses Magento Backend authentication process * @api - * @since 2.0.0 */ class BackendApp { /** * @var null - * @since 2.0.0 */ private $cookiePath; /** * @var null - * @since 2.0.0 */ private $startupPage; /** * @var null - * @since 2.0.0 */ private $aclResourceName; @@ -35,7 +31,6 @@ class BackendApp * @param string $cookiePath * @param string $startupPage * @param string $aclResourceName - * @since 2.0.0 */ public function __construct( $cookiePath, @@ -51,7 +46,6 @@ public function __construct( * Cookie path for the application to set cookie to * * @return string - * @since 2.0.0 */ public function getCookiePath() { @@ -62,7 +56,6 @@ public function getCookiePath() * Startup Page of the application to redirect after login * * @return string - * @since 2.0.0 */ public function getStartupPage() { @@ -73,7 +66,6 @@ public function getStartupPage() * ACL resource name to authorize access to * * @return string - * @since 2.0.0 */ public function getAclResource() { diff --git a/app/code/Magento/Backend/App/BackendAppList.php b/app/code/Magento/Backend/App/BackendAppList.php index ce29dfd462a1f..ae5ec0284511f 100644 --- a/app/code/Magento/Backend/App/BackendAppList.php +++ b/app/code/Magento/Backend/App/BackendAppList.php @@ -9,26 +9,22 @@ /** * List of Backend Applications to allow injection of them through the DI * @api - * @since 2.0.0 */ class BackendAppList { /** * @var BackendApp[] - * @since 2.0.0 */ private $backendApps = []; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ private $request; /** * @param \Magento\Framework\App\Request\Http $request * @param array $backendApps - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request, @@ -42,7 +38,6 @@ public function __construct( * Get Backend app based on its name * * @return BackendApp|null - * @since 2.0.0 */ public function getCurrentApp() { @@ -58,7 +53,6 @@ public function getCurrentApp() * * @param string $appName * @return BackendApp|null - * @since 2.0.0 */ public function getBackendApp($appName) { diff --git a/app/code/Magento/Backend/App/Config.php b/app/code/Magento/Backend/App/Config.php index bc23536cb130d..96eed3fb76afd 100644 --- a/app/code/Magento/Backend/App/Config.php +++ b/app/code/Magento/Backend/App/Config.php @@ -13,26 +13,24 @@ /** * Backend config accessor. - * @since 2.0.0 */ class Config implements ConfigInterface { /** * @var \Magento\Framework\App\Config - * @since 2.2.0 + * @since 2.1.3 */ protected $appConfig; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $data; /** * @param \Magento\Framework\App\Config $appConfig * @return void - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\Config $appConfig) { @@ -41,7 +39,6 @@ public function __construct(\Magento\Framework\App\Config $appConfig) /** * @inheritdoc - * @since 2.0.0 */ public function getValue($path) { @@ -58,7 +55,6 @@ public function getValue($path) /** * @inheritdoc - * @since 2.0.0 */ public function setValue($path, $value) { @@ -67,7 +63,6 @@ public function setValue($path, $value) /** * @inheritdoc - * @since 2.0.0 */ public function isSetFlag($path) { diff --git a/app/code/Magento/Backend/App/ConfigInterface.php b/app/code/Magento/Backend/App/ConfigInterface.php index 70a1c743420f2..91467ef3cbaea 100644 --- a/app/code/Magento/Backend/App/ConfigInterface.php +++ b/app/code/Magento/Backend/App/ConfigInterface.php @@ -10,7 +10,6 @@ /** * Backend config accessor * @api - * @since 2.0.0 */ interface ConfigInterface { @@ -22,19 +21,17 @@ interface ConfigInterface * @param string $path * @return mixed * @api - * @since 2.0.0 */ public function getValue($path); /** * Set config value * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @param string $path * @param mixed $value * @return void * @api - * @since 2.0.0 */ public function setValue($path, $value); @@ -46,7 +43,6 @@ public function setValue($path, $value); * @param string $path * @return bool * @api - * @since 2.0.0 */ public function isSetFlag($path); } diff --git a/app/code/Magento/Backend/App/DefaultPath.php b/app/code/Magento/Backend/App/DefaultPath.php index a8cf9e36e88e6..a89ac8a024ab0 100644 --- a/app/code/Magento/Backend/App/DefaultPath.php +++ b/app/code/Magento/Backend/App/DefaultPath.php @@ -9,20 +9,17 @@ /** * @api - * @since 2.0.0 */ class DefaultPath implements \Magento\Framework\App\DefaultPathInterface { /** * @var array - * @since 2.0.0 */ protected $_parts; /** * @param \Magento\Backend\App\ConfigInterface $config * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\ConfigInterface $config) { @@ -41,7 +38,6 @@ public function __construct(\Magento\Backend\App\ConfigInterface $config) * * @param string $code * @return string - * @since 2.0.0 */ public function getPart($code) { diff --git a/app/code/Magento/Backend/App/Request/PathInfoProcessor.php b/app/code/Magento/Backend/App/Request/PathInfoProcessor.php index 3d57f2886b222..782a4702c6981 100644 --- a/app/code/Magento/Backend/App/Request/PathInfoProcessor.php +++ b/app/code/Magento/Backend/App/Request/PathInfoProcessor.php @@ -9,26 +9,22 @@ /** * @api - * @since 2.0.0 */ class PathInfoProcessor implements \Magento\Framework\App\Request\PathInfoProcessorInterface { /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ private $_helper; /** * @var \Magento\Store\App\Request\PathInfoProcessor - * @since 2.0.0 */ private $_subject; /** * @param \Magento\Store\App\Request\PathInfoProcessor $subject * @param \Magento\Backend\Helper\Data $helper - * @since 2.0.0 */ public function __construct( \Magento\Store\App\Request\PathInfoProcessor $subject, @@ -44,7 +40,6 @@ public function __construct( * @param \Magento\Framework\App\RequestInterface $request * @param string $pathInfo * @return string - * @since 2.0.0 */ public function process(\Magento\Framework\App\RequestInterface $request, $pathInfo) { diff --git a/app/code/Magento/Backend/App/Response/Http/FileFactory.php b/app/code/Magento/Backend/App/Response/Http/FileFactory.php index 129ebf8dee0fc..fa4fb39330f9e 100644 --- a/app/code/Magento/Backend/App/Response/Http/FileFactory.php +++ b/app/code/Magento/Backend/App/Response/Http/FileFactory.php @@ -9,43 +9,36 @@ /** * @api - * @since 2.0.0 */ class FileFactory extends \Magento\Framework\App\Response\Http\FileFactory { /** * @var \Magento\Backend\Model\Auth - * @since 2.0.0 */ protected $_auth; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ protected $_response; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_flag; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_helper; @@ -57,7 +50,6 @@ class FileFactory extends \Magento\Framework\App\Response\Http\FileFactory * @param \Magento\Backend\Model\Session $session * @param \Magento\Framework\App\ActionFlag $flag * @param \Magento\Backend\Helper\Data $helper - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResponseInterface $response, @@ -83,7 +75,6 @@ public function __construct( * @param array $arguments * @return \Magento\Framework\App\ResponseInterface * @TODO move method - * @since 2.0.0 */ protected function _redirect($path, $arguments = []) { @@ -104,7 +95,6 @@ protected function _redirect($path, $arguments = []) * @param string $contentType * @param int $contentLength explicit content length, if strlen($content) isn't applicable * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function create( $fileName, diff --git a/app/code/Magento/Backend/App/Router.php b/app/code/Magento/Backend/App/Router.php index 1df493e78b9d4..040071ca572d5 100644 --- a/app/code/Magento/Backend/App/Router.php +++ b/app/code/Magento/Backend/App/Router.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class Router extends \Magento\Framework\App\Router\Base { /** * @var \Magento\Framework\UrlInterface $url - * @since 2.0.0 */ protected $_url; @@ -25,7 +23,6 @@ class Router extends \Magento\Framework\App\Router\Base * Order sensitive * * @var string[] - * @since 2.0.0 */ protected $_requiredParams = ['areaFrontName', 'moduleFrontName', 'actionPath', 'actionName']; @@ -34,13 +31,11 @@ class Router extends \Magento\Framework\App\Router\Base * not to pass dispatching to next routers * * @var bool - * @since 2.0.0 */ protected $applyNoRoute = true; /** * @var string - * @since 2.0.0 */ protected $pathPrefix = \Magento\Backend\App\Area\FrontNameResolver::AREA_CODE; @@ -48,7 +43,6 @@ class Router extends \Magento\Framework\App\Router\Base * Check whether redirect should be used for secure routes * * @return bool - * @since 2.0.0 */ protected function _shouldRedirectToSecure() { diff --git a/app/code/Magento/Backend/App/Router/NoRouteHandler.php b/app/code/Magento/Backend/App/Router/NoRouteHandler.php index 1e6af1732af23..fc25c5adabeb0 100644 --- a/app/code/Magento/Backend/App/Router/NoRouteHandler.php +++ b/app/code/Magento/Backend/App/Router/NoRouteHandler.php @@ -9,26 +9,22 @@ /** * @api - * @since 2.0.0 */ class NoRouteHandler implements \Magento\Framework\App\Router\NoRouteHandlerInterface { /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $helper; /** * @var \Magento\Framework\App\Route\ConfigInterface - * @since 2.0.0 */ protected $routeConfig; /** * @param \Magento\Backend\Helper\Data $helper * @param \Magento\Framework\App\Route\ConfigInterface $routeConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\Helper\Data $helper, @@ -43,7 +39,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return bool - * @since 2.0.0 */ public function process(\Magento\Framework\App\RequestInterface $request) { diff --git a/app/code/Magento/Backend/App/UserConfig.php b/app/code/Magento/Backend/App/UserConfig.php index 7c4764616e697..1a60c38d1783a 100644 --- a/app/code/Magento/Backend/App/UserConfig.php +++ b/app/code/Magento/Backend/App/UserConfig.php @@ -14,7 +14,6 @@ /** * @api - * @since 2.0.0 */ class UserConfig implements AppInterface { @@ -22,7 +21,6 @@ class UserConfig implements AppInterface * Console response * * @var Response - * @since 2.0.0 */ private $response; @@ -30,7 +28,6 @@ class UserConfig implements AppInterface * Requested changes * * @var array - * @since 2.0.0 */ private $request; @@ -38,7 +35,6 @@ class UserConfig implements AppInterface * Factory for config models * * @var Factory - * @since 2.0.0 */ private $configFactory; @@ -48,7 +44,6 @@ class UserConfig implements AppInterface * @param Factory $configFactory * @param Response $response * @param array $request - * @since 2.0.0 */ public function __construct( Factory $configFactory, @@ -64,7 +59,6 @@ public function __construct( * Run application * * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function launch() { @@ -77,7 +71,6 @@ public function launch() * Inserts provided user configuration data into database * * @return void - * @since 2.0.0 */ private function updateUserConfigData() { @@ -90,7 +83,6 @@ private function updateUserConfigData() /** * {@inheritdoc} - * @since 2.0.0 */ public function catchException(Bootstrap $bootstrap, \Exception $exception) { diff --git a/app/code/Magento/Backend/Block/AbstractBlock.php b/app/code/Magento/Backend/Block/AbstractBlock.php index 88a527eafa0a5..51e1831b97aa2 100644 --- a/app/code/Magento/Backend/Block/AbstractBlock.php +++ b/app/code/Magento/Backend/Block/AbstractBlock.php @@ -12,20 +12,17 @@ * * Marked as public API because it is actively used now. * @api - * @since 2.0.0 */ class AbstractBlock extends \Magento\Framework\View\Element\AbstractBlock { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @param \Magento\Backend\Block\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Context $context, array $data = []) { diff --git a/app/code/Magento/Backend/Block/Admin/Formkey.php b/app/code/Magento/Backend/Block/Admin/Formkey.php index 61ecde141f8d9..2e3474dac2498 100644 --- a/app/code/Magento/Backend/Block/Admin/Formkey.php +++ b/app/code/Magento/Backend/Block/Admin/Formkey.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Formkey extends \Magento\Backend\Block\Template { @@ -19,7 +18,6 @@ class Formkey extends \Magento\Backend\Block\Template * Get form key * * @return string - * @since 2.0.0 */ public function getFormKey() { diff --git a/app/code/Magento/Backend/Block/Cache.php b/app/code/Magento/Backend/Block/Cache.php index 2a9ec48323b62..fa230c5a15236 100644 --- a/app/code/Magento/Backend/Block/Cache.php +++ b/app/code/Magento/Backend/Block/Cache.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Cache extends \Magento\Backend\Block\Widget\Grid\Container { @@ -15,7 +14,6 @@ class Cache extends \Magento\Backend\Block\Widget\Grid\Container * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -47,7 +45,6 @@ protected function _construct() * Get url for clean cache storage * * @return string - * @since 2.0.0 */ public function getFlushStorageUrl() { @@ -58,7 +55,6 @@ public function getFlushStorageUrl() * Get url for clean cache storage * * @return string - * @since 2.0.0 */ public function getFlushSystemUrl() { diff --git a/app/code/Magento/Backend/Block/Cache/Additional.php b/app/code/Magento/Backend/Block/Cache/Additional.php index 5ab7924e330aa..52f41600f64f8 100644 --- a/app/code/Magento/Backend/Block/Cache/Additional.php +++ b/app/code/Magento/Backend/Block/Cache/Additional.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Additional extends \Magento\Backend\Block\Template { @@ -15,7 +14,6 @@ class Additional extends \Magento\Backend\Block\Template * Check if application is in production mode * * @return bool - * @since 2.0.0 */ public function isInProductionMode() { @@ -24,7 +22,6 @@ public function isInProductionMode() /** * @return string - * @since 2.0.0 */ public function getCleanImagesUrl() { @@ -33,7 +30,6 @@ public function getCleanImagesUrl() /** * @return string - * @since 2.0.0 */ public function getCleanMediaUrl() { @@ -42,7 +38,6 @@ public function getCleanMediaUrl() /** * @return string - * @since 2.0.0 */ public function getCleanStaticFilesUrl() { diff --git a/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php b/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php index b803e77b02141..001bf2543c2e5 100644 --- a/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php +++ b/app/code/Magento/Backend/Block/Cache/Grid/Column/Statuses.php @@ -9,13 +9,11 @@ /** * @api - * @since 2.0.0 */ class Statuses extends \Magento\Backend\Block\Widget\Grid\Column { /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; @@ -23,7 +21,6 @@ class Statuses extends \Magento\Backend\Block\Widget\Grid\Column * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Add to column decorated status * * @return array - * @since 2.0.0 */ public function getFrameCallback() { @@ -54,7 +50,6 @@ public function getFrameCallback() * @param bool $isExport * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function decorateStatus($value, $row, $column, $isExport) { diff --git a/app/code/Magento/Backend/Block/Catalog/Product/Tab/Container.php b/app/code/Magento/Backend/Block/Catalog/Product/Tab/Container.php index 70634a95e8af7..0882facbeaca9 100644 --- a/app/code/Magento/Backend/Block/Catalog/Product/Tab/Container.php +++ b/app/code/Magento/Backend/Block/Catalog/Product/Tab/Container.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Container extends \Magento\Backend\Block\Template implements \Magento\Backend\Block\Widget\Tab\TabInterface { @@ -15,7 +14,6 @@ class Container extends \Magento\Backend\Block\Template implements \Magento\Back * Return Tab label * * @return string - * @since 2.0.0 */ public function getTabLabel() { @@ -26,7 +24,6 @@ public function getTabLabel() * Return Tab title * * @return string - * @since 2.0.0 */ public function getTabTitle() { @@ -37,7 +34,6 @@ public function getTabTitle() * Can show tab in tabs * * @return boolean - * @since 2.0.0 */ public function canShowTab() { @@ -48,7 +44,6 @@ public function canShowTab() * Tab is hidden * * @return boolean - * @since 2.0.0 */ public function isHidden() { diff --git a/app/code/Magento/Backend/Block/Context.php b/app/code/Magento/Backend/Block/Context.php index f22b2da7a634e..060fb3eb0d762 100644 --- a/app/code/Magento/Backend/Block/Context.php +++ b/app/code/Magento/Backend/Block/Context.php @@ -18,13 +18,11 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Context extends \Magento\Framework\View\Element\Context { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; @@ -49,7 +47,6 @@ class Context extends \Magento\Framework\View\Element\Context * @param \Magento\Framework\Translate\Inline\StateInterface $inlineTranslation * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -97,7 +94,6 @@ public function __construct( * Retrieve Authorization * * @return \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ public function getAuthorization() { diff --git a/app/code/Magento/Backend/Block/Dashboard.php b/app/code/Magento/Backend/Block/Dashboard.php index ff2386061421e..e3de182751cb7 100644 --- a/app/code/Magento/Backend/Block/Dashboard.php +++ b/app/code/Magento/Backend/Block/Dashboard.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ class Dashboard extends \Magento\Backend\Block\Template { @@ -19,13 +18,11 @@ class Dashboard extends \Magento\Backend\Block\Template /** * @var string - * @since 2.0.0 */ protected $_template = 'dashboard/index.phtml'; /** * @return void - * @since 2.0.0 */ protected function _prepareLayout() { @@ -62,7 +59,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getSwitchUrl() { diff --git a/app/code/Magento/Backend/Block/Dashboard/AbstractDashboard.php b/app/code/Magento/Backend/Block/Dashboard/AbstractDashboard.php index bbc711801233a..fcd1243ffa9d1 100644 --- a/app/code/Magento/Backend/Block/Dashboard/AbstractDashboard.php +++ b/app/code/Magento/Backend/Block/Dashboard/AbstractDashboard.php @@ -12,19 +12,16 @@ * Adminhtml dashboard tab abstract * * @author Magento Core Team - * @since 2.0.0 */ abstract class AbstractDashboard extends \Magento\Backend\Block\Widget { /** * @var \Magento\Backend\Helper\Dashboard\AbstractDashboard - * @since 2.0.0 */ protected $_dataHelper = null; /** * @var \Magento\Reports\Model\ResourceModel\Order\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -32,7 +29,6 @@ abstract class AbstractDashboard extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +41,6 @@ public function __construct( /** * @return array|AbstractCollection|\Magento\Eav\Model\Entity\Collection\Abstract - * @since 2.0.0 */ public function getCollection() { @@ -54,7 +49,6 @@ public function getCollection() /** * @return int - * @since 2.0.0 */ public function getCount() { @@ -65,7 +59,6 @@ public function getCount() * Get data helper * * @return \Magento\Backend\Helper\Dashboard\AbstractDashboard - * @since 2.0.0 */ public function getDataHelper() { @@ -74,7 +67,6 @@ public function getDataHelper() /** * @return $this - * @since 2.0.0 */ protected function _prepareData() { @@ -83,7 +75,6 @@ protected function _prepareData() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Bar.php b/app/code/Magento/Backend/Block/Dashboard/Bar.php index 1e5871ae9a05e..29557f12c1093 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Bar.php +++ b/app/code/Magento/Backend/Block/Dashboard/Bar.php @@ -9,25 +9,21 @@ * Adminhtml dashboard bar block * * @author Magento Core Team - * @since 2.0.0 */ class Bar extends \Magento\Backend\Block\Dashboard\AbstractDashboard { /** * @var array - * @since 2.0.0 */ protected $_totals = []; /** * @var \Magento\Directory\Model\Currency|null - * @since 2.0.0 */ protected $_currentCurrencyCode = null; /** * @return array - * @since 2.0.0 */ public function getTotals() { @@ -39,7 +35,6 @@ public function getTotals() * @param float $value * @param bool $isQuantity * @return $this - * @since 2.0.0 */ public function addTotal($label, $value, $isQuantity = false) { @@ -65,7 +60,6 @@ public function addTotal($label, $value, $isQuantity = false) * * @param float $price * @return string - * @since 2.0.0 */ public function format($price) { @@ -77,7 +71,6 @@ public function format($price) * * @param \Magento\Directory\Model\Currency $currency * @return void - * @since 2.0.0 */ public function setCurrency($currency) { @@ -88,7 +81,6 @@ public function setCurrency($currency) * Retrieve currency model if not set then return currency model for current store * * @return \Magento\Directory\Model\Currency - * @since 2.0.0 */ public function getCurrency() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Diagrams.php b/app/code/Magento/Backend/Block/Dashboard/Diagrams.php index fccd26b70b900..12770bc12268d 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Diagrams.php +++ b/app/code/Magento/Backend/Block/Dashboard/Diagrams.php @@ -9,19 +9,16 @@ * Adminhtml dashboard diagram tabs * * @author Magento Core Team - * @since 2.0.0 */ class Diagrams extends \Magento\Backend\Block\Widget\Tabs { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/tabshoriz.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +29,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Graph.php b/app/code/Magento/Backend/Block/Dashboard/Graph.php index 3fe73e7c81d1c..cecd7b8050352 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Graph.php +++ b/app/code/Magento/Backend/Block/Dashboard/Graph.php @@ -9,7 +9,6 @@ * Adminhtml dashboard google chart block * * @author Magento Core Team - * @since 2.0.0 */ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard { @@ -22,7 +21,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * All series * * @var array - * @since 2.0.0 */ protected $_allSeries = []; @@ -30,7 +28,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Axis labels * * @var array - * @since 2.0.0 */ protected $_axisLabels = []; @@ -38,7 +35,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Axis maps * * @var array - * @since 2.0.0 */ protected $_axisMaps = []; @@ -46,7 +42,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Data rows * * @var array - * @since 2.0.0 */ protected $_dataRows = []; @@ -54,7 +49,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Simple encoding chars * * @var string - * @since 2.0.0 */ protected $_simpleEncoding = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; @@ -62,7 +56,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Extended encoding chars * * @var string - * @since 2.0.0 */ protected $_extendedEncoding = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.'; @@ -70,7 +63,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Chart width * * @var string - * @since 2.0.0 */ protected $_width = '780'; @@ -78,7 +70,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Chart height * * @var string - * @since 2.0.0 */ protected $_height = '384'; @@ -86,7 +77,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Google chart api data encoding * * @var string - * @since 2.0.0 */ protected $_encoding = 'e'; @@ -94,13 +84,11 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Html identifier * * @var string - * @since 2.0.0 */ protected $_htmlId = ''; /** * @var string - * @since 2.0.0 */ protected $_template = 'dashboard/graph.phtml'; @@ -108,7 +96,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * Adminhtml dashboard data * * @var \Magento\Backend\Helper\Dashboard\Data - * @since 2.0.0 */ protected $_dashboardData = null; @@ -117,7 +104,6 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -133,7 +119,6 @@ public function __construct( * Get tab template * * @return string - * @since 2.0.0 */ protected function _getTabTemplate() { @@ -145,7 +130,6 @@ protected function _getTabTemplate() * * @param array $rows * @return void - * @since 2.0.0 */ public function setDataRows($rows) { @@ -158,7 +142,6 @@ public function setDataRows($rows) * @param string $seriesId * @param array $options * @return void - * @since 2.0.0 */ public function addSeries($seriesId, array $options) { @@ -170,7 +153,6 @@ public function addSeries($seriesId, array $options) * * @param string $seriesId * @return array|false - * @since 2.0.0 */ public function getSeries($seriesId) { @@ -185,7 +167,6 @@ public function getSeries($seriesId) * Get all series * * @return array - * @since 2.0.0 */ public function getAllSeries() { @@ -201,7 +182,6 @@ public function getAllSeries() * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function getChartUrl($directUrl = true) { @@ -471,7 +451,6 @@ public function getChartUrl($directUrl = true) * @param array $attributes * @param bool $single * @return array - * @since 2.0.0 */ protected function getRowsData($attributes, $single = false) { @@ -495,7 +474,6 @@ protected function getRowsData($attributes, $single = false) * @param string $axis * @param array $labels * @return void - * @since 2.0.0 */ public function setAxisLabels($axis, $labels) { @@ -507,7 +485,6 @@ public function setAxisLabels($axis, $labels) * * @param string $htmlId * @return void - * @since 2.0.0 */ public function setHtmlId($htmlId) { @@ -518,7 +495,6 @@ public function setHtmlId($htmlId) * Get html id * * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -530,7 +506,6 @@ public function getHtmlId() * * @param int $number * @return int - * @since 2.0.0 */ protected function _getPow($number) { @@ -546,7 +521,6 @@ protected function _getPow($number) * Return chart width * * @return string - * @since 2.0.0 */ protected function getWidth() { @@ -557,7 +531,6 @@ protected function getWidth() * Return chart height * * @return string - * @since 2.0.0 */ protected function getHeight() { @@ -567,7 +540,6 @@ protected function getHeight() /** * @param \Magento\Backend\Helper\Dashboard\AbstractDashboard $dataHelper * @return void - * @since 2.0.0 */ public function setDataHelper(\Magento\Backend\Helper\Dashboard\AbstractDashboard $dataHelper) { @@ -578,7 +550,6 @@ public function setDataHelper(\Magento\Backend\Helper\Dashboard\AbstractDashboar * Prepare chart data * * @return void - * @since 2.0.0 */ protected function _prepareData() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Grid.php b/app/code/Magento/Backend/Block/Dashboard/Grid.php index 640e6d632ae8b..fd9f2cf15babb 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Grid.php +++ b/app/code/Magento/Backend/Block/Dashboard/Grid.php @@ -10,13 +10,11 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var string - * @since 2.0.0 */ protected $_template = 'dashboard/grid.phtml'; @@ -24,7 +22,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * Setting default for every grid on dashboard * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Grids.php b/app/code/Magento/Backend/Block/Dashboard/Grids.php index 7a28b17a93217..986854da93cf8 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Grids.php +++ b/app/code/Magento/Backend/Block/Dashboard/Grids.php @@ -9,19 +9,16 @@ * Adminhtml dashboard bottom tabs * * @author Magento Core Team - * @since 2.0.0 */ class Grids extends \Magento\Backend\Block\Widget\Tabs { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/tabshoriz.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -43,7 +40,6 @@ protected function _construct() * 3) specify class 'ajax' * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Orders/Grid.php b/app/code/Magento/Backend/Block/Dashboard/Orders/Grid.php index 1bf00c20e473a..9d9409fba093b 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Orders/Grid.php +++ b/app/code/Magento/Backend/Block/Dashboard/Orders/Grid.php @@ -10,19 +10,16 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Dashboard\Grid { /** * @var \Magento\Reports\Model\ResourceModel\Order\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; @@ -32,7 +29,6 @@ class Grid extends \Magento\Backend\Block\Dashboard\Grid * @param \Magento\Framework\Module\Manager $moduleManager * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -48,7 +44,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -58,7 +53,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -94,7 +88,6 @@ protected function _prepareCollection() * Process collection after loading * * @return $this - * @since 2.0.0 */ protected function _afterLoadCollection() { @@ -108,7 +101,6 @@ protected function _afterLoadCollection() * Prepares page sizes for dashboard grid with las 5 orders * * @return void - * @since 2.0.0 */ protected function _preparePage() { @@ -119,7 +111,6 @@ protected function _preparePage() /** * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -159,7 +150,6 @@ protected function _prepareColumns() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Sales.php b/app/code/Magento/Backend/Block/Dashboard/Sales.php index 753f3801b17d4..d0f056230bcd1 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Sales.php +++ b/app/code/Magento/Backend/Block/Dashboard/Sales.php @@ -9,19 +9,16 @@ * Adminhtml dashboard sales statistics bar * * @author Magento Core Team - * @since 2.0.0 */ class Sales extends \Magento\Backend\Block\Dashboard\Bar { /** * @var string - * @since 2.0.0 */ protected $_template = 'dashboard/salebar.phtml'; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; @@ -30,7 +27,6 @@ class Sales extends \Magento\Backend\Block\Dashboard\Bar * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -44,7 +40,6 @@ public function __construct( /** * @return $this|void - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Searches/Renderer/Searchquery.php b/app/code/Magento/Backend/Block/Dashboard/Searches/Renderer/Searchquery.php index dadf602cd0d7e..2f48a8ef0766d 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Searches/Renderer/Searchquery.php +++ b/app/code/Magento/Backend/Block/Dashboard/Searches/Renderer/Searchquery.php @@ -8,7 +8,6 @@ /** * Dashboard search query column renderer * @api - * @since 2.0.0 */ class Searchquery extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -16,7 +15,6 @@ class Searchquery extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abs * String helper * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $stringHelper; @@ -24,7 +22,6 @@ class Searchquery extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abs * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Stdlib\StringUtils $stringHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -40,7 +37,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Amounts.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Amounts.php index 9ff32dd3bc59e..130bcdeb56bc5 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Amounts.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Amounts.php @@ -14,7 +14,6 @@ /** * Class \Magento\Backend\Block\Dashboard\Tab\Amounts * - * @since 2.0.0 */ class Amounts extends \Magento\Backend\Block\Dashboard\Graph { @@ -24,7 +23,6 @@ class Amounts extends \Magento\Backend\Block\Dashboard\Graph * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData * @param \Magento\Backend\Helper\Dashboard\Order $dataHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -41,7 +39,6 @@ public function __construct( * Initialize object * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -53,7 +50,6 @@ protected function _construct() * Prepare chart data * * @return void - * @since 2.0.0 */ protected function _prepareData() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php index e1e431494d742..f276831c76758 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Most.php @@ -10,13 +10,11 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Most extends \Magento\Backend\Block\Dashboard\Grid { /** * @var \Magento\Reports\Model\ResourceModel\Order\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -25,7 +23,6 @@ class Most extends \Magento\Backend\Block\Dashboard\Grid * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -49,7 +45,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareCollection() { @@ -78,7 +73,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -134,7 +128,6 @@ protected function _prepareColumns() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php index 865a1a168f38c..86590aa3b4aa3 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Customers/Newest.php @@ -10,13 +10,11 @@ * * @SuppressWarnings(PHPMD.DepthOfInheritance) * @api - * @since 2.0.0 */ class Newest extends \Magento\Backend\Block\Dashboard\Grid { /** * @var \Magento\Reports\Model\ResourceModel\Customer\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -25,7 +23,6 @@ class Newest extends \Magento\Backend\Block\Dashboard\Grid * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Reports\Model\ResourceModel\Customer\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -49,7 +45,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareCollection() { @@ -76,7 +71,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -134,7 +128,6 @@ protected function _prepareColumns() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Orders.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Orders.php index e8c7df5479aeb..168207862d155 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Orders.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Orders.php @@ -14,7 +14,6 @@ /** * Class \Magento\Backend\Block\Dashboard\Tab\Orders * - * @since 2.0.0 */ class Orders extends \Magento\Backend\Block\Dashboard\Graph { @@ -24,7 +23,6 @@ class Orders extends \Magento\Backend\Block\Dashboard\Graph * @param \Magento\Backend\Helper\Dashboard\Data $dashboardData * @param \Magento\Backend\Helper\Dashboard\Order $dataHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -41,7 +39,6 @@ public function __construct( * Initialize object * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -53,7 +50,6 @@ protected function _construct() * Prepare chart data * * @return void - * @since 2.0.0 */ protected function _prepareData() { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Ordered.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Ordered.php index 27901d5a02208..cac10ae372004 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Ordered.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Ordered.php @@ -10,19 +10,16 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Ordered extends \Magento\Backend\Block\Dashboard\Grid { /** * @var \Magento\Sales\Model\ResourceModel\Report\Bestsellers\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; @@ -32,7 +29,6 @@ class Ordered extends \Magento\Backend\Block\Dashboard\Grid * @param \Magento\Framework\Module\Manager $moduleManager * @param \Magento\Sales\Model\ResourceModel\Report\Bestsellers\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -48,7 +44,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -58,7 +53,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareCollection() { @@ -88,7 +82,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -140,7 +133,6 @@ protected function _prepareColumns() * * @param \Magento\Catalog\Model\Product $row * @return string - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php index 232ee6d79fbb4..699c7274001d3 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php +++ b/app/code/Magento/Backend/Block/Dashboard/Tab/Products/Viewed.php @@ -13,13 +13,11 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Viewed extends \Magento\Backend\Block\Dashboard\Grid { /** * @var \Magento\Reports\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productsFactory; @@ -28,7 +26,6 @@ class Viewed extends \Magento\Backend\Block\Dashboard\Grid * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Reports\Model\ResourceModel\Product\CollectionFactory $productsFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -42,7 +39,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -52,7 +48,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareCollection() { @@ -86,7 +81,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -124,7 +118,6 @@ protected function _prepareColumns() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Backend/Block/Dashboard/Totals.php b/app/code/Magento/Backend/Block/Dashboard/Totals.php index b8c7aa9fd03ca..94f2cf1581aa2 100644 --- a/app/code/Magento/Backend/Block/Dashboard/Totals.php +++ b/app/code/Magento/Backend/Block/Dashboard/Totals.php @@ -14,19 +14,16 @@ /** * Class \Magento\Backend\Block\Dashboard\Totals * - * @since 2.0.0 */ class Totals extends \Magento\Backend\Block\Dashboard\Bar { /** * @var string - * @since 2.0.0 */ protected $_template = 'dashboard/totalbar.phtml'; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; @@ -35,7 +32,6 @@ class Totals extends \Magento\Backend\Block\Dashboard\Bar * @param \Magento\Reports\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( /** * @return $this|void - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/Denied.php b/app/code/Magento/Backend/Block/Denied.php index 922d6670d8bce..c3785a641ecd3 100644 --- a/app/code/Magento/Backend/Block/Denied.php +++ b/app/code/Magento/Backend/Block/Denied.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Denied extends \Magento\Backend\Block\Template { /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; @@ -21,7 +19,6 @@ class Denied extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Backend\Model\Auth\Session $authSession * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return bool - * @since 2.0.0 */ public function hasAvailableResources() { diff --git a/app/code/Magento/Backend/Block/GlobalSearch.php b/app/code/Magento/Backend/Block/GlobalSearch.php index 1091a8d4b6d1c..d8098c1a3ce0b 100644 --- a/app/code/Magento/Backend/Block/GlobalSearch.php +++ b/app/code/Magento/Backend/Block/GlobalSearch.php @@ -7,20 +7,17 @@ /** * @api - * @since 2.0.0 */ class GlobalSearch extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::system/search.phtml'; /** * Get components configuration * @return array - * @since 2.0.0 */ public function getWidgetInitOptions() { diff --git a/app/code/Magento/Backend/Block/Media/Uploader.php b/app/code/Magento/Backend/Block/Media/Uploader.php index 71e8b41cf93df..a078251420f60 100644 --- a/app/code/Magento/Backend/Block/Media/Uploader.php +++ b/app/code/Magento/Backend/Block/Media/Uploader.php @@ -8,25 +8,21 @@ /** * Adminhtml media library uploader * @api - * @since 2.0.0 */ class Uploader extends \Magento\Backend\Block\Widget { /** * @var \Magento\Framework\DataObject - * @since 2.0.0 */ protected $_config; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::media/uploader.phtml'; /** * @var \Magento\Framework\File\Size - * @since 2.0.0 */ protected $_fileSizeService; @@ -34,7 +30,6 @@ class Uploader extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\File\Size $fileSize * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -47,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -78,7 +72,6 @@ protected function _construct() * Get file size * * @return \Magento\Framework\File\Size - * @since 2.0.0 */ public function getFileSizeService() { @@ -89,7 +82,6 @@ public function getFileSizeService() * Prepares layout and set element renderer * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -101,7 +93,6 @@ protected function _prepareLayout() * Retrieve uploader js object name * * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -112,7 +103,6 @@ public function getJsObjectName() * Retrieve config json * * @return string - * @since 2.0.0 */ public function getConfigJson() { @@ -123,7 +113,6 @@ public function getConfigJson() * Retrieve config object * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getConfig() { @@ -141,7 +130,6 @@ public function getConfig() * * @param string $url url to uploader in current theme * @return string full URL - * @since 2.0.0 */ public function getUploaderUrl($url) { diff --git a/app/code/Magento/Backend/Block/Menu.php b/app/code/Magento/Backend/Block/Menu.php index bc953d536f5fb..a584edda0da04 100644 --- a/app/code/Magento/Backend/Block/Menu.php +++ b/app/code/Magento/Backend/Block/Menu.php @@ -16,7 +16,6 @@ * @method array getAdditionalCacheKeyInfo() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Menu extends \Magento\Backend\Block\Template { @@ -24,13 +23,11 @@ class Menu extends \Magento\Backend\Block\Template /** * @var string - * @since 2.0.0 */ protected $_containerRenderer; /** * @var string - * @since 2.0.0 */ protected $_itemRenderer; @@ -38,7 +35,6 @@ class Menu extends \Magento\Backend\Block\Template * Backend URL instance * * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_url; @@ -46,31 +42,26 @@ class Menu extends \Magento\Backend\Block\Template * Current selected item * * @var \Magento\Backend\Model\Menu\Item|false|null - * @since 2.0.0 */ protected $_activeItemModel = null; /** * @var \Magento\Backend\Model\Menu\Filter\IteratorFactory - * @since 2.0.0 */ protected $_iteratorFactory; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\Backend\Model\Menu\Config - * @since 2.0.0 */ protected $_menuConfig; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; @@ -96,7 +87,6 @@ class Menu extends \Magento\Backend\Block\Template * @param array $data * @param MenuItemChecker|null $menuItemChecker * @param AnchorRenderer|null $anchorRenderer - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -123,7 +113,6 @@ public function __construct( * Initialize template and cache settings * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -136,7 +125,6 @@ protected function _construct() * * @param \Magento\Backend\Model\Menu\Item $menuItem * @return string - * @since 2.0.0 */ protected function _getAnchorLabel($menuItem) { @@ -147,7 +135,6 @@ protected function _getAnchorLabel($menuItem) * Render menu item mouse events * @param \Magento\Backend\Model\Menu\Item $menuItem * @return string - * @since 2.0.0 */ protected function _renderMouseEvent($menuItem) { @@ -160,7 +147,6 @@ protected function _renderMouseEvent($menuItem) * @param \Magento\Backend\Model\Menu\Item $menuItem * @param int $level * @return string - * @since 2.0.0 */ protected function _renderItemCssClass($menuItem, $level) { @@ -187,7 +173,6 @@ protected function _renderItemCssClass($menuItem, $level) * * @param \Magento\Backend\Model\Menu $menu * @return \Magento\Backend\Model\Menu\Filter\Iterator - * @since 2.0.0 */ protected function _getMenuIterator($menu) { @@ -199,7 +184,6 @@ protected function _getMenuIterator($menu) * * @param string $html * @return string - * @since 2.0.0 */ protected function _afterToHtml($html) { @@ -217,7 +201,6 @@ protected function _afterToHtml($html) * * @param string[] $match * @return string - * @since 2.0.0 */ protected function _callbackSecretKey($match) { @@ -232,7 +215,6 @@ protected function _callbackSecretKey($match) * Retrieve cache lifetime * * @return int - * @since 2.0.0 */ public function getCacheLifetime() { @@ -243,7 +225,6 @@ public function getCacheLifetime() * Get Key pieces for caching block content * * @return array - * @since 2.0.0 */ public function getCacheKeyInfo() { @@ -265,7 +246,6 @@ public function getCacheKeyInfo() * Get menu config model * * @return \Magento\Backend\Model\Menu - * @since 2.0.0 */ public function getMenuModel() { @@ -278,7 +258,6 @@ public function getMenuModel() * @param \Magento\Backend\Model\Menu $menu * @param int $level * @return string HTML - * @since 2.0.0 */ public function renderMenu($menu, $level = 0) { @@ -312,7 +291,6 @@ public function renderMenu($menu, $level = 0) * * @param \Magento\Backend\Model\Menu $items * @return int - * @since 2.0.0 */ protected function _countItems($items) { @@ -333,7 +311,6 @@ protected function _countItems($items) * @param int $limit * @return array|void * @todo: Add Depth Level limit, and better logic for columns - * @since 2.0.0 */ protected function _columnBrake($items, $limit) { @@ -368,7 +345,6 @@ protected function _columnBrake($items, $limit) * @param int $limit * @param $id int * @return string HTML code - * @since 2.0.0 */ protected function _addSubMenu($menuItem, $level, $limit, $id = null) { @@ -399,7 +375,6 @@ protected function _addSubMenu($menuItem, $level, $limit, $id = null) * @return string HTML * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = []) { @@ -438,7 +413,6 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = []) * Get current selected menu item * * @return \Magento\Backend\Model\Menu\Item|false - * @since 2.0.0 */ public function getActiveItemModel() { diff --git a/app/code/Magento/Backend/Block/Page.php b/app/code/Magento/Backend/Block/Page.php index 403d66b0d446a..5a0b5b4405e82 100644 --- a/app/code/Magento/Backend/Block/Page.php +++ b/app/code/Magento/Backend/Block/Page.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Page extends \Magento\Backend\Block\Template { /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; @@ -27,7 +25,6 @@ class Page extends \Magento\Backend\Block\Template * @param Template\Context $context * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -55,7 +51,6 @@ protected function _construct() * Get current language * * @return string - * @since 2.0.0 */ public function getLang() { @@ -67,7 +62,6 @@ public function getLang() /** * @return bool - * @since 2.0.0 */ public function isSingleStoreMode() { diff --git a/app/code/Magento/Backend/Block/Page/Copyright.php b/app/code/Magento/Backend/Block/Page/Copyright.php index 85bf9e0128580..cb4af8b8208d5 100644 --- a/app/code/Magento/Backend/Block/Page/Copyright.php +++ b/app/code/Magento/Backend/Block/Page/Copyright.php @@ -9,7 +9,6 @@ * Copyright footer block * * @api - * @since 2.0.0 */ class Copyright extends \Magento\Backend\Block\Template { @@ -17,7 +16,6 @@ class Copyright extends \Magento\Backend\Block\Template * Path to template file in theme * * @var string - * @since 2.0.0 */ protected $_template = 'page/copyright.phtml'; } diff --git a/app/code/Magento/Backend/Block/Page/Footer.php b/app/code/Magento/Backend/Block/Page/Footer.php index 5835c28d88f68..ef43eebc7d9de 100644 --- a/app/code/Magento/Backend/Block/Page/Footer.php +++ b/app/code/Magento/Backend/Block/Page/Footer.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Footer extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'page/footer.phtml'; @@ -43,7 +41,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Backend/Block/Page/Header.php b/app/code/Magento/Backend/Block/Page/Header.php index c14a89f74f2b9..becbf29c924d9 100644 --- a/app/code/Magento/Backend/Block/Page/Header.php +++ b/app/code/Magento/Backend/Block/Page/Header.php @@ -11,13 +11,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Header extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'page/header.phtml'; @@ -25,13 +23,11 @@ class Header extends \Magento\Backend\Block\Template * Backend data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData = null; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; @@ -40,7 +36,6 @@ class Header extends \Magento\Backend\Block\Template * @param \Magento\Backend\Model\Auth\Session $authSession * @param \Magento\Backend\Helper\Data $backendData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -55,7 +50,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getHomeLink() { @@ -64,7 +58,6 @@ public function getHomeLink() /** * @return \Magento\User\Model\User|null - * @since 2.0.0 */ public function getUser() { @@ -73,7 +66,6 @@ public function getUser() /** * @return string - * @since 2.0.0 */ public function getLogoutLink() { @@ -84,7 +76,6 @@ public function getLogoutLink() * Check if noscript notice should be displayed * * @return boolean - * @since 2.0.0 */ public function displayNoscriptNotice() { diff --git a/app/code/Magento/Backend/Block/Page/Notices.php b/app/code/Magento/Backend/Block/Page/Notices.php index 094d1b34e4411..e8adb22247a27 100644 --- a/app/code/Magento/Backend/Block/Page/Notices.php +++ b/app/code/Magento/Backend/Block/Page/Notices.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Notices extends \Magento\Backend\Block\Template { @@ -21,7 +20,6 @@ class Notices extends \Magento\Backend\Block\Template * Check if noscript notice should be displayed * * @return boolean - * @since 2.0.0 */ public function displayNoscriptNotice() { @@ -35,7 +33,6 @@ public function displayNoscriptNotice() * Check if demo store notice should be displayed * * @return boolean - * @since 2.0.0 */ public function displayDemoNotice() { diff --git a/app/code/Magento/Backend/Block/Page/RequireJs.php b/app/code/Magento/Backend/Block/Page/RequireJs.php index c168c6bb0e686..99f211a9c00b0 100644 --- a/app/code/Magento/Backend/Block/Page/RequireJs.php +++ b/app/code/Magento/Backend/Block/Page/RequireJs.php @@ -10,13 +10,11 @@ * Require Js block * * @api - * @since 2.0.0 */ class RequireJs extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $formKey; @@ -24,7 +22,6 @@ class RequireJs extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Data\Form\FormKey $formKey * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -43,7 +40,6 @@ public function __construct( * Retrieve Session Form Key * * @return string - * @since 2.0.0 */ public function getFormKey() { 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 8880cc74d4212..9cee717cb585a 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 @@ -13,7 +13,6 @@ * * @deprecated 2.2.0 * @author Magento Core Team - * @since 2.0.0 */ class Reset extends \Magento\Config\Block\System\Config\Form\Field { @@ -25,7 +24,6 @@ class Reset extends \Magento\Config\Block\System\Config\Form\Field /** * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -38,7 +36,6 @@ public function __construct( * Set template * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -50,7 +47,6 @@ protected function _construct() * Get robots.txt custom instruction default value * * @return string - * @since 2.0.0 */ public function getRobotsDefaultCustomInstructions() { @@ -64,7 +60,6 @@ public function getRobotsDefaultCustomInstructions() * Generate button html * * @return string - * @since 2.0.0 */ public function getButtonHtml() { @@ -86,7 +81,6 @@ public function getButtonHtml() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -101,7 +95,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { diff --git a/app/code/Magento/Backend/Block/Store/Switcher.php b/app/code/Magento/Backend/Block/Store/Switcher.php index a592c94fd0661..1b49a2ef0d590 100644 --- a/app/code/Magento/Backend/Block/Store/Switcher.php +++ b/app/code/Magento/Backend/Block/Store/Switcher.php @@ -10,7 +10,6 @@ * Store switcher block * * @api - * @since 2.0.0 */ class Switcher extends \Magento\Backend\Block\Template { @@ -23,7 +22,6 @@ class Switcher extends \Magento\Backend\Block\Template * Name of website variable * * @var string - * @since 2.0.0 */ protected $_defaultWebsiteVarName = 'website'; @@ -31,7 +29,6 @@ class Switcher extends \Magento\Backend\Block\Template * Name of store group variable * * @var string - * @since 2.0.0 */ protected $_defaultStoreGroupVarName = 'group'; @@ -39,13 +36,11 @@ class Switcher extends \Magento\Backend\Block\Template * Name of store variable * * @var string - * @since 2.0.0 */ protected $_defaultStoreVarName = 'store'; /** * @var array - * @since 2.0.0 */ protected $_storeIds; @@ -53,13 +48,11 @@ class Switcher extends \Magento\Backend\Block\Template * Url for store switcher hint * * @var string - * @since 2.0.0 */ protected $_hintUrl; /** * @var bool - * @since 2.0.0 */ protected $_hasDefaultOption = true; @@ -67,7 +60,6 @@ class Switcher extends \Magento\Backend\Block\Template * Block template filename * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::store/switcher.phtml'; @@ -75,7 +67,6 @@ class Switcher extends \Magento\Backend\Block\Template * Website factory * * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; @@ -83,7 +74,6 @@ class Switcher extends \Magento\Backend\Block\Template * Store Group Factory * * @var \Magento\Store\Model\GroupFactory - * @since 2.0.0 */ protected $_storeGroupFactory; @@ -91,7 +81,6 @@ class Switcher extends \Magento\Backend\Block\Template * Store Factory * * @var \Magento\Store\Model\StoreFactory - * @since 2.0.0 */ protected $_storeFactory; @@ -101,7 +90,6 @@ class Switcher extends \Magento\Backend\Block\Template * @param \Magento\Store\Model\GroupFactory $storeGroupFactory * @param \Magento\Store\Model\StoreFactory $storeFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -118,7 +106,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -143,7 +130,6 @@ protected function _construct() /** * @return \Magento\Store\Model\ResourceModel\Website\Collection - * @since 2.0.0 */ public function getWebsiteCollection() { @@ -161,7 +147,6 @@ public function getWebsiteCollection() * Get websites * * @return \Magento\Store\Model\Website[] - * @since 2.0.0 */ public function getWebsites() { @@ -176,7 +161,6 @@ public function getWebsites() * Check if can switch to websites * * @return bool - * @since 2.0.0 */ public function isWebsiteSwitchEnabled() { @@ -186,7 +170,6 @@ public function isWebsiteSwitchEnabled() /** * @param string $varName * @return $this - * @since 2.0.0 */ public function setWebsiteVarName($varName) { @@ -196,7 +179,6 @@ public function setWebsiteVarName($varName) /** * @return string - * @since 2.0.0 */ public function getWebsiteVarName() { @@ -210,7 +192,6 @@ public function getWebsiteVarName() /** * @param \Magento\Store\Model\Website $website * @return bool - * @since 2.0.0 */ public function isWebsiteSelected(\Magento\Store\Model\Website $website) { @@ -219,7 +200,6 @@ public function isWebsiteSelected(\Magento\Store\Model\Website $website) /** * @return int|null - * @since 2.0.0 */ public function getWebsiteId() { @@ -232,7 +212,6 @@ public function getWebsiteId() /** * @param int|\Magento\Store\Model\Website $website * @return \Magento\Store\Model\ResourceModel\Group\Collection - * @since 2.0.0 */ public function getGroupCollection($website) { @@ -247,7 +226,6 @@ public function getGroupCollection($website) * * @param \Magento\Store\Model\Website|int $website * @return array - * @since 2.0.0 */ public function getStoreGroups($website) { @@ -261,7 +239,6 @@ public function getStoreGroups($website) * Check if can switch to store group * * @return bool - * @since 2.0.0 */ public function isStoreGroupSwitchEnabled() { @@ -271,7 +248,6 @@ public function isStoreGroupSwitchEnabled() /** * @param string $varName * @return $this - * @since 2.0.0 */ public function setStoreGroupVarName($varName) { @@ -281,7 +257,6 @@ public function setStoreGroupVarName($varName) /** * @return string - * @since 2.0.0 */ public function getStoreGroupVarName() { @@ -295,7 +270,6 @@ public function getStoreGroupVarName() /** * @param \Magento\Store\Model\Group $group * @return bool - * @since 2.0.0 */ public function isStoreGroupSelected(\Magento\Store\Model\Group $group) { @@ -304,7 +278,6 @@ public function isStoreGroupSelected(\Magento\Store\Model\Group $group) /** * @return int|null - * @since 2.0.0 */ public function getStoreGroupId() { @@ -317,7 +290,6 @@ public function getStoreGroupId() /** * @param \Magento\Store\Model\Group|int $group * @return \Magento\Store\Model\ResourceModel\Store\Collection - * @since 2.0.0 */ public function getStoreCollection($group) { @@ -337,7 +309,6 @@ public function getStoreCollection($group) * * @param \Magento\Store\Model\Group|int $group * @return \Magento\Store\Model\Store[] - * @since 2.0.0 */ public function getStores($group) { @@ -357,7 +328,6 @@ public function getStores($group) /** * @return int|null - * @since 2.0.0 */ public function getStoreId() { @@ -370,7 +340,6 @@ public function getStoreId() /** * @param \Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ public function isStoreSelected(\Magento\Store\Model\Store $store) { @@ -381,7 +350,6 @@ public function isStoreSelected(\Magento\Store\Model\Store $store) * Check if can switch to store views * * @return bool - * @since 2.0.0 */ public function isStoreSwitchEnabled() { @@ -391,7 +359,6 @@ public function isStoreSwitchEnabled() /** * @param string $varName * @return $this - * @since 2.0.0 */ public function setStoreVarName($varName) { @@ -401,7 +368,6 @@ public function setStoreVarName($varName) /** * @return mixed|string - * @since 2.0.0 */ public function getStoreVarName() { @@ -414,7 +380,6 @@ public function getStoreVarName() /** * @return string - * @since 2.0.0 */ public function getSwitchUrl() { @@ -434,7 +399,6 @@ public function getSwitchUrl() /** * @return bool - * @since 2.0.0 */ public function hasScopeSelected() { @@ -445,7 +409,6 @@ public function hasScopeSelected() * Get current selection name * * @return string - * @since 2.0.0 */ public function getCurrentSelectionName() { @@ -463,7 +426,6 @@ public function getCurrentSelectionName() * Get current website name * * @return string - * @since 2.0.0 */ public function getCurrentWebsiteName() { @@ -480,7 +442,6 @@ public function getCurrentWebsiteName() * Get current store group name * * @return string - * @since 2.0.0 */ public function getCurrentStoreGroupName() { @@ -497,7 +458,6 @@ public function getCurrentStoreGroupName() * Get current store view name * * @return string - * @since 2.0.0 */ public function getCurrentStoreName() { @@ -513,7 +473,6 @@ public function getCurrentStoreName() /** * @param array $storeIds * @return $this - * @since 2.0.0 */ public function setStoreIds($storeIds) { @@ -523,7 +482,6 @@ public function setStoreIds($storeIds) /** * @return array - * @since 2.0.0 */ public function getStoreIds() { @@ -532,7 +490,6 @@ public function getStoreIds() /** * @return bool - * @since 2.0.0 */ public function isShow() { @@ -541,7 +498,6 @@ public function isShow() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -556,7 +512,6 @@ protected function _toHtml() * * @param bool $hasDefaultOption * @return bool - * @since 2.0.0 */ public function hasDefaultOption($hasDefaultOption = null) { @@ -570,7 +525,6 @@ public function hasDefaultOption($hasDefaultOption = null) * Return url for store switcher hint * * @return string - * @since 2.0.0 */ public function getHintUrl() { @@ -581,7 +535,6 @@ public function getHintUrl() * Return store switcher hint html * * @return string - * @since 2.0.0 */ public function getHintHtml() { @@ -603,7 +556,6 @@ public function getHintHtml() * Get whether iframe is being used * * @return bool - * @since 2.0.0 */ public function isUsingIframe() { diff --git a/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset.php b/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset.php index f3d7ec9f14eb6..4274273e43160 100644 --- a/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset.php +++ b/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset.php @@ -11,7 +11,6 @@ /** * Form fieldset renderer * @api - * @since 2.0.0 */ class Fieldset extends \Magento\Backend\Block\Template implements RendererInterface { @@ -19,13 +18,11 @@ class Fieldset extends \Magento\Backend\Block\Template implements RendererInterf * Form element which re-rendering * * @var \Magento\Framework\Data\Form\Element\Fieldset - * @since 2.0.0 */ protected $_element; /** * @var string - * @since 2.0.0 */ protected $_template = 'store/switcher/form/renderer/fieldset.phtml'; @@ -33,7 +30,6 @@ class Fieldset extends \Magento\Backend\Block\Template implements RendererInterf * Retrieve an element * * @return \Magento\Framework\Data\Form\Element\Fieldset - * @since 2.0.0 */ public function getElement() { @@ -45,7 +41,6 @@ public function getElement() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -57,7 +52,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * Return html for store switcher hint * * @return string - * @since 2.0.0 */ public function getHintHtml() { diff --git a/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php b/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php index 4da48c176545c..90e539b57b4a0 100644 --- a/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php +++ b/app/code/Magento/Backend/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php @@ -8,7 +8,6 @@ /** * Form fieldset renderer * @api - * @since 2.0.0 */ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface @@ -17,13 +16,11 @@ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Eleme * Form element which re-rendering * * @var \Magento\Framework\Data\Form\Element\Fieldset - * @since 2.0.0 */ protected $_element; /** * @var string - * @since 2.0.0 */ protected $_template = 'store/switcher/form/renderer/fieldset/element.phtml'; @@ -31,7 +28,6 @@ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Eleme * Retrieve an element * * @return \Magento\Framework\Data\Form\Element\Fieldset - * @since 2.0.0 */ public function getElement() { @@ -43,7 +39,6 @@ public function getElement() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -55,7 +50,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * Return html for store switcher hint * * @return string - * @since 2.0.0 */ public function getHintHtml() { diff --git a/app/code/Magento/Backend/Block/System/Account/Edit.php b/app/code/Magento/Backend/Block/System/Account/Edit.php index 9e0c462825d56..40bf15892b208 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getHeaderText() { 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 0fe1fcb68d718..64bc057402bdd 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php @@ -12,7 +12,6 @@ * Adminhtml edit admin user account form * * @author Magento Core Team - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { @@ -20,19 +19,16 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\User\Model\UserFactory - * @since 2.0.0 */ protected $_userFactory; /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; @@ -53,7 +49,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Locale\ListsInterface $localeLists * @param array $data * @param OptionInterface $deployedLocales Operates with deployed locales - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -75,7 +70,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Backend/Block/System/Cache/Edit.php b/app/code/Magento/Backend/Block/System/Cache/Edit.php index 1005ac3530995..be4de93460131 100644 --- a/app/code/Magento/Backend/Block/System/Cache/Edit.php +++ b/app/code/Magento/Backend/Block/System/Cache/Edit.php @@ -9,19 +9,16 @@ * Cache management edit page * * @author Magento Core Team - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::system/cache/edit.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +29,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { @@ -52,7 +48,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getSaveButtonHtml() { @@ -61,7 +56,6 @@ public function getSaveButtonHtml() /** * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -70,7 +64,6 @@ public function getSaveUrl() /** * @return $this - * @since 2.0.0 */ public function initForm() { @@ -85,7 +78,6 @@ public function initForm() * Retrieve Catalog Tools Data * * @return array - * @since 2.0.0 */ public function getCatalogData() { diff --git a/app/code/Magento/Backend/Block/System/Cache/Form.php b/app/code/Magento/Backend/Block/System/Cache/Form.php index b92be9298c31f..a0f495c784d2e 100644 --- a/app/code/Magento/Backend/Block/System/Cache/Form.php +++ b/app/code/Magento/Backend/Block/System/Cache/Form.php @@ -9,13 +9,11 @@ * Cache management form page * * @author Magento Core Team - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $cacheTypeList; @@ -25,7 +23,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Initialize cache management form * * @return $this - * @since 2.0.0 */ public function initForm() { diff --git a/app/code/Magento/Backend/Block/System/Design.php b/app/code/Magento/Backend/Block/System/Design.php index f514129398886..b21336866f972 100644 --- a/app/code/Magento/Backend/Block/System/Design.php +++ b/app/code/Magento/Backend/Block/System/Design.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Design extends \Magento\Backend\Block\Template { /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/System/Design/Edit.php b/app/code/Magento/Backend/Block/System/Design/Edit.php index e510d4887d1ce..05dbb443c2490 100644 --- a/app/code/Magento/Backend/Block/System/Design/Edit.php +++ b/app/code/Magento/Backend/Block/System/Design/Edit.php @@ -8,13 +8,11 @@ /** * Class \Magento\Backend\Block\System\Design\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::system/design/edit.phtml'; @@ -22,7 +20,6 @@ class Edit extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -30,7 +27,6 @@ class Edit extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -43,7 +39,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -54,7 +49,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { @@ -99,7 +93,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getDesignChangeId() { @@ -108,7 +101,6 @@ public function getDesignChangeId() /** * @return string - * @since 2.0.0 */ public function getDeleteUrl() { @@ -117,7 +109,6 @@ public function getDeleteUrl() /** * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -126,7 +117,6 @@ public function getSaveUrl() /** * @return string - * @since 2.0.0 */ public function getValidationUrl() { @@ -135,7 +125,6 @@ public function getValidationUrl() /** * @return string - * @since 2.0.0 */ public function getHeader() { diff --git a/app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php b/app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php index 22fd593abd625..ed0983f5a0b63 100644 --- a/app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php +++ b/app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php @@ -9,19 +9,16 @@ /** * Class \Magento\Backend\Block\System\Design\Edit\Tab\General * - * @since 2.0.0 */ class General extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Framework\View\Design\Theme\LabelFactory - * @since 2.0.0 */ protected $_labelFactory; /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_systemStore; @@ -32,7 +29,6 @@ class General extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory * @param \Magento\Store\Model\System\Store $systemStore * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -51,7 +47,6 @@ public function __construct( * Initialise form fields * * @return void - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Backend/Block/System/Design/Edit/Tabs.php b/app/code/Magento/Backend/Block/System/Design/Edit/Tabs.php index a62806e03ce6e..dfb667d722f8b 100644 --- a/app/code/Magento/Backend/Block/System/Design/Edit/Tabs.php +++ b/app/code/Magento/Backend/Block/System/Design/Edit/Tabs.php @@ -8,13 +8,11 @@ /** * Class \Magento\Backend\Block\System\Design\Edit\Tabs * - * @since 2.0.0 */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -26,7 +24,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/System/Store/Delete.php b/app/code/Magento/Backend/Block/System/Store/Delete.php index d3845caea46a2..8d2cc4039aaf4 100644 --- a/app/code/Magento/Backend/Block/System/Store/Delete.php +++ b/app/code/Magento/Backend/Block/System/Store/Delete.php @@ -9,7 +9,6 @@ * Store / store view / website delete form container * * @author Magento Core Team - * @since 2.0.0 */ class Delete extends \Magento\Backend\Block\Widget\Form\Container { @@ -17,7 +16,6 @@ class Delete extends \Magento\Backend\Block\Widget\Form\Container * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -52,7 +50,6 @@ protected function _construct() * Get edit form container header text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getHeaderText() { @@ -68,7 +65,6 @@ public function getHeaderText() * * @param string $title * @return $this - * @since 2.0.0 */ public function setStoreTypeTitle($title) { @@ -81,7 +77,6 @@ public function setStoreTypeTitle($title) * * @param string $url * @return $this - * @since 2.0.0 */ public function setBackUrl($url) { diff --git a/app/code/Magento/Backend/Block/System/Store/Delete/Form.php b/app/code/Magento/Backend/Block/System/Store/Delete/Form.php index 41a84394e2cb4..e479e8f560dae 100644 --- a/app/code/Magento/Backend/Block/System/Store/Delete/Form.php +++ b/app/code/Magento/Backend/Block/System/Store/Delete/Form.php @@ -9,7 +9,6 @@ * Adminhtml cms block edit form * * @author Magento Core Team - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { @@ -17,7 +16,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Init form * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -28,7 +26,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Backend/Block/System/Store/Delete/Group.php b/app/code/Magento/Backend/Block/System/Store/Delete/Group.php index 61cd19f2b3838..ae80b56066a6d 100644 --- a/app/code/Magento/Backend/Block/System/Store/Delete/Group.php +++ b/app/code/Magento/Backend/Block/System/Store/Delete/Group.php @@ -9,13 +9,11 @@ * Adminhtml store delete group block * * @author Magento Core Team - * @since 2.0.0 */ class Group extends \Magento\Backend\Block\Template { /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/System/Store/Delete/Website.php b/app/code/Magento/Backend/Block/System/Store/Delete/Website.php index df28ee4d2126e..da28a471130cc 100644 --- a/app/code/Magento/Backend/Block/System/Store/Delete/Website.php +++ b/app/code/Magento/Backend/Block/System/Store/Delete/Website.php @@ -9,13 +9,11 @@ * Adminhtml store delete group block * * @author Magento Core Team - * @since 2.0.0 */ class Website extends \Magento\Backend\Block\Template { /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Backend/Block/System/Store/Edit.php b/app/code/Magento/Backend/Block/System/Store/Edit.php index dcfdd7951227d..43e4987090fe9 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit.php @@ -12,7 +12,6 @@ * @api * * Adminhtml store edit - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { @@ -20,7 +19,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -35,7 +33,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * @param \Magento\Framework\Registry $registry * @param array $data * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -52,7 +49,6 @@ public function __construct( * Init class * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -115,7 +111,6 @@ protected function _construct() * Get Header text * * @return string - * @since 2.0.0 */ public function getHeaderText() { @@ -141,7 +136,6 @@ public function getHeaderText() * Build child form class form name based on value of store_type in registry * * @return string - * @since 2.0.0 */ protected function _buildFormClassName() { diff --git a/app/code/Magento/Backend/Block/System/Store/Edit/AbstractForm.php b/app/code/Magento/Backend/Block/System/Store/Edit/AbstractForm.php index 17e85139e9b02..f19799d2e4939 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit/AbstractForm.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit/AbstractForm.php @@ -11,7 +11,6 @@ * @author Magento Core Team * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ abstract class AbstractForm extends \Magento\Backend\Block\Widget\Form\Generic { @@ -19,7 +18,6 @@ abstract class AbstractForm extends \Magento\Backend\Block\Widget\Form\Generic * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() * Prepare form data * * @return \Magento\Backend\Block\Widget\Form - * @since 2.0.0 */ protected function _prepareForm() { @@ -73,7 +70,6 @@ protected function _prepareForm() * @param \Magento\Framework\Data\Form $form * @return void * @abstract - * @since 2.0.0 */ abstract protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form); } diff --git a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Group.php b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Group.php index e6b7c2ed0c068..c8d04cef86d05 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Group.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Group.php @@ -11,25 +11,21 @@ * @author Magento Core Team * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Group extends \Magento\Backend\Block\System\Store\Edit\AbstractForm { /** * @var \Magento\Catalog\Model\Config\Source\Category - * @since 2.0.0 */ protected $_category; /** * @var \Magento\Store\Model\StoreFactory - * @since 2.0.0 */ protected $_storeFactory; /** * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; @@ -41,7 +37,6 @@ class Group extends \Magento\Backend\Block\System\Store\Edit\AbstractForm * @param \Magento\Store\Model\StoreFactory $storeFactory * @param \Magento\Store\Model\WebsiteFactory $websiteFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -64,7 +59,6 @@ public function __construct( * @param \Magento\Framework\Data\Form $form * @return void * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form) { 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 d483f5532f86d..10e8a24c474f8 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 @@ -11,19 +11,16 @@ * @author Magento Core Team * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Store extends \Magento\Backend\Block\System\Store\Edit\AbstractForm { /** * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; /** * @var \Magento\Store\Model\GroupFactory - * @since 2.0.0 */ protected $_groupFactory; @@ -34,7 +31,6 @@ class Store extends \Magento\Backend\Block\System\Store\Edit\AbstractForm * @param \Magento\Store\Model\GroupFactory $groupFactory * @param \Magento\Store\Model\WebsiteFactory $websiteFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -54,7 +50,6 @@ public function __construct( * * @param \Magento\Framework\Data\Form $form * @return void - * @since 2.0.0 */ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form) { @@ -158,7 +153,6 @@ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form) * Retrieve list of store groups * * @return array - * @since 2.0.0 */ protected function _getStoreGroups() { diff --git a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Website.php b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Website.php index 7dd3e8429a8fa..ec4e2cd8b444c 100644 --- a/app/code/Magento/Backend/Block/System/Store/Edit/Form/Website.php +++ b/app/code/Magento/Backend/Block/System/Store/Edit/Form/Website.php @@ -11,13 +11,11 @@ * @author Magento Core Team * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Website extends \Magento\Backend\Block\System\Store\Edit\AbstractForm { /** * @var \Magento\Store\Model\GroupFactory - * @since 2.0.0 */ protected $_groupFactory; @@ -27,7 +25,6 @@ class Website extends \Magento\Backend\Block\System\Store\Edit\AbstractForm * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Store\Model\GroupFactory $groupFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( * * @param \Magento\Framework\Data\Form $form * @return void - * @since 2.0.0 */ protected function _prepareStoreFieldset(\Magento\Framework\Data\Form $form) { diff --git a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Group.php b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Group.php index 6803deb85d2be..59657f38465d7 100644 --- a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Group.php +++ b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Group.php @@ -9,13 +9,11 @@ * Store render group * * @author Magento Core Team - * @since 2.0.0 */ class Group extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * {@inheritdoc} - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Store.php b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Store.php index 54cf56620af9c..23b2de683a958 100644 --- a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Store.php +++ b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Store.php @@ -9,13 +9,11 @@ * Store render store * * @author Magento Core Team - * @since 2.0.0 */ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * {@inheritdoc} - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Website.php b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Website.php index a82832ce0c218..913e2c903d20c 100644 --- a/app/code/Magento/Backend/Block/System/Store/Grid/Render/Website.php +++ b/app/code/Magento/Backend/Block/System/Store/Grid/Render/Website.php @@ -9,13 +9,11 @@ * Store render website * * @author Magento Core Team - * @since 2.0.0 */ class Website extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * {@inheritdoc} - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/System/Store/Store.php b/app/code/Magento/Backend/Block/System/Store/Store.php index cf2153bbcd454..c9f99ee605169 100644 --- a/app/code/Magento/Backend/Block/System/Store/Store.php +++ b/app/code/Magento/Backend/Block/System/Store/Store.php @@ -11,19 +11,16 @@ * @api * @author Magento Core Team * @api - * @since 2.0.0 */ class Store extends \Magento\Backend\Block\Widget\Grid\Container { /** * @var string - * @since 2.0.0 */ protected $_blockGroup = 'Magento_Backend'; /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Backend/Block/Template.php b/app/code/Magento/Backend/Block/Template.php index 614b49bc19c71..70af35d455877 100644 --- a/app/code/Magento/Backend/Block/Template.php +++ b/app/code/Magento/Backend/Block/Template.php @@ -23,44 +23,37 @@ * * @api * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Template extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_backendSession; /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $formKey; /** * @var \Magento\Framework\Code\NameBuilder - * @since 2.0.0 */ protected $nameBuilder; /** * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = []) { @@ -77,7 +70,6 @@ public function __construct(\Magento\Backend\Block\Template\Context $context, ar * Retrieve Session Form Key * * @return string - * @since 2.0.0 */ public function getFormKey() { @@ -94,7 +86,6 @@ public function getFormKey() * @return boolean * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function isOutputEnabled($moduleName = null) { @@ -105,7 +96,6 @@ public function isOutputEnabled($moduleName = null) * Make this public so that templates can use it properly with template engine * * @return \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ public function getAuthorization() { @@ -116,7 +106,6 @@ public function getAuthorization() * Prepare html output * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -128,7 +117,6 @@ protected function _toHtml() * Return toolbar block instance * * @return bool|\Magento\Framework\View\Element\BlockInterface - * @since 2.0.0 */ public function getToolbar() { diff --git a/app/code/Magento/Backend/Block/Template/Context.php b/app/code/Magento/Backend/Block/Template/Context.php index 327365b07d7fb..a25b04064a150 100644 --- a/app/code/Magento/Backend/Block/Template/Context.php +++ b/app/code/Magento/Backend/Block/Template/Context.php @@ -18,43 +18,36 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Context extends \Magento\Framework\View\Element\Template\Context { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_backendSession; /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $formKey; /** * @var \Magento\Framework\Code\NameBuilder - * @since 2.0.0 */ protected $nameBuilder; /** * @var \Magento\Framework\View\Page\Config - * @since 2.0.0 */ protected $pageConfig; @@ -91,7 +84,6 @@ class Context extends \Magento\Framework\View\Element\Template\Context * @param \Magento\Framework\Code\NameBuilder $nameBuilder * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -163,7 +155,6 @@ public function __construct( * Get store manager * * @return \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ public function getStoreManager() { @@ -174,7 +165,6 @@ public function getStoreManager() * Retrieve Authorization * * @return \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ public function getAuthorization() { @@ -183,7 +173,6 @@ public function getAuthorization() /** * @return \Magento\Backend\Model\Session - * @since 2.0.0 */ public function getBackendSession() { @@ -192,7 +181,6 @@ public function getBackendSession() /** * @return \Magento\Framework\Math\Random - * @since 2.0.0 */ public function getMathRandom() { @@ -201,7 +189,6 @@ public function getMathRandom() /** * @return \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ public function getFormKey() { @@ -210,7 +197,6 @@ public function getFormKey() /** * @return \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ public function getNameBuilder() { diff --git a/app/code/Magento/Backend/Block/Text/ListText.php b/app/code/Magento/Backend/Block/Text/ListText.php index 05daaa8c8b5b8..71b6248059277 100644 --- a/app/code/Magento/Backend/Block/Text/ListText.php +++ b/app/code/Magento/Backend/Block/Text/ListText.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class ListText extends \Magento\Framework\View\Element\Text\ListText { diff --git a/app/code/Magento/Backend/Block/Widget.php b/app/code/Magento/Backend/Block/Widget.php index db84f68d09b24..b35f036257c9a 100644 --- a/app/code/Magento/Backend/Block/Widget.php +++ b/app/code/Magento/Backend/Block/Widget.php @@ -10,13 +10,11 @@ * * @api * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Widget extends \Magento\Backend\Block\Template { /** * @return string - * @since 2.0.0 */ public function getId() { @@ -31,7 +29,6 @@ public function getId() * * @param string $suffix * @return string - * @since 2.0.0 */ public function getSuffixId($suffix) { @@ -40,7 +37,6 @@ public function getSuffixId($suffix) /** * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -52,7 +48,6 @@ public function getHtmlId() * * @param array $params url parameters * @return string current url - * @since 2.0.0 */ public function getCurrentUrl($params = []) { @@ -67,7 +62,6 @@ public function getCurrentUrl($params = []) * @param string|null $title * @param string|null $link * @return void - * @since 2.0.0 */ protected function _addBreadcrumb($label, $title = null, $link = null) { @@ -83,7 +77,6 @@ protected function _addBreadcrumb($label, $title = null, $link = null) * @param string $buttonId * @param array $dataAttr * @return string - * @since 2.0.0 */ public function getButtonHtml($label, $onclick, $class = '', $buttonId = null, $dataAttr = []) { diff --git a/app/code/Magento/Backend/Block/Widget/Accordion.php b/app/code/Magento/Backend/Block/Widget/Accordion.php index 27d408f599fd2..376276cb899c0 100644 --- a/app/code/Magento/Backend/Block/Widget/Accordion.php +++ b/app/code/Magento/Backend/Block/Widget/Accordion.php @@ -9,25 +9,21 @@ * Magento_Backend accordion widget * * @api - * @since 2.0.0 */ class Accordion extends \Magento\Backend\Block\Widget { /** * @var string[] - * @since 2.0.0 */ protected $_items = []; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/accordion.phtml'; /** * @return string[] - * @since 2.0.0 */ public function getItems() { @@ -38,7 +34,6 @@ public function getItems() * @param string $itemId * @param array $config * @return $this - * @since 2.0.0 */ public function addItem($itemId, $config) { diff --git a/app/code/Magento/Backend/Block/Widget/Accordion/Item.php b/app/code/Magento/Backend/Block/Widget/Accordion/Item.php index 9a8bd4a3ab8b4..4650609a58025 100644 --- a/app/code/Magento/Backend/Block/Widget/Accordion/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Accordion/Item.php @@ -11,20 +11,17 @@ * Accordion item * * @author Magento Core Team - * @since 2.0.0 */ class Item extends \Magento\Backend\Block\Widget { /** * @var Accordion - * @since 2.0.0 */ protected $_accordion; /** * @param Accordion $accordion * @return $this - * @since 2.0.0 */ public function setAccordion($accordion) { @@ -34,7 +31,6 @@ public function setAccordion($accordion) /** * @return string - * @since 2.0.0 */ public function getTarget() { @@ -43,7 +39,6 @@ public function getTarget() /** * @return string - * @since 2.0.0 */ public function getTitle() { @@ -58,7 +53,6 @@ public function getTitle() /** * @return null|string - * @since 2.0.0 */ public function getContent() { @@ -74,7 +68,6 @@ public function getContent() /** * @return string - * @since 2.0.0 */ public function getClass() { @@ -87,7 +80,6 @@ public function getClass() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php b/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php index 98dcbe8e363c9..3124a64f679f0 100644 --- a/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php +++ b/app/code/Magento/Backend/Block/Widget/Breadcrumbs.php @@ -10,7 +10,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Breadcrumbs extends \Magento\Backend\Block\Template { @@ -18,19 +17,16 @@ class Breadcrumbs extends \Magento\Backend\Block\Template * Breadcrumbs links * * @var array - * @since 2.0.0 */ protected $_links = []; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/breadcrumbs.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -42,7 +38,6 @@ protected function _construct() * @param string|null $title * @param string|null $url * @return $this - * @since 2.0.0 */ public function addLink($label, $title = null, $url = null) { @@ -55,7 +50,6 @@ public function addLink($label, $title = null, $url = null) /** * {@inheritdoc} - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Button.php b/app/code/Magento/Backend/Block/Widget/Button.php index 7549ad61b68fb..51457199b05a0 100644 --- a/app/code/Magento/Backend/Block/Widget/Button.php +++ b/app/code/Magento/Backend/Block/Widget/Button.php @@ -11,7 +11,6 @@ * @api * @author Magento Core Team * @api - * @since 2.0.0 */ class Button extends \Magento\Backend\Block\Widget { @@ -19,7 +18,6 @@ class Button extends \Magento\Backend\Block\Widget * Define block template * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() * Retrieve button type * * @return string - * @since 2.0.0 */ public function getType() { @@ -45,7 +42,6 @@ public function getType() * Retrieve onclick handler * * @return null|string - * @since 2.0.0 */ public function getOnClick() { @@ -56,7 +52,6 @@ public function getOnClick() * Retrieve attributes html * * @return string - * @since 2.0.0 */ public function getAttributesHtml() { @@ -85,7 +80,6 @@ public function getAttributesHtml() * @param array $classes * @param string $disabled * @return array - * @since 2.0.0 */ protected function _prepareAttributes($title, $classes, $disabled) { @@ -113,7 +107,6 @@ protected function _prepareAttributes($title, $classes, $disabled) * * @param array $attributes * @return string - * @since 2.0.0 */ protected function _attributesToHtml($attributes) { diff --git a/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php b/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php index 29c58ac22ba73..08043c4e39790 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php +++ b/app/code/Magento/Backend/Block/Widget/Button/ButtonList.php @@ -8,19 +8,16 @@ /** * @api - * @since 2.0.0 */ class ButtonList { /** * @var ItemFactory - * @since 2.0.0 */ protected $itemFactory; /** * @param ItemFactory $itemFactory - * @since 2.0.0 */ public function __construct(ItemFactory $itemFactory) { @@ -29,7 +26,6 @@ public function __construct(ItemFactory $itemFactory) /** * @var array - * @since 2.0.0 */ protected $_buttons = [-1 => [], 0 => [], 1 => []]; @@ -43,7 +39,6 @@ public function __construct(ItemFactory $itemFactory) * @param string|null $region That button should be displayed in ('toolbar', 'header', 'footer', null) * @return void * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function add($buttonId, $data, $level = 0, $sortOrder = 0, $region = 'toolbar') { @@ -65,7 +60,6 @@ public function add($buttonId, $data, $level = 0, $sortOrder = 0, $region = 'too * * @param string $buttonId * @return void - * @since 2.0.0 */ public function remove($buttonId) { @@ -86,7 +80,6 @@ public function remove($buttonId) * @param string|null $key * @param string $data * @return void - * @since 2.0.0 */ public function update($buttonId, $key, $data) { @@ -115,7 +108,6 @@ public function update($buttonId, $key, $data) * Get all buttons * * @return array - * @since 2.0.0 */ public function getItems() { @@ -131,7 +123,6 @@ public function getItems() * @param Item $itemA * @param Item $itemB * @return int - * @since 2.0.0 */ public function sortButtons(Item $itemA, Item $itemB) { diff --git a/app/code/Magento/Backend/Block/Widget/Button/ContextInterface.php b/app/code/Magento/Backend/Block/Widget/Button/ContextInterface.php index 9d097fb9b02af..14bd7112b20a0 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/ContextInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Button/ContextInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Backend\Block\Widget\Button\ContextInterface * - * @since 2.0.0 */ interface ContextInterface { @@ -19,7 +18,6 @@ interface ContextInterface * @param \Magento\Backend\Block\Widget\Button\Item $item * @return bool * @api - * @since 2.0.0 */ public function canRender(\Magento\Backend\Block\Widget\Button\Item $item); } diff --git a/app/code/Magento/Backend/Block/Widget/Button/Item.php b/app/code/Magento/Backend/Block/Widget/Button/Item.php index 5944fbd536839..94ac0368db25e 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Button/Item.php @@ -14,7 +14,6 @@ * @method int getLevel() * @method int getSortOrder() * @method string getTitle() - * @since 2.0.0 */ class Item extends \Magento\Framework\DataObject { @@ -22,7 +21,6 @@ class Item extends \Magento\Framework\DataObject * Object delete flag * * @var bool - * @since 2.0.0 */ protected $_isDeleted = false; @@ -31,7 +29,6 @@ class Item extends \Magento\Framework\DataObject * * @param boolean $isDeleted * @return bool - * @since 2.0.0 */ public function isDeleted($isDeleted = null) { diff --git a/app/code/Magento/Backend/Block/Widget/Button/SplitButton.php b/app/code/Magento/Backend/Block/Widget/Button/SplitButton.php index f5549bcebfbd4..f6c1795ca1e68 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/SplitButton.php +++ b/app/code/Magento/Backend/Block/Widget/Button/SplitButton.php @@ -17,7 +17,6 @@ * @method string getStyle() * @method array getDataAttribute() * @api - * @since 2.0.0 */ class SplitButton extends \Magento\Backend\Block\Widget { @@ -25,7 +24,6 @@ class SplitButton extends \Magento\Backend\Block\Widget * Define block template * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -39,7 +37,6 @@ protected function _construct() * Retrieve
wrapper attributes html * * @return string - * @since 2.0.0 */ public function getAttributesHtml() { @@ -67,7 +64,6 @@ public function getAttributesHtml() * Retrieve button attributes html * * @return string - * @since 2.0.0 */ public function getButtonAttributesHtml() { @@ -109,7 +105,6 @@ public function getButtonAttributesHtml() * Retrieve toggle button attributes html * * @return string - * @since 2.0.0 */ public function getToggleAttributesHtml() { @@ -144,7 +139,6 @@ public function getToggleAttributesHtml() * @param array $option * @return string * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getOptionAttributesHtml($key, $option) { @@ -175,7 +169,6 @@ public function getOptionAttributesHtml($key, $option) * If this function returns false then split button will be rendered as simple button * * @return bool - * @since 2.0.0 */ public function hasSplit() { @@ -188,7 +181,6 @@ public function hasSplit() * @param array $data * @param array &$attributes * @return void - * @since 2.0.0 */ protected function _getDataAttributes($data, &$attributes) { @@ -206,7 +198,6 @@ protected function _getDataAttributes($data, &$attributes) * @param string $disabled * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _prepareOptionAttributes($option, $title, $classes, $disabled) { @@ -231,7 +222,6 @@ protected function _prepareOptionAttributes($option, $title, $classes, $disabled * * @param array $attributes * @return string - * @since 2.0.0 */ protected function _getAttributesString($attributes) { diff --git a/app/code/Magento/Backend/Block/Widget/Button/Toolbar.php b/app/code/Magento/Backend/Block/Widget/Button/Toolbar.php index 3a6caf310b38b..f1c45b0bdf3dd 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/Toolbar.php +++ b/app/code/Magento/Backend/Block/Widget/Button/Toolbar.php @@ -11,13 +11,11 @@ /** * Class \Magento\Backend\Block\Widget\Button\Toolbar * - * @since 2.0.0 */ class Toolbar implements ToolbarInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function pushButtons( \Magento\Framework\View\Element\AbstractBlock $context, @@ -50,7 +48,6 @@ public function pushButtons( * @param string $containerName * @param \Magento\Backend\Block\Widget\Button\Item $buttonItem * @return \Magento\Backend\Block\Widget\Button\Toolbar\Container - * @since 2.0.0 */ protected function createContainer(LayoutInterface $layout, $containerName, $buttonItem) { @@ -68,7 +65,6 @@ protected function createContainer(LayoutInterface $layout, $containerName, $but * @param \Magento\Framework\View\Element\AbstractBlock $context * @param string $region * @return \Magento\Backend\Block\Template - * @since 2.0.0 */ protected function getToolbar(\Magento\Framework\View\Element\AbstractBlock $context, $region) { diff --git a/app/code/Magento/Backend/Block/Widget/Button/Toolbar/Container.php b/app/code/Magento/Backend/Block/Widget/Button/Toolbar/Container.php index 48846c1d75a01..23a4fe829b292 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/Toolbar/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Button/Toolbar/Container.php @@ -13,7 +13,6 @@ * @method ContextInterface getContext() * @method ContextInterface setContext(ContextInterface $context) * @api - * @since 2.0.0 */ class Container extends \Magento\Framework\View\Element\AbstractBlock { @@ -23,7 +22,6 @@ class Container extends \Magento\Framework\View\Element\AbstractBlock * @param string $blockName * @param string $blockClassName * @return \Magento\Backend\Block\Widget\Button - * @since 2.0.0 */ protected function createButton($blockName, $blockClassName = null) { @@ -35,7 +33,6 @@ protected function createButton($blockName, $blockClassName = null) /** * {@inheritdoc} - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Button/ToolbarInterface.php b/app/code/Magento/Backend/Block/Widget/Button/ToolbarInterface.php index 16a89e0d211b9..395fb1667fa39 100644 --- a/app/code/Magento/Backend/Block/Widget/Button/ToolbarInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Button/ToolbarInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Backend\Block\Widget\Button\ToolbarInterface * - * @since 2.0.0 */ interface ToolbarInterface { @@ -20,7 +19,6 @@ interface ToolbarInterface * @param \Magento\Backend\Block\Widget\Button\ButtonList $buttonList * @return void * @api - * @since 2.0.0 */ public function pushButtons( \Magento\Framework\View\Element\AbstractBlock $context, diff --git a/app/code/Magento/Backend/Block/Widget/Container.php b/app/code/Magento/Backend/Block/Widget/Container.php index 238d48b84f9ee..41054ee1ee38e 100644 --- a/app/code/Magento/Backend/Block/Widget/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Container.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class Container extends \Magento\Backend\Block\Template implements ContainerInterface { @@ -25,38 +24,29 @@ class Container extends \Magento\Backend\Block\Template implements ContainerInte /**#@-*/ - /** - * So called "container controller" to specify group of blocks participating in some action - * - * @var string - * @since 2.0.0 - */ + /**#@-*/ protected $_controller = 'empty'; /** * Header text * * @var string - * @since 2.0.0 */ protected $_headerText = 'Container Widget Header'; /** * @var \Magento\Backend\Block\Widget\Button\ButtonList - * @since 2.0.0 */ protected $buttonList; /** * @var Button\ToolbarInterface - * @since 2.0.0 */ protected $toolbar; /** * @param Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Widget\Context $context, array $data = []) { @@ -69,7 +59,6 @@ public function __construct(\Magento\Backend\Block\Widget\Context $context, arra * Initialize "controller" and "header text" * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -91,7 +80,6 @@ protected function _construct() * @param integer $sortOrder * @param string|null $region That button should be displayed in ('toolbar', 'header', 'footer', null) * @return $this - * @since 2.0.0 */ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region = 'toolbar') { @@ -104,7 +92,6 @@ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region * * @param string $buttonId * @return $this - * @since 2.0.0 */ public function removeButton($buttonId) { @@ -119,7 +106,6 @@ public function removeButton($buttonId) * @param string|null $key * @param string $data * @return $this - * @since 2.0.0 */ public function updateButton($buttonId, $key, $data) { @@ -131,7 +117,6 @@ public function updateButton($buttonId, $key, $data) * Preparing child blocks for each added button * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -144,7 +129,6 @@ protected function _prepareLayout() * * @param string $region * @return string - * @since 2.0.0 */ public function getButtonsHtml($region = null) { @@ -165,7 +149,6 @@ public function getButtonsHtml($region = null) * Get header text * * @return string - * @since 2.0.0 */ public function getHeaderText() { @@ -176,7 +159,6 @@ public function getHeaderText() * Get header CSS class * * @return string - * @since 2.0.0 */ public function getHeaderCssClass() { @@ -187,7 +169,6 @@ public function getHeaderCssClass() * Get header HTML * * @return string - * @since 2.0.0 */ public function getHeaderHtml() { @@ -198,7 +179,6 @@ public function getHeaderHtml() * Check if there's anything to display in footer * * @return boolean - * @since 2.0.0 */ public function hasFooterButtons() { @@ -217,7 +197,6 @@ public function hasFooterButtons() * * @param \Magento\Backend\Block\Widget\Button\Item $item * @return bool - * @since 2.0.0 */ public function canRender(Button\Item $item) { diff --git a/app/code/Magento/Backend/Block/Widget/ContainerInterface.php b/app/code/Magento/Backend/Block/Widget/ContainerInterface.php index 0a924b1af30a1..2ce0b8e19e815 100644 --- a/app/code/Magento/Backend/Block/Widget/ContainerInterface.php +++ b/app/code/Magento/Backend/Block/Widget/ContainerInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ContainerInterface extends \Magento\Backend\Block\Widget\Button\ContextInterface { @@ -21,7 +20,6 @@ interface ContainerInterface extends \Magento\Backend\Block\Widget\Button\Contex * @param integer $sortOrder * @param string|null $region That button should be displayed in ('toolbar', 'header', 'footer', null) * @return $this - * @since 2.0.0 */ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region = 'toolbar'); @@ -30,7 +28,6 @@ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region * * @param string $buttonId * @return $this - * @since 2.0.0 */ public function removeButton($buttonId); @@ -41,7 +38,6 @@ public function removeButton($buttonId); * @param string|null $key * @param string $data * @return $this - * @since 2.0.0 */ public function updateButton($buttonId, $key, $data); } diff --git a/app/code/Magento/Backend/Block/Widget/Context.php b/app/code/Magento/Backend/Block/Widget/Context.php index 45113e697eef2..ffa983a611623 100644 --- a/app/code/Magento/Backend/Block/Widget/Context.php +++ b/app/code/Magento/Backend/Block/Widget/Context.php @@ -18,25 +18,21 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Context extends \Magento\Backend\Block\Template\Context { /** * @var \Magento\Backend\Block\Widget\Button\ButtonList - * @since 2.0.0 */ protected $buttonList; /** * @var \Magento\Backend\Block\Widget\Button\ToolbarInterface - * @since 2.0.0 */ protected $buttonToolbar; /** * @var \Magento\Framework\View\Page\Config - * @since 2.0.0 */ protected $pageConfig; @@ -75,7 +71,6 @@ class Context extends \Magento\Backend\Block\Template\Context * @param Button\ToolbarInterface $toolbar * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -152,7 +147,6 @@ public function __construct( * Get button list * * @return \Magento\Backend\Block\Widget\Button\ButtonList - * @since 2.0.0 */ public function getButtonList() { @@ -163,7 +157,6 @@ public function getButtonList() * Get button toolbar * * @return \Magento\Backend\Block\Widget\Button\ToolbarInterface - * @since 2.0.0 */ public function getButtonToolbar() { diff --git a/app/code/Magento/Backend/Block/Widget/Form.php b/app/code/Magento/Backend/Block/Widget/Form.php index b03c24b80cc35..75e9a4d9528cc 100644 --- a/app/code/Magento/Backend/Block/Widget/Form.php +++ b/app/code/Magento/Backend/Block/Widget/Form.php @@ -11,7 +11,6 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget { @@ -19,20 +18,17 @@ class Form extends \Magento\Backend\Block\Widget * Form Object * * @var \Magento\Framework\Data\Form - * @since 2.0.0 */ protected $_form; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form.phtml'; /** * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = []) { @@ -43,7 +39,6 @@ public function __construct(\Magento\Backend\Block\Template\Context $context, ar * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -59,7 +54,6 @@ protected function _construct() * You can redefine this method in child classes for changing layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -89,7 +83,6 @@ protected function _prepareLayout() * Get form object * * @return \Magento\Framework\Data\Form - * @since 2.0.0 */ public function getForm() { @@ -100,7 +93,6 @@ public function getForm() * Get form HTML * * @return string - * @since 2.0.0 */ public function getFormHtml() { @@ -115,7 +107,6 @@ public function getFormHtml() * * @param \Magento\Framework\Data\Form $form * @return $this - * @since 2.0.0 */ public function setForm(\Magento\Framework\Data\Form $form) { @@ -136,7 +127,6 @@ public function setForm(\Magento\Framework\Data\Form $form) * Prepare form before rendering HTML * * @return $this - * @since 2.0.0 */ protected function _prepareForm() { @@ -147,7 +137,6 @@ protected function _prepareForm() * This method is called before rendering HTML * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -161,7 +150,6 @@ protected function _beforeToHtml() * Method will be called after prepareForm and can be used for field values initialization * * @return $this - * @since 2.0.0 */ protected function _initFormValues() { @@ -175,7 +163,6 @@ protected function _initFormValues() * @param \Magento\Framework\Data\Form\Element\Fieldset $fieldset * @param array $exclude attributes that should be skipped * @return void - * @since 2.0.0 */ protected function _setFieldset($attributes, $fieldset, $exclude = []) { @@ -223,7 +210,6 @@ protected function _setFieldset($attributes, $fieldset, $exclude = []) * * @param \Magento\Eav\Model\Entity\Attribute $attribute * @return bool - * @since 2.0.0 */ protected function _isAttributeVisible(\Magento\Eav\Model\Entity\Attribute $attribute) { @@ -237,7 +223,6 @@ protected function _isAttributeVisible(\Magento\Eav\Model\Entity\Attribute $attr * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @param \Magento\Eav\Model\Entity\Attribute $attribute * @return void - * @since 2.0.0 */ protected function _applyTypeSpecificConfig($inputType, $element, \Magento\Eav\Model\Entity\Attribute $attribute) { @@ -265,7 +250,6 @@ protected function _applyTypeSpecificConfig($inputType, $element, \Magento\Eav\M * * @param \Magento\Framework\Data\Form\AbstractForm $baseElement * @return void - * @since 2.0.0 */ protected function _addElementTypes(\Magento\Framework\Data\Form\AbstractForm $baseElement) { @@ -279,7 +263,6 @@ protected function _addElementTypes(\Magento\Framework\Data\Form\AbstractForm $b * Retrieve predefined additional element types * * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { @@ -292,7 +275,6 @@ protected function _getAdditionalElementTypes() * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getAdditionalElementHtml($element) { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Container.php b/app/code/Magento/Backend/Block/Widget/Form/Container.php index e3ee9460744fe..f0629de71d80e 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Container.php @@ -11,37 +11,31 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Container extends \Magento\Backend\Block\Widget\Container { /** * @var string - * @since 2.0.0 */ protected $_objectId = 'id'; /** * @var string[] - * @since 2.0.0 */ protected $_formScripts = []; /** * @var string[] - * @since 2.0.0 */ protected $_formInitScripts = []; /** * @var string - * @since 2.0.0 */ protected $_mode = 'edit'; /** * @var string - * @since 2.0.0 */ protected $_blockGroup = 'Magento_Backend'; @@ -57,13 +51,11 @@ class Container extends \Magento\Backend\Block\Widget\Container /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/container.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -122,7 +114,6 @@ protected function _construct() * Create form block * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -140,7 +131,6 @@ protected function _prepareLayout() * Build child form class name * * @return string - * @since 2.0.0 */ protected function _buildFormClassName() { @@ -153,7 +143,6 @@ protected function _buildFormClassName() * Get URL for back (reset) button * * @return string - * @since 2.0.0 */ public function getBackUrl() { @@ -162,7 +151,6 @@ public function getBackUrl() /** * @return string - * @since 2.0.0 */ public function getDeleteUrl() { @@ -174,7 +162,6 @@ public function getDeleteUrl() * * @see getFormActionUrl() * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -185,7 +172,6 @@ public function getSaveUrl() * Get form action URL * * @return string - * @since 2.0.0 */ public function getFormActionUrl() { @@ -197,7 +183,6 @@ public function getFormActionUrl() /** * @return string - * @since 2.0.0 */ public function getFormHtml() { @@ -207,7 +192,6 @@ public function getFormHtml() /** * @return string - * @since 2.0.0 */ public function getFormInitScripts() { @@ -219,7 +203,6 @@ public function getFormInitScripts() /** * @return string - * @since 2.0.0 */ public function getFormScripts() { @@ -231,7 +214,6 @@ public function getFormScripts() /** * @return string - * @since 2.0.0 */ public function getHeaderWidth() { @@ -240,7 +222,6 @@ public function getHeaderWidth() /** * @return string - * @since 2.0.0 */ public function getHeaderCssClass() { @@ -249,7 +230,6 @@ public function getHeaderCssClass() /** * @return string - * @since 2.0.0 */ public function getHeaderHtml() { @@ -261,7 +241,6 @@ public function getHeaderHtml() * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function setDataObject($object) { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Element.php b/app/code/Magento/Backend/Block/Widget/Form/Element.php index 48cebdbe2dad0..c3224d62b627e 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Element.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Element.php @@ -11,38 +11,32 @@ * Form element widget block * * @author Magento Core Team - * @since 2.0.0 */ class Element extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_element; /** * @var Form - * @since 2.0.0 */ protected $_form; /** * @var \Magento\Framework\DataObject - * @since 2.0.0 */ protected $_formBlock; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/element.phtml'; /** * @param string $element * @return $this - * @since 2.0.0 */ public function setElement($element) { @@ -53,7 +47,6 @@ public function setElement($element) /** * @param Form $form * @return $this - * @since 2.0.0 */ public function setForm($form) { @@ -64,7 +57,6 @@ public function setForm($form) /** * @param \Magento\Framework\DataObject $formBlock * @return $this - * @since 2.0.0 */ public function setFormBlock($formBlock) { @@ -74,7 +66,6 @@ public function setFormBlock($formBlock) /** * {@inheritdoc} - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php b/app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php index 86d46e31723af..23c5605f416c0 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php @@ -13,14 +13,12 @@ /** * @api - * @since 2.0.0 */ class Dependence extends \Magento\Backend\Block\AbstractBlock { /** * name => id mapper * @var array - * @since 2.0.0 */ protected $_fields = []; @@ -34,7 +32,6 @@ class Dependence extends \Magento\Backend\Block\AbstractBlock * ) * ) * @var array - * @since 2.0.0 */ protected $_depends = []; @@ -42,19 +39,16 @@ class Dependence extends \Magento\Backend\Block\AbstractBlock * Additional configuration options for the dependencies javascript controller * * @var array - * @since 2.0.0 */ protected $_configOptions = []; /** * @var \Magento\Config\Model\Config\Structure\Element\Dependency\FieldFactory - * @since 2.0.0 */ protected $_fieldFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -63,7 +57,6 @@ class Dependence extends \Magento\Backend\Block\AbstractBlock * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Config\Model\Config\Structure\Element\Dependency\FieldFactory $fieldFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -82,7 +75,6 @@ public function __construct( * @param string $fieldId - element ID in DOM * @param string $fieldName - element name in their fieldset/form namespace * @return \Magento\Backend\Block\Widget\Form\Element\Dependence - * @since 2.0.0 */ public function addFieldMap($fieldId, $fieldName) { @@ -97,7 +89,6 @@ public function addFieldMap($fieldId, $fieldName) * @param string $fieldNameFrom * @param \Magento\Config\Model\Config\Structure\Element\Dependency\Field|string $refField * @return \Magento\Backend\Block\Widget\Form\Element\Dependence - * @since 2.0.0 */ public function addFieldDependence($fieldName, $fieldNameFrom, $refField) { @@ -116,7 +107,6 @@ public function addFieldDependence($fieldName, $fieldNameFrom, $refField) * * @param array $options * @return \Magento\Backend\Block\Widget\Form\Element\Dependence - * @since 2.0.0 */ public function addConfigOptions(array $options) { @@ -127,7 +117,6 @@ public function addConfigOptions(array $options) /** * HTML output getter * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -147,7 +136,6 @@ protected function _toHtml() /** * Field dependences JSON map generator * @return string - * @since 2.0.0 */ protected function _getDependsJson() { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Element/Gallery.php b/app/code/Magento/Backend/Block/Widget/Form/Element/Gallery.php index 85b828470cf6b..aa0b0c3352ebe 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Element/Gallery.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Element/Gallery.php @@ -12,27 +12,23 @@ * Backend image gallery item renderer * * @author Magento Core Team - * @since 2.0.0 */ class Gallery extends \Magento\Backend\Block\Template implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { /** * @var AbstractElement|null - * @since 2.0.0 */ protected $_element = null; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/element/gallery.phtml'; /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { @@ -43,7 +39,6 @@ public function render(AbstractElement $element) /** * @param AbstractElement $element * @return $this - * @since 2.0.0 */ public function setElement(AbstractElement $element) { @@ -53,7 +48,6 @@ public function setElement(AbstractElement $element) /** * @return AbstractElement|null - * @since 2.0.0 */ public function getElement() { @@ -62,7 +56,6 @@ public function getElement() /** * @return array - * @since 2.0.0 */ public function getValues() { @@ -71,7 +64,6 @@ public function getValues() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { @@ -91,7 +83,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -101,7 +92,6 @@ public function getAddButtonHtml() /** * @param string $image * @return string|string[] - * @since 2.0.0 */ public function getDeleteButtonHtml($image) { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Generic.php b/app/code/Magento/Backend/Block/Widget/Form/Generic.php index 6fa40f949b614..3b4e64752930b 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Generic.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Generic.php @@ -9,13 +9,11 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Generic extends \Magento\Backend\Block\Widget\Form { /** * @var \Magento\Framework\Data\FormFactory - * @since 2.0.0 */ protected $_formFactory; @@ -23,7 +21,6 @@ class Generic extends \Magento\Backend\Block\Widget\Form * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -32,7 +29,6 @@ class Generic extends \Magento\Backend\Block\Widget\Form * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Data\FormFactory $formFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, 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 56d2a0317ef9b..a90e55ffcf412 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Element.php @@ -14,25 +14,21 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Element extends \Magento\Backend\Block\Template implements RendererInterface { /** * @var AbstractElement - * @since 2.0.0 */ protected $_element; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/renderer/element.phtml'; /** * @return AbstractElement - * @since 2.0.0 */ public function getElement() { @@ -42,7 +38,6 @@ public function getElement() /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { diff --git a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php index a6d9aaf6bdb96..464ec47abf6b3 100644 --- a/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php +++ b/app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php @@ -15,25 +15,21 @@ * @api * @author Magento Core Team * @api - * @since 2.0.0 */ class Fieldset extends \Magento\Backend\Block\Template implements RendererInterface { /** * @var AbstractElement - * @since 2.0.0 */ protected $_element; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/renderer/fieldset.phtml'; /** * @return AbstractElement - * @since 2.0.0 */ public function getElement() { @@ -43,7 +39,6 @@ public function getElement() /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { 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 2f2d6da7cf134..79ec45f326fd0 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 @@ -14,25 +14,21 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Element extends \Magento\Backend\Block\Template implements RendererInterface { /** * @var AbstractElement - * @since 2.0.0 */ protected $_element; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/form/renderer/fieldset/element.phtml'; /** * @return AbstractElement - * @since 2.0.0 */ public function getElement() { @@ -42,7 +38,6 @@ public function getElement() /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid.php b/app/code/Magento/Backend/Block/Widget/Grid.php index 5c6529e134aa2..31746d2d67659 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid.php +++ b/app/code/Magento/Backend/Block/Widget/Grid.php @@ -14,7 +14,6 @@ * @method string getRowClickCallback() getRowClickCallback() * @method \Magento\Backend\Block\Widget\Grid setRowClickCallback() setRowClickCallback(string $value) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget { @@ -22,61 +21,51 @@ class Grid extends \Magento\Backend\Block\Widget * Page and sorting var names * * @var string - * @since 2.0.0 */ protected $_varNameLimit = 'limit'; /** * @var string - * @since 2.0.0 */ protected $_varNamePage = 'page'; /** * @var string - * @since 2.0.0 */ protected $_varNameSort = 'sort'; /** * @var string - * @since 2.0.0 */ protected $_varNameDir = 'dir'; /** * @var string - * @since 2.0.0 */ protected $_varNameFilter = 'filter'; /** * @var int - * @since 2.0.0 */ protected $_defaultLimit = 20; /** * @var int - * @since 2.0.0 */ protected $_defaultPage = 1; /** * @var bool|string - * @since 2.0.0 */ protected $_defaultSort = false; /** * @var string - * @since 2.0.0 */ protected $_defaultDir = 'desc'; /** * @var array - * @since 2.0.0 */ protected $_defaultFilter = []; @@ -84,7 +73,6 @@ class Grid extends \Magento\Backend\Block\Widget * Empty grid text * * @var string|null - * @since 2.0.0 */ protected $_emptyText; @@ -92,7 +80,6 @@ class Grid extends \Magento\Backend\Block\Widget * Empty grid text CSS class * * @var string|null - * @since 2.0.0 */ protected $_emptyTextCss = 'empty-text'; @@ -100,7 +87,6 @@ class Grid extends \Magento\Backend\Block\Widget * Pager visibility * * @var boolean - * @since 2.0.0 */ protected $_pagerVisibility = true; @@ -108,7 +94,6 @@ class Grid extends \Magento\Backend\Block\Widget * Massage block visibility * * @var boolean - * @since 2.0.0 */ protected $_messageBlockVisibility = false; @@ -116,7 +101,6 @@ class Grid extends \Magento\Backend\Block\Widget * Should parameters be saved in session * * @var bool - * @since 2.0.0 */ protected $_saveParametersInSession = false; @@ -124,7 +108,6 @@ class Grid extends \Magento\Backend\Block\Widget * Count totals * * @var boolean - * @since 2.0.0 */ protected $_countTotals = false; @@ -132,25 +115,21 @@ class Grid extends \Magento\Backend\Block\Widget * Totals * * @var \Magento\Framework\DataObject - * @since 2.0.0 */ protected $_varTotals; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid.phtml'; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_backendSession; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendHelper; @@ -158,7 +137,6 @@ class Grid extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Backend\Helper\Data $backendHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -173,7 +151,6 @@ public function __construct( /** * @return void * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _construct() { @@ -211,7 +188,6 @@ protected function _construct() * * @param \Magento\Framework\Data\Collection $collection * @return void - * @since 2.0.0 */ public function setCollection($collection) { @@ -222,7 +198,6 @@ public function setCollection($collection) * Get collection object * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getCollection() { @@ -233,7 +208,6 @@ public function getCollection() * Retrieve column set block * * @return \Magento\Backend\Block\Widget\Grid\ColumnSet - * @since 2.0.0 */ public function getColumnSet() { @@ -245,7 +219,6 @@ public function getColumnSet() * * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Framework\View\Element\AbstractBlock|bool - * @since 2.0.0 */ public function getExportBlock() { @@ -261,7 +234,6 @@ public function getExportBlock() * Retrieve list of grid columns * * @return array - * @since 2.0.0 */ public function getColumns() { @@ -272,7 +244,6 @@ public function getColumns() * Count grid columns * * @return int - * @since 2.0.0 */ public function getColumnCount() { @@ -284,7 +255,6 @@ public function getColumnCount() * * @param string $columnId * @return \Magento\Framework\View\Element\AbstractBlock|bool - * @since 2.0.0 */ public function getColumn($columnId) { @@ -296,7 +266,6 @@ public function getColumn($columnId) * * @param mixed $data * @return $this - * @since 2.0.0 */ protected function _setFilterValues($data) { @@ -321,7 +290,6 @@ protected function _setFilterValues($data) * * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -344,7 +312,6 @@ protected function _addColumnFilterToCollection($column) * * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return $this - * @since 2.0.0 */ protected function _setCollectionOrder($column) { @@ -360,7 +327,6 @@ protected function _setCollectionOrder($column) * Get prepared collection * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getPreparedCollection() { @@ -373,7 +339,6 @@ public function getPreparedCollection() * * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _prepareCollection() { @@ -412,7 +377,6 @@ protected function _prepareCollection() * Apply pagination to collection * * @return void - * @since 2.0.0 */ protected function _preparePage() { @@ -424,7 +388,6 @@ protected function _preparePage() * Initialize grid * * @return void - * @since 2.0.0 */ protected function _prepareGrid() { @@ -455,7 +418,6 @@ protected function _prepareGrid() * Get massaction block * * @return bool|\Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ public function getMassactionBlock() { @@ -466,7 +428,6 @@ public function getMassactionBlock() * Prepare grid filter buttons * * @return void - * @since 2.0.0 */ protected function _prepareFilterButtons() { @@ -500,7 +461,6 @@ protected function _prepareFilterButtons() * Initialize grid before rendering * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -512,7 +472,6 @@ protected function _beforeToHtml() * Retrieve limit request key * * @return string - * @since 2.0.0 */ public function getVarNameLimit() { @@ -523,7 +482,6 @@ public function getVarNameLimit() * Retrieve page request key * * @return string - * @since 2.0.0 */ public function getVarNamePage() { @@ -534,7 +492,6 @@ public function getVarNamePage() * Retrieve sort request key * * @return string - * @since 2.0.0 */ public function getVarNameSort() { @@ -545,7 +502,6 @@ public function getVarNameSort() * Retrieve sort direction request key * * @return string - * @since 2.0.0 */ public function getVarNameDir() { @@ -556,7 +512,6 @@ public function getVarNameDir() * Retrieve filter request key * * @return string - * @since 2.0.0 */ public function getVarNameFilter() { @@ -568,7 +523,6 @@ public function getVarNameFilter() * * @param string $name * @return $this - * @since 2.0.0 */ public function setVarNameLimit($name) { @@ -581,7 +535,6 @@ public function setVarNameLimit($name) * * @param string $name * @return $this - * @since 2.0.0 */ public function setVarNamePage($name) { @@ -594,7 +547,6 @@ public function setVarNamePage($name) * * @param string $name * @return $this - * @since 2.0.0 */ public function setVarNameSort($name) { @@ -607,7 +559,6 @@ public function setVarNameSort($name) * * @param string $name * @return $this - * @since 2.0.0 */ public function setVarNameDir($name) { @@ -620,7 +571,6 @@ public function setVarNameDir($name) * * @param string $name * @return $this - * @since 2.0.0 */ public function setVarNameFilter($name) { @@ -633,7 +583,6 @@ public function setVarNameFilter($name) * * @param bool $visible * @return $this - * @since 2.0.0 */ public function setPagerVisibility($visible = true) { @@ -646,7 +595,6 @@ public function setPagerVisibility($visible = true) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getPagerVisibility() { @@ -658,7 +606,6 @@ public function getPagerVisibility() * * @param bool $visible * @return void - * @since 2.0.0 */ public function setMessageBlockVisibility($visible = true) { @@ -670,7 +617,6 @@ public function setMessageBlockVisibility($visible = true) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getMessageBlockVisibility() { @@ -682,7 +628,6 @@ public function getMessageBlockVisibility() * * @param int $limit * @return $this - * @since 2.0.0 */ public function setDefaultLimit($limit) { @@ -695,7 +640,6 @@ public function setDefaultLimit($limit) * * @param int $page * @return $this - * @since 2.0.0 */ public function setDefaultPage($page) { @@ -708,7 +652,6 @@ public function setDefaultPage($page) * * @param string $sort * @return $this - * @since 2.0.0 */ public function setDefaultSort($sort) { @@ -721,7 +664,6 @@ public function setDefaultSort($sort) * * @param string $dir * @return $this - * @since 2.0.0 */ public function setDefaultDir($dir) { @@ -734,7 +676,6 @@ public function setDefaultDir($dir) * * @param string $filter * @return $this - * @since 2.0.0 */ public function setDefaultFilter($filter) { @@ -746,7 +687,6 @@ public function setDefaultFilter($filter) * Check whether grid container should be displayed * * @return bool - * @since 2.0.0 */ public function canDisplayContainer() { @@ -760,7 +700,6 @@ public function canDisplayContainer() * Retrieve grid reload url * * @return string; - * @since 2.0.0 */ public function getGridUrl() { @@ -773,7 +712,6 @@ public function getGridUrl() * * @param array $params url parameters * @return string current grid url - * @since 2.0.0 */ public function getAbsoluteGridUrl($params = []) { @@ -786,7 +724,6 @@ public function getAbsoluteGridUrl($params = []) * @param string $paramName * @param mixed $default * @return mixed - * @since 2.0.0 */ public function getParam($paramName, $default = null) { @@ -809,7 +746,6 @@ public function getParam($paramName, $default = null) * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setSaveParametersInSession($flag) { @@ -821,7 +757,6 @@ public function setSaveParametersInSession($flag) * Retrieve grid javascript object name * * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -833,7 +768,6 @@ public function getJsObjectName() * * @param bool $count * @return $this - * @since 2.0.0 */ public function setCountTotals($count = true) { @@ -846,7 +780,6 @@ public function setCountTotals($count = true) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCountTotals() { @@ -858,7 +791,6 @@ public function getCountTotals() * * @param \Magento\Framework\DataObject $totals * @return void - * @since 2.0.0 */ public function setTotals(\Magento\Framework\DataObject $totals) { @@ -869,7 +801,6 @@ public function setTotals(\Magento\Framework\DataObject $totals) * Retrieve totals * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getTotals() { @@ -880,7 +811,6 @@ public function getTotals() * Generate list of grid buttons * * @return string - * @since 2.0.0 */ public function getMainButtonsHtml() { @@ -896,7 +826,6 @@ public function getMainButtonsHtml() * Generate reset button * * @return string - * @since 2.0.0 */ public function getResetFilterButtonHtml() { @@ -907,7 +836,6 @@ public function getResetFilterButtonHtml() * Generate search button * * @return string - * @since 2.0.0 */ public function getSearchButtonHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column.php b/app/code/Magento/Backend/Block/Widget/Grid/Column.php index 3130cb392437a..7f9ae78414146 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column.php @@ -12,7 +12,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Column extends \Magento\Backend\Block\Widget { @@ -20,7 +19,6 @@ class Column extends \Magento\Backend\Block\Widget * Parent grid * * @var \Magento\Backend\Block\Widget\Grid - * @since 2.0.0 */ protected $_grid; @@ -28,7 +26,6 @@ class Column extends \Magento\Backend\Block\Widget * Column renderer * * @var \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer - * @since 2.0.0 */ protected $_renderer; @@ -36,7 +33,6 @@ class Column extends \Magento\Backend\Block\Widget * Column filter * * @var AbstractFilter - * @since 2.0.0 */ protected $_filter; @@ -44,7 +40,6 @@ class Column extends \Magento\Backend\Block\Widget * Column css classes * * @var string|null - * @since 2.0.0 */ protected $_cssClass = null; @@ -52,7 +47,6 @@ class Column extends \Magento\Backend\Block\Widget * Renderer types * * @var array - * @since 2.0.0 */ protected $_rendererTypes = [ 'action' => \Magento\Backend\Block\Widget\Grid\Column\Renderer\Action::class, @@ -81,7 +75,6 @@ class Column extends \Magento\Backend\Block\Widget * Filter types * * @var array - * @since 2.0.0 */ protected $_filterTypes = [ 'datetime' => \Magento\Backend\Block\Widget\Grid\Column\Filter\Datetime::class, @@ -104,13 +97,11 @@ class Column extends \Magento\Backend\Block\Widget /** * Column is grouped * @var bool - * @since 2.0.0 */ protected $_isGrouped = false; /** * @return void - * @since 2.0.0 */ public function _construct() { @@ -125,7 +116,6 @@ public function _construct() * Should column be displayed in grid * * @return bool - * @since 2.0.0 */ public function isDisplayed() { @@ -137,7 +127,6 @@ public function isDisplayed() * * @param \Magento\Backend\Block\Widget\Grid $grid * @return $this - * @since 2.0.0 */ public function setGrid($grid) { @@ -151,7 +140,6 @@ public function setGrid($grid) * Get grid block * * @return \Magento\Backend\Block\Widget\Grid - * @since 2.0.0 */ public function getGrid() { @@ -162,7 +150,6 @@ public function getGrid() * Retrieve html id of filter * * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -173,7 +160,6 @@ public function getHtmlId() * Get html code for column properties * * @return string - * @since 2.0.0 */ public function getHtmlProperty() { @@ -183,7 +169,6 @@ public function getHtmlProperty() /** * Get Header html * @return string - * @since 2.0.0 */ public function getHeaderHtml() { @@ -194,7 +179,6 @@ public function getHeaderHtml() * Get column css classes * * @return string - * @since 2.0.0 */ public function getCssClass() { @@ -218,7 +202,6 @@ public function getCssClass() * Get column css property * * @return string - * @since 2.0.0 */ public function getCssProperty() { @@ -230,7 +213,6 @@ public function getCssProperty() * * @param bool $value * @return void - * @since 2.0.0 */ public function setSortable($value) { @@ -240,7 +222,6 @@ public function setSortable($value) /** * Get header css class name * @return string - * @since 2.0.0 */ public function getHeaderCssClass() { @@ -253,7 +234,6 @@ public function getHeaderCssClass() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getSortable() { @@ -265,7 +245,6 @@ public function getSortable() * * @param string $className * @return void - * @since 2.0.0 */ public function addHeaderCssClass($className) { @@ -276,7 +255,6 @@ public function addHeaderCssClass($className) /** * Get header class names * @return string - * @since 2.0.0 */ public function getHeaderHtmlProperty() { @@ -293,7 +271,6 @@ public function getHeaderHtmlProperty() * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function getRowField(\Magento\Framework\DataObject $row) { @@ -322,7 +299,6 @@ public function getRowField(\Magento\Framework\DataObject $row) * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function getRowFieldExport(\Magento\Framework\DataObject $row) { @@ -347,7 +323,6 @@ public function getRowFieldExport(\Magento\Framework\DataObject $row) * Retrieve Header Name for Export * * @return string - * @since 2.0.0 */ public function getExportHeader() { @@ -363,7 +338,6 @@ public function getExportHeader() * @param string $value * @param array|string $decorators * @return string - * @since 2.0.0 */ protected function &_applyDecorators($value, $decorators) { @@ -391,7 +365,6 @@ protected function &_applyDecorators($value, $decorators) * * @param \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer $renderer * @return $this - * @since 2.0.0 */ public function setRenderer($renderer) { @@ -405,7 +378,6 @@ public function setRenderer($renderer) * @param string $type type of renderer * @param string $className renderer class name * @return void - * @since 2.0.0 */ public function setRendererType($type, $className) { @@ -416,7 +388,6 @@ public function setRendererType($type, $className) * Get renderer class name by renderer type * * @return string - * @since 2.0.0 */ protected function _getRendererByType() { @@ -432,7 +403,6 @@ protected function _getRendererByType() * Retrieve column renderer * * @return \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer - * @since 2.0.0 */ public function getRenderer() { @@ -451,7 +421,6 @@ public function getRenderer() * * @param string $filterClass filter class name * @return void - * @since 2.0.0 */ public function setFilter($filterClass) { @@ -466,7 +435,6 @@ public function setFilter($filterClass) * @param string $type type of filter * @param string $className filter class name * @return void - * @since 2.0.0 */ public function setFilterType($type, $className) { @@ -477,7 +445,6 @@ public function setFilterType($type, $className) * Get column filter class name by filter type * * @return string - * @since 2.0.0 */ protected function _getFilterByType() { @@ -491,7 +458,6 @@ protected function _getFilterByType() * Get filter block * * @return AbstractFilter|false - * @since 2.0.0 */ public function getFilter() { @@ -516,7 +482,6 @@ public function getFilter() * Get filter html code * * @return null|string - * @since 2.0.0 */ public function getFilterHtml() { @@ -529,7 +494,6 @@ public function getFilterHtml() * Check if column is grouped * * @return bool - * @since 2.0.0 */ public function isGrouped() { 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 d14a7172a8d2e..f5a61a1ce3fcc 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Extended.php @@ -8,14 +8,12 @@ /** * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column { /** * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = []) { 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 3ebdc9f933044..9641365aaf7b0 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 @@ -11,7 +11,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class AbstractFilter extends \Magento\Backend\Block\AbstractBlock implements \Magento\Backend\Block\Widget\Grid\Column\Filter\FilterInterface @@ -20,13 +19,11 @@ class AbstractFilter extends \Magento\Backend\Block\AbstractBlock implements * Column related to filter * * @var \Magento\Backend\Block\Widget\Grid\Column - * @since 2.0.0 */ protected $_column; /** * @var \Magento\Framework\DB\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -34,7 +31,6 @@ class AbstractFilter extends \Magento\Backend\Block\AbstractBlock implements * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\DB\Helper $resourceHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -50,7 +46,6 @@ public function __construct( * * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter - * @since 2.0.0 */ public function setColumn($column) { @@ -62,7 +57,6 @@ public function setColumn($column) * Retrieve column related to filter * * @return \Magento\Backend\Block\Widget\Grid\Column - * @since 2.0.0 */ public function getColumn() { @@ -73,7 +67,6 @@ public function getColumn() * Retrieve html name of filter * * @return string - * @since 2.0.0 */ protected function _getHtmlName() { @@ -84,7 +77,6 @@ protected function _getHtmlName() * Retrieve html id of filter * * @return string - * @since 2.0.0 */ protected function _getHtmlId() { @@ -96,7 +88,6 @@ protected function _getHtmlId() * * @param mixed $index * @return string - * @since 2.0.0 */ public function getEscapedValue($index = null) { @@ -107,7 +98,6 @@ public function getEscapedValue($index = null) * Retrieve condition * * @return array - * @since 2.0.0 */ public function getCondition() { @@ -119,7 +109,6 @@ public function getCondition() * Retrieve filter html * * @return string - * @since 2.0.0 */ public function getHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Checkbox.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Checkbox.php index c7fbf73c5b666..6ba8c37b0e4a8 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Checkbox.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Checkbox.php @@ -9,13 +9,11 @@ * Checkbox grid column filter * * @author Magento Core Team - * @since 2.0.0 */ class Checkbox extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { /** * @return string - * @since 2.0.0 */ public function getHtml() { @@ -24,7 +22,6 @@ public function getHtml() /** * @return array - * @since 2.0.0 */ protected function _getOptions() { @@ -37,7 +34,6 @@ protected function _getOptions() /** * @return array - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Country.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Country.php index 2a6073321cd0a..0280f3f2a1533 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Country.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Country.php @@ -7,13 +7,11 @@ /** * Country grid filter - * @since 2.0.0 */ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { /** * @var \Magento\Directory\Model\ResourceModel\Country\CollectionFactory - * @since 2.0.0 */ protected $_directoriesFactory; @@ -22,7 +20,6 @@ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select * @param \Magento\Framework\DB\Helper $resourceHelper * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $directoriesFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ protected function _getOptions() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php index 0b23e5c248988..8f0b9b993554b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php @@ -11,25 +11,21 @@ /** * Date grid column filter * @api - * @since 2.0.0 */ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $localeResolver; /** * @var DateTimeFormatterInterface - * @since 2.0.0 */ protected $dateTimeFormatter; @@ -40,7 +36,6 @@ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilt * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param DateTimeFormatterInterface $dateTimeFormatter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -58,7 +53,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getHtml() { @@ -133,7 +127,6 @@ public function getHtml() /** * @param string|null $index * @return string - * @since 2.0.0 */ public function getEscapedValue($index = null) { @@ -150,7 +143,6 @@ public function getEscapedValue($index = null) /** * @param string|null $index * @return array|string|int|float|null - * @since 2.0.0 */ public function getValue($index = null) { @@ -169,7 +161,6 @@ public function getValue($index = null) /** * @return array|string|int|float|null - * @since 2.0.0 */ public function getCondition() { @@ -181,7 +172,6 @@ public function getCondition() /** * @param array|string|int|float $value * @return $this - * @since 2.0.0 */ public function setValue($value) { @@ -207,7 +197,6 @@ public function setValue($value) * * @param string $date * @return \DateTime|null - * @since 2.0.0 */ protected function _convertDate($date) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php index 35f853ada57c3..96b3471db845e 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php @@ -11,7 +11,6 @@ * * @author Magento Core Team * @todo date format - * @since 2.0.0 */ class Datetime extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Date { @@ -22,7 +21,6 @@ class Datetime extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Date /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue($index = null) { @@ -63,7 +61,6 @@ public function getValue($index = null) * * @param string $date * @return \DateTime|null - * @since 2.0.0 */ protected function _convertDate($date) { @@ -86,7 +83,6 @@ protected function _convertDate($date) * Render filter html * * @return string - * @since 2.0.0 */ public function getHtml() { @@ -146,7 +142,6 @@ public function getHtml() * * @param string $index * @return string - * @since 2.0.0 */ public function getEscapedValue($index = null) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php index 37d8f69f7213d..21e5d85df28f9 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php @@ -11,14 +11,12 @@ * Grid column filter interface * * @api - * @since 2.0.0 */ interface FilterInterface { /** * @return Column * @api - * @since 2.0.0 */ public function getColumn(); @@ -26,14 +24,12 @@ public function getColumn(); * @param Column $column * @return AbstractFilter * @api - * @since 2.0.0 */ public function setColumn($column); /** * @return string * @api - * @since 2.0.0 */ public function getHtml(); } diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Massaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Massaction.php index b935b86930a84..9da793dc9fc61 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Massaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Massaction.php @@ -9,13 +9,11 @@ * Massaction grid column filter * * @author Magento Core Team - * @since 2.0.0 */ class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Checkbox { /** * {@inheritdoc} - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php index da8f7e1353c36..c6e271c3ec304 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php @@ -11,25 +11,21 @@ * @author Magento Core Team * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * @var array - * @since 2.0.0 */ protected $_currencyList = null; /** * @var \Magento\Directory\Model\Currency - * @since 2.0.0 */ protected $_currencyModel = null; /** * @var \Magento\Directory\Model\Currency\DefaultLocator - * @since 2.0.0 */ protected $_currencyLocator = null; @@ -39,7 +35,6 @@ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFil * @param \Magento\Directory\Model\Currency $currencyModel * @param \Magento\Directory\Model\Currency\DefaultLocator $currencyLocator * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -57,7 +52,6 @@ public function __construct( * Retrieve html * * @return string - * @since 2.0.0 */ public function getHtml() { @@ -106,7 +100,6 @@ public function getHtml() * Retrieve display currency select * * @return true|mixed - * @since 2.0.0 */ public function getDisplayCurrencySelect() { @@ -121,7 +114,6 @@ public function getDisplayCurrencySelect() * Retrieve currency affect * * @return true|mixed - * @since 2.0.0 */ public function getCurrencyAffect() { @@ -136,7 +128,6 @@ public function getCurrencyAffect() * Retrieve currency select html * * @return string - * @since 2.0.0 */ protected function _getCurrencySelectHtml() { @@ -159,7 +150,6 @@ protected function _getCurrencySelectHtml() * Retrieve list of currencies * * @return array|null - * @since 2.0.0 */ protected function _getCurrencyList() { @@ -174,7 +164,6 @@ protected function _getCurrencyList() * * @param null $index * @return array|null - * @since 2.0.0 */ public function getValue($index = null) { @@ -192,7 +181,6 @@ public function getValue($index = null) * Retrieve filter condition * * @return array - * @since 2.0.0 */ public function getCondition() { @@ -221,7 +209,6 @@ public function getCondition() * Retrieve column currency code * * @return string - * @since 2.0.0 */ protected function _getColumnCurrencyCode() { @@ -241,7 +228,6 @@ protected function _getColumnCurrencyCode() * @param string $fromRate * @param string $toRate * @return float - * @since 2.0.0 */ protected function _getRate($fromRate, $toRate) { @@ -253,7 +239,6 @@ protected function _getRate($fromRate, $toRate) * * @param string $displayCurrency * @return void - * @since 2.0.0 */ public function prepareRates($displayCurrency) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Radio.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Radio.php index 4248ef8dcea40..2cbe264c5f396 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Radio.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Radio.php @@ -9,13 +9,11 @@ * Checkbox grid column filter * * @author Magento Core Team - * @since 2.0.0 */ class Radio extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { /** * @return array - * @since 2.0.0 */ protected function _getOptions() { @@ -28,7 +26,6 @@ protected function _getOptions() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php index 72b0adc05bf7a..9aaeb26d9156b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Range extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * @return string - * @since 2.0.0 */ public function getHtml() { @@ -59,7 +57,6 @@ public function getHtml() /** * @param string|null $index * @return mixed - * @since 2.0.0 */ public function getValue($index = null) { @@ -75,7 +72,6 @@ public function getValue($index = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCondition() { 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 111805d3d2683..81c668c7284ef 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 @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Select extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getOptions() { @@ -50,7 +48,6 @@ protected function _getOptions() * @param array $option * @param string $value * @return string - * @since 2.0.0 */ protected function _renderOption($option, $value) { @@ -64,7 +61,6 @@ protected function _renderOption($option, $value) /** * {@inheritdoc} - * @since 2.0.0 */ public function getHtml() { @@ -90,7 +86,6 @@ public function getHtml() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select/Extended.php index ad6281174695c..58394fd7bbcc1 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select/Extended.php @@ -8,7 +8,6 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Filter\Select\Extended * - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { @@ -16,7 +15,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select * Get options for filter value * * @return array - * @since 2.0.0 */ protected function _getOptions() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/SkipList.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/SkipList.php index a1fc65dd3fe00..4256732a1f258 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/SkipList.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/SkipList.php @@ -9,13 +9,11 @@ * Massaction grid column filter * * @author Magento Core Team - * @since 2.0.0 */ class SkipList extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * {@inheritdoc} - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Store.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Store.php index a5414e5c1aed9..4a6f3e4e4bd87 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Store.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Store.php @@ -12,7 +12,6 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Filter\Store * - * @since 2.0.0 */ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { @@ -20,7 +19,6 @@ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFil /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_systemStore; @@ -29,7 +27,6 @@ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFil * @param \Magento\Framework\DB\Helper $resourceHelper * @param \Magento\Store\Model\System\Store $systemStore * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -47,7 +44,6 @@ public function __construct( * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getHtml() { @@ -120,7 +116,6 @@ public function getHtml() * Form condition from element's value * * @return array|null - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Text.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Text.php index 7fd0e95590e9c..3945ae26e7046 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Text.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Text.php @@ -10,13 +10,11 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Text extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * {@inheritdoc} - * @since 2.0.0 */ public function getHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Theme.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Theme.php index 914f27eae883e..ddec3148545a1 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Theme.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Theme.php @@ -12,13 +12,11 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Filter\Theme * - * @since 2.0.0 */ class Theme extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFilter { /** * @var \Magento\Framework\View\Design\Theme\LabelFactory - * @since 2.0.0 */ protected $_labelFactory; @@ -27,7 +25,6 @@ class Theme extends \Magento\Backend\Block\Widget\Grid\Column\Filter\AbstractFil * @param \Magento\Framework\DB\Helper $resourceHelper * @param \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -43,7 +40,6 @@ public function __construct( * Retrieve filter HTML * * @return string - * @since 2.0.0 */ public function getHtml() { @@ -66,7 +62,6 @@ public function getHtml() * Or load if options was not set. * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -84,7 +79,6 @@ public function getOptions() * * @param array $options * @return string - * @since 2.0.0 */ protected function _drawOptions($options) { @@ -116,7 +110,6 @@ protected function _drawOptions($options) * Retrieve filter condition for collection * * @return mixed - * @since 2.0.0 */ public function getCondition() { 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 49efb24da6f79..056cb01000b86 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php @@ -10,14 +10,12 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Multistore extends \Magento\Backend\Block\Widget\Grid\Column { /** * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = []) { @@ -28,7 +26,6 @@ public function __construct(\Magento\Backend\Block\Template\Context $context, ar * Get header css class name * * @return string - * @since 2.0.0 */ public function isDisplayed() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php index 9d4e39117c8f9..94db53e15c7af 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php @@ -13,26 +13,22 @@ * @api * @SuppressWarnings(PHPMD.NumberOfChildren) * @api - * @since 2.0.0 */ abstract class AbstractRenderer extends \Magento\Backend\Block\AbstractBlock implements RendererInterface { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth; /** * @var Column - * @since 2.0.0 */ protected $_column; /** * @param Column $column * @return $this - * @since 2.0.0 */ public function setColumn($column) { @@ -42,7 +38,6 @@ public function setColumn($column) /** * @return Column - * @since 2.0.0 */ public function getColumn() { @@ -54,7 +49,6 @@ public function getColumn() * * @param Object $row * @return string - * @since 2.0.0 */ public function render(DataObject $row) { @@ -73,7 +67,6 @@ public function render(DataObject $row) * * @param Object $row * @return string - * @since 2.0.0 */ public function renderExport(DataObject $row) { @@ -83,7 +76,6 @@ public function renderExport(DataObject $row) /** * @param Object $row * @return mixed - * @since 2.0.0 */ protected function _getValue(DataObject $row) { @@ -101,7 +93,6 @@ protected function _getValue(DataObject $row) /** * @param Object $row * @return string - * @since 2.0.0 */ public function _getInputValueElement(DataObject $row) { @@ -118,7 +109,6 @@ public function _getInputValueElement(DataObject $row) /** * @param Object $row * @return mixed - * @since 2.0.0 */ protected function _getInputValue(DataObject $row) { @@ -127,7 +117,6 @@ protected function _getInputValue(DataObject $row) /** * @return string - * @since 2.0.0 */ public function renderHeader() { @@ -159,7 +148,6 @@ public function renderHeader() /** * @return string - * @since 2.0.0 */ public function renderProperty() { @@ -184,7 +172,6 @@ public function renderProperty() /** * @return string - * @since 2.0.0 */ public function renderCss() { 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 e2c5e56a05979..8c66e5f0097c5 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 @@ -11,13 +11,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text { /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -25,7 +23,6 @@ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -41,7 +38,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -77,7 +73,6 @@ public function render(\Magento\Framework\DataObject $row) * @param array $action * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ protected function _toOptionHtml($action, \Magento\Framework\DataObject $row) { @@ -99,7 +94,6 @@ protected function _toOptionHtml($action, \Magento\Framework\DataObject $row) * @param array $action * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ protected function _toLinkHtml($action, \Magento\Framework\DataObject $row) { @@ -128,7 +122,6 @@ protected function _toLinkHtml($action, \Magento\Framework\DataObject $row) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _transformActionData(&$action, &$actionCaption, \Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Button.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Button.php index c1b6c0eb0acb5..bfaa9e0d1926b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Button.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Button.php @@ -8,7 +8,6 @@ /** * @api * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ class Button extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -17,7 +16,6 @@ class Button extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 c2bfe0a6cd392..6396bf0fee15b 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 @@ -10,25 +10,21 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Checkbox extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 55; /** * @var array - * @since 2.0.0 */ protected $_values; /** * @var \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter - * @since 2.0.0 */ protected $_converter; @@ -36,7 +32,6 @@ class Checkbox extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * @param \Magento\Backend\Block\Context $context * @param \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter $converter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -51,7 +46,6 @@ public function __construct( * Returns values of the column * * @return array - * @since 2.0.0 */ public function getValues() { @@ -65,7 +59,6 @@ public function getValues() * Prepare data for renderer * * @return array - * @since 2.0.0 */ protected function _getValues() { @@ -80,7 +73,6 @@ protected function _getValues() * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -122,7 +114,6 @@ public function render(\Magento\Framework\DataObject $row) * @param string $value Value of the element * @param bool $checked Whether it is checked * @return string - * @since 2.0.0 */ protected function _getCheckboxHtml($value, $checked) { @@ -146,7 +137,6 @@ protected function _getCheckboxHtml($value, $checked) * Renders header of the column * * @return string - * @since 2.0.0 */ public function renderHeader() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkboxes/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkboxes/Extended.php index 75af1ba731c95..cf2fdabc8b9cc 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkboxes/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkboxes/Extended.php @@ -8,7 +8,6 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Renderer\Checkboxes\Extended * - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Checkbox { @@ -16,7 +15,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Checkb * Prepare data for renderer * * @return array - * @since 2.0.0 */ public function _getValues() { 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 7f06319295bf5..9958001cae963 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 @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Concat extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -19,7 +18,6 @@ class Concat extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 7fc1cad53e3ae..91e3a51c98df0 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 @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $localeLists; @@ -24,7 +22,6 @@ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstrac * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Locale\ListsInterface $localeLists * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -40,7 +37,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php index f331df8334b31..2209ac616ec3e 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php @@ -10,13 +10,11 @@ * Backend grid item renderer currency * * @api - * @since 2.0.0 */ class Currency extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 100; @@ -24,7 +22,6 @@ class Currency extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * Currency objects cache * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected static $_currencies = []; @@ -32,25 +29,21 @@ class Currency extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * Application object * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Directory\Model\Currency\DefaultLocator - * @since 2.0.0 */ protected $_currencyLocator; /** * @var \Magento\Directory\Model\Currency - * @since 2.0.0 */ protected $_defaultBaseCurrency; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -61,7 +54,6 @@ class Currency extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * @param \Magento\Directory\Model\CurrencyFactory $currencyFactory * @param \Magento\Framework\Locale\CurrencyInterface $localeCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -87,7 +79,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -107,7 +98,6 @@ public function render(\Magento\Framework\DataObject $row) * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ protected function _getCurrencyCode($row) { @@ -126,7 +116,6 @@ protected function _getCurrencyCode($row) * * @param \Magento\Framework\DataObject $row * @return float|int - * @since 2.0.0 */ protected function _getRate($row) { @@ -143,7 +132,6 @@ protected function _getRate($row) * Returns HTML for CSS * * @return string - * @since 2.0.0 */ public function renderCss() { 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 bebcd59a22d1e..d979204abe515 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 @@ -11,13 +11,11 @@ * Backend grid item renderer date * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 160; @@ -25,13 +23,11 @@ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * Date format string * * @var string - * @since 2.0.0 */ protected static $_format = null; /** * @var DateTimeFormatterInterface - * @since 2.0.0 */ protected $dateTimeFormatter; @@ -39,7 +35,6 @@ class Date extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * @param \Magento\Backend\Block\Context $context * @param DateTimeFormatterInterface $dateTimeFormatter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -55,7 +50,6 @@ public function __construct( * * @return string * @deprecated 2.1.0 - * @since 2.0.0 */ protected function _getFormat() { @@ -80,7 +74,6 @@ protected function _getFormat() * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 e9652e1d22441..35c5abb85a107 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 @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Datetime extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -19,7 +18,6 @@ class Datetime extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 e36c2a4ca03bc..f28f342bd5b65 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 @@ -8,7 +8,6 @@ /** * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class DraggableHandle extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -17,7 +16,6 @@ class DraggableHandle extends \Magento\Backend\Block\Widget\Grid\Column\Renderer * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 45c38533ba127..0458fb35ed5e2 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 @@ -8,13 +8,11 @@ /** * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Input extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var array - * @since 2.0.0 */ protected $_values; @@ -23,7 +21,6 @@ class Input extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractR * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 47c41d17761ee..20bc85b802a2d 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 @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Ip extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -19,7 +18,6 @@ class Ip extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRend * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 9c7d62e6d7b87..81bd97bd2721a 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 @@ -8,7 +8,6 @@ /** * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Longtext extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -20,7 +19,6 @@ class Longtext extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { 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 01db1d05069e2..1fc4fc354b615 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 @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Checkbox { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 20; @@ -24,7 +22,6 @@ class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Chec * Render header of the row * * @return string - * @since 2.0.0 */ public function renderHeader() { @@ -35,7 +32,6 @@ public function renderHeader() * Render HTML properties * * @return string - * @since 2.0.0 */ public function renderProperty() { @@ -50,7 +46,6 @@ public function renderProperty() * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -66,7 +61,6 @@ public function render(\Magento\Framework\DataObject $row) * @param string $value * @param bool $checked * @return string - * @since 2.0.0 */ protected function _getCheckboxHtml($value, $checked) { 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 7ee044f2a1fab..4e5941bc401bb 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 @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Number extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 100; @@ -25,7 +23,6 @@ class Number extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * * @param \Magento\Framework\DataObject $row * @return mixed|string - * @since 2.0.0 */ protected function _getValue(\Magento\Framework\DataObject $row) { @@ -46,7 +43,6 @@ protected function _getValue(\Magento\Framework\DataObject $row) * Renders CSS * * @return string - * @since 2.0.0 */ public function renderCss() { 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 179feecdbae94..c927d07db26dc 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 @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Options extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text { @@ -18,7 +17,6 @@ class Options extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text * Get options from column * * @return array - * @since 2.0.0 */ protected function _getOptions() { @@ -31,7 +29,6 @@ protected function _getOptions() * @param \Magento\Framework\DataObject $row * @return string|void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Converter.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Converter.php index a24b6ff8584dc..3a929bd644f3a 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Converter.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Converter.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Converter { @@ -16,7 +15,6 @@ class Converter * * @param array $treeData * @return array - * @since 2.0.0 */ public function toFlatArray($treeData) { @@ -36,7 +34,6 @@ public function toFlatArray($treeData) * * @param array $flatData * @return array - * @since 2.0.0 */ public function toTreeArray($flatData) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Extended.php index 3cbc2566f36b7..3fde303e87bb5 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Options/Extended.php @@ -8,13 +8,11 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Extended * - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options { /** * @var \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter - * @since 2.0.0 */ protected $_converter; @@ -22,7 +20,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Option * @param \Magento\Backend\Block\Context $context * @param \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter $converter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -37,7 +34,6 @@ public function __construct( * Prepare data for renderer * * @return array - * @since 2.0.0 */ public function _getOptions() { 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 2cee2a6b7fa3d..a78c7cf26611e 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 @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 100; @@ -24,13 +22,11 @@ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractR * Currency objects cache * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected static $_currencies = []; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -38,7 +34,6 @@ class Price extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractR * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Locale\CurrencyInterface $localeCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -54,7 +49,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -78,7 +72,6 @@ public function render(\Magento\Framework\DataObject $row) * * @param \Magento\Framework\DataObject $row * @return string|false - * @since 2.0.0 */ protected function _getCurrencyCode($row) { @@ -96,7 +89,6 @@ protected function _getCurrencyCode($row) * * @param \Magento\Framework\DataObject $row * @return float|int - * @since 2.0.0 */ protected function _getRate($row) { @@ -113,7 +105,6 @@ protected function _getRate($row) * Renders CSS * * @return string - * @since 2.0.0 */ public function renderCss() { 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 23ed35dac1f35..4103fddbc6f2f 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 @@ -10,25 +10,21 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Radio extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var int - * @since 2.0.0 */ protected $_defaultWidth = 55; /** * @var array - * @since 2.0.0 */ protected $_values; /** * @var \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter - * @since 2.0.0 */ protected $_converter; @@ -36,7 +32,6 @@ class Radio extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractR * @param \Magento\Backend\Block\Context $context * @param \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter $converter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -51,7 +46,6 @@ public function __construct( * Prepare data for renderer * * @return array - * @since 2.0.0 */ protected function _getValues() { @@ -63,7 +57,6 @@ protected function _getValues() * Returns all values for the column * * @return array - * @since 2.0.0 */ public function getValues() { @@ -78,7 +71,6 @@ public function getValues() * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio/Extended.php index afa43e1ec9762..2c2040bf62a3a 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Radio/Extended.php @@ -8,7 +8,6 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Renderer\Radio\Extended * - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Radio { @@ -16,7 +15,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Radio * Prepare data for renderer * * @return array - * @since 2.0.0 */ protected function _getValues() { 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 c895e4db2fcfa..37028e917d5d5 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 @@ -12,7 +12,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ interface RendererInterface { @@ -23,7 +22,6 @@ interface RendererInterface * @return void * @abstract * @api - * @since 2.0.0 */ public function setColumn($column); @@ -33,7 +31,6 @@ public function setColumn($column); * @abstract * @return void * @api - * @since 2.0.0 */ public function getColumn(); @@ -43,7 +40,6 @@ public function getColumn(); * @param \Magento\Framework\DataObject $row * @return string * @api - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row); } diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select.php index 0985c982c8fc1..13f3db0fa477b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select.php @@ -9,13 +9,11 @@ * Grid select input column renderer * * @api - * @since 2.0.0 */ class Select extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter - * @since 2.0.0 */ protected $_converter; @@ -23,7 +21,6 @@ class Select extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * @param \Magento\Backend\Block\Context $context * @param \Magento\Backend\Block\Widget\Grid\Column\Renderer\Options\Converter $converter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get options from column * * @return array - * @since 2.0.0 */ protected function _getOptions() { @@ -50,7 +46,6 @@ protected function _getOptions() * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select/Extended.php index 5cf40d0d38ccd..bc5cd4ff8fe4b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Select/Extended.php @@ -8,7 +8,6 @@ /** * Class \Magento\Backend\Block\Widget\Grid\Column\Renderer\Select\Extended * - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Select { @@ -16,7 +15,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Select * Prepare data for renderer * * @return array - * @since 2.0.0 */ protected function _getOptions() { 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 bb942c5fbfab8..c79ac3d8a3c85 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 @@ -9,25 +9,21 @@ * Store grid column filter * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var bool - * @since 2.0.0 */ protected $_skipAllStoresLabel = false; /** * @var bool - * @since 2.0.0 */ protected $_skipEmptyStoresLabel = false; /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_systemStore; @@ -35,7 +31,6 @@ class Store extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractR * @param \Magento\Backend\Block\Context $context * @param \Magento\Store\Model\System\Store $systemStore * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -50,7 +45,6 @@ public function __construct( * Retrieve System Store model * * @return \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected function _getStoreModel() { @@ -62,7 +56,6 @@ protected function _getStoreModel() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ protected function _getShowAllStoresLabelFlag() { @@ -78,7 +71,6 @@ protected function _getShowAllStoresLabelFlag() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ protected function _getShowEmptyStoresLabelFlag() { @@ -96,7 +88,6 @@ protected function _getShowEmptyStoresLabelFlag() * @return \Magento\Framework\Phrase|string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -148,7 +139,6 @@ public function render(\Magento\Framework\DataObject $row) * @param \Magento\Framework\DataObject $row * @return \Magento\Framework\Phrase|string * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function renderExport(\Magento\Framework\DataObject $row) { 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 f0bd071e92825..5225f1038a738 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 @@ -12,7 +12,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Text extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -20,7 +19,6 @@ class Text extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * Format variables pattern * * @var string - * @since 2.0.0 */ protected $_variablePattern = '/\\$([a-z0-9_]+)/i'; @@ -29,7 +27,6 @@ class Text extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * * @param DataObject $row * @return string - * @since 2.0.0 */ public function _getValue(DataObject $row) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Wrapline.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Wrapline.php index d412a6add197f..1eacbf87e428f 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Wrapline.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Wrapline.php @@ -9,7 +9,6 @@ * Backend grid item renderer line to wrap * * @api - * @since 2.0.0 */ class Wrapline extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -17,7 +16,6 @@ class Wrapline extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * Default max length of a line at one row * * @var integer - * @since 2.0.0 */ protected $_defaultMaxLineLength = 60; @@ -25,7 +23,6 @@ class Wrapline extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -33,7 +30,6 @@ class Wrapline extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Stdlib\StringUtils $string * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -49,7 +45,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\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 0436e4053db1a..e001c413d9640 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ColumnSet.php @@ -9,13 +9,11 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ColumnSet extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Backend\Model\Widget\Grid\Row\UrlGenerator - * @since 2.0.0 */ protected $_rowUrlGenerator; @@ -23,7 +21,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Column headers visibility * * @var boolean - * @since 2.0.0 */ protected $_headersVisibility = true; @@ -31,7 +28,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Filter visibility * * @var boolean - * @since 2.0.0 */ protected $_filterVisibility = true; @@ -39,7 +35,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Empty grid text * * @var string|null - * @since 2.0.0 */ protected $_emptyText; @@ -47,7 +42,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Empty grid text CSS class * * @var string - * @since 2.0.0 */ protected $_emptyTextCss = 'empty-text'; @@ -55,7 +49,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Label for empty cell * * @var string - * @since 2.0.0 */ protected $_emptyCellLabel = ''; @@ -63,7 +56,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Count subtotals * * @var boolean - * @since 2.0.0 */ protected $_countSubTotals = false; @@ -71,7 +63,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Count totals * * @var boolean - * @since 2.0.0 */ protected $_countTotals = false; @@ -79,13 +70,11 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Columns to group by * * @var string[] - * @since 2.0.0 */ protected $_groupedColumn = []; /** * @var boolean - * @since 2.0.0 */ protected $_isCollapsed; @@ -93,19 +82,16 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * Path to template file in theme * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid/column_set.phtml'; /** * @var \Magento\Backend\Model\Widget\Grid\SubTotals - * @since 2.0.0 */ protected $_subTotals = null; /** * @var \Magento\Backend\Model\Widget\Grid\Totals - * @since 2.0.0 */ protected $_totals = null; @@ -116,7 +102,6 @@ class ColumnSet extends \Magento\Framework\View\Element\Template * @param \Magento\Backend\Model\Widget\Grid\Totals $totals * @param array $data * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -160,7 +145,6 @@ public function __construct( * Retrieve the list of columns * * @return array - * @since 2.0.0 */ public function getColumns() { @@ -177,7 +161,6 @@ public function getColumns() * Count columns * * @return int - * @since 2.0.0 */ public function getColumnCount() { @@ -189,7 +172,6 @@ public function getColumnCount() * * @param bool $value * @return $this - * @since 2.0.0 */ public function setSortable($value) { @@ -207,7 +189,6 @@ public function setSortable($value) * @param string $type * @param string $className * @return $this - * @since 2.0.0 */ public function setRendererType($type, $className) { @@ -223,7 +204,6 @@ public function setRendererType($type, $className) * @param string $type * @param string $className * @return $this - * @since 2.0.0 */ public function setFilterType($type, $className) { @@ -237,7 +217,6 @@ public function setFilterType($type, $className) * Prepare block for rendering * * @return void - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -260,7 +239,6 @@ protected function _beforeToHtml() * * @param \Magento\Framework\DataObject $item * @return string - * @since 2.0.0 */ public function getRowUrl($item) { @@ -276,7 +254,6 @@ public function getRowUrl($item) * * @param \Magento\Framework\DataObject $item * @return array - * @since 2.0.0 */ public function getMultipleRows($item) { @@ -288,7 +265,6 @@ public function getMultipleRows($item) * * @param \Magento\Framework\DataObject $item * @return bool - * @since 2.0.0 */ public function hasMultipleRows($item) { @@ -298,7 +274,6 @@ public function hasMultipleRows($item) /** * Retrieve columns for multiple rows * @return array - * @since 2.0.0 */ public function getMultipleRowColumns() { @@ -314,7 +289,6 @@ public function getMultipleRowColumns() * * @param \Magento\Framework\DataObject $item * @return boolean - * @since 2.0.0 */ public function shouldRenderSubTotal($item) { @@ -325,7 +299,6 @@ public function shouldRenderSubTotal($item) * Check whether total should be rendered * * @return boolean - * @since 2.0.0 */ public function shouldRenderTotal() { @@ -338,7 +311,6 @@ public function shouldRenderTotal() * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return int|false - * @since 2.0.0 */ public function getRowspan($item, $column) { @@ -360,7 +332,6 @@ public function getRowspan($item, $column) * @param string|object $column * @param string $value * @return bool|$this - * @since 2.0.0 */ public function isColumnGrouped($column, $value = null) { @@ -380,7 +351,6 @@ public function isColumnGrouped($column, $value = null) * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return boolean - * @since 2.0.0 */ public function shouldRenderEmptyCell($item, $column) { @@ -391,7 +361,6 @@ public function shouldRenderEmptyCell($item, $column) * Retrieve colspan for empty cell * * @return int - * @since 2.0.0 */ public function getEmptyCellColspan() { @@ -404,7 +373,6 @@ public function getEmptyCellColspan() * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return boolean - * @since 2.0.0 */ public function shouldRenderCell($item, $column) { @@ -422,7 +390,6 @@ public function shouldRenderCell($item, $column) * * @param boolean $visible * @return void - * @since 2.0.0 */ public function setHeadersVisibility($visible = true) { @@ -433,7 +400,6 @@ public function setHeadersVisibility($visible = true) * Return visibility of column headers * * @return boolean - * @since 2.0.0 */ public function isHeaderVisible() { @@ -445,7 +411,6 @@ public function isHeaderVisible() * * @param bool $visible * @return void - * @since 2.0.0 */ public function setFilterVisibility($visible = true) { @@ -456,7 +421,6 @@ public function setFilterVisibility($visible = true) * Return visibility of filter * * @return boolean - * @since 2.0.0 */ public function isFilterVisible() { @@ -468,7 +432,6 @@ public function isFilterVisible() * * @param string $cssClass * @return $this - * @since 2.0.0 */ public function setEmptyTextClass($cssClass) { @@ -480,7 +443,6 @@ public function setEmptyTextClass($cssClass) * Return empty text CSS class * * @return string - * @since 2.0.0 */ public function getEmptyTextClass() { @@ -491,7 +453,6 @@ public function getEmptyTextClass() * Retrieve label for empty cell * * @return string - * @since 2.0.0 */ public function getEmptyCellLabel() { @@ -503,7 +464,6 @@ public function getEmptyCellLabel() * * @param string $label * @return $this - * @since 2.0.0 */ public function setEmptyCellLabel($label) { @@ -516,7 +476,6 @@ public function setEmptyCellLabel($label) * * @param bool $isCollapsed * @return $this - * @since 2.0.0 */ public function setIsCollapsed($isCollapsed) { @@ -529,7 +488,6 @@ public function setIsCollapsed($isCollapsed) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsCollapsed() { @@ -540,7 +498,6 @@ public function getIsCollapsed() * Return grid of current column set * * @return \Magento\Backend\Block\Widget\Grid - * @since 2.0.0 */ public function getGrid() { @@ -551,7 +508,6 @@ public function getGrid() * Return collection of current grid * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getCollection() { @@ -563,7 +519,6 @@ public function getCollection() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setCountSubTotals($flag = true) { @@ -576,7 +531,6 @@ public function setCountSubTotals($flag = true) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCountSubTotals() { @@ -588,7 +542,6 @@ public function getCountSubTotals() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setCountTotals($flag = true) { @@ -601,7 +554,6 @@ public function setCountTotals($flag = true) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCountTotals() { @@ -613,7 +565,6 @@ public function getCountTotals() * * @param \Magento\Framework\DataObject $item * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getSubTotals($item) { @@ -626,7 +577,6 @@ public function getSubTotals($item) * Retrieve subtotal items * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getTotals() { @@ -640,7 +590,6 @@ public function getTotals() * * @param \Magento\Framework\DataObject $item * @return void - * @since 2.0.0 */ public function updateItemByFirstMultiRow(\Magento\Framework\DataObject $item) { @@ -658,7 +607,6 @@ public function updateItemByFirstMultiRow(\Magento\Framework\DataObject $item) * Prepare sub-total object for counting sub-totals * * @return void - * @since 2.0.0 */ public function _prepareSubTotals() { @@ -676,7 +624,6 @@ public function _prepareSubTotals() * Prepare total object for counting totals * * @return void - * @since 2.0.0 */ public function _prepareTotals() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Container.php b/app/code/Magento/Backend/Block/Widget/Grid/Container.php index d7ab333a85bef..93e3ab257ab29 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Container.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Container.php @@ -12,7 +12,6 @@ * @SuppressWarnings(PHPMD.NumberOfChildren) * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Container extends \Magento\Backend\Block\Widget\Container { @@ -27,27 +26,21 @@ class Container extends \Magento\Backend\Block\Widget\Container /**#@-*/ - /** - * @var string - * @since 2.0.0 - */ + /**#@-*/ protected $_addButtonLabel; /** * @var string - * @since 2.0.0 */ protected $_backButtonLabel; /** * @var string - * @since 2.0.0 */ protected $_blockGroup = 'Magento_Backend'; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid/container.phtml'; @@ -55,7 +48,6 @@ class Container extends \Magento\Backend\Block\Widget\Container * Initialize object state with incoming parameters * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -84,7 +76,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareLayout() { @@ -113,7 +104,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getCreateUrl() { @@ -122,7 +112,6 @@ public function getCreateUrl() /** * @return string - * @since 2.0.0 */ public function getGridHtml() { @@ -131,7 +120,6 @@ public function getGridHtml() /** * @return string - * @since 2.0.0 */ public function getAddButtonLabel() { @@ -140,7 +128,6 @@ public function getAddButtonLabel() /** * @return string - * @since 2.0.0 */ public function getBackButtonLabel() { @@ -151,7 +138,6 @@ public function getBackButtonLabel() * Create "New" button * * @return void - * @since 2.0.0 */ protected function _addNewButton() { @@ -167,7 +153,6 @@ protected function _addNewButton() /** * @return void - * @since 2.0.0 */ protected function _addBackButton() { @@ -183,7 +168,6 @@ protected function _addBackButton() /** * {@inheritdoc} - * @since 2.0.0 */ public function getHeaderCssClass() { @@ -192,7 +176,6 @@ public function getHeaderCssClass() /** * @return string - * @since 2.0.0 */ public function getHeaderWidth() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Export.php b/app/code/Magento/Backend/Block/Widget/Grid/Export.php index 894428b6b0955..d829e14202c4d 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Export.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Export.php @@ -12,7 +12,6 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Grid\ExportInterface { @@ -20,7 +19,6 @@ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * Grid export types * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $_exportTypes = []; @@ -28,7 +26,6 @@ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * Rows per page for import * * @var int - * @since 2.0.0 */ protected $_exportPageSize = 1000; @@ -36,19 +33,16 @@ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * Template file name * * @var string - * @since 2.0.0 */ protected $_template = "Magento_Backend::widget/grid/export.phtml"; /** * @var \Magento\Framework\Data\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_directory; @@ -56,7 +50,6 @@ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * Additional path to folder * * @var string - * @since 2.0.0 */ protected $_path = 'export'; @@ -64,7 +57,6 @@ class Export extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Data\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -78,7 +70,6 @@ public function __construct( /** * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _construct() { @@ -100,7 +91,6 @@ protected function _construct() * Retrieve grid columns * * @return \Magento\Backend\Block\Widget\Grid\Column[] - * @since 2.0.0 */ protected function _getColumns() { @@ -111,7 +101,6 @@ protected function _getColumns() * Retrieve totals * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _getTotals() { @@ -123,7 +112,6 @@ protected function _getTotals() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCountTotals() { @@ -134,7 +122,6 @@ public function getCountTotals() * Get collection object * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ protected function _getCollection() { @@ -145,7 +132,6 @@ protected function _getCollection() * Retrieve grid export types * * @return \Magento\Framework\DataObject[]|false - * @since 2.0.0 */ public function getExportTypes() { @@ -156,7 +142,6 @@ public function getExportTypes() * Retrieve grid id * * @return string - * @since 2.0.0 */ public function getId() { @@ -167,7 +152,6 @@ public function getId() * Prepare export button * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -190,7 +174,6 @@ protected function _prepareLayout() * Render export button * * @return string - * @since 2.0.0 */ public function getExportButtonHtml() { @@ -203,7 +186,6 @@ public function getExportButtonHtml() * @param string $url * @param string $label * @return $this - * @since 2.0.0 */ public function addExportType($url, $label) { @@ -218,7 +200,6 @@ public function addExportType($url, $label) * * @param array $fileData * @return string - * @since 2.0.0 */ protected function _getFileContainerContent(array $fileData) { @@ -229,7 +210,6 @@ protected function _getFileContainerContent(array $fileData) * Retrieve Headers row array for Export * * @return string[] - * @since 2.0.0 */ protected function _getExportHeaders() { @@ -246,7 +226,6 @@ protected function _getExportHeaders() * Retrieve Totals row array for Export * * @return string[] - * @since 2.0.0 */ protected function _getExportTotals() { @@ -267,7 +246,6 @@ protected function _getExportTotals() * @param string $callback * @param array $args additional arguments for callback method * @return void - * @since 2.0.0 */ public function _exportIterateCollection($callback, array $args) { @@ -305,7 +283,6 @@ public function _exportIterateCollection($callback, array $args) * @param \Magento\Framework\DataObject $item * @param \Magento\Framework\Filesystem\File\WriteInterface $stream * @return void - * @since 2.0.0 */ protected function _exportCsvItem( \Magento\Framework\DataObject $item, @@ -326,7 +303,6 @@ protected function _exportCsvItem( * Return array with keys type and value * * @return array - * @since 2.0.0 */ public function getCsvFile() { @@ -356,7 +332,6 @@ public function getCsvFile() * Retrieve Grid data as CSV * * @return string - * @since 2.0.0 */ public function getCsv() { @@ -406,7 +381,6 @@ public function getCsv() * Retrieve data in xml * * @return string - * @since 2.0.0 */ public function getXml() { @@ -435,7 +409,6 @@ public function getXml() * * @param \Magento\Framework\DataObject $data * @return string[] - * @since 2.0.0 */ public function getRowRecord(\Magento\Framework\DataObject $data) { @@ -455,7 +428,6 @@ public function getRowRecord(\Magento\Framework\DataObject $data) * * @param string $sheetName * @return array - * @since 2.0.0 */ public function getExcelFile($sheetName = '') { @@ -490,7 +462,6 @@ public function getExcelFile($sheetName = '') * Retrieve grid data as MS Excel 2003 XML Document * * @return string - * @since 2.0.0 */ public function getExcel() { @@ -534,7 +505,6 @@ public function getExcel() * * @param \Magento\Framework\Data\Collection $baseCollection * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ protected function _getRowCollection(\Magento\Framework\Data\Collection $baseCollection = null) { @@ -568,7 +538,6 @@ protected function _getRowCollection(\Magento\Framework\Data\Collection $baseCol * Return prepared collection as row collection with additional conditions * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function _getPreparedCollection() { @@ -582,7 +551,6 @@ public function _getPreparedCollection() /** * @return int - * @since 2.0.0 */ public function getExportPageSize() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php index 4c4bd2b6c93ea..335f17ea00cfa 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/ExportInterface.php @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ interface ExportInterface { @@ -19,7 +18,6 @@ interface ExportInterface * * @return array|bool * @api - * @since 2.0.0 */ public function getExportTypes(); @@ -28,7 +26,6 @@ public function getExportTypes(); * * @return string * @api - * @since 2.0.0 */ public function getId(); @@ -36,7 +33,6 @@ public function getId(); * Render export button * * @return string - * @since 2.0.0 */ public function getExportButtonHtml(); @@ -46,7 +42,6 @@ public function getExportButtonHtml(); * @param string $url * @param string $label * @return \Magento\Backend\Block\Widget\Grid - * @since 2.0.0 */ public function addExportType($url, $label); @@ -57,7 +52,6 @@ public function addExportType($url, $label); * * @return array * @api - * @since 2.0.0 */ public function getCsvFile(); @@ -66,7 +60,6 @@ public function getCsvFile(); * * @return string * @api - * @since 2.0.0 */ public function getCsv(); @@ -75,7 +68,6 @@ public function getCsv(); * * @return string * @api - * @since 2.0.0 */ public function getXml(); @@ -87,7 +79,6 @@ public function getXml(); * @param string $sheetName * @return array * @api - * @since 2.0.0 */ public function getExcelFile($sheetName = ''); @@ -96,7 +87,6 @@ public function getExcelFile($sheetName = ''); * * @return string * @api - * @since 2.0.0 */ public function getExcel(); } diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php index 6823ddbfa342f..9fb37fb840f84 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php @@ -15,7 +15,6 @@ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Backend\Block\Widget\Grid\ExportInterface { @@ -32,7 +31,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * 'total' => string (sum, avg) * ) * @var array - * @since 2.0.0 */ protected $_columns = []; @@ -40,7 +38,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Collection object * * @var \Magento\Framework\Data\Collection - * @since 2.0.0 */ protected $_collection; @@ -48,7 +45,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Export flag * * @var bool - * @since 2.0.0 */ protected $_isExport = false; @@ -56,7 +52,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Grid export types * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $_exportTypes = []; @@ -64,7 +59,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Rows per page for import * * @var int - * @since 2.0.0 */ protected $_exportPageSize = 1000; @@ -72,7 +66,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Identifier of last grid column * * @var string - * @since 2.0.0 */ protected $_lastColumnId; @@ -80,7 +73,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Massaction row id field * * @var string - * @since 2.0.0 */ protected $_massactionIdField; @@ -88,7 +80,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Massaction row id filter * * @var string - * @since 2.0.0 */ protected $_massactionIdFilter; @@ -96,7 +87,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Massaction block name * * @var string - * @since 2.0.0 */ protected $_massactionBlockName = \Magento\Backend\Block\Widget\Grid\Massaction\Extended::class; @@ -104,7 +94,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Columns view order * * @var array - * @since 2.0.0 */ protected $_columnsOrder = []; @@ -112,7 +101,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Label for empty cell * * @var string - * @since 2.0.0 */ protected $_emptyCellLabel = ''; @@ -120,7 +108,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Columns to group by * * @var string[] - * @since 2.0.0 */ protected $_groupedColumn = []; @@ -128,7 +115,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Column headers visibility * * @var boolean - * @since 2.0.0 */ protected $_headersVisibility = true; @@ -136,7 +122,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Filter visibility * * @var boolean - * @since 2.0.0 */ protected $_filterVisibility = true; @@ -144,7 +129,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Empty grid text * * @var string|null - * @since 2.0.0 */ protected $_emptyText; @@ -152,13 +136,11 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Empty grid text CSS class * * @var string|null - * @since 2.0.0 */ protected $_emptyTextCss = 'empty-text'; /** * @var bool - * @since 2.0.0 */ protected $_isCollapsed; @@ -166,7 +148,6 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Count subtotals * * @var boolean - * @since 2.0.0 */ protected $_countSubTotals = false; @@ -174,19 +155,16 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * SubTotals * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $_subtotals = []; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid/extended.phtml'; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_directory; @@ -194,13 +172,11 @@ class Extended extends \Magento\Backend\Block\Widget\Grid implements \Magento\Ba * Additional path to folder * * @var string - * @since 2.0.0 */ protected $_path = 'export'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -214,7 +190,6 @@ protected function _construct() * Initialize child blocks * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -263,7 +238,6 @@ protected function _prepareLayout() * Retrieve column set block * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ public function getColumnSet() { @@ -280,7 +254,6 @@ public function getColumnSet() * Generate export button * * @return string - * @since 2.0.0 */ public function getExportButtonHtml() { @@ -293,7 +266,6 @@ public function getExportButtonHtml() * @param string $url * @param string $label * @return $this - * @since 2.0.0 */ public function addExportType($url, $label) { @@ -310,7 +282,6 @@ public function addExportType($url, $label) * @param array|\Magento\Framework\DataObject $column * @return $this * @throws \Exception - * @since 2.0.0 */ public function addColumn($columnId, $column) { @@ -337,7 +308,6 @@ public function addColumn($columnId, $column) * * @param string $columnId * @return $this - * @since 2.0.0 */ public function removeColumn($columnId) { @@ -357,7 +327,6 @@ public function removeColumn($columnId) * @param array|\Magento\Framework\DataObject $column * @param string $after * @return $this - * @since 2.0.0 */ public function addColumnAfter($columnId, $column, $after) { @@ -372,7 +341,6 @@ public function addColumnAfter($columnId, $column, $after) * @param string $columnId * @param string $after * @return $this - * @since 2.0.0 */ public function addColumnsOrder($columnId, $after) { @@ -384,7 +352,6 @@ public function addColumnsOrder($columnId, $after) * Retrieve columns order * * @return array - * @since 2.0.0 */ public function getColumnsOrder() { @@ -395,7 +362,6 @@ public function getColumnsOrder() * Sort columns by predefined order * * @return $this - * @since 2.0.0 */ public function sortColumnsByOrder() { @@ -416,7 +382,6 @@ public function sortColumnsByOrder() * Retrieve identifier of last column * * @return string - * @since 2.0.0 */ public function getLastColumnId() { @@ -427,7 +392,6 @@ public function getLastColumnId() * Initialize grid columns * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -439,7 +403,6 @@ protected function _prepareColumns() * Prepare grid massaction block * * @return $this - * @since 2.0.0 */ protected function _prepareMassactionBlock() { @@ -455,7 +418,6 @@ protected function _prepareMassactionBlock() * Prepare grid massaction actions * * @return $this - * @since 2.0.0 */ protected function _prepareMassaction() { @@ -466,7 +428,6 @@ protected function _prepareMassaction() * Prepare grid massaction column * * @return $this - * @since 2.0.0 */ protected function _prepareMassactionColumn() { @@ -504,7 +465,6 @@ protected function _prepareMassactionColumn() * Apply sorting and filtering to collection * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -528,7 +488,6 @@ protected function _prepareCollection() * Process collection after loading * * @return $this - * @since 2.0.0 */ protected function _afterLoadCollection() { @@ -539,7 +498,6 @@ protected function _afterLoadCollection() * Initialize grid before rendering * * @return $this - * @since 2.0.0 */ protected function _prepareGrid() { @@ -553,7 +511,6 @@ protected function _prepareGrid() * Retrieve grid HTML * * @return string - * @since 2.0.0 */ public function getHtml() { @@ -564,7 +521,6 @@ public function getHtml() * Retrieve massaction row identifier field * * @return string - * @since 2.0.0 */ public function getMassactionIdField() { @@ -576,7 +532,6 @@ public function getMassactionIdField() * * @param string $idField * @return $this - * @since 2.0.0 */ public function setMassactionIdField($idField) { @@ -588,7 +543,6 @@ public function setMassactionIdField($idField) * Retrieve massaction row identifier filter * * @return string - * @since 2.0.0 */ public function getMassactionIdFilter() { @@ -600,7 +554,6 @@ public function getMassactionIdFilter() * * @param string $idFilter * @return $this - * @since 2.0.0 */ public function setMassactionIdFilter($idFilter) { @@ -612,7 +565,6 @@ public function setMassactionIdFilter($idFilter) * Retrieve massaction block name * * @return string - * @since 2.0.0 */ public function getMassactionBlockName() { @@ -624,7 +576,6 @@ public function getMassactionBlockName() * * @param string $blockName * @return $this - * @since 2.0.0 */ public function setMassactionBlockName($blockName) { @@ -636,7 +587,6 @@ public function setMassactionBlockName($blockName) * Retrieve massaction block * * @return $this - * @since 2.0.0 */ public function getMassactionBlock() { @@ -647,7 +597,6 @@ public function getMassactionBlock() * Generate massaction block * * @return string - * @since 2.0.0 */ public function getMassactionBlockHtml() { @@ -658,7 +607,6 @@ public function getMassactionBlockHtml() * Retrieve columns to render * * @return array - * @since 2.0.0 */ public function getSubTotalColumns() { @@ -671,7 +619,6 @@ public function getSubTotalColumns() * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return boolean - * @since 2.0.0 */ public function shouldRenderCell($item, $column) { @@ -688,7 +635,6 @@ public function shouldRenderCell($item, $column) * Retrieve label for empty cell * * @return string - * @since 2.0.0 */ public function getEmptyCellLabel() { @@ -700,7 +646,6 @@ public function getEmptyCellLabel() * * @param string $label * @return $this - * @since 2.0.0 */ public function setEmptyCellLabel($label) { @@ -713,7 +658,6 @@ public function setEmptyCellLabel($label) * * @param \Magento\Catalog\Model\Product|\Magento\Framework\DataObject $item * @return string - * @since 2.0.0 */ public function getRowUrl($item) { @@ -726,7 +670,6 @@ public function getRowUrl($item) * * @param \Magento\Framework\DataObject $item * @return array - * @since 2.0.0 */ public function getMultipleRows($item) { @@ -736,7 +679,6 @@ public function getMultipleRows($item) /** * Retrieve columns for multiple rows * @return array - * @since 2.0.0 */ public function getMultipleRowColumns() { @@ -752,7 +694,6 @@ public function getMultipleRowColumns() * * @param \Magento\Framework\DataObject $item * @return boolean - * @since 2.0.0 */ public function shouldRenderSubTotal($item) { @@ -765,7 +706,6 @@ public function shouldRenderSubTotal($item) * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return int|false - * @since 2.0.0 */ public function getRowspan($item, $column) { @@ -781,7 +721,6 @@ public function getRowspan($item, $column) * @param string|object $column * @param string $value * @return boolean|$this - * @since 2.0.0 */ public function isColumnGrouped($column, $value = null) { @@ -801,7 +740,6 @@ public function isColumnGrouped($column, $value = null) * @param \Magento\Framework\DataObject $item * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return boolean - * @since 2.0.0 */ public function shouldRenderEmptyCell($item, $column) { @@ -812,7 +750,6 @@ public function shouldRenderEmptyCell($item, $column) * Retrieve colspan for empty cell * * @return int - * @since 2.0.0 */ public function getEmptyCellColspan() { @@ -824,7 +761,6 @@ public function getEmptyCellColspan() * * @param \Magento\Framework\DataObject $item * @return \Magento\Framework\DataObject|string - * @since 2.0.0 */ public function getSubTotalItem($item) { @@ -842,7 +778,6 @@ public function getSubTotalItem($item) * Count columns * * @return int - * @since 2.0.0 */ public function getColumnCount() { @@ -854,7 +789,6 @@ public function getColumnCount() * * @param bool $visible * @return void - * @since 2.0.0 */ public function setHeadersVisibility($visible = true) { @@ -866,7 +800,6 @@ public function setHeadersVisibility($visible = true) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getHeadersVisibility() { @@ -878,7 +811,6 @@ public function getHeadersVisibility() * * @param bool $visible * @return void - * @since 2.0.0 */ public function setFilterVisibility($visible = true) { @@ -890,7 +822,6 @@ public function setFilterVisibility($visible = true) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getFilterVisibility() { @@ -902,7 +833,6 @@ public function getFilterVisibility() * * @param string $text * @return $this - * @since 2.0.0 */ public function setEmptyText($text) { @@ -914,7 +844,6 @@ public function setEmptyText($text) * Return empty text for grid * * @return string - * @since 2.0.0 */ public function getEmptyText() { @@ -926,7 +855,6 @@ public function getEmptyText() * * @param string $cssClass * @return $this - * @since 2.0.0 */ public function setEmptyTextClass($cssClass) { @@ -938,7 +866,6 @@ public function setEmptyTextClass($cssClass) * Return empty text CSS class * * @return string - * @since 2.0.0 */ public function getEmptyTextClass() { @@ -950,7 +877,6 @@ public function getEmptyTextClass() * * @param bool $isCollapsed * @return $this - * @since 2.0.0 */ public function setIsCollapsed($isCollapsed) { @@ -963,7 +889,6 @@ public function setIsCollapsed($isCollapsed) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsCollapsed() { @@ -975,7 +900,6 @@ public function getIsCollapsed() * * @param array $fileData * @return string - * @since 2.0.0 */ protected function _getFileContainerContent(array $fileData) { @@ -986,7 +910,6 @@ protected function _getFileContainerContent(array $fileData) * Retrieve Headers row array for Export * * @return string[] - * @since 2.0.0 */ protected function _getExportHeaders() { @@ -1003,7 +926,6 @@ protected function _getExportHeaders() * Retrieve Totals row array for Export * * @return string[] - * @since 2.0.0 */ protected function _getExportTotals() { @@ -1024,7 +946,6 @@ protected function _getExportTotals() * @param string $callback * @param array $args additional arguments for callback method * @return void - * @since 2.0.0 */ public function _exportIterateCollection($callback, array $args) { @@ -1060,7 +981,6 @@ public function _exportIterateCollection($callback, array $args) * @param \Magento\Framework\DataObject $item * @param \Magento\Framework\Filesystem\File\WriteInterface $stream * @return void - * @since 2.0.0 */ protected function _exportCsvItem( \Magento\Framework\DataObject $item, @@ -1081,7 +1001,6 @@ protected function _exportCsvItem( * Return array with keys type and value * * @return array - * @since 2.0.0 */ public function getCsvFile() { @@ -1116,7 +1035,6 @@ public function getCsvFile() * Retrieve Grid data as CSV * * @return string - * @since 2.0.0 */ public function getCsv() { @@ -1171,7 +1089,6 @@ public function getCsv() * Retrieve data in xml * * @return string - * @since 2.0.0 */ public function getXml() { @@ -1204,7 +1121,6 @@ public function getXml() * * @param \Magento\Framework\DataObject $data * @return string[] - * @since 2.0.0 */ public function getRowRecord(\Magento\Framework\DataObject $data) { @@ -1224,7 +1140,6 @@ public function getRowRecord(\Magento\Framework\DataObject $data) * * @param string $sheetName * @return array - * @since 2.0.0 */ public function getExcelFile($sheetName = '') { @@ -1263,7 +1178,6 @@ public function getExcelFile($sheetName = '') * Retrieve grid data as MS Excel 2003 XML Document * * @return string - * @since 2.0.0 */ public function getExcel() { @@ -1310,7 +1224,6 @@ public function getExcel() * Retrieve grid export types * * @return \Magento\Framework\DataObject[]|false - * @since 2.0.0 */ public function getExportTypes() { @@ -1322,7 +1235,6 @@ public function getExportTypes() * * @param \Magento\Framework\Data\Collection $collection * @return void - * @since 2.0.0 */ public function setCollection($collection) { @@ -1333,7 +1245,6 @@ public function setCollection($collection) * get collection object * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getCollection() { @@ -1345,7 +1256,6 @@ public function getCollection() * * @param boolean $flag * @return $this - * @since 2.0.0 */ public function setCountSubTotals($flag = true) { @@ -1358,7 +1268,6 @@ public function setCountSubTotals($flag = true) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCountSubTotals() { @@ -1370,7 +1279,6 @@ public function getCountSubTotals() * * @param \Magento\Framework\DataObject[] $items * @return $this - * @since 2.0.0 */ public function setSubTotals(array $items) { @@ -1382,7 +1290,6 @@ public function setSubTotals(array $items) * Retrieve subtotal items * * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getSubTotals() { @@ -1393,7 +1300,6 @@ public function getSubTotals() * Generate list of grid buttons * * @return string - * @since 2.0.0 */ public function getMainButtonsHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php index 80a33491ee5a1..a768e3e17dca6 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction.php @@ -10,7 +10,6 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ 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 f31e49c15ac4c..0a72c459c7ae0 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/AbstractMassaction.php @@ -15,13 +15,11 @@ * @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 - * @since 2.0.0 */ abstract class AbstractMassaction extends \Magento\Backend\Block\Widget { /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -29,13 +27,11 @@ abstract class AbstractMassaction extends \Magento\Backend\Block\Widget * Massaction items * * @var array - * @since 2.0.0 */ protected $_items = []; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid/massaction.phtml'; @@ -43,7 +39,6 @@ abstract class AbstractMassaction extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -56,7 +51,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -88,7 +82,6 @@ protected function _construct() * @param string $itemId * @param array|DataObject $item * @return $this - * @since 2.0.0 */ public function addItem($itemId, $item) { @@ -124,7 +117,6 @@ private function isVisible(DataObject $item) * * @param string $itemId * @return \Magento\Backend\Block\Widget\Grid\Massaction\Item|null - * @since 2.0.0 */ public function getItem($itemId) { @@ -139,7 +131,6 @@ public function getItem($itemId) * Retrieve massaction items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -150,7 +141,6 @@ public function getItems() * Retrieve massaction items JSON * * @return string - * @since 2.0.0 */ public function getItemsJson() { @@ -166,7 +156,6 @@ public function getItemsJson() * Retrieve massaction items count * * @return integer - * @since 2.0.0 */ public function getCount() { @@ -177,7 +166,6 @@ public function getCount() * Checks are massactions available * * @return boolean - * @since 2.0.0 */ public function isAvailable() { @@ -188,7 +176,6 @@ public function isAvailable() * Retrieve global form field name for all massaction items * * @return string - * @since 2.0.0 */ public function getFormFieldName() { @@ -199,7 +186,6 @@ public function getFormFieldName() * Retrieve form field name for internal use. Based on $this->getFormFieldName() * * @return string - * @since 2.0.0 */ public function getFormFieldNameInternal() { @@ -210,7 +196,6 @@ public function getFormFieldNameInternal() * Retrieve massaction block js object name * * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -221,7 +206,6 @@ public function getJsObjectName() * Retrieve grid block js object name * * @return string - * @since 2.0.0 */ public function getGridJsObjectName() { @@ -232,7 +216,6 @@ public function getGridJsObjectName() * Retrieve JSON string of selected checkboxes * * @return string - * @since 2.0.0 */ public function getSelectedJson() { @@ -248,7 +231,6 @@ public function getSelectedJson() * Retrieve array of selected checkboxes * * @return string[] - * @since 2.0.0 */ public function getSelected() { @@ -264,7 +246,6 @@ public function getSelected() * Retrieve apply button html * * @return string - * @since 2.0.0 */ public function getApplyButtonHtml() { @@ -273,7 +254,6 @@ public function getApplyButtonHtml() /** * @return string - * @since 2.0.0 */ public function getJavaScript() { @@ -290,7 +270,6 @@ public function getJavaScript() /** * @return string - * @since 2.0.0 */ public function getGridIdsJson() { @@ -315,7 +294,6 @@ public function getGridIdsJson() /** * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -327,7 +305,6 @@ public function getHtmlId() * * @param string $itemId * @return $this - * @since 2.0.0 */ public function removeItem($itemId) { @@ -343,7 +320,6 @@ public function removeItem($itemId) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseSelectAll() { @@ -355,7 +331,6 @@ public function getUseSelectAll() * * @param boolean $flag * @return $this - * @since 2.0.0 */ public function setUseSelectAll($flag) { @@ -367,7 +342,6 @@ public function setUseSelectAll($flag) * Prepare grid massaction column * * @return $this - * @since 2.0.0 */ public function prepareMassactionColumn() { 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 cda9b6349a399..20e394c17d477 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php @@ -10,13 +10,11 @@ * @SuppressWarnings(PHPMD.DepthOfInheritance) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Additional extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Framework\View\Layout\Argument\Interpreter\Options - * @since 2.0.0 */ protected $_optionsInterpreter; @@ -26,7 +24,6 @@ class Additional extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Framework\View\Layout\Argument\Interpreter\Options $optionsInterpreter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -43,7 +40,6 @@ public function __construct( * Prepare form before rendering HTML * * @return $this - * @since 2.0.0 */ protected function _prepareForm() { @@ -62,7 +58,6 @@ protected function _prepareForm() * * @param array &$item * @return void - * @since 2.0.0 */ protected function _prepareFormItem(array &$item) { 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 1201ea29ef8a0..ac47f22a74ec8 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Extended.php @@ -14,7 +14,6 @@ * @method boolean getHideFormElement() * @author Magento Core Team * @TODO MAGETWO-31510: Remove deprecated class - * @since 2.0.0 */ class Extended extends \Magento\Backend\Block\Widget { @@ -22,7 +21,6 @@ class Extended extends \Magento\Backend\Block\Widget * Massaction items * * @var array - * @since 2.0.0 */ protected $_items = []; @@ -30,7 +28,6 @@ class Extended extends \Magento\Backend\Block\Widget * Path to template file in theme * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/grid/massaction_extended.phtml'; @@ -38,13 +35,11 @@ class Extended extends \Magento\Backend\Block\Widget * Backend data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData = null; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -53,7 +48,6 @@ class Extended extends \Magento\Backend\Block\Widget * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Backend\Helper\Data $backendData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -70,7 +64,6 @@ public function __construct( * Sets Massaction template * * @return void - * @since 2.0.0 */ public function _construct() { @@ -93,7 +86,6 @@ public function _construct() * @param string $itemId * @param array $item * @return $this - * @since 2.0.0 */ public function addItem($itemId, array $item) { @@ -120,7 +112,6 @@ public function addItem($itemId, array $item) * * @param string $itemId * @return \Magento\Backend\Block\Widget\Grid\Massaction\Item|null - * @since 2.0.0 */ public function getItem($itemId) { @@ -135,7 +126,6 @@ public function getItem($itemId) * Retrieve massaction items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -146,7 +136,6 @@ public function getItems() * Retrieve massaction items JSON * * @return string - * @since 2.0.0 */ public function getItemsJson() { @@ -162,7 +151,6 @@ public function getItemsJson() * Retrieve massaction items count * * @return integer - * @since 2.0.0 */ public function getCount() { @@ -173,7 +161,6 @@ public function getCount() * Checks are massactions available * * @return boolean - * @since 2.0.0 */ public function isAvailable() { @@ -184,7 +171,6 @@ public function isAvailable() * Retrieve global form field name for all massaction items * * @return string - * @since 2.0.0 */ public function getFormFieldName() { @@ -195,7 +181,6 @@ public function getFormFieldName() * Retrieve form field name for internal use. Based on $this->getFormFieldName() * * @return string - * @since 2.0.0 */ public function getFormFieldNameInternal() { @@ -206,7 +191,6 @@ public function getFormFieldNameInternal() * Retrieve massaction block js object name * * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -217,7 +201,6 @@ public function getJsObjectName() * Retrieve grid block js object name * * @return string - * @since 2.0.0 */ public function getGridJsObjectName() { @@ -228,7 +211,6 @@ public function getGridJsObjectName() * Retrieve JSON string of selected checkboxes * * @return string - * @since 2.0.0 */ public function getSelectedJson() { @@ -244,7 +226,6 @@ public function getSelectedJson() * Retrieve array of selected checkboxes * * @return string[] - * @since 2.0.0 */ public function getSelected() { @@ -260,7 +241,6 @@ public function getSelected() * Retrieve apply button html * * @return string - * @since 2.0.0 */ public function getApplyButtonHtml() { @@ -269,7 +249,6 @@ public function getApplyButtonHtml() /** * @return string - * @since 2.0.0 */ public function getJavaScript() { @@ -286,7 +265,6 @@ public function getJavaScript() /** * @return string - * @since 2.0.0 */ public function getGridIdsJson() { @@ -313,7 +291,6 @@ public function getGridIdsJson() /** * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -325,7 +302,6 @@ public function getHtmlId() * * @param string $itemId * @return $this - * @since 2.0.0 */ public function removeItem($itemId) { @@ -341,7 +317,6 @@ public function removeItem($itemId) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseSelectAll() { @@ -353,7 +328,6 @@ public function getUseSelectAll() * * @param boolean $flag * @return $this - * @since 2.0.0 */ public function setUseSelectAll($flag) { 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 117757144f4e5..27de7eecded70 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item.php @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 in favour of UI component implementation - * @since 2.0.0 */ class Item extends \Magento\Backend\Block\Widget { /** * @var Extended - * @since 2.0.0 */ protected $_massaction = null; @@ -25,7 +23,6 @@ class Item extends \Magento\Backend\Block\Widget * * @param Extended $massaction * @return $this - * @since 2.0.0 */ public function setMassaction($massaction) { @@ -37,7 +34,6 @@ public function setMassaction($massaction) * Retrieve parent massaction block * * @return Extended - * @since 2.0.0 */ public function getMassaction() { @@ -50,7 +46,6 @@ public function getMassaction() * @param string|\Magento\Framework\View\Element\AbstractBlock $block * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function setAdditionalActionBlock($block) { @@ -69,7 +64,6 @@ public function setAdditionalActionBlock($block) /** * @param array $config * @return \Magento\Framework\View\Element\BlockInterface - * @since 2.0.0 */ protected function _createFromConfig(array $config) { @@ -89,7 +83,6 @@ protected function _createFromConfig(array $config) * Retrieve additional action block for this item * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ public function getAdditionalActionBlock() { @@ -100,7 +93,6 @@ public function getAdditionalActionBlock() * Retrieve additional action block HTML for this item * * @return string - * @since 2.0.0 */ public function getAdditionalActionBlockHtml() { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/AdditionalInterface.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/AdditionalInterface.php index 065cb4c394346..a85555220bee0 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/AdditionalInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/AdditionalInterface.php @@ -9,7 +9,6 @@ * Backend grid widget massaction item additional action interface * * @author Magento Core Team - * @since 2.0.0 */ interface AdditionalInterface { @@ -17,7 +16,6 @@ interface AdditionalInterface * @param array $configuration * @return $this * @api - * @since 2.0.0 */ public function createFromConfiguration(array $configuration); } diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/DefaultAdditional.php b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/DefaultAdditional.php index 789c10e061480..be7bd4105a373 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/DefaultAdditional.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Massaction/Item/Additional/DefaultAdditional.php @@ -9,14 +9,12 @@ * Backend grid widget massaction item additional action default * * @author Magento Core Team - * @since 2.0.0 */ class DefaultAdditional extends \Magento\Backend\Block\Widget\Form\Generic implements \Magento\Backend\Block\Widget\Grid\Massaction\Item\Additional\AdditionalInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function createFromConfiguration(array $configuration) { diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php index 759da7f5c0f52..34424f037c424 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Serializer.php @@ -9,13 +9,11 @@ * @api * @deprecated 2.2.0 in favour of UI component implementation * @method string|array getInputNames() - * @since 2.0.0 */ class Serializer extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -23,7 +21,6 @@ class Serializer extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Preparing global layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -56,7 +52,6 @@ protected function _prepareLayout() * Set serializer template * * @return void - * @since 2.0.0 */ public function _construct() { @@ -69,7 +64,6 @@ public function _construct() * * @param bool $asJSON * @return string|array - * @since 2.0.0 */ public function getColumnInputNames($asJSON = false) { @@ -83,7 +77,6 @@ public function getColumnInputNames($asJSON = false) * Get object data as JSON * * @return string - * @since 2.0.0 */ public function getDataAsJSON() { diff --git a/app/code/Magento/Backend/Block/Widget/Tab.php b/app/code/Magento/Backend/Block/Widget/Tab.php index 34e1b94dda465..96d55e00261e9 100644 --- a/app/code/Magento/Backend/Block/Widget/Tab.php +++ b/app/code/Magento/Backend/Block/Widget/Tab.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Tab extends \Magento\Backend\Block\Template implements TabInterface { @@ -18,7 +17,6 @@ class Tab extends \Magento\Backend\Block\Template implements TabInterface * Return Tab label * * @return string - * @since 2.0.0 */ public function getTabLabel() { @@ -29,7 +27,6 @@ public function getTabLabel() * Return Tab title * * @return string - * @since 2.0.0 */ public function getTabTitle() { @@ -40,7 +37,6 @@ public function getTabTitle() * Can show tab in tabs * * @return boolean - * @since 2.0.0 */ public function canShowTab() { @@ -51,7 +47,6 @@ public function canShowTab() * Tab is hidden * * @return boolean - * @since 2.0.0 */ public function isHidden() { @@ -60,7 +55,6 @@ public function isHidden() /** * @return string - * @since 2.0.0 */ public function getTabClass() { @@ -69,7 +63,6 @@ public function getTabClass() /** * @return string - * @since 2.0.0 */ public function getTabUrl() { diff --git a/app/code/Magento/Backend/Block/Widget/Tab/TabInterface.php b/app/code/Magento/Backend/Block/Widget/Tab/TabInterface.php index 6d99dc20839d3..bf55470ab5935 100644 --- a/app/code/Magento/Backend/Block/Widget/Tab/TabInterface.php +++ b/app/code/Magento/Backend/Block/Widget/Tab/TabInterface.php @@ -9,7 +9,6 @@ * Backend Widget Tab Interface * * @api - * @since 2.0.0 */ interface TabInterface { @@ -18,7 +17,6 @@ interface TabInterface * * @return string * @api - * @since 2.0.0 */ public function getTabLabel(); @@ -27,7 +25,6 @@ public function getTabLabel(); * * @return string * @api - * @since 2.0.0 */ public function getTabTitle(); @@ -36,7 +33,6 @@ public function getTabTitle(); * * @return boolean * @api - * @since 2.0.0 */ public function canShowTab(); @@ -45,7 +41,6 @@ public function canShowTab(); * * @return boolean * @api - * @since 2.0.0 */ public function isHidden(); } diff --git a/app/code/Magento/Backend/Block/Widget/Tabs.php b/app/code/Magento/Backend/Block/Widget/Tabs.php index a2ef6015ce796..ce3e37afe91dd 100644 --- a/app/code/Magento/Backend/Block/Widget/Tabs.php +++ b/app/code/Magento/Backend/Block/Widget/Tabs.php @@ -10,7 +10,6 @@ /** * @api * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Tabs extends \Magento\Backend\Block\Widget { @@ -18,7 +17,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Tabs structure * * @var array - * @since 2.0.0 */ protected $_tabs = []; @@ -26,7 +24,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Active tab key * * @var string - * @since 2.0.0 */ protected $_activeTab = null; @@ -34,25 +31,21 @@ class Tabs extends \Magento\Backend\Block\Widget * Destination HTML element id * * @var string - * @since 2.0.0 */ protected $_destElementId = 'content'; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backend::widget/tabs.phtml'; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ private $_jsonEncoder; @@ -61,7 +54,6 @@ class Tabs extends \Magento\Backend\Block\Widget * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Backend\Model\Auth\Session $authSession * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -78,7 +70,6 @@ public function __construct( * Retrieve destination html element id * * @return string - * @since 2.0.0 */ public function getDestElementId() { @@ -90,7 +81,6 @@ public function getDestElementId() * * @param string $elementId * @return $this - * @since 2.0.0 */ public function setDestElementId($elementId) { @@ -105,7 +95,6 @@ public function setDestElementId($elementId) * @param array|\Magento\Framework\DataObject $tab * @param string $afterTabId * @return void - * @since 2.0.0 */ public function addTabAfter($tabId, $tab, $afterTabId) { @@ -121,7 +110,6 @@ public function addTabAfter($tabId, $tab, $afterTabId) * @return $this * @throws \Exception * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function addTab($tabId, $tab) { @@ -172,7 +160,6 @@ public function addTab($tabId, $tab) * @param string $tabId * @return void * @throws \Exception - * @since 2.0.0 */ protected function _addTabByName($tab, $tabId) { @@ -191,7 +178,6 @@ protected function _addTabByName($tab, $tabId) /** * @return string - * @since 2.0.0 */ public function getActiveTabId() { @@ -204,7 +190,6 @@ public function getActiveTabId() * * @param string $tabId * @return $this - * @since 2.0.0 */ public function setActiveTab($tabId) { @@ -231,7 +216,6 @@ public function setActiveTab($tabId) * * @param string $tabId * @return $this - * @since 2.0.0 */ protected function _setActiveTab($tabId) { @@ -247,7 +231,6 @@ protected function _setActiveTab($tabId) /** * {@inheritdoc} - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -280,7 +263,6 @@ protected function _beforeToHtml() /** * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -289,7 +271,6 @@ public function getJsObjectName() /** * @return string[] - * @since 2.0.0 */ public function getTabsIds() { @@ -304,7 +285,6 @@ public function getTabsIds() * @param \Magento\Framework\DataObject|TabInterface $tab * @param bool $withPrefix * @return string - * @since 2.0.0 */ public function getTabId($tab, $withPrefix = true) { @@ -317,7 +297,6 @@ public function getTabId($tab, $withPrefix = true) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return bool - * @since 2.0.0 */ public function canShowTab($tab) { @@ -331,7 +310,6 @@ public function canShowTab($tab) * @param \Magento\Framework\DataObject|TabInterface $tab * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getTabIsHidden($tab) { @@ -344,7 +322,6 @@ public function getTabIsHidden($tab) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return string - * @since 2.0.0 */ public function getTabUrl($tab) { @@ -363,7 +340,6 @@ public function getTabUrl($tab) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return string - * @since 2.0.0 */ public function getTabTitle($tab) { @@ -376,7 +352,6 @@ public function getTabTitle($tab) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return string - * @since 2.0.0 */ public function getTabClass($tab) { @@ -392,7 +367,6 @@ public function getTabClass($tab) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return string - * @since 2.0.0 */ public function getTabLabel($tab) { @@ -405,7 +379,6 @@ public function getTabLabel($tab) /** * @param \Magento\Framework\DataObject|TabInterface $tab * @return string - * @since 2.0.0 */ public function getTabContent($tab) { @@ -426,7 +399,6 @@ public function getTabContent($tab) * @param string $tabTwoId * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function bindShadowTabs($tabOneId, $tabTwoId) { @@ -460,7 +432,6 @@ public function bindShadowTabs($tabOneId, $tabTwoId) * * @param bool $asJson * @return array|string - * @since 2.0.0 */ public function getAllShadowTabs($asJson = true) { @@ -486,7 +457,6 @@ public function getAllShadowTabs($asJson = true) * @param string $key * @param mixed $value * @return $this - * @since 2.0.0 */ public function setTabData($tab, $key, $value) { @@ -505,7 +475,6 @@ public function setTabData($tab, $key, $value) * * @param string $tabId * @return $this - * @since 2.0.0 */ public function removeTab($tabId) { diff --git a/app/code/Magento/Backend/Console/Command/AbstractCacheCommand.php b/app/code/Magento/Backend/Console/Command/AbstractCacheCommand.php index acf47f22a5b4e..540f046a13af6 100644 --- a/app/code/Magento/Backend/Console/Command/AbstractCacheCommand.php +++ b/app/code/Magento/Backend/Console/Command/AbstractCacheCommand.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractCacheCommand extends Command { @@ -25,7 +24,6 @@ abstract class AbstractCacheCommand extends Command * CacheManager * * @var Manager - * @since 2.0.0 */ protected $cacheManager; @@ -33,7 +31,6 @@ abstract class AbstractCacheCommand extends Command * Constructor * * @param Manager $cacheManager - * @since 2.0.0 */ public function __construct(Manager $cacheManager) { @@ -43,7 +40,6 @@ public function __construct(Manager $cacheManager) /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { diff --git a/app/code/Magento/Backend/Console/Command/AbstractCacheManageCommand.php b/app/code/Magento/Backend/Console/Command/AbstractCacheManageCommand.php index 3cc20bd359d97..461e74e2e32cd 100644 --- a/app/code/Magento/Backend/Console/Command/AbstractCacheManageCommand.php +++ b/app/code/Magento/Backend/Console/Command/AbstractCacheManageCommand.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractCacheManageCommand extends AbstractCacheCommand { @@ -22,7 +21,6 @@ abstract class AbstractCacheManageCommand extends AbstractCacheCommand /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -39,7 +37,6 @@ protected function configure() * * @param InputInterface $input * @return array - * @since 2.0.0 */ protected function getRequestedTypes(InputInterface $input) { diff --git a/app/code/Magento/Backend/Console/Command/AbstractCacheSetCommand.php b/app/code/Magento/Backend/Console/Command/AbstractCacheSetCommand.php index 74ea8242cf0a5..1e342ae4747f8 100644 --- a/app/code/Magento/Backend/Console/Command/AbstractCacheSetCommand.php +++ b/app/code/Magento/Backend/Console/Command/AbstractCacheSetCommand.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractCacheSetCommand extends AbstractCacheManageCommand { @@ -19,13 +18,11 @@ abstract class AbstractCacheSetCommand extends AbstractCacheManageCommand * Is enable cache or not * * @return bool - * @since 2.0.0 */ abstract protected function isEnable(); /** * {@inheritdoc} - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Backend/Console/Command/AbstractCacheTypeManageCommand.php b/app/code/Magento/Backend/Console/Command/AbstractCacheTypeManageCommand.php index f28478fc3e5f6..91c9caa00d948 100644 --- a/app/code/Magento/Backend/Console/Command/AbstractCacheTypeManageCommand.php +++ b/app/code/Magento/Backend/Console/Command/AbstractCacheTypeManageCommand.php @@ -13,20 +13,17 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractCacheTypeManageCommand extends AbstractCacheManageCommand { /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; /** * @param Manager $cacheManager * @param EventManagerInterface $eventManager - * @since 2.0.0 */ public function __construct( Manager $cacheManager, @@ -41,7 +38,6 @@ public function __construct( * * @param array $cacheTypes * @return void - * @since 2.0.0 */ abstract protected function performAction(array $cacheTypes); @@ -49,7 +45,6 @@ abstract protected function performAction(array $cacheTypes); * Get display message * * @return string - * @since 2.0.0 */ abstract protected function getDisplayMessage(); @@ -59,7 +54,6 @@ abstract protected function getDisplayMessage(); * @param InputInterface $input * @param OutputInterface $output * @return void - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Backend/Console/Command/CacheCleanCommand.php b/app/code/Magento/Backend/Console/Command/CacheCleanCommand.php index 3e621200c8f74..5b5294f3980bf 100644 --- a/app/code/Magento/Backend/Console/Command/CacheCleanCommand.php +++ b/app/code/Magento/Backend/Console/Command/CacheCleanCommand.php @@ -10,13 +10,11 @@ * Command for cleaning cache * * @api - * @since 2.0.0 */ class CacheCleanCommand extends AbstractCacheTypeManageCommand { /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -30,7 +28,6 @@ protected function configure() * * @param array $cacheTypes * @return void - * @since 2.0.0 */ protected function performAction(array $cacheTypes) { @@ -40,7 +37,6 @@ protected function performAction(array $cacheTypes) /** * {@inheritdoc} - * @since 2.0.0 */ protected function getDisplayMessage() { diff --git a/app/code/Magento/Backend/Console/Command/CacheDisableCommand.php b/app/code/Magento/Backend/Console/Command/CacheDisableCommand.php index 67fb0133f5cf5..3cd94b3167ca1 100644 --- a/app/code/Magento/Backend/Console/Command/CacheDisableCommand.php +++ b/app/code/Magento/Backend/Console/Command/CacheDisableCommand.php @@ -10,13 +10,11 @@ * Command for disabling cache * * @api - * @since 2.0.0 */ class CacheDisableCommand extends AbstractCacheSetCommand { /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -29,7 +27,6 @@ protected function configure() * Is Disable cache * * @return bool - * @since 2.0.0 */ protected function isEnable() { diff --git a/app/code/Magento/Backend/Console/Command/CacheEnableCommand.php b/app/code/Magento/Backend/Console/Command/CacheEnableCommand.php index 3cf866a6ea511..b3e8318f46abe 100644 --- a/app/code/Magento/Backend/Console/Command/CacheEnableCommand.php +++ b/app/code/Magento/Backend/Console/Command/CacheEnableCommand.php @@ -10,13 +10,11 @@ * Command for enabling cache * * @api - * @since 2.0.0 */ class CacheEnableCommand extends AbstractCacheSetCommand { /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -29,7 +27,6 @@ protected function configure() * Is enable cache * * @return bool - * @since 2.0.0 */ protected function isEnable() { diff --git a/app/code/Magento/Backend/Console/Command/CacheFlushCommand.php b/app/code/Magento/Backend/Console/Command/CacheFlushCommand.php index 220f5fd1772c5..9780df970e070 100644 --- a/app/code/Magento/Backend/Console/Command/CacheFlushCommand.php +++ b/app/code/Magento/Backend/Console/Command/CacheFlushCommand.php @@ -10,13 +10,11 @@ * Command for flushing cache * * @api - * @since 2.0.0 */ class CacheFlushCommand extends AbstractCacheTypeManageCommand { /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -30,7 +28,6 @@ protected function configure() * * @param array $cacheTypes * @return void - * @since 2.0.0 */ protected function performAction(array $cacheTypes) { @@ -40,7 +37,6 @@ protected function performAction(array $cacheTypes) /** * {@inheritdoc} - * @since 2.0.0 */ protected function getDisplayMessage() { diff --git a/app/code/Magento/Backend/Console/Command/CacheStatusCommand.php b/app/code/Magento/Backend/Console/Command/CacheStatusCommand.php index 30745c5dccc4d..93002cc0a8d4d 100644 --- a/app/code/Magento/Backend/Console/Command/CacheStatusCommand.php +++ b/app/code/Magento/Backend/Console/Command/CacheStatusCommand.php @@ -13,13 +13,11 @@ * Command for checking cache status * * @api - * @since 2.0.0 */ class CacheStatusCommand extends AbstractCacheCommand { /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -30,7 +28,6 @@ protected function configure() /** * {@inheritdoc} - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Ajax/Translate.php b/app/code/Magento/Backend/Controller/Adminhtml/Ajax/Translate.php index bb35630b72b86..7dd57ca14783a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Ajax/Translate.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Ajax/Translate.php @@ -11,19 +11,16 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Ajax\Translate * - * @since 2.0.0 */ class Translate extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\Translate\Inline\ParserInterface - * @since 2.0.0 */ protected $inlineParser; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -31,7 +28,6 @@ class Translate extends \Magento\Backend\App\Action * @param Action\Context $context * @param \Magento\Framework\Translate\Inline\ParserInterface $inlineParser * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Ajax action for inline translation * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Auth.php b/app/code/Magento/Backend/Controller/Adminhtml/Auth.php index 6fcbed23a34a9..94a79c911d480 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Auth.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Auth.php @@ -9,7 +9,6 @@ /** * Auth backend controller - * @since 2.0.0 */ abstract class Auth extends AbstractAction { @@ -17,7 +16,6 @@ abstract class Auth extends AbstractAction * Check if user has permissions to access this controller * * @return bool - * @since 2.0.0 */ protected function _isAllowed() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedIframe.php b/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedIframe.php index 9e5f68605f497..21e1ca4070217 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedIframe.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedIframe.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Auth\DeniedIframe * - * @since 2.0.0 */ class DeniedIframe extends \Magento\Backend\Controller\Adminhtml\Auth { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Retrieve response for deniedIframeAction() * * @return string - * @since 2.0.0 */ protected function _getDeniedIframe() { @@ -48,7 +44,6 @@ protected function _getDeniedIframe() * Denied IFrame action * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedJson.php b/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedJson.php index c852fed72f1f1..cee95a9f0a11a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedJson.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Auth/DeniedJson.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Auth\DeniedJson * - * @since 2.0.0 */ class DeniedJson extends \Magento\Backend\Controller\Adminhtml\Auth { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Retrieve response for deniedJsonAction() * * @return array - * @since 2.0.0 */ protected function _getDeniedJson() { @@ -50,7 +46,6 @@ protected function _getDeniedJson() * Denied JSON action * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php b/app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php index 48c2c01d9c95b..6d89ded853557 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Auth/Login.php @@ -8,13 +8,11 @@ /** * @api - * @since 2.0.0 */ class Login extends \Magento\Backend\Controller\Adminhtml\Auth { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Login extends \Magento\Backend\Controller\Adminhtml\Auth * * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -37,7 +34,6 @@ public function __construct( * Administrator login action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { @@ -63,7 +59,6 @@ public function execute() * * @param string $path * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ private function getRedirect($path) { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Auth/Logout.php b/app/code/Magento/Backend/Controller/Adminhtml/Auth/Logout.php index 75e9a01fedad7..88f944ee20b72 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Auth/Logout.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Auth/Logout.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Auth\Logout * - * @since 2.0.0 */ class Logout extends \Magento\Backend\Controller\Adminhtml\Auth { @@ -17,7 +16,6 @@ class Logout extends \Magento\Backend\Controller\Adminhtml\Auth * Administrator logout action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/BackendApp/Redirect.php b/app/code/Magento/Backend/Controller/Adminhtml/BackendApp/Redirect.php index 56ace1fc13d41..c217151fca6f5 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/BackendApp/Redirect.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/BackendApp/Redirect.php @@ -9,7 +9,6 @@ /** * Controller which handles authentication of backend app and redirects back to set cookie with backend app path - * @since 2.0.0 */ class Redirect extends AbstractAction { @@ -17,20 +16,17 @@ class Redirect extends AbstractAction * Array of actions which can be processed without secret key validation * * @var array - * @since 2.0.0 */ protected $_publicActions = ['redirect']; /** * @var \Magento\Backend\App\BackendAppList|null - * @since 2.0.0 */ private $backendAppList; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Backend\App\BackendAppList $backendAppList - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -42,7 +38,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { @@ -56,7 +51,6 @@ public function execute() /** * @return bool - * @since 2.0.0 */ protected function _isAllowed() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache.php index 30fa358884bb9..2392ff2a57206 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache.php @@ -11,7 +11,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache * - * @since 2.0.0 */ abstract class Cache extends Action { @@ -24,25 +23,21 @@ abstract class Cache extends Action /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; /** * @var \Magento\Framework\App\Cache\StateInterface - * @since 2.0.0 */ protected $_cacheState; /** * @var \Magento\Framework\App\Cache\Frontend\Pool - * @since 2.0.0 */ protected $_cacheFrontendPool; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -52,7 +47,6 @@ abstract class Cache extends Action * @param \Magento\Framework\App\Cache\StateInterface $cacheState * @param \Magento\Framework\App\Cache\Frontend\Pool $cacheFrontendPool * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -74,7 +68,6 @@ public function __construct( * @param array $types * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _validateTypes(array $types) { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php index 3d9314b6fa7a8..5020ddfedaf44 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php @@ -12,7 +12,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\CleanImages * - * @since 2.0.0 */ class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -20,7 +19,6 @@ class CleanImages extends \Magento\Backend\Controller\Adminhtml\Cache * Clean JS/css files cache * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanMedia.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanMedia.php index a782a7f58748b..4518ab6e11f6e 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanMedia.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanMedia.php @@ -12,7 +12,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\CleanMedia * - * @since 2.0.0 */ class CleanMedia extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -20,7 +19,6 @@ class CleanMedia extends \Magento\Backend\Controller\Adminhtml\Cache * Clean JS/css files cache * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanStaticFiles.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanStaticFiles.php index 747b40ce2cb05..2bf800ab0879a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanStaticFiles.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/CleanStaticFiles.php @@ -11,7 +11,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\CleanStaticFiles * - * @since 2.0.0 */ class CleanStaticFiles extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -19,7 +18,6 @@ class CleanStaticFiles extends \Magento\Backend\Controller\Adminhtml\Cache * Clean static files cache * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushAll.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushAll.php index a228025782931..d7580761ac25f 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushAll.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushAll.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\FlushAll * - * @since 2.0.0 */ class FlushAll extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -17,7 +16,6 @@ class FlushAll extends \Magento\Backend\Controller\Adminhtml\Cache * Flush cache storage * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushSystem.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushSystem.php index afa347870214d..0042718b1a6e9 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushSystem.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/FlushSystem.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\FlushSystem * - * @since 2.0.0 */ class FlushSystem extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -17,7 +16,6 @@ class FlushSystem extends \Magento\Backend\Controller\Adminhtml\Cache * Flush all magento cache * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/Index.php index 91ba9a428a0f6..2308d2c7f5e90 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -17,7 +16,6 @@ class Index extends \Magento\Backend\Controller\Adminhtml\Cache * Display cache management grid * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php index 85b4fcafb28b5..669cffc536817 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassDisable.php @@ -13,7 +13,6 @@ /** * Controller disables some types of cache - * @since 2.0.0 */ class MassDisable extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -27,7 +26,6 @@ class MassDisable extends \Magento\Backend\Controller\Adminhtml\Cache * Mass action for cache disabling * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php index 450c97c4eb8b4..99fefc6fe50d4 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassEnable.php @@ -13,7 +13,6 @@ /** * Controller enables some types of cache - * @since 2.0.0 */ class MassEnable extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -27,7 +26,6 @@ class MassEnable extends \Magento\Backend\Controller\Adminhtml\Cache * Mass action for cache enabling * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassRefresh.php b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassRefresh.php index 72274e1d5df47..4f6b51a4f8b04 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassRefresh.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Cache/MassRefresh.php @@ -12,7 +12,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Cache\MassRefresh * - * @since 2.0.0 */ class MassRefresh extends \Magento\Backend\Controller\Adminhtml\Cache { @@ -20,7 +19,6 @@ class MassRefresh extends \Magento\Backend\Controller\Adminhtml\Cache * Mass action for cache refresh * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard.php index b7639377c324c..a4d3ed505c413 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard.php @@ -14,7 +14,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard * - * @since 2.0.0 */ abstract class Dashboard extends \Magento\Backend\App\Action { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/AjaxBlock.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/AjaxBlock.php index 4b564d1b1de68..263d0e5965ff6 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/AjaxBlock.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/AjaxBlock.php @@ -9,19 +9,16 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\AjaxBlock * - * @since 2.0.0 */ class AjaxBlock extends \Magento\Backend\Controller\Adminhtml\Dashboard { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class AjaxBlock extends \Magento\Backend\Controller\Adminhtml\Dashboard * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -43,7 +39,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersMost.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersMost.php index b995c9852e322..0dd31bd37b6a2 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersMost.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersMost.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\CustomersMost * - * @since 2.0.0 */ class CustomersMost extends AjaxBlock { @@ -17,7 +16,6 @@ class CustomersMost extends AjaxBlock * Gets the list of most active customers * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersNewest.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersNewest.php index bdae2bc3b5a4b..e0014a0aa419b 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersNewest.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/CustomersNewest.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\CustomersNewest * - * @since 2.0.0 */ class CustomersNewest extends AjaxBlock { @@ -17,7 +16,6 @@ class CustomersNewest extends AjaxBlock * Gets latest customers list * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Index.php index a4d2272b7026b..4f240bec44625 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\Dashboard { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/ProductsViewed.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/ProductsViewed.php index 002668d1d2c8b..df0679692724c 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/ProductsViewed.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/ProductsViewed.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\ProductsViewed * - * @since 2.0.0 */ class ProductsViewed extends AjaxBlock { @@ -17,7 +16,6 @@ class ProductsViewed extends AjaxBlock * Gets most viewed products list * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/RefreshStatistics.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/RefreshStatistics.php index 6727b0903b9c5..e776596556527 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/RefreshStatistics.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/RefreshStatistics.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\RefreshStatistics * - * @since 2.0.0 */ class RefreshStatistics extends \Magento\Reports\Controller\Adminhtml\Report\Statistics { @@ -18,7 +17,6 @@ class RefreshStatistics extends \Magento\Reports\Controller\Adminhtml\Report\Sta * @param \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter * @param array $reportTypes * @param \Psr\Log\LoggerInterface $logger - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -32,7 +30,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Tunnel.php b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Tunnel.php index 8a669ad0f9a3e..f29ce7c73ab99 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Tunnel.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Dashboard/Tunnel.php @@ -13,20 +13,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Dashboard\Tunnel * - * @since 2.0.0 */ class Tunnel extends \Magento\Backend\Controller\Adminhtml\Dashboard { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @param Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -42,7 +39,6 @@ public function __construct( * This is done in order to include the image to a HTTPS-page regardless of web-service settings * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Denied.php b/app/code/Magento/Backend/Controller/Adminhtml/Denied.php index 5e6efd02f34a5..311ec8ae251c2 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Denied.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Denied.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Denied * - * @since 2.0.0 */ class Denied extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Index.php index c9b1e86bb8854..4a27545b77cff 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Index.php @@ -9,7 +9,6 @@ /** * Index backend controller - * @since 2.0.0 */ abstract class Index extends AbstractAction { @@ -17,7 +16,6 @@ abstract class Index extends AbstractAction * Check if user has permissions to access this controller * * @return bool - * @since 2.0.0 */ protected function _isAllowed() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Index/ChangeLocale.php b/app/code/Magento/Backend/Controller/Adminhtml/Index/ChangeLocale.php index 1a6b3d308d131..b965abcbf44bf 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Index/ChangeLocale.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Index/ChangeLocale.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Index\ChangeLocale * - * @since 2.0.0 */ class ChangeLocale extends \Magento\Backend\Controller\Adminhtml\Index { @@ -17,7 +16,6 @@ class ChangeLocale extends \Magento\Backend\Controller\Adminhtml\Index * Change locale action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Index/GlobalSearch.php b/app/code/Magento/Backend/Controller/Adminhtml/Index/GlobalSearch.php index a171e2824db07..985798c2aee69 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Index/GlobalSearch.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Index/GlobalSearch.php @@ -8,13 +8,11 @@ /** * @api - * @since 2.0.0 */ class GlobalSearch extends \Magento\Backend\Controller\Adminhtml\Index { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -22,7 +20,6 @@ class GlobalSearch extends \Magento\Backend\Controller\Adminhtml\Index * Search modules list * * @var array - * @since 2.0.0 */ protected $_searchModules; @@ -30,7 +27,6 @@ class GlobalSearch extends \Magento\Backend\Controller\Adminhtml\Index * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param array $searchModules - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -46,7 +42,6 @@ public function __construct( * Global Search Action * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Index/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Index/Index.php index 9c9571457308d..2d20730b16d6a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Index/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Index/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\Index { @@ -18,7 +17,6 @@ class Index extends \Magento\Backend\Controller\Adminhtml\Index * Always redirects to the startup page url * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php index f89e0b0f5a5f0..2404b1325fe08 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/Noroute/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\Noroute\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Noroute action * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System.php b/app/code/Magento/Backend/Controller/Adminhtml/System.php index 2d2578e680da6..ce7bd87cb95d5 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System.php @@ -11,7 +11,6 @@ * System admin controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class System extends AbstractAction { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Account.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Account.php index 9fa8fc289e39c..be2cbbdeb804e 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Account.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Account.php @@ -11,7 +11,6 @@ * Adminhtml account controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class Account extends Action { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Index.php index ef51ee8441512..b726e56c079d5 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Account\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\System\Account { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { 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 764d17747b1bc..32f476ef95b32 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Account/Save.php @@ -14,7 +14,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\Backend\Controller\Adminhtml\System\Account { @@ -45,7 +44,6 @@ private function getSecurityCookie() * * @return \Magento\Backend\Model\View\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design.php index df45c0a4245d2..c9fec141e67e2 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design.php @@ -10,7 +10,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design * - * @since 2.0.0 */ abstract class Design extends Action { @@ -25,31 +24,26 @@ abstract class Design extends Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Stdlib\DateTime\Filter\Date - * @since 2.0.0 */ protected $dateFilter; /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -60,7 +54,6 @@ abstract class Design extends Action * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Delete.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Delete.php index 069afbe570374..9c44e036057ee 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Delete.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Delete.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Backend\Controller\Adminhtml\System\Design { /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Edit.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Edit.php index 52a93eff6d37d..f50da4ccb856e 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Edit.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Edit.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Backend\Controller\Adminhtml\System\Design { /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Grid.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Grid.php index c198f93983a0a..42e77c25b9867 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Grid.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Grid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Backend\Controller\Adminhtml\System\Design { /** * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Index.php index b7219fcf9a744..055cdf9c6c281 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\System\Design { /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/NewAction.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/NewAction.php index b304a4b7208ae..aea2e26806e23 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/NewAction.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/NewAction.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Backend\Controller\Adminhtml\System\Design { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Save.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Save.php index 2af35d9170d93..f47a2dd12f0e9 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Save.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Design/Save.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Design\Save * - * @since 2.0.0 */ class Save extends \Magento\Backend\Controller\Adminhtml\System\Design { @@ -18,7 +17,6 @@ class Save extends \Magento\Backend\Controller\Adminhtml\System\Design * * @param array $data * @return array|null - * @since 2.0.0 */ protected function _filterPostData($data) { @@ -33,7 +31,6 @@ protected function _filterPostData($data) /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Index.php index 3beb50fc491c5..0526f3c517d04 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\System { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/SetStore.php b/app/code/Magento/Backend/Controller/Adminhtml/System/SetStore.php index 4ff1b94da2877..82060e07c2d18 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/SetStore.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/SetStore.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\SetStore * - * @since 2.0.0 */ class SetStore extends \Magento\Backend\Controller\Adminhtml\System { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store.php index 1383d09236e95..4fbae6abb423a 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store.php @@ -14,7 +14,6 @@ * Store controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class Store extends Action { @@ -29,25 +28,21 @@ abstract class Store extends Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filterManager; /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -57,7 +52,6 @@ abstract class Store extends Action * @param \Magento\Framework\Filter\FilterManager $filterManager * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -77,7 +71,6 @@ public function __construct( * Init actions * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ protected function createPage() { @@ -93,7 +86,6 @@ protected function createPage() * Backup database * * @return bool - * @since 2.0.0 */ protected function _backupDatabase() { @@ -130,7 +122,6 @@ protected function _backupDatabase() * * @param string $typeTitle * @return $this - * @since 2.0.0 */ protected function _addDeletionNotice($typeTitle) { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroup.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroup.php index 6c0a48141aebf..3188b0b312f27 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroup.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroup.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteGroup * - * @since 2.0.0 */ class DeleteGroup extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroupPost.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroupPost.php index b04b128570cb7..18038f8f03c2d 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroupPost.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteGroupPost.php @@ -11,13 +11,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteGroupPost * - * @since 2.0.0 */ class DeleteGroupPost extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStore.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStore.php index 457ea57408e0f..75bda98d8a1e9 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStore.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStore.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteStore * - * @since 2.0.0 */ class DeleteStore extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStorePost.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStorePost.php index 71d4fa4daf741..cacc61a1665e3 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStorePost.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStorePost.php @@ -11,7 +11,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteStorePost * - * @since 2.0.0 */ class DeleteStorePost extends \Magento\Backend\Controller\Adminhtml\System\Store { @@ -19,7 +18,6 @@ class DeleteStorePost extends \Magento\Backend\Controller\Adminhtml\System\Store * Delete store view post action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsite.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsite.php index 58c2e46799eb3..d5edf9b241d84 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsite.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsite.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteWebsite * - * @since 2.0.0 */ class DeleteWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsitePost.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsitePost.php index 6ee8fe38e5a6b..5fa8c0f96f447 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsitePost.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/DeleteWebsitePost.php @@ -11,13 +11,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\DeleteWebsitePost * - * @since 2.0.0 */ class DeleteWebsitePost extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditGroup.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditGroup.php index dcbe6a79d1a42..cbeba79fb4af9 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditGroup.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditGroup.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\EditGroup * - * @since 2.0.0 */ class EditGroup extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditStore.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditStore.php index 0cdb3ea830f26..4dd39dc3f89f8 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditStore.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditStore.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\EditStore * - * @since 2.0.0 */ class EditStore extends \Magento\Backend\Controller\Adminhtml\System\Store { @@ -17,7 +16,6 @@ class EditStore extends \Magento\Backend\Controller\Adminhtml\System\Store * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditWebsite.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditWebsite.php index cce59794e0045..9f2a422905ff2 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditWebsite.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/EditWebsite.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\EditWebsite * - * @since 2.0.0 */ class EditWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Index.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Index.php index e607ea3c9dca9..b104704f41bdb 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Index.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Index.php @@ -10,7 +10,6 @@ /** * Class Index returns Stores page - * @since 2.0.0 */ class Index extends \Magento\Backend\Controller\Adminhtml\System\Store { @@ -18,7 +17,6 @@ class Index extends \Magento\Backend\Controller\Adminhtml\System\Store * Returns Stores page * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewGroup.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewGroup.php index d0ce95b389ee8..725d70e1cb15c 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewGroup.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewGroup.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\NewGroup * - * @since 2.0.0 */ class NewGroup extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewStore.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewStore.php index 8474c51ce42ad..9ec7043c553fe 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewStore.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewStore.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\NewStore * - * @since 2.0.0 */ class NewStore extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewWebsite.php b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewWebsite.php index bc8ebb9d7d4aa..f75674f3e4dd6 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewWebsite.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/NewWebsite.php @@ -9,13 +9,11 @@ /** * Class \Magento\Backend\Controller\Adminhtml\System\Store\NewWebsite * - * @since 2.0.0 */ class NewWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store { /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { 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 f0feaeadbb846..0976e37cb57ae 100644 --- a/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php +++ b/app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php @@ -10,7 +10,6 @@ * Class Save * * Save controller for system entities such as: Store, StoreGroup, Website - * @since 2.0.0 */ class Save extends \Magento\Backend\Controller\Adminhtml\System\Store { @@ -115,7 +114,6 @@ private function processGroupSave($postData) /** * @return \Magento\Backend\Model\View\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Cron/CleanCache.php b/app/code/Magento/Backend/Cron/CleanCache.php index c02e5f606d0f6..f3ed98530365f 100644 --- a/app/code/Magento/Backend/Cron/CleanCache.php +++ b/app/code/Magento/Backend/Cron/CleanCache.php @@ -7,19 +7,16 @@ /** * Backend event observer - * @since 2.0.0 */ class CleanCache { /** * @var \Magento\Framework\App\Cache\Frontend\Pool - * @since 2.0.0 */ private $cacheFrontendPool; /** * @param \Magento\Framework\App\Cache\Frontend\Pool $cacheFrontendPool - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Cache\Frontend\Pool $cacheFrontendPool @@ -31,7 +28,6 @@ public function __construct( * Cron job method to clean old cache resources * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backend/Helper/Dashboard/AbstractDashboard.php b/app/code/Magento/Backend/Helper/Dashboard/AbstractDashboard.php index 40f272ae12b6b..4b630b5f05aca 100644 --- a/app/code/Magento/Backend/Helper/Dashboard/AbstractDashboard.php +++ b/app/code/Magento/Backend/Helper/Dashboard/AbstractDashboard.php @@ -9,7 +9,6 @@ * Adminhtml abstract dashboard helper. * * @api - * @since 2.0.0 */ abstract class AbstractDashboard extends \Magento\Framework\App\Helper\AbstractHelper { @@ -17,7 +16,6 @@ abstract class AbstractDashboard extends \Magento\Framework\App\Helper\AbstractH * Helper collection * * @var \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection|array - * @since 2.0.0 */ protected $_collection; @@ -25,13 +23,11 @@ abstract class AbstractDashboard extends \Magento\Framework\App\Helper\AbstractH * Parameters for helper * * @var array - * @since 2.0.0 */ protected $_params = []; /** * @return array|\Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ public function getCollection() { @@ -43,7 +39,6 @@ public function getCollection() /** * @return void - * @since 2.0.0 */ abstract protected function _initCollection(); @@ -51,7 +46,6 @@ abstract protected function _initCollection(); * Returns collection items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -60,7 +54,6 @@ public function getItems() /** * @return int - * @since 2.0.0 */ public function getCount() { @@ -70,7 +63,6 @@ public function getCount() /** * @param string $index * @return array - * @since 2.0.0 */ public function getColumn($index) { @@ -95,7 +87,6 @@ public function getColumn($index) * @param string $name * @param mixed $value * @return void - * @since 2.0.0 */ public function setParam($name, $value) { @@ -105,7 +96,6 @@ public function setParam($name, $value) /** * @param array $params * @return void - * @since 2.0.0 */ public function setParams(array $params) { @@ -115,7 +105,6 @@ public function setParams(array $params) /** * @param string $name * @return mixed - * @since 2.0.0 */ public function getParam($name) { @@ -128,7 +117,6 @@ public function getParam($name) /** * @return array - * @since 2.0.0 */ public function getParams() { diff --git a/app/code/Magento/Backend/Helper/Dashboard/Data.php b/app/code/Magento/Backend/Helper/Dashboard/Data.php index b1ee7fe62d83c..9ab7b8b9db615 100644 --- a/app/code/Magento/Backend/Helper/Dashboard/Data.php +++ b/app/code/Magento/Backend/Helper/Dashboard/Data.php @@ -12,25 +12,21 @@ * Data helper for dashboard * * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { /** * @var \Magento\Framework\Data\Collection\AbstractDb - * @since 2.0.0 */ protected $_stores; /** * @var string - * @since 2.0.0 */ protected $_installDate; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $_storeManager; @@ -38,7 +34,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param DeploymentConfig $deploymentConfig - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -56,7 +51,6 @@ public function __construct( * Retrieve stores configured in system. * * @return \Magento\Framework\Data\Collection\AbstractDb - * @since 2.0.0 */ public function getStores() { @@ -70,7 +64,6 @@ public function getStores() * Retrieve number of loaded stores * * @return int - * @since 2.0.0 */ public function countStores() { @@ -81,7 +74,6 @@ public function countStores() * Prepare array with periods for dashboard graphs * * @return array - * @since 2.0.0 */ public function getDatePeriods() { @@ -100,7 +92,6 @@ public function getDatePeriods() * * @param string $data * @return string - * @since 2.0.0 */ public function getChartDataHash($data) { diff --git a/app/code/Magento/Backend/Helper/Dashboard/Order.php b/app/code/Magento/Backend/Helper/Dashboard/Order.php index 0f0b0828e66e4..3c45ee69b6a06 100644 --- a/app/code/Magento/Backend/Helper/Dashboard/Order.php +++ b/app/code/Magento/Backend/Helper/Dashboard/Order.php @@ -11,26 +11,23 @@ * Adminhtml dashboard helper for orders * * @api - * @since 2.0.0 */ class Order extends \Magento\Backend\Helper\Dashboard\AbstractDashboard { /** * @var \Magento\Reports\Model\ResourceModel\Order\Collection - * @since 2.0.0 */ protected $_orderCollection; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 + * @since 2.0.5 */ protected $_storeManager; /** * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Reports\Model\ResourceModel\Order\Collection $orderCollection - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -46,7 +43,7 @@ public function __construct( * @return \Magento\Store\Model\StoreManagerInterface * * @deprecated 2.1.0 - * @since 2.1.0 + * @since 2.0.5 */ private function getStoreManager() { @@ -58,7 +55,6 @@ private function getStoreManager() /** * @return void - * @since 2.0.0 */ protected function _initCollection() { diff --git a/app/code/Magento/Backend/Helper/Data.php b/app/code/Magento/Backend/Helper/Data.php index f006519e5f713..7e7722195133f 100644 --- a/app/code/Magento/Backend/Helper/Data.php +++ b/app/code/Magento/Backend/Helper/Data.php @@ -11,7 +11,6 @@ * @api * @deprecated 2.2.0 * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Data extends AbstractHelper { @@ -19,43 +18,36 @@ class Data extends AbstractHelper /** * @var string - * @since 2.0.0 */ protected $_pageHelpUrl; /** * @var \Magento\Framework\App\Route\Config - * @since 2.0.0 */ protected $_routeConfig; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_locale; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Backend\Model\Auth - * @since 2.0.0 */ protected $_auth; /** * @var \Magento\Backend\App\Area\FrontNameResolver - * @since 2.0.0 */ protected $_frontNameResolver; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; @@ -67,7 +59,6 @@ class Data extends AbstractHelper * @param \Magento\Backend\Model\Auth $auth * @param \Magento\Backend\App\Area\FrontNameResolver $frontNameResolver * @param \Magento\Framework\Math\Random $mathRandom - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -89,7 +80,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getPageHelpUrl() { @@ -102,7 +92,6 @@ public function getPageHelpUrl() /** * @param string|null $url * @return $this - * @since 2.0.0 */ public function setPageHelpUrl($url = null) { @@ -133,7 +122,6 @@ public function setPageHelpUrl($url = null) /** * @param string $suffix * @return $this - * @since 2.0.0 */ public function addPageHelpUrl($suffix) { @@ -145,7 +133,6 @@ public function addPageHelpUrl($suffix) * @param string $route * @param array $params * @return string - * @since 2.0.0 */ public function getUrl($route = '', $params = []) { @@ -154,7 +141,6 @@ public function getUrl($route = '', $params = []) /** * @return int|bool - * @since 2.0.0 */ public function getCurrentUserId() { @@ -169,7 +155,6 @@ public function getCurrentUserId() * * @param string $filterString * @return array - * @since 2.0.0 */ public function prepareFilterString($filterString) { @@ -196,7 +181,6 @@ function (&$value) { * Generate unique token for reset password confirmation link * * @return string - * @since 2.0.0 */ public function generateResetPasswordLinkToken() { @@ -207,7 +191,6 @@ public function generateResetPasswordLinkToken() * Get backend start page URL * * @return string - * @since 2.0.0 */ public function getHomePageUrl() { @@ -219,7 +202,6 @@ public function getHomePageUrl() * * @param bool $checkHost * @return bool|string - * @since 2.0.0 */ public function getAreaFrontName($checkHost = false) { diff --git a/app/code/Magento/Backend/Helper/Js.php b/app/code/Magento/Backend/Helper/Js.php index f6db76081755a..77f6212536b3d 100644 --- a/app/code/Magento/Backend/Helper/Js.php +++ b/app/code/Magento/Backend/Helper/Js.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Js { @@ -34,7 +33,6 @@ class Js * * @param string $encoded * @return array - * @since 2.0.0 */ public function decodeGridSerializedInput($encoded) { diff --git a/app/code/Magento/Backend/Model/AdminPathConfig.php b/app/code/Magento/Backend/Model/AdminPathConfig.php index fe00eb331ddaf..1ec9284289fd7 100644 --- a/app/code/Magento/Backend/Model/AdminPathConfig.php +++ b/app/code/Magento/Backend/Model/AdminPathConfig.php @@ -11,25 +11,21 @@ /** * Path config to be used in adminhtml area * @api - * @since 2.0.0 */ class AdminPathConfig implements PathConfigInterface { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $coreConfig; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $backendConfig; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $url; @@ -39,7 +35,6 @@ class AdminPathConfig implements PathConfigInterface * @param \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig * @param \Magento\Backend\App\ConfigInterface $backendConfig * @param \Magento\Framework\UrlInterface $url - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig, @@ -56,7 +51,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return string - * @since 2.0.0 */ public function getCurrentSecureUrl(\Magento\Framework\App\RequestInterface $request) { @@ -68,7 +62,6 @@ public function getCurrentSecureUrl(\Magento\Framework\App\RequestInterface $req * * @param string $path * @return bool - * @since 2.0.0 */ public function shouldBeSecure($path) { @@ -87,7 +80,6 @@ public function shouldBeSecure($path) * {@inheritdoc} * * @return string - * @since 2.0.0 */ public function getDefaultPath() { diff --git a/app/code/Magento/Backend/Model/Auth.php b/app/code/Magento/Backend/Model/Auth.php index 35d2086decdc7..fb3fe06ca1278 100644 --- a/app/code/Magento/Backend/Model/Auth.php +++ b/app/code/Magento/Backend/Model/Auth.php @@ -13,19 +13,16 @@ * Backend Auth model * * @api - * @since 2.0.0 */ class Auth { /** * @var \Magento\Backend\Model\Auth\StorageInterface - * @since 2.0.0 */ protected $_authStorage; /** * @var \Magento\Backend\Model\Auth\Credential\StorageInterface - * @since 2.0.0 */ protected $_credentialStorage; @@ -33,7 +30,6 @@ class Auth * Backend data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData; @@ -41,19 +37,16 @@ class Auth * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_coreConfig; /** * @var \Magento\Framework\Data\Collection\ModelFactory - * @since 2.0.0 */ protected $_modelFactory; @@ -64,7 +57,6 @@ class Auth * @param \Magento\Backend\Model\Auth\Credential\StorageInterface $credentialStorage * @param \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig * @param \Magento\Framework\Data\Collection\ModelFactory $modelFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Event\ManagerInterface $eventManager, @@ -88,7 +80,6 @@ public function __construct( * @param \Magento\Backend\Model\Auth\StorageInterface $storage * @return $this * @throws \Magento\Framework\Exception\AuthenticationException - * @since 2.0.0 */ public function setAuthStorage($storage) { @@ -105,7 +96,6 @@ public function setAuthStorage($storage) * * @return \Magento\Backend\Model\Auth\StorageInterface * @codeCoverageIgnore - * @since 2.0.0 */ public function getAuthStorage() { @@ -117,7 +107,6 @@ public function getAuthStorage() * an instance of \Magento\Backend\Model\Auth\Credential\StorageInterface * * @return \Magento\Backend\Model\Auth\Credential\StorageInterface - * @since 2.0.0 */ public function getUser() { @@ -128,7 +117,6 @@ public function getUser() * Initialize credential storage from configuration * * @return void - * @since 2.0.0 */ protected function _initCredentialStorage() { @@ -142,7 +130,6 @@ protected function _initCredentialStorage() * * @return null|\Magento\Backend\Model\Auth\Credential\StorageInterface * @codeCoverageIgnore - * @since 2.0.0 */ public function getCredentialStorage() { @@ -156,7 +143,6 @@ public function getCredentialStorage() * @param string $password * @return void * @throws \Magento\Framework\Exception\AuthenticationException - * @since 2.0.0 */ public function login($username, $password) { @@ -201,7 +187,6 @@ public function login($username, $password) * Perform logout process * * @return void - * @since 2.0.0 */ public function logout() { @@ -212,7 +197,6 @@ public function logout() * Check if current user is logged in * * @return bool - * @since 2.0.0 */ public function isLoggedIn() { @@ -226,7 +210,6 @@ public function isLoggedIn() * @return void * @throws \Magento\Framework\Exception\AuthenticationException * @static - * @since 2.0.0 */ public static function throwException(Phrase $msg = null) { diff --git a/app/code/Magento/Backend/Model/Auth/Credential/StorageInterface.php b/app/code/Magento/Backend/Model/Auth/Credential/StorageInterface.php index b75df4f29b609..3b55eb5241ecf 100644 --- a/app/code/Magento/Backend/Model/Auth/Credential/StorageInterface.php +++ b/app/code/Magento/Backend/Model/Auth/Credential/StorageInterface.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ interface StorageInterface { @@ -20,7 +19,6 @@ interface StorageInterface * @param string $username * @param string $password * @return bool - * @since 2.0.0 */ public function authenticate($username, $password); @@ -31,7 +29,6 @@ public function authenticate($username, $password); * @param string $password * @return $this * @abstract - * @since 2.0.0 */ public function login($username, $password); @@ -40,7 +37,6 @@ public function login($username, $password); * * @return $this * @abstract - * @since 2.0.0 */ public function reload(); @@ -49,7 +45,6 @@ public function reload(); * * @return bool * @abstract - * @since 2.0.0 */ public function hasAvailableResources(); @@ -59,7 +54,6 @@ public function hasAvailableResources(); * @param bool $hasResources * @return $this * @abstract - * @since 2.0.0 */ public function setHasAvailableResources($hasResources); } diff --git a/app/code/Magento/Backend/Model/Auth/Session.php b/app/code/Magento/Backend/Model/Auth/Session.php index 23d6f4a5881d3..098ffec7ea9fd 100644 --- a/app/code/Magento/Backend/Model/Auth/Session.php +++ b/app/code/Magento/Backend/Model/Auth/Session.php @@ -22,7 +22,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @todo implement solution that keeps is_first_visit flag in session during redirects * @api - * @since 2.0.0 */ class Session extends \Magento\Framework\Session\SessionManager implements \Magento\Backend\Model\Auth\StorageInterface { @@ -35,7 +34,6 @@ class Session extends \Magento\Framework\Session\SessionManager implements \Mage * Whether it is the first page after successful login * * @var boolean - * @since 2.0.0 */ protected $_isFirstAfterLogin; @@ -43,19 +41,16 @@ class Session extends \Magento\Framework\Session\SessionManager implements \Mage * Access Control List builder * * @var \Magento\Framework\Acl\Builder - * @since 2.0.0 */ protected $_aclBuilder; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $_config; @@ -74,7 +69,6 @@ class Session extends \Magento\Framework\Session\SessionManager implements \Mage * @param \Magento\Backend\App\ConfigInterface $config * @throws \Magento\Framework\Exception\SessionException * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request, @@ -111,7 +105,6 @@ public function __construct( * * @param \Magento\User\Model\User $user * @return \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ public function refreshAcl($user = null) { @@ -137,7 +130,6 @@ public function refreshAcl($user = null) * @param string $resource * @param string $privilege * @return boolean - * @since 2.0.0 */ public function isAllowed($resource, $privilege = null) { @@ -163,7 +155,6 @@ public function isAllowed($resource, $privilege = null) * Check if user is logged in * * @return boolean - * @since 2.0.0 */ public function isLoggedIn() { @@ -174,7 +165,6 @@ public function isLoggedIn() * Set session UpdatedAt to current time * * @return void - * @since 2.0.0 */ public function prolong() { @@ -197,7 +187,6 @@ public function prolong() * Check if it is the first page after successful login * * @return bool - * @since 2.0.0 */ public function isFirstPageAfterLogin() { @@ -212,7 +201,6 @@ public function isFirstPageAfterLogin() * * @param bool $value * @return \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ public function setIsFirstPageAfterLogin($value) { @@ -224,7 +212,6 @@ public function setIsFirstPageAfterLogin($value) * Process of configuring of current auth storage when login was performed * * @return \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ public function processLogin() { @@ -246,7 +233,6 @@ public function processLogin() * Process of configuring of current auth storage when logout was performed * * @return \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ public function processLogout() { @@ -261,7 +247,6 @@ public function processLogout() * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @codeCoverageIgnore - * @since 2.0.0 */ public function isValidForPath($path) { diff --git a/app/code/Magento/Backend/Model/Auth/StorageInterface.php b/app/code/Magento/Backend/Model/Auth/StorageInterface.php index dac755feb00cd..60ed16a20848a 100644 --- a/app/code/Magento/Backend/Model/Auth/StorageInterface.php +++ b/app/code/Magento/Backend/Model/Auth/StorageInterface.php @@ -9,7 +9,6 @@ * Backend Auth Storage interface * * @api - * @since 2.0.0 */ interface StorageInterface { @@ -19,7 +18,6 @@ interface StorageInterface * @return $this * @abstract * @api - * @since 2.0.0 */ public function processLogin(); @@ -29,7 +27,6 @@ public function processLogin(); * @return $this * @abstract * @api - * @since 2.0.0 */ public function processLogout(); @@ -39,7 +36,6 @@ public function processLogout(); * @return bool * @abstract * @api - * @since 2.0.0 */ public function isLoggedIn(); @@ -49,7 +45,6 @@ public function isLoggedIn(); * @return void * @abstract * @api - * @since 2.0.0 */ public function prolong(); } diff --git a/app/code/Magento/Backend/Model/Authorization/RoleLocator.php b/app/code/Magento/Backend/Model/Authorization/RoleLocator.php index 002f8e98445aa..4af0a8b29db1d 100644 --- a/app/code/Magento/Backend/Model/Authorization/RoleLocator.php +++ b/app/code/Magento/Backend/Model/Authorization/RoleLocator.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class RoleLocator implements \Magento\Framework\Authorization\RoleLocatorInterface { @@ -15,13 +14,11 @@ class RoleLocator implements \Magento\Framework\Authorization\RoleLocatorInterfa * Authentication service * * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_session; /** * @param \Magento\Backend\Model\Auth\Session $session - * @since 2.0.0 */ public function __construct(\Magento\Backend\Model\Auth\Session $session) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Backend\Model\Auth\Session $session) * Retrieve current role * * @return string|null - * @since 2.0.0 */ public function getAclRoleId() { diff --git a/app/code/Magento/Backend/Model/Cache/ResourceModel/Grid/Collection.php b/app/code/Magento/Backend/Model/Cache/ResourceModel/Grid/Collection.php index d139354f05899..409c821b64ee2 100644 --- a/app/code/Magento/Backend/Model/Cache/ResourceModel/Grid/Collection.php +++ b/app/code/Magento/Backend/Model/Cache/ResourceModel/Grid/Collection.php @@ -9,20 +9,17 @@ /** * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Data\Collection { /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; /** * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -39,7 +36,6 @@ public function __construct( * @param bool $logQuery * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function loadData($printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/Backend/Model/Locale/Manager.php b/app/code/Magento/Backend/Model/Locale/Manager.php index b2fe0a8c1621f..6aaed1a39881f 100644 --- a/app/code/Magento/Backend/Model/Locale/Manager.php +++ b/app/code/Magento/Backend/Model/Locale/Manager.php @@ -10,25 +10,21 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Manager { /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\Framework\TranslateInterface - * @since 2.0.0 */ protected $_translator; @@ -45,7 +41,6 @@ class Manager * @param \Magento\Backend\Model\Auth\Session $authSession * @param \Magento\Framework\TranslateInterface $translator * @param \Magento\Backend\App\ConfigInterface $backendConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Session $session, @@ -64,7 +59,6 @@ public function __construct( * * @param string $localeCode * @return $this - * @since 2.0.0 */ public function switchBackendInterfaceLocale($localeCode) { @@ -92,7 +86,6 @@ public function getGeneralLocale() * Get user interface locale stored in session data * * @return string - * @since 2.0.0 */ public function getUserInterfaceLocale() { diff --git a/app/code/Magento/Backend/Model/Locale/Resolver.php b/app/code/Magento/Backend/Model/Locale/Resolver.php index 5e95cd6d36974..fd6589ebf5fc8 100644 --- a/app/code/Magento/Backend/Model/Locale/Resolver.php +++ b/app/code/Magento/Backend/Model/Locale/Resolver.php @@ -8,31 +8,26 @@ /** * Backend locale model * @api - * @since 2.0.0 */ class Resolver extends \Magento\Framework\Locale\Resolver { /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Backend\Model\Locale\Manager - * @since 2.0.0 */ protected $_localeManager; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $_request; /** * @var \Magento\Framework\Validator\Locale - * @since 2.0.0 */ protected $_localeValidator; @@ -46,7 +41,6 @@ class Resolver extends \Magento\Framework\Locale\Resolver * @param \Magento\Framework\Validator\Locale $localeValidator * @param null $locale * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -70,7 +64,6 @@ public function __construct( * * @param string $locale * @return $this - * @since 2.0.0 */ public function setLocale($locale = null) { diff --git a/app/code/Magento/Backend/Model/Menu.php b/app/code/Magento/Backend/Model/Menu.php index fb5002a8fb008..a953eec3bd6d0 100644 --- a/app/code/Magento/Backend/Model/Menu.php +++ b/app/code/Magento/Backend/Model/Menu.php @@ -15,7 +15,6 @@ * Backend menu model * * @api - * @since 2.0.0 */ class Menu extends \ArrayObject { @@ -23,13 +22,11 @@ class Menu extends \ArrayObject * Path in tree structure * * @var string - * @since 2.0.0 */ protected $_path = ''; /** * @var LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -52,7 +49,6 @@ class Menu extends \ArrayObject * @param string $pathInMenuStructure * @param Factory|null $menuItemFactory * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( LoggerInterface $logger, @@ -78,7 +74,6 @@ public function __construct( * @param int $index * @return void * @throws \InvalidArgumentException - * @since 2.0.0 */ public function add(Item $item, $parentId = null, $index = null) { @@ -106,7 +101,6 @@ public function add(Item $item, $parentId = null, $index = null) * * @param string $itemId * @return Item|null - * @since 2.0.0 */ public function get($itemId) { @@ -133,7 +127,6 @@ public function get($itemId) * @param int $sortIndex * @return void * @throws \InvalidArgumentException - * @since 2.0.0 */ public function move($itemId, $toItemId, $sortIndex = null) { @@ -150,7 +143,6 @@ public function move($itemId, $toItemId, $sortIndex = null) * * @param string $itemId * @return bool - * @since 2.0.0 */ public function remove($itemId) { @@ -179,7 +171,6 @@ public function remove($itemId) * @param string $itemId * @param int $position * @return bool - * @since 2.0.0 */ public function reorder($itemId, $position) { @@ -203,7 +194,6 @@ public function reorder($itemId, $position) * * @param Item $item * @return bool - * @since 2.0.0 */ public function isLast(Item $item) { @@ -214,7 +204,6 @@ public function isLast(Item $item) * Find first menu item that user is able to access * * @return Item|null - * @since 2.0.0 */ public function getFirstAvailable() { @@ -241,7 +230,6 @@ public function getFirstAvailable() * * @param string $itemId * @return Item[] - * @since 2.0.0 */ public function getParentItems($itemId) { @@ -257,7 +245,6 @@ public function getParentItems($itemId) * @param string $itemId * @param array &$parents * @return bool - * @since 2.0.0 */ protected function _findParentItems($menu, $itemId, &$parents) { @@ -280,7 +267,6 @@ protected function _findParentItems($menu, $itemId, &$parents) * Serialize menu * * @return string - * @since 2.0.0 */ public function serialize() { diff --git a/app/code/Magento/Backend/Model/Menu/AbstractDirector.php b/app/code/Magento/Backend/Model/Menu/AbstractDirector.php index ef78c192ea3b9..9b70d3405d715 100644 --- a/app/code/Magento/Backend/Model/Menu/AbstractDirector.php +++ b/app/code/Magento/Backend/Model/Menu/AbstractDirector.php @@ -7,20 +7,17 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractDirector { /** * Factory model * @var \Magento\Backend\Model\Menu\Builder\CommandFactory - * @since 2.0.0 */ protected $_commandFactory; /** * @param \Magento\Backend\Model\Menu\Builder\CommandFactory $factory - * @since 2.0.0 */ public function __construct(\Magento\Backend\Model\Menu\Builder\CommandFactory $factory) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Backend\Model\Menu\Builder\CommandFactory $ * @param \Magento\Backend\Model\Menu\Builder $builder * @param \Psr\Log\LoggerInterface $logger * @return void - * @since 2.0.0 */ abstract public function direct( array $config, diff --git a/app/code/Magento/Backend/Model/Menu/Builder.php b/app/code/Magento/Backend/Model/Menu/Builder.php index 4f24c4cf32aa6..435f1014cf363 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder.php +++ b/app/code/Magento/Backend/Model/Menu/Builder.php @@ -9,25 +9,21 @@ * Menu builder object. Retrieves commands (\Magento\Backend\Model\Menu\Builder\AbstractCommand) * to build menu (\Magento\Backend\Model\Menu) * @api - * @since 2.0.0 */ class Builder { /** * @var \Magento\Backend\Model\Menu\Builder\AbstractCommand[] - * @since 2.0.0 */ protected $_commands = []; /** * @var \Magento\Backend\Model\Menu\Item\Factory - * @since 2.0.0 */ protected $_itemFactory; /** * @param \Magento\Backend\Model\Menu\Item\Factory $menuItemFactory - * @since 2.0.0 */ public function __construct(\Magento\Backend\Model\Menu\Item\Factory $menuItemFactory) { @@ -39,7 +35,6 @@ public function __construct(\Magento\Backend\Model\Menu\Item\Factory $menuItemFa * * @param \Magento\Backend\Model\Menu\Builder\AbstractCommand $command * @return $this - * @since 2.0.0 */ public function processCommand(\Magento\Backend\Model\Menu\Builder\AbstractCommand $command) { @@ -57,7 +52,6 @@ public function processCommand(\Magento\Backend\Model\Menu\Builder\AbstractComma * @param \Magento\Backend\Model\Menu $menu * @return \Magento\Backend\Model\Menu * @throws \OutOfRangeException in case given parent id does not exists - * @since 2.0.0 */ public function getResult(\Magento\Backend\Model\Menu $menu) { @@ -104,7 +98,6 @@ public function getResult(\Magento\Backend\Model\Menu $menu) * @param string $paramName * @param mixed $defaultValue * @return mixed - * @since 2.0.0 */ protected function _getParam($params, $paramName, $defaultValue = null) { diff --git a/app/code/Magento/Backend/Model/Menu/Builder/AbstractCommand.php b/app/code/Magento/Backend/Model/Menu/Builder/AbstractCommand.php index aaf9b2762371e..9a5bcf67162e0 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder/AbstractCommand.php +++ b/app/code/Magento/Backend/Model/Menu/Builder/AbstractCommand.php @@ -8,7 +8,6 @@ /** * Menu builder command * @api - * @since 2.0.0 */ abstract class AbstractCommand { @@ -16,7 +15,6 @@ abstract class AbstractCommand * List of required params * * @var string[] - * @since 2.0.0 */ protected $_requiredParams = ["id"]; @@ -24,7 +22,6 @@ abstract class AbstractCommand * Command params array * * @var array - * @since 2.0.0 */ protected $_data = []; @@ -32,14 +29,12 @@ abstract class AbstractCommand * Next command in the chain * * @var \Magento\Backend\Model\Menu\Builder\AbstractCommand - * @since 2.0.0 */ protected $_next = null; /** * @param array $data * @throws \InvalidArgumentException - * @since 2.0.0 */ public function __construct(array $data = []) { @@ -55,7 +50,6 @@ public function __construct(array $data = []) * Retrieve id of element to apply command to * * @return int - * @since 2.0.0 */ public function getId() { @@ -68,7 +62,6 @@ public function getId() * @param \Magento\Backend\Model\Menu\Builder\AbstractCommand $command * @return $this * @throws \InvalidArgumentException if invalid chaining command is supplied - * @since 2.0.0 */ public function chain(\Magento\Backend\Model\Menu\Builder\AbstractCommand $command) { @@ -85,7 +78,6 @@ public function chain(\Magento\Backend\Model\Menu\Builder\AbstractCommand $comma * * @param array $itemParams * @return array - * @since 2.0.0 */ public function execute(array $itemParams = []) { @@ -101,7 +93,6 @@ public function execute(array $itemParams = []) * * @param array $itemParams * @return array - * @since 2.0.0 */ abstract protected function _execute(array $itemParams); } diff --git a/app/code/Magento/Backend/Model/Menu/Builder/Command/Add.php b/app/code/Magento/Backend/Model/Menu/Builder/Command/Add.php index 2fab071980dac..ae9565be24297 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder/Command/Add.php +++ b/app/code/Magento/Backend/Model/Menu/Builder/Command/Add.php @@ -8,7 +8,6 @@ /** * Builder command to add menu items * @api - * @since 2.0.0 */ class Add extends \Magento\Backend\Model\Menu\Builder\AbstractCommand { @@ -16,7 +15,6 @@ class Add extends \Magento\Backend\Model\Menu\Builder\AbstractCommand * List of params that command requires for execution * * @var string[] - * @since 2.0.0 */ protected $_requiredParams = ["id", "title", "module", "resource"]; @@ -26,7 +24,6 @@ class Add extends \Magento\Backend\Model\Menu\Builder\AbstractCommand * @param \Magento\Backend\Model\Menu\Builder\AbstractCommand $command * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function chain(\Magento\Backend\Model\Menu\Builder\AbstractCommand $command) { @@ -41,7 +38,6 @@ public function chain(\Magento\Backend\Model\Menu\Builder\AbstractCommand $comma * * @param array $itemParams * @return array - * @since 2.0.0 */ protected function _execute(array $itemParams) { diff --git a/app/code/Magento/Backend/Model/Menu/Builder/Command/Remove.php b/app/code/Magento/Backend/Model/Menu/Builder/Command/Remove.php index bf766f600cc6e..46cfa5fee1806 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder/Command/Remove.php +++ b/app/code/Magento/Backend/Model/Menu/Builder/Command/Remove.php @@ -8,7 +8,6 @@ /** * Command to remove menu item * @api - * @since 2.0.0 */ class Remove extends \Magento\Backend\Model\Menu\Builder\AbstractCommand { @@ -17,7 +16,6 @@ class Remove extends \Magento\Backend\Model\Menu\Builder\AbstractCommand * * @param array $itemParams * @return array - * @since 2.0.0 */ protected function _execute(array $itemParams) { diff --git a/app/code/Magento/Backend/Model/Menu/Builder/Command/Update.php b/app/code/Magento/Backend/Model/Menu/Builder/Command/Update.php index ac2395a2d41c6..abd03726f200e 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder/Command/Update.php +++ b/app/code/Magento/Backend/Model/Menu/Builder/Command/Update.php @@ -8,7 +8,6 @@ /** * Command to update menu item data * @api - * @since 2.0.0 */ class Update extends \Magento\Backend\Model\Menu\Builder\AbstractCommand { @@ -17,7 +16,6 @@ class Update extends \Magento\Backend\Model\Menu\Builder\AbstractCommand * * @param array $itemParams * @return array - * @since 2.0.0 */ protected function _execute(array $itemParams) { diff --git a/app/code/Magento/Backend/Model/Menu/Builder/CommandFactory.php b/app/code/Magento/Backend/Model/Menu/Builder/CommandFactory.php index 46b3ff7761a14..337a3d583ca6e 100644 --- a/app/code/Magento/Backend/Model/Menu/Builder/CommandFactory.php +++ b/app/code/Magento/Backend/Model/Menu/Builder/CommandFactory.php @@ -8,19 +8,16 @@ /** * Menu builder command factory * @api - * @since 2.0.0 */ class CommandFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $commandName * @param array $data * @return \Magento\Config\Model\Config - * @since 2.0.0 */ public function create($commandName, array $data = []) { diff --git a/app/code/Magento/Backend/Model/Menu/Config.php b/app/code/Magento/Backend/Model/Menu/Config.php index b38af1516c226..2386959417918 100644 --- a/app/code/Magento/Backend/Model/Menu/Config.php +++ b/app/code/Magento/Backend/Model/Menu/Config.php @@ -8,7 +8,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Config { @@ -18,19 +17,16 @@ class Config /** * @var \Magento\Framework\App\Cache\Type\Config - * @since 2.0.0 */ protected $_configCacheType; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Backend\Model\MenuFactory - * @since 2.0.0 */ protected $_menuFactory; @@ -38,37 +34,31 @@ class Config * Menu model * * @var \Magento\Backend\Model\Menu - * @since 2.0.0 */ protected $_menu; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; /** * @var \Magento\Backend\Model\Menu\Config\Reader - * @since 2.0.0 */ protected $_configReader; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Backend\Model\Menu\AbstractDirector - * @since 2.0.0 */ protected $_director; /** * @var \Magento\Framework\App\State - * @since 2.0.0 */ protected $_appState; @@ -82,7 +72,6 @@ class Config * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param \Magento\Framework\App\State $appState - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Menu\Builder $menuBuilder, @@ -114,7 +103,6 @@ public function __construct( * @throws \Exception * @throws \BadMethodCallException|\Exception * @throws \Exception|\OutOfRangeException - * @since 2.0.0 */ public function getMenu() { @@ -139,7 +127,6 @@ public function getMenu() * Initialize menu object * * @return void - * @since 2.0.0 */ protected function _initMenu() { diff --git a/app/code/Magento/Backend/Model/Menu/Config/Converter.php b/app/code/Magento/Backend/Model/Menu/Config/Converter.php index e3c58964e6c99..1444ab3a21c36 100644 --- a/app/code/Magento/Backend/Model/Menu/Config/Converter.php +++ b/app/code/Magento/Backend/Model/Menu/Config/Converter.php @@ -8,7 +8,6 @@ /** * Class Converter converts xml to appropriate array * @api - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { @@ -17,7 +16,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * * @param mixed $dom * @return array - * @since 2.0.0 */ public function convert($dom) { diff --git a/app/code/Magento/Backend/Model/Menu/Config/Menu/Dom.php b/app/code/Magento/Backend/Model/Menu/Config/Menu/Dom.php index b92949618de8d..30ba12dd04b15 100644 --- a/app/code/Magento/Backend/Model/Menu/Config/Menu/Dom.php +++ b/app/code/Magento/Backend/Model/Menu/Config/Menu/Dom.php @@ -8,7 +8,6 @@ /** * Menu configuration files handler * @api - * @since 2.0.0 */ class Dom extends \Magento\Framework\Config\Dom { @@ -19,7 +18,6 @@ class Dom extends \Magento\Framework\Config\Dom * @return \DOMElement|null * @throws \Magento\Framework\Exception\LocalizedException an exception is possible if original document contains * multiple fixed nodes - * @since 2.0.0 */ protected function _getMatchedNode($nodePath) { diff --git a/app/code/Magento/Backend/Model/Menu/Config/Reader.php b/app/code/Magento/Backend/Model/Menu/Config/Reader.php index 8a37b7fb88dd8..9b1a3cde08b36 100644 --- a/app/code/Magento/Backend/Model/Menu/Config/Reader.php +++ b/app/code/Magento/Backend/Model/Menu/Config/Reader.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -22,7 +21,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Backend/Model/Menu/Config/SchemaLocator.php b/app/code/Magento/Backend/Model/Menu/Config/SchemaLocator.php index 9b40c86c46aa9..371f0443a1432 100644 --- a/app/code/Magento/Backend/Model/Menu/Config/SchemaLocator.php +++ b/app/code/Magento/Backend/Model/Menu/Config/SchemaLocator.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -19,7 +18,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema = null; @@ -27,13 +25,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema = null; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -44,7 +40,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -55,7 +50,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Backend/Model/Menu/Director/Director.php b/app/code/Magento/Backend/Model/Menu/Director/Director.php index b946488c28119..c7f7c2d322739 100644 --- a/app/code/Magento/Backend/Model/Menu/Director/Director.php +++ b/app/code/Magento/Backend/Model/Menu/Director/Director.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ class Director extends \Magento\Backend\Model\Menu\AbstractDirector { @@ -16,7 +15,6 @@ class Director extends \Magento\Backend\Model\Menu\AbstractDirector * Log message patterns * * @var array - * @since 2.0.0 */ protected $_messagePatterns = ['update' => 'Item %s was updated', 'remove' => 'Item %s was removed']; @@ -26,7 +24,6 @@ class Director extends \Magento\Backend\Model\Menu\AbstractDirector * @param array $data command params * @param \Psr\Log\LoggerInterface $logger * @return \Magento\Backend\Model\Menu\Builder\AbstractCommand - * @since 2.0.0 */ protected function _getCommand($data, $logger) { @@ -46,7 +43,6 @@ protected function _getCommand($data, $logger) * @param \Magento\Backend\Model\Menu\Builder $builder * @param \Psr\Log\LoggerInterface $logger * @return void - * @since 2.0.0 */ public function direct( array $config, diff --git a/app/code/Magento/Backend/Model/Menu/Filter/Iterator.php b/app/code/Magento/Backend/Model/Menu/Filter/Iterator.php index f49a69fbdaa03..712b2e9a28e97 100644 --- a/app/code/Magento/Backend/Model/Menu/Filter/Iterator.php +++ b/app/code/Magento/Backend/Model/Menu/Filter/Iterator.php @@ -8,7 +8,6 @@ /** * Menu filter iterator * @api - * @since 2.0.0 */ class Iterator extends \FilterIterator { @@ -16,7 +15,6 @@ class Iterator extends \FilterIterator * Constructor * * @param \Iterator $iterator - * @since 2.0.0 */ public function __construct(\Iterator $iterator) { @@ -27,7 +25,6 @@ public function __construct(\Iterator $iterator) * Check whether the current element of the iterator is acceptable * * @return bool true if the current element is acceptable, otherwise false. - * @since 2.0.0 */ public function accept() { diff --git a/app/code/Magento/Backend/Model/Menu/Item.php b/app/code/Magento/Backend/Model/Menu/Item.php index f6e046ea0a31b..0d29b46b933a2 100644 --- a/app/code/Magento/Backend/Model/Menu/Item.php +++ b/app/code/Magento/Backend/Model/Menu/Item.php @@ -14,7 +14,6 @@ * * @api * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class Item { @@ -22,7 +21,6 @@ class Item * Menu item id * * @var string - * @since 2.0.0 */ protected $_id; @@ -30,7 +28,6 @@ class Item * Menu item title * * @var string - * @since 2.0.0 */ protected $_title; @@ -38,7 +35,6 @@ class Item * Module of menu item * * @var string - * @since 2.0.0 */ protected $_moduleName; @@ -46,7 +42,6 @@ class Item * Menu item sort index in list * * @var string - * @since 2.0.0 */ protected $_sortIndex = null; @@ -54,7 +49,6 @@ class Item * Menu item action * * @var string - * @since 2.0.0 */ protected $_action = null; @@ -62,7 +56,6 @@ class Item * Parent menu item id * * @var string - * @since 2.0.0 */ protected $_parentId = null; @@ -70,7 +63,6 @@ class Item * Acl resource of menu item * * @var string - * @since 2.0.0 */ protected $_resource; @@ -78,7 +70,6 @@ class Item * Item tooltip text * * @var string - * @since 2.0.0 */ protected $_tooltip; @@ -86,7 +77,6 @@ class Item * Path from root element in tree * * @var string - * @since 2.0.0 */ protected $_path = ''; @@ -94,7 +84,6 @@ class Item * Acl * * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_acl; @@ -102,7 +91,6 @@ class Item * Module that item is dependent on * * @var string|null - * @since 2.0.0 */ protected $_dependsOnModule; @@ -110,7 +98,6 @@ class Item * Global config option that item is dependent on * * @var string|null - * @since 2.0.0 */ protected $_dependsOnConfig; @@ -118,31 +105,26 @@ class Item * Submenu item list * * @var Menu - * @since 2.0.0 */ protected $_submenu; /** * @var \Magento\Backend\Model\MenuFactory - * @since 2.0.0 */ protected $_menuFactory; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_urlModel; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Backend\Model\Menu\Item\Validator - * @since 2.0.0 */ protected $_validator; @@ -151,7 +133,6 @@ class Item * * @var string * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_serializedSubmenu; @@ -159,13 +140,11 @@ class Item * Module list * * @var \Magento\Framework\Module\ModuleListInterface - * @since 2.0.0 */ protected $_moduleList; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ private $_moduleManager; @@ -186,7 +165,6 @@ class Item * @param \Magento\Framework\Module\ModuleListInterface $moduleList * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Menu\Item\Validator $validator, @@ -216,7 +194,6 @@ public function __construct( * @param string $key * @param mixed $defaultValue * @return mixed - * @since 2.0.0 */ protected function _getArgument(array $array, $key, $defaultValue = null) { @@ -227,7 +204,6 @@ protected function _getArgument(array $array, $key, $defaultValue = null) * Retrieve item id * * @return string - * @since 2.0.0 */ public function getId() { @@ -249,7 +225,6 @@ public function getTarget() * Check whether item has subnodes * * @return bool - * @since 2.0.0 */ public function hasChildren() { @@ -260,7 +235,6 @@ public function hasChildren() * Retrieve submenu * * @return Menu - * @since 2.0.0 */ public function getChildren() { @@ -274,7 +248,6 @@ public function getChildren() * Retrieve menu item url * * @return string - * @since 2.0.0 */ public function getUrl() { @@ -288,7 +261,6 @@ public function getUrl() * Retrieve menu item action * * @return string - * @since 2.0.0 */ public function getAction() { @@ -301,7 +273,6 @@ public function getAction() * @param string $action * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setAction($action) { @@ -314,7 +285,6 @@ public function setAction($action) * Check whether item has javascript callback on click * * @return bool - * @since 2.0.0 */ public function hasClickCallback() { @@ -325,7 +295,6 @@ public function hasClickCallback() * Retrieve item click callback * * @return string - * @since 2.0.0 */ public function getClickCallback() { @@ -339,7 +308,6 @@ public function getClickCallback() * Retrieve tooltip text title * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -352,7 +320,6 @@ public function getTitle() * @param string $title * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setTitle($title) { @@ -365,7 +332,6 @@ public function setTitle($title) * Check whether item has tooltip text * * @return bool - * @since 2.0.0 */ public function hasTooltip() { @@ -376,7 +342,6 @@ public function hasTooltip() * Retrieve item tooltip text * * @return string - * @since 2.0.0 */ public function getTooltip() { @@ -389,7 +354,6 @@ public function getTooltip() * @param string $tooltip * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setTooltip($tooltip) { @@ -404,7 +368,6 @@ public function setTooltip($tooltip) * @param string $module * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setModule($module) { @@ -419,7 +382,6 @@ public function setModule($module) * @param string $moduleName * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setModuleDependency($moduleName) { @@ -434,7 +396,6 @@ public function setModuleDependency($moduleName) * @param string $configPath * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function setConfigDependency($configPath) { @@ -447,7 +408,6 @@ public function setConfigDependency($configPath) * Check whether item is disabled. Disabled items are not shown to user * * @return bool - * @since 2.0.0 */ public function isDisabled() { @@ -460,7 +420,6 @@ public function isDisabled() * Check whether module that item depends on is active * * @return bool - * @since 2.0.0 */ protected function _isModuleDependenciesAvailable() { @@ -475,7 +434,6 @@ protected function _isModuleDependenciesAvailable() * Check whether config dependency is available * * @return bool - * @since 2.0.0 */ protected function _isConfigDependenciesAvailable() { @@ -489,7 +447,6 @@ protected function _isConfigDependenciesAvailable() * Check whether item is allowed to the user * * @return bool - * @since 2.0.0 */ public function isAllowed() { diff --git a/app/code/Magento/Backend/Model/Menu/Item/Factory.php b/app/code/Magento/Backend/Model/Menu/Item/Factory.php index 8dd79904ef534..2a1e179f3e00c 100644 --- a/app/code/Magento/Backend/Model/Menu/Item/Factory.php +++ b/app/code/Magento/Backend/Model/Menu/Item/Factory.php @@ -7,19 +7,16 @@ /** * @api - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param array $data * @return \Magento\Backend\Model\Menu\Item - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Backend/Model/Menu/Item/Validator.php b/app/code/Magento/Backend/Model/Menu/Item/Validator.php index 7b4b24a871b50..e383354231f76 100644 --- a/app/code/Magento/Backend/Model/Menu/Item/Validator.php +++ b/app/code/Magento/Backend/Model/Menu/Item/Validator.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Validator { @@ -15,7 +14,6 @@ class Validator * The list of required params * * @var string[] - * @since 2.0.0 */ protected $_required = ['id', 'title', 'resource']; @@ -23,7 +21,6 @@ class Validator * List of created item ids * * @var array - * @since 2.0.0 */ protected $_ids = []; @@ -31,13 +28,11 @@ class Validator * The list of primitive validators * * @var \Zend_Validate[] - * @since 2.0.0 */ protected $_validators = []; /** * Constructor - * @since 2.0.0 */ public function __construct() { @@ -76,7 +71,6 @@ public function __construct() * @return void * @throws \InvalidArgumentException * @throws \BadMethodCallException - * @since 2.0.0 */ public function validate($data) { @@ -116,7 +110,6 @@ public function validate($data) * @param mixed $value * @return void * @throws \InvalidArgumentException - * @since 2.0.0 */ public function validateParam($param, $value) { diff --git a/app/code/Magento/Backend/Model/Menu/Iterator.php b/app/code/Magento/Backend/Model/Menu/Iterator.php index 9fadd8ca079df..6bf295702a10f 100644 --- a/app/code/Magento/Backend/Model/Menu/Iterator.php +++ b/app/code/Magento/Backend/Model/Menu/Iterator.php @@ -8,7 +8,6 @@ /** * Menu iterator * @api - * @since 2.0.0 */ class Iterator extends \ArrayIterator { @@ -16,7 +15,6 @@ class Iterator extends \ArrayIterator * Rewind to first element * * @return void - * @since 2.0.0 */ public function rewind() { diff --git a/app/code/Magento/Backend/Model/ResourceModel/Translate.php b/app/code/Magento/Backend/Model/ResourceModel/Translate.php index e7527ca953b72..ec9fd8bfa1768 100644 --- a/app/code/Magento/Backend/Model/ResourceModel/Translate.php +++ b/app/code/Magento/Backend/Model/ResourceModel/Translate.php @@ -8,7 +8,6 @@ /** * Backend translate resource model * @api - * @since 2.0.0 */ class Translate extends \Magento\Translation\Model\ResourceModel\Translate { @@ -17,7 +16,6 @@ class Translate extends \Magento\Translation\Model\ResourceModel\Translate * Use always default scope for store id * * @return int - * @since 2.0.0 */ protected function _getStoreId() { diff --git a/app/code/Magento/Backend/Model/Search/Customer.php b/app/code/Magento/Backend/Model/Search/Customer.php index 8fa7dffbd6f9c..4ce437dc2617b 100644 --- a/app/code/Magento/Backend/Model/Search/Customer.php +++ b/app/code/Magento/Backend/Model/Search/Customer.php @@ -20,7 +20,6 @@ * @method Customer setResults(array $results) * @method array getResults() * @api - * @since 2.0.0 */ class Customer extends \Magento\Framework\DataObject { @@ -28,31 +27,26 @@ class Customer extends \Magento\Framework\DataObject * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_adminhtmlData = null; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.0.0 */ protected $filterBuilder; /** * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_customerViewHelper; @@ -64,7 +58,6 @@ class Customer extends \Magento\Framework\DataObject * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\Api\FilterBuilder $filterBuilder * @param \Magento\Customer\Helper\View $customerViewHelper - * @since 2.0.0 */ public function __construct( \Magento\Backend\Helper\Data $adminhtmlData, @@ -84,7 +77,6 @@ public function __construct( * Load search results * * @return $this - * @since 2.0.0 */ public function load() { diff --git a/app/code/Magento/Backend/Model/Search/Order.php b/app/code/Magento/Backend/Model/Search/Order.php index bbfb77169e5f6..5970e8b586e16 100644 --- a/app/code/Magento/Backend/Model/Search/Order.php +++ b/app/code/Magento/Backend/Model/Search/Order.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Order extends \Magento\Framework\DataObject { @@ -18,20 +17,17 @@ class Order extends \Magento\Framework\DataObject * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_adminhtmlData = null; /** * @var \Magento\Sales\Model\ResourceModel\Order\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @param \Magento\Sales\Model\ResourceModel\Order\CollectionFactory $collectionFactory * @param \Magento\Backend\Helper\Data $adminhtmlData - * @since 2.0.0 */ public function __construct( \Magento\Sales\Model\ResourceModel\Order\CollectionFactory $collectionFactory, @@ -45,7 +41,6 @@ public function __construct( * Load search results * * @return $this - * @since 2.0.0 */ public function load() { diff --git a/app/code/Magento/Backend/Model/Session.php b/app/code/Magento/Backend/Model/Session.php index 5e16468eb9092..4f4e1e61db77e 100644 --- a/app/code/Magento/Backend/Model/Session.php +++ b/app/code/Magento/Backend/Model/Session.php @@ -9,7 +9,6 @@ * Backend user session * * @api - * @since 2.0.0 */ class Session extends \Magento\Framework\Session\SessionManager { @@ -19,7 +18,6 @@ class Session extends \Magento\Framework\Session\SessionManager * @param string $path * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function isValidForPath($path) { diff --git a/app/code/Magento/Backend/Model/Session/AdminConfig.php b/app/code/Magento/Backend/Model/Session/AdminConfig.php index da9a682965032..09bb5ba521352 100644 --- a/app/code/Magento/Backend/Model/Session/AdminConfig.php +++ b/app/code/Magento/Backend/Model/Session/AdminConfig.php @@ -15,7 +15,6 @@ /** * Magento Backend session configuration * @api - * @since 2.0.0 */ class AdminConfig extends Config { @@ -26,19 +25,16 @@ class AdminConfig extends Config /** * @var FrontNameResolver - * @since 2.0.0 */ protected $_frontNameResolver; /** * @var \Magento\Backend\App\BackendAppList - * @since 2.0.0 */ private $backendAppList; /** * @var \Magento\Backend\Model\UrlFactory - * @since 2.0.0 */ private $backendUrlFactory; @@ -56,7 +52,6 @@ class AdminConfig extends Config * @param string $lifetimePath * @param string $sessionName * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\ValidatorFactory $validatorFactory, @@ -95,7 +90,6 @@ public function __construct( * Determine the admin path * * @return string - * @since 2.0.0 */ private function extractAdminPath() { diff --git a/app/code/Magento/Backend/Model/Session/Quote.php b/app/code/Magento/Backend/Model/Session/Quote.php index 6ae27d4520e37..2c072c051388b 100644 --- a/app/code/Magento/Backend/Model/Session/Quote.php +++ b/app/code/Magento/Backend/Model/Session/Quote.php @@ -24,7 +24,6 @@ * @method Quote setOrderId($orderId) * @method int getOrderId() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Quote extends \Magento\Framework\Session\SessionManager { @@ -32,7 +31,6 @@ class Quote extends \Magento\Framework\Session\SessionManager * Quote model object * * @var \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected $_quote; @@ -40,7 +38,6 @@ class Quote extends \Magento\Framework\Session\SessionManager * Store model object * * @var \Magento\Store\Model\Store - * @since 2.0.0 */ protected $_store; @@ -48,19 +45,16 @@ class Quote extends \Magento\Framework\Session\SessionManager * Order model object * * @var \Magento\Sales\Model\Order - * @since 2.0.0 */ protected $_order; /** * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $_orderFactory; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -68,25 +62,21 @@ class Quote extends \Magento\Framework\Session\SessionManager * Sales quote repository * * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; /** * @var \Magento\Quote\Model\QuoteFactory - * @since 2.0.0 */ protected $quoteFactory; @@ -107,7 +97,6 @@ class Quote extends \Magento\Framework\Session\SessionManager * @param GroupManagementInterface $groupManagement * @param \Magento\Quote\Model\QuoteFactory $quoteFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request, @@ -152,7 +141,6 @@ public function __construct( * Retrieve quote model object * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ public function getQuote() { @@ -189,7 +177,6 @@ public function getQuote() * Retrieve store model object * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { @@ -207,7 +194,6 @@ public function getStore() * Retrieve order model object * * @return \Magento\Sales\Model\Order - * @since 2.0.0 */ public function getOrder() { diff --git a/app/code/Magento/Backend/Model/Translate/Inline/Config.php b/app/code/Magento/Backend/Model/Translate/Inline/Config.php index c54e7145d13ae..93d44899705ce 100644 --- a/app/code/Magento/Backend/Model/Translate/Inline/Config.php +++ b/app/code/Magento/Backend/Model/Translate/Inline/Config.php @@ -8,26 +8,22 @@ /** * Backend Inline Translation config * @api - * @since 2.0.0 */ class Config implements \Magento\Framework\Translate\Inline\ConfigInterface { /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $config; /** * @var \Magento\Developer\Helper\Data - * @since 2.0.0 */ protected $devHelper; /** * @param \Magento\Backend\App\ConfigInterface $config * @param \Magento\Developer\Helper\Data $devHelper - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\ConfigInterface $config, @@ -39,7 +35,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function isActive($scope = null) { @@ -48,7 +43,6 @@ public function isActive($scope = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function isDevAllowed($scope = null) { diff --git a/app/code/Magento/Backend/Model/Url.php b/app/code/Magento/Backend/Model/Url.php index fd8fd61ab01f0..b2040c90493f2 100644 --- a/app/code/Magento/Backend/Model/Url.php +++ b/app/code/Magento/Backend/Model/Url.php @@ -14,7 +14,6 @@ * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlInterface { @@ -29,13 +28,11 @@ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlIn * Authentication session * * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Backend\Model\Menu - * @since 2.0.0 */ protected $_menu; @@ -43,13 +40,11 @@ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlIn * Startup page url from config * * @var string - * @since 2.0.0 */ protected $_startupMenuItemId; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendHelper; @@ -57,37 +52,31 @@ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlIn * Menu config * * @var \Magento\Backend\Model\Menu\Config - * @since 2.0.0 */ protected $_menuConfig; /** * @var \Magento\Framework\App\CacheInterface - * @since 2.0.0 */ protected $_cache; /** * @var \Magento\Framework\Encryption\EncryptorInterface - * @since 2.0.0 */ protected $_encryptor; /** * @var \Magento\Store\Model\StoreFactory - * @since 2.0.0 */ protected $_storeFactory; /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $formKey; /** * @var \Magento\Store\Model\Store - * @since 2.0.0 */ protected $_scope; @@ -116,7 +105,6 @@ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlIn * @param HostChecker|null $hostChecker * @param Json $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Route\ConfigInterface $routeConfig, @@ -171,7 +159,6 @@ public function __construct( * Retrieve is secure mode for ULR logic * * @return bool - * @since 2.0.0 */ protected function _isSecure() { @@ -187,7 +174,6 @@ protected function _isSecure() * @param array $data * @param bool $unsetOldParams * @return $this - * @since 2.0.0 */ protected function _setRouteParams(array $data, $unsetOldParams = true) { @@ -207,7 +193,6 @@ protected function _setRouteParams(array $data, $unsetOldParams = true) * @param string $routePath * @param array $routeParams * @return string - * @since 2.0.0 */ public function getUrl($routePath = null, $routeParams = null) { @@ -253,7 +238,6 @@ public function getUrl($routePath = null, $routeParams = null) * @param string $controller Controller name * @param string $action Action name * @return string - * @since 2.0.0 */ public function getSecretKey($routeName = null, $controller = null, $action = null) { @@ -288,7 +272,6 @@ public function getSecretKey($routeName = null, $controller = null, $action = nu * Return secret key settings flag * * @return bool - * @since 2.0.0 */ public function useSecretKey() { @@ -299,7 +282,6 @@ public function useSecretKey() * Enable secret key using * * @return $this - * @since 2.0.0 */ public function turnOnSecretKey() { @@ -311,7 +293,6 @@ public function turnOnSecretKey() * Disable secret key using * * @return $this - * @since 2.0.0 */ public function turnOffSecretKey() { @@ -323,7 +304,6 @@ public function turnOffSecretKey() * Refresh admin menu cache etc. * * @return void - * @since 2.0.0 */ public function renewSecretUrls() { @@ -334,7 +314,6 @@ public function renewSecretUrls() * Find admin start page url * * @return string - * @since 2.0.0 */ public function getStartupPageUrl() { @@ -353,7 +332,6 @@ public function getStartupPageUrl() * Find first menu item that user is able to access * * @return string - * @since 2.0.0 */ public function findFirstAvailableMenu() { @@ -375,7 +353,6 @@ public function findFirstAvailableMenu() * Get Menu model * * @return \Magento\Backend\Model\Menu - * @since 2.0.0 */ protected function _getMenu() { @@ -390,7 +367,6 @@ protected function _getMenu() * * @param \Magento\Backend\Model\Auth\Session $session * @return $this - * @since 2.0.0 */ public function setSession(\Magento\Backend\Model\Auth\Session $session) { @@ -402,7 +378,6 @@ public function setSession(\Magento\Backend\Model\Auth\Session $session) * Retrieve auth session * * @return \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected function _getSession() { @@ -413,7 +388,6 @@ protected function _getSession() * Return backend area front name, defined in configuration * * @return string - * @since 2.0.0 */ public function getAreaFrontName() { @@ -428,7 +402,6 @@ public function getAreaFrontName() * Add backend area front name as a prefix to action path * * @return string - * @since 2.0.0 */ protected function _getActionPath() { @@ -445,7 +418,6 @@ protected function _getActionPath() * Get scope for the url instance * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ protected function _getScope() { @@ -465,7 +437,6 @@ protected function _getScope() * * @param string $path * @return string - * @since 2.0.0 */ protected function _getConfigCacheId($path) { @@ -478,7 +449,6 @@ protected function _getConfigCacheId($path) * * @param string $path * @return null|string - * @since 2.0.0 */ protected function _getConfig($path) { diff --git a/app/code/Magento/Backend/Model/Url/ScopeResolver.php b/app/code/Magento/Backend/Model/Url/ScopeResolver.php index 51389c94bef47..0d886f8f4547a 100644 --- a/app/code/Magento/Backend/Model/Url/ScopeResolver.php +++ b/app/code/Magento/Backend/Model/Url/ScopeResolver.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class ScopeResolver extends \Magento\Framework\Url\ScopeResolver { diff --git a/app/code/Magento/Backend/Model/UrlInterface.php b/app/code/Magento/Backend/Model/UrlInterface.php index e78e97e94ac80..3d75d617398c4 100644 --- a/app/code/Magento/Backend/Model/UrlInterface.php +++ b/app/code/Magento/Backend/Model/UrlInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface UrlInterface extends \Magento\Framework\UrlInterface { @@ -28,7 +27,6 @@ interface UrlInterface extends \Magento\Framework\UrlInterface * @param string $controller Controller name * @param string $action Action name * @return string - * @since 2.0.0 */ public function getSecretKey($routeName = null, $controller = null, $action = null); @@ -36,7 +34,6 @@ public function getSecretKey($routeName = null, $controller = null, $action = nu * Return secret key settings flag * * @return bool - * @since 2.0.0 */ public function useSecretKey(); @@ -44,7 +41,6 @@ public function useSecretKey(); * Enable secret key using * * @return \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ public function turnOnSecretKey(); @@ -52,7 +48,6 @@ public function turnOnSecretKey(); * Disable secret key using * * @return \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ public function turnOffSecretKey(); @@ -60,7 +55,6 @@ public function turnOffSecretKey(); * Refresh admin menu cache etc. * * @return \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ public function renewSecretUrls(); @@ -68,7 +62,6 @@ public function renewSecretUrls(); * Find admin start page url * * @return string - * @since 2.0.0 */ public function getStartupPageUrl(); @@ -77,7 +70,6 @@ public function getStartupPageUrl(); * * @param \Magento\Backend\Model\Auth\Session $session * @return \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ public function setSession(\Magento\Backend\Model\Auth\Session $session); @@ -85,7 +77,6 @@ public function setSession(\Magento\Backend\Model\Auth\Session $session); * Return backend area front name, defined in configuration * * @return string - * @since 2.0.0 */ public function getAreaFrontName(); @@ -93,7 +84,6 @@ public function getAreaFrontName(); * Find first menu item that user is able to access * * @return string - * @since 2.0.0 */ public function findFirstAvailableMenu(); } diff --git a/app/code/Magento/Backend/Model/View/Layout/Builder.php b/app/code/Magento/Backend/Model/View/Layout/Builder.php index 536e5f69bf0aa..9eaaf1a9f892a 100644 --- a/app/code/Magento/Backend/Model/View/Layout/Builder.php +++ b/app/code/Magento/Backend/Model/View/Layout/Builder.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class Builder extends \Magento\Framework\View\Layout\Builder { /** * @return $this - * @since 2.0.0 */ protected function afterGenerateBlock() { diff --git a/app/code/Magento/Backend/Model/View/Layout/Reader/Block.php b/app/code/Magento/Backend/Model/View/Layout/Reader/Block.php index e5a08b6ed2c61..80264b2f6a1ff 100644 --- a/app/code/Magento/Backend/Model/View/Layout/Reader/Block.php +++ b/app/code/Magento/Backend/Model/View/Layout/Reader/Block.php @@ -12,7 +12,6 @@ /** * Backend block structure reader with ACL support * @api - * @since 2.0.0 */ class Block extends Layout\Reader\Block { @@ -25,7 +24,6 @@ class Block extends Layout\Reader\Block * @param InterpreterInterface $argumentInterpreter * @param Condition $conditionReader * @param string|null $scopeType - * @since 2.0.0 */ public function __construct( Layout\ScheduledStructure\Helper $helper, diff --git a/app/code/Magento/Backend/Model/View/Page/Builder.php b/app/code/Magento/Backend/Model/View/Page/Builder.php index 2810953ed5320..53b6229f970c8 100644 --- a/app/code/Magento/Backend/Model/View/Page/Builder.php +++ b/app/code/Magento/Backend/Model/View/Page/Builder.php @@ -12,13 +12,11 @@ /** * @api - * @since 2.0.0 */ class Builder extends View\Page\Builder { /** * @return $this - * @since 2.0.0 */ protected function afterGenerateBlock() { diff --git a/app/code/Magento/Backend/Model/View/Result/Forward.php b/app/code/Magento/Backend/Model/View/Result/Forward.php index adfe1f708d021..426f743b32862 100644 --- a/app/code/Magento/Backend/Model/View/Result/Forward.php +++ b/app/code/Magento/Backend/Model/View/Result/Forward.php @@ -12,19 +12,16 @@ /** * @api - * @since 2.0.0 */ class Forward extends \Magento\Framework\Controller\Result\Forward { /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $session; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $actionFlag; @@ -32,7 +29,6 @@ class Forward extends \Magento\Framework\Controller\Result\Forward * @param RequestInterface $request * @param Session $session * @param ActionFlag $actionFlag - * @since 2.0.0 */ public function __construct(RequestInterface $request, Session $session, ActionFlag $actionFlag) { @@ -44,7 +40,6 @@ public function __construct(RequestInterface $request, Session $session, ActionF /** * @param string $action * @return $this - * @since 2.0.0 */ public function forward($action) { diff --git a/app/code/Magento/Backend/Model/View/Result/Page.php b/app/code/Magento/Backend/Model/View/Result/Page.php index 1a076a453e52b..e59d062146968 100644 --- a/app/code/Magento/Backend/Model/View/Result/Page.php +++ b/app/code/Magento/Backend/Model/View/Result/Page.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Page extends View\Result\Page { @@ -19,7 +18,6 @@ class Page extends View\Result\Page * * @param string $itemId current active menu item * @return $this - * @since 2.0.0 */ public function setActiveMenu($itemId) { @@ -41,7 +39,6 @@ public function setActiveMenu($itemId) * @param string $title * @param string|null $link * @return $this - * @since 2.0.0 */ public function addBreadcrumb($label, $title, $link = null) { @@ -58,7 +55,6 @@ public function addBreadcrumb($label, $title, $link = null) * * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ public function addContent(View\Element\AbstractBlock $block) { @@ -70,7 +66,6 @@ public function addContent(View\Element\AbstractBlock $block) * * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ public function addLeft(View\Element\AbstractBlock $block) { @@ -82,7 +77,6 @@ public function addLeft(View\Element\AbstractBlock $block) * * @param \Magento\Framework\View\Element\AbstractBlock $block * @return $this - * @since 2.0.0 */ public function addJs(View\Element\AbstractBlock $block) { @@ -97,7 +91,6 @@ public function addJs(View\Element\AbstractBlock $block) * @param \Magento\Framework\View\Element\AbstractBlock $block * @param string $containerName * @return $this - * @since 2.0.0 */ protected function moveBlockToContainer(View\Element\AbstractBlock $block, $containerName) { diff --git a/app/code/Magento/Backend/Model/View/Result/Redirect.php b/app/code/Magento/Backend/Model/View/Result/Redirect.php index 5a3fc303c542e..fbb0f8bcd4694 100644 --- a/app/code/Magento/Backend/Model/View/Result/Redirect.php +++ b/app/code/Magento/Backend/Model/View/Result/Redirect.php @@ -14,19 +14,16 @@ /** * @api - * @since 2.0.0 */ class Redirect extends \Magento\Framework\Controller\Result\Redirect { /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $session; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $actionFlag; @@ -37,7 +34,6 @@ class Redirect extends \Magento\Framework\Controller\Result\Redirect * @param \Magento\Backend\Model\UrlInterface $urlBuilder * @param Session $session * @param ActionFlag $actionFlag - * @since 2.0.0 */ public function __construct( App\Response\RedirectInterface $redirect, @@ -54,7 +50,6 @@ public function __construct( * Set referer url or dashboard if referer does not exist * * @return $this - * @since 2.0.0 */ public function setRefererOrBaseUrl() { @@ -64,7 +59,6 @@ public function setRefererOrBaseUrl() /** * {@inheritdoc} - * @since 2.0.0 */ protected function render(HttpResponseInterface $response) { diff --git a/app/code/Magento/Backend/Model/View/Result/RedirectFactory.php b/app/code/Magento/Backend/Model/View/Result/RedirectFactory.php index 28cf8d241f7e1..73fe23c3f7166 100644 --- a/app/code/Magento/Backend/Model/View/Result/RedirectFactory.php +++ b/app/code/Magento/Backend/Model/View/Result/RedirectFactory.php @@ -10,7 +10,6 @@ /** * Factory class for \Magento\Backend\Model\View\Result\Redirect * @api - * @since 2.0.0 */ class RedirectFactory extends \Magento\Framework\Controller\Result\RedirectFactory { @@ -18,7 +17,6 @@ class RedirectFactory extends \Magento\Framework\Controller\Result\RedirectFacto * Object Manager instance * * @var ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -26,14 +24,12 @@ class RedirectFactory extends \Magento\Framework\Controller\Result\RedirectFacto * Instance name to create * * @var string - * @since 2.0.0 */ protected $instanceName; /** * @param ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -48,7 +44,6 @@ public function __construct( * * @param array $data * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/AbstractTotals.php b/app/code/Magento/Backend/Model/Widget/Grid/AbstractTotals.php index 756a63207c832..b730ee5fd5ea1 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/AbstractTotals.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/AbstractTotals.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractTotals implements \Magento\Backend\Model\Widget\Grid\TotalsInterface { @@ -18,7 +17,6 @@ abstract class AbstractTotals implements \Magento\Backend\Model\Widget\Grid\Tota * 'value' => column expression * * @var array - * @since 2.0.0 */ protected $_columns = []; @@ -28,7 +26,6 @@ abstract class AbstractTotals implements \Magento\Backend\Model\Widget\Grid\Tota * 'value' => counted total * * @var array - * @since 2.0.0 */ protected $_totals = []; @@ -36,7 +33,6 @@ abstract class AbstractTotals implements \Magento\Backend\Model\Widget\Grid\Tota * Factory model * * @var \Magento\Framework\DataObject\Factory - * @since 2.0.0 */ protected $_factory; @@ -44,14 +40,12 @@ abstract class AbstractTotals implements \Magento\Backend\Model\Widget\Grid\Tota * Parser for expressions like operand operation operand * * @var \Magento\Backend\Model\Widget\Grid\Parser - * @since 2.0.0 */ protected $_parser; /** * @param \Magento\Framework\DataObject\Factory $factory * @param \Magento\Backend\Model\Widget\Grid\Parser $parser - * @since 2.0.0 */ public function __construct( \Magento\Framework\DataObject\Factory $factory, @@ -68,7 +62,6 @@ public function __construct( * @param \Magento\Framework\Data\Collection $collection * @return float|int * @abstract - * @since 2.0.0 */ abstract protected function _countSum($index, $collection); @@ -79,7 +72,6 @@ abstract protected function _countSum($index, $collection); * @param \Magento\Framework\Data\Collection $collection * @return float|int * @abstract - * @since 2.0.0 */ abstract protected function _countAverage($index, $collection); @@ -90,7 +82,6 @@ abstract protected function _countAverage($index, $collection); * @param string $expr * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _count($index, $expr, $collection) { @@ -116,7 +107,6 @@ protected function _count($index, $expr, $collection) * @param string $expr * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _countExpr($expr, $collection) { @@ -147,7 +137,6 @@ protected function _countExpr($expr, $collection) * @param float|int &$tmpResult * @param float|int $result * @return void - * @since 2.0.0 */ protected function _checkOperandsSet(&$firstOperand, &$secondOperand, &$tmpResult, $result) { @@ -168,7 +157,6 @@ protected function _checkOperandsSet(&$firstOperand, &$secondOperand, &$tmpResul * @param float|int $secondOperand * @param string $operation * @return float|int - * @since 2.0.0 */ protected function _operate($firstOperand, $secondOperand, $operation) { @@ -196,7 +184,6 @@ protected function _operate($firstOperand, $secondOperand, $operation) * @param string $operand * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _checkOperand($operand, $collection) { @@ -218,7 +205,6 @@ protected function _checkOperand($operand, $collection) * @param string $index * @param string $totalExpr * @return $this - * @since 2.0.0 */ public function setColumn($index, $totalExpr) { @@ -230,7 +216,6 @@ public function setColumn($index, $totalExpr) * Return columns set * * @return array - * @since 2.0.0 */ public function getColumns() { @@ -242,7 +227,6 @@ public function getColumns() * * @param \Magento\Framework\Data\Collection $collection * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function countTotals($collection) { @@ -257,7 +241,6 @@ public function countTotals($collection) * Get totals as object * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getTotals() { @@ -269,7 +252,6 @@ public function getTotals() * * @param bool $isFullReset * @return void - * @since 2.0.0 */ public function reset($isFullReset = false) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Parser.php b/app/code/Magento/Backend/Model/Widget/Grid/Parser.php index ae500105755d8..1976302f34cf7 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Parser.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Parser.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Parser { @@ -15,7 +14,6 @@ class Parser * List of allowed operations * * @var string[] - * @since 2.0.0 */ protected $_operations = ['-', '+', '/', '*']; @@ -24,7 +22,6 @@ class Parser * * @param string $expression * @return array - * @since 2.0.0 */ public function parseExpression($expression) { @@ -50,7 +47,6 @@ public function parseExpression($expression) * * @param string $operation * @return bool - * @since 2.0.0 */ public function isOperation($operation) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Row/GeneratorInterface.php b/app/code/Magento/Backend/Model/Widget/Grid/Row/GeneratorInterface.php index 5501b9d231a1a..be36d90a61435 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Row/GeneratorInterface.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Row/GeneratorInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface GeneratorInterface { @@ -17,7 +16,6 @@ interface GeneratorInterface * @param \Magento\Framework\DataObject $item * @return string * @api - * @since 2.0.0 */ public function getUrl($item); } diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGenerator.php b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGenerator.php index a89bf243f238e..c08982ffc798a 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGenerator.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGenerator.php @@ -8,31 +8,26 @@ /** * Grid row url generator * @api - * @since 2.0.0 */ class UrlGenerator implements \Magento\Backend\Model\Widget\Grid\Row\GeneratorInterface { /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_urlModel; /** * @var string - * @since 2.0.0 */ protected $_path; /** * @var array - * @since 2.0.0 */ protected $_params = []; /** * @var array - * @since 2.0.0 */ protected $_extraParamsTemplate = []; @@ -40,7 +35,6 @@ class UrlGenerator implements \Magento\Backend\Model\Widget\Grid\Row\GeneratorIn * @param \Magento\Backend\Model\UrlInterface $backendUrl * @param array $args * @throws \InvalidArgumentException - * @since 2.0.0 */ public function __construct(\Magento\Backend\Model\UrlInterface $backendUrl, array $args = []) { @@ -62,7 +56,6 @@ public function __construct(\Magento\Backend\Model\UrlInterface $backendUrl, arr * * @param \Magento\Framework\DataObject $item * @return string - * @since 2.0.0 */ public function getUrl($item) { @@ -78,7 +71,6 @@ public function getUrl($item) * * @param \Magento\Framework\DataObject $item * @return array - * @since 2.0.0 */ protected function _prepareParameters($item) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorFactory.php b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorFactory.php index aceb62c602f88..61030a3d94676 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorFactory.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorFactory.php @@ -9,19 +9,16 @@ * Grid row url generator factory * * @api - * @since 2.0.0 */ class UrlGeneratorFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $arguments * @return \Magento\Backend\Model\Widget\Grid\Row\UrlGenerator * @throws \InvalidArgumentException - * @since 2.0.0 */ public function createUrlGenerator($generatorClassName, array $arguments = []) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorId.php b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorId.php index 0a80777a8ab8e..8fb767a593796 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorId.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Row/UrlGeneratorId.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class UrlGeneratorId implements \Magento\Backend\Model\Widget\Grid\Row\GeneratorInterface { @@ -18,7 +17,6 @@ class UrlGeneratorId implements \Magento\Backend\Model\Widget\Grid\Row\Generator * * @param \Magento\Framework\DataObject $item * @return string - * @since 2.0.0 */ public function getUrl($item) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/SubTotals.php b/app/code/Magento/Backend/Model/Widget/Grid/SubTotals.php index e6cae02e10874..db3d9eeefc30a 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/SubTotals.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/SubTotals.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class SubTotals extends \Magento\Backend\Model\Widget\Grid\AbstractTotals { @@ -17,7 +16,6 @@ class SubTotals extends \Magento\Backend\Model\Widget\Grid\AbstractTotals * @param string $index * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _countSum($index, $collection) { @@ -34,7 +32,6 @@ protected function _countSum($index, $collection) * @param string $index * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _countAverage($index, $collection) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/Totals.php b/app/code/Magento/Backend/Model/Widget/Grid/Totals.php index 1a9de7eb31e1e..e77012bb52ee9 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/Totals.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/Totals.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Totals extends \Magento\Backend\Model\Widget\Grid\AbstractTotals { @@ -17,7 +16,6 @@ class Totals extends \Magento\Backend\Model\Widget\Grid\AbstractTotals * @param string $index * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _countSum($index, $collection) { @@ -38,7 +36,6 @@ protected function _countSum($index, $collection) * @param string $index * @param \Magento\Framework\Data\Collection $collection * @return float|int - * @since 2.0.0 */ protected function _countAverage($index, $collection) { diff --git a/app/code/Magento/Backend/Model/Widget/Grid/TotalsInterface.php b/app/code/Magento/Backend/Model/Widget/Grid/TotalsInterface.php index 4fc545368d533..dae27b0767334 100644 --- a/app/code/Magento/Backend/Model/Widget/Grid/TotalsInterface.php +++ b/app/code/Magento/Backend/Model/Widget/Grid/TotalsInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface TotalsInterface { @@ -18,7 +17,6 @@ interface TotalsInterface * @param \Magento\Framework\Data\Collection $collection * @return \Magento\Framework\DataObject * @api - * @since 2.0.0 */ public function countTotals($collection); } diff --git a/app/code/Magento/Backend/Service/V1/ModuleService.php b/app/code/Magento/Backend/Service/V1/ModuleService.php index 802d1490f3b50..63f046f6009f5 100644 --- a/app/code/Magento/Backend/Service/V1/ModuleService.php +++ b/app/code/Magento/Backend/Service/V1/ModuleService.php @@ -8,19 +8,16 @@ /** * Module service. - * @since 2.0.0 */ class ModuleService implements ModuleServiceInterface { /** * @var \Magento\Framework\Module\ModuleListInterface - * @since 2.0.0 */ protected $moduleList; /** * @param \Magento\Framework\Module\ModuleListInterface $moduleList - * @since 2.0.0 */ public function __construct( \Magento\Framework\Module\ModuleListInterface $moduleList @@ -32,7 +29,6 @@ public function __construct( * Returns an array of enabled modules * * @return string[] - * @since 2.0.0 */ public function getModules() { diff --git a/app/code/Magento/Backend/Service/V1/ModuleServiceInterface.php b/app/code/Magento/Backend/Service/V1/ModuleServiceInterface.php index 46ec10855fcd3..c04ab23ab7486 100644 --- a/app/code/Magento/Backend/Service/V1/ModuleServiceInterface.php +++ b/app/code/Magento/Backend/Service/V1/ModuleServiceInterface.php @@ -9,7 +9,6 @@ /** * Interface for module service. * @api - * @since 2.0.0 */ interface ModuleServiceInterface { @@ -17,7 +16,6 @@ interface ModuleServiceInterface * Returns an array of enabled modules * * @return string[] - * @since 2.0.0 */ public function getModules(); } diff --git a/app/code/Magento/Backend/Setup/ConfigOptionsList.php b/app/code/Magento/Backend/Setup/ConfigOptionsList.php index 4b430cf50f061..2d1723886b1dd 100644 --- a/app/code/Magento/Backend/Setup/ConfigOptionsList.php +++ b/app/code/Magento/Backend/Setup/ConfigOptionsList.php @@ -15,7 +15,6 @@ /** * Deployment configuration options needed for Backend module * - * @since 2.0.0 */ class ConfigOptionsList implements ConfigOptionsListInterface { @@ -31,7 +30,6 @@ class ConfigOptionsList implements ConfigOptionsListInterface /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptions() { @@ -48,7 +46,6 @@ public function getOptions() /** * {@inheritdoc} * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function createConfig(array $options, DeploymentConfig $deploymentConfig) { @@ -67,7 +64,6 @@ public function createConfig(array $options, DeploymentConfig $deploymentConfig) /** * {@inheritdoc} - * @since 2.0.0 */ public function validate(array $options, DeploymentConfig $deploymentConfig) { diff --git a/app/code/Magento/Backup/Block/Adminhtml/Backup.php b/app/code/Magento/Backup/Block/Adminhtml/Backup.php index c031ca987bc9a..459ef27bf6a15 100644 --- a/app/code/Magento/Backup/Block/Adminhtml/Backup.php +++ b/app/code/Magento/Backup/Block/Adminhtml/Backup.php @@ -12,7 +12,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Backup extends \Magento\Backend\Block\Template { @@ -20,13 +19,11 @@ class Backup extends \Magento\Backend\Block\Template * Block's template * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backup::backup/list.phtml'; /** * @return AbstractBlock|void - * @since 2.0.0 */ protected function _prepareLayout() { @@ -65,7 +62,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getGridHtml() { @@ -76,7 +72,6 @@ public function getGridHtml() * Generate html code for pop-up messages that will appear when user click on "Rollback" link * * @return string - * @since 2.0.0 */ public function getDialogsHtml() { diff --git a/app/code/Magento/Backup/Block/Adminhtml/Dialogs.php b/app/code/Magento/Backup/Block/Adminhtml/Dialogs.php index 9e0c7e0c6ce9c..884636e815578 100644 --- a/app/code/Magento/Backup/Block/Adminhtml/Dialogs.php +++ b/app/code/Magento/Backup/Block/Adminhtml/Dialogs.php @@ -9,7 +9,6 @@ /** * Backend rollback dialogs block - * @since 2.0.0 */ class Dialogs extends Template { @@ -17,7 +16,6 @@ class Dialogs extends Template * Block's template * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Backup::backup/dialogs.phtml'; } diff --git a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Renderer/Download.php b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Renderer/Download.php index 66ec5afa7e998..52ba9a013edc5 100644 --- a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Renderer/Download.php +++ b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Renderer/Download.php @@ -14,7 +14,6 @@ /** * Class \Magento\Backup\Block\Adminhtml\Grid\Column\Renderer\Download * - * @since 2.0.0 */ class Download extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text { @@ -23,7 +22,6 @@ class Download extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text * * @param \Magento\Framework\DataObject $row * @return mixed - * @since 2.0.0 */ public function _getValue(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php index a4e36cde52917..bf7fe670039fa 100644 --- a/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php +++ b/app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Rollback extends \Magento\Backend\Block\Widget\Grid\Column { /** * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_backupHelper; @@ -27,7 +25,6 @@ class Rollback extends \Magento\Backend\Block\Widget\Grid\Column * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Backup\Helper\Data $backupHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Check permission for rollback * * @return bool - * @since 2.0.0 */ public function isDisplayed() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index.php b/app/code/Magento/Backup/Controller/Adminhtml/Index.php index e289799fc57a3..3dda624564601 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ abstract class Index extends \Magento\Backend\App\Action { @@ -25,31 +24,26 @@ abstract class Index extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Backup\Factory - * @since 2.0.0 */ protected $_backupFactory; /** * @var \Magento\Framework\App\Response\Http\FileFactory - * @since 2.0.0 */ protected $_fileFactory; /** * @var \Magento\Backup\Model\BackupFactory - * @since 2.0.0 */ protected $_backupModelFactory; /** * @var \Magento\Framework\App\MaintenanceMode - * @since 2.0.0 */ protected $maintenanceMode; @@ -60,7 +54,6 @@ abstract class Index extends \Magento\Backend\App\Action * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory * @param \Magento\Backup\Model\BackupFactory $backupModelFactory * @param \Magento\Framework\App\MaintenanceMode $maintenanceMode - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/Create.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/Create.php index 84a128fbad9f6..2a7e848ad097d 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/Create.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/Create.php @@ -12,7 +12,6 @@ /** * Class \Magento\Backup\Controller\Adminhtml\Index\Create * - * @since 2.0.0 */ class Create extends \Magento\Backup\Controller\Adminhtml\Index { @@ -21,7 +20,6 @@ class Create extends \Magento\Backup\Controller\Adminhtml\Index * * @return void|\Magento\Backend\App\Action * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/Download.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/Download.php index ce66b047e1563..ac5dac570481a 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/Download.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/Download.php @@ -11,13 +11,11 @@ /** * Class \Magento\Backup\Controller\Adminhtml\Index\Download * - * @since 2.0.0 */ class Download extends \Magento\Backup\Controller\Adminhtml\Index { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -29,7 +27,6 @@ class Download extends \Magento\Backup\Controller\Adminhtml\Index * @param \Magento\Backup\Model\BackupFactory $backupModelFactory * @param \Magento\Framework\App\MaintenanceMode $maintenanceMode * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -55,7 +52,6 @@ public function __construct( * Download backup action * * @return void|\Magento\Backend\App\Action - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/Grid.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/Grid.php index cefb04e63306b..2d533846250f4 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/Grid.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/Grid.php @@ -11,7 +11,6 @@ /** * Class \Magento\Backup\Controller\Adminhtml\Index\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Backup\Controller\Adminhtml\Index { @@ -19,7 +18,6 @@ class Grid extends \Magento\Backup\Controller\Adminhtml\Index * Backup list action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/Index.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/Index.php index b65e0805900ab..144f03e1ea2c8 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/Index.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backup\Controller\Adminhtml\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Backup\Controller\Adminhtml\Index { @@ -17,7 +16,6 @@ class Index extends \Magento\Backup\Controller\Adminhtml\Index * Backup list action * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/MassDelete.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/MassDelete.php index 9d48921b99da9..b1b925ee6df93 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/MassDelete.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/MassDelete.php @@ -9,7 +9,6 @@ /** * Class \Magento\Backup\Controller\Adminhtml\Index\MassDelete * - * @since 2.0.0 */ class MassDelete extends \Magento\Backup\Controller\Adminhtml\Index { @@ -17,7 +16,6 @@ class MassDelete extends \Magento\Backup\Controller\Adminhtml\Index * Delete backups mass action * * @return \Magento\Backend\App\Action - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Controller/Adminhtml/Index/Rollback.php b/app/code/Magento/Backup/Controller/Adminhtml/Index/Rollback.php index 3c461fb83e283..0451f6ed09bd1 100644 --- a/app/code/Magento/Backup/Controller/Adminhtml/Index/Rollback.php +++ b/app/code/Magento/Backup/Controller/Adminhtml/Index/Rollback.php @@ -11,7 +11,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Rollback extends \Magento\Backup\Controller\Adminhtml\Index { @@ -22,7 +21,6 @@ class Rollback extends \Magento\Backup\Controller\Adminhtml\Index * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Cron/SystemBackup.php b/app/code/Magento/Backup/Cron/SystemBackup.php index 4e92d283de2f5..6b98c50c7e1c0 100644 --- a/app/code/Magento/Backup/Cron/SystemBackup.php +++ b/app/code/Magento/Backup/Cron/SystemBackup.php @@ -11,7 +11,6 @@ /** * Class \Magento\Backup\Cron\SystemBackup * - * @since 2.0.0 */ class SystemBackup { @@ -25,7 +24,6 @@ class SystemBackup * Error messages * * @var array - * @since 2.0.0 */ protected $_errors = []; @@ -33,7 +31,6 @@ class SystemBackup * Backup data * * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_backupData = null; @@ -41,13 +38,11 @@ class SystemBackup * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -55,7 +50,6 @@ class SystemBackup * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -63,19 +57,16 @@ class SystemBackup * Filesystem facade * * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Framework\Backup\Factory - * @since 2.0.0 */ protected $_backupFactory; /** * @var \Magento\Framework\App\MaintenanceMode - * @since 2.0.0 */ protected $maintenanceMode; @@ -87,7 +78,6 @@ class SystemBackup * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Framework\Backup\Factory $backupFactory * @param \Magento\Framework\App\MaintenanceMode $maintenanceMode - * @since 2.0.0 */ public function __construct( \Magento\Backup\Helper\Data $backupData, @@ -112,7 +102,6 @@ public function __construct( * * @return $this * @throws \Exception - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Backup/Helper/Data.php b/app/code/Magento/Backup/Helper/Data.php index 0adcbf9cf4b14..ed032c13f8753 100644 --- a/app/code/Magento/Backup/Helper/Data.php +++ b/app/code/Magento/Backup/Helper/Data.php @@ -12,25 +12,21 @@ /** * Backup data helper * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { /** * @var Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; @@ -41,7 +37,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param Filesystem $filesystem * @param \Magento\Framework\AuthorizationInterface $authorization * @param \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -59,7 +54,6 @@ public function __construct( * Get all possible backup type values with descriptive title * * @return array - * @since 2.0.0 */ public function getBackupTypes() { @@ -75,7 +69,6 @@ public function getBackupTypes() * Get all possible backup type values * * @return string[] - * @since 2.0.0 */ public function getBackupTypesList() { @@ -91,7 +84,6 @@ public function getBackupTypesList() * Get default backup type value * * @return string - * @since 2.0.0 */ public function getDefaultBackupType() { @@ -102,7 +94,6 @@ public function getDefaultBackupType() * Get directory path where backups stored * * @return string - * @since 2.0.0 */ public function getBackupsDir() { @@ -114,7 +105,6 @@ public function getBackupsDir() * * @param string $type * @return string - * @since 2.0.0 */ public function getExtensionByType($type) { @@ -126,7 +116,6 @@ public function getExtensionByType($type) * Get all types to extensions map * * @return array - * @since 2.0.0 */ public function getExtensions() { @@ -143,7 +132,6 @@ public function getExtensions() * * @param \Magento\Backup\Model\Backup $backup * @return string - * @since 2.0.0 */ public function generateBackupDownloadName(\Magento\Backup\Model\Backup $backup) { @@ -164,7 +152,6 @@ public function generateBackupDownloadName(\Magento\Backup\Model\Backup $backup) * Check Permission for Rollback * * @return bool - * @since 2.0.0 */ public function isRollbackAllowed() { @@ -175,7 +162,6 @@ public function isRollbackAllowed() * Get paths that should be ignored when creating system snapshots * * @return string[] - * @since 2.0.0 */ public function getBackupIgnorePaths() { @@ -197,7 +183,6 @@ public function getBackupIgnorePaths() * Get paths that should be ignored when rolling back system snapshots * * @return string[] - * @since 2.0.0 */ public function getRollbackIgnorePaths() { @@ -220,7 +205,6 @@ public function getRollbackIgnorePaths() * * @param string $type * @return void|string - * @since 2.0.0 */ public function getCreateSuccessMessageByType($type) { @@ -244,7 +228,6 @@ public function getCreateSuccessMessageByType($type) * Invalidate Cache * * @return $this - * @since 2.0.0 */ public function invalidateCache() { @@ -260,7 +243,6 @@ public function invalidateCache() * * @param string $name * @return string - * @since 2.0.0 */ public function nameToDisplayName($name) { @@ -272,7 +254,6 @@ public function nameToDisplayName($name) * * @param string $filename * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function extractDataFromFilename($filename) { diff --git a/app/code/Magento/Backup/Model/Backup.php b/app/code/Magento/Backup/Model/Backup.php index 615900c1af0cf..62ff1b1ccf2a3 100644 --- a/app/code/Magento/Backup/Model/Backup.php +++ b/app/code/Magento/Backup/Model/Backup.php @@ -16,7 +16,6 @@ * @method string getTime() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework\Backup\Db\BackupInterface { @@ -29,7 +28,6 @@ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework * Type of backup file * * @var string - * @since 2.0.0 */ private $_type = 'db'; @@ -37,19 +35,16 @@ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework * Gz file pointer * * @var \Magento\Framework\Filesystem\File\WriteInterface - * @since 2.0.0 */ protected $_stream = null; /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_helper; @@ -57,7 +52,6 @@ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework * Locale model * * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; @@ -65,19 +59,16 @@ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework * Backend auth session * * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_backendAuthSession; /** * @var \Magento\Framework\Encryption\EncryptorInterface - * @since 2.0.0 */ protected $_encryptor; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $varDirectory; @@ -88,7 +79,6 @@ class Backup extends \Magento\Framework\DataObject implements \Magento\Framework * @param \Magento\Framework\Encryption\EncryptorInterface $encryptor * @param \Magento\Framework\Filesystem $filesystem * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backup\Helper\Data $helper, @@ -113,7 +103,6 @@ public function __construct( * * @param int $time * @return $this - * @since 2.0.0 */ public function setTime($time) { @@ -126,7 +115,6 @@ public function setTime($time) * * @param string $path * @return $this - * @since 2.0.0 */ public function setPath($path) { @@ -139,7 +127,6 @@ public function setPath($path) * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -153,7 +140,6 @@ public function setName($name) * @param string $fileName * @param string $filePath * @return $this - * @since 2.0.0 */ public function load($fileName, $filePath) { @@ -179,7 +165,6 @@ public function load($fileName, $filePath) * Checks backup file exists. * * @return bool - * @since 2.0.0 */ public function exists() { @@ -190,7 +175,6 @@ public function exists() * Return file name of backup file * * @return string - * @since 2.0.0 */ public function getFileName() { @@ -211,7 +195,6 @@ public function getFileName() * * @param string $value * @return $this - * @since 2.0.0 */ public function setType($value = 'db') { @@ -230,7 +213,6 @@ public function setType($value = 'db') * Returns type of backup file * * @return string - * @since 2.0.0 */ public function getType() { @@ -243,7 +225,6 @@ public function getType() * @param string &$content * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function setFile(&$content) { @@ -262,7 +243,6 @@ public function setFile(&$content) * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function &getFile() { @@ -278,7 +258,6 @@ public function &getFile() * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteFile() { @@ -297,7 +276,6 @@ public function deleteFile() * @return $this * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Backup\Exception\NotEnoughPermissions - * @since 2.0.0 */ public function open($write = false) { @@ -337,7 +315,6 @@ public function open($write = false) * * @return \Magento\Framework\Filesystem\File\WriteInterface * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function _getStream() { @@ -352,7 +329,6 @@ protected function _getStream() * * @param int $length * @return string - * @since 2.0.0 */ public function read($length) { @@ -363,7 +339,6 @@ public function read($length) * Check end of file. * * @return bool - * @since 2.0.0 */ public function eof() { @@ -376,7 +351,6 @@ public function eof() * @param string $string * @return $this * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function write($string) { @@ -395,7 +369,6 @@ public function write($string) * Close open backup file * * @return $this - * @since 2.0.0 */ public function close() { @@ -409,7 +382,6 @@ public function close() * Print output * * @return string - * @since 2.0.0 */ public function output() { @@ -426,7 +398,6 @@ public function output() /** * @return int|mixed - * @since 2.0.0 */ public function getSize() { @@ -447,7 +418,6 @@ public function getSize() * * @param string $password * @return bool - * @since 2.0.0 */ public function validateUserPassword($password) { @@ -459,7 +429,6 @@ public function validateUserPassword($password) * Get file path. * * @return string - * @since 2.0.0 */ protected function _getFilePath() { diff --git a/app/code/Magento/Backup/Model/BackupFactory.php b/app/code/Magento/Backup/Model/BackupFactory.php index 832fea68b14c8..c64f7ff02952e 100644 --- a/app/code/Magento/Backup/Model/BackupFactory.php +++ b/app/code/Magento/Backup/Model/BackupFactory.php @@ -13,19 +13,16 @@ /** * @api - * @since 2.0.0 */ class BackupFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -38,7 +35,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param int $timestamp * @param string $type * @return \Magento\Backup\Model\Backup - * @since 2.0.0 */ public function create($timestamp, $type) { diff --git a/app/code/Magento/Backup/Model/Config/Backend/Cron.php b/app/code/Magento/Backup/Model/Config/Backend/Cron.php index 422a0d8cae491..296a51c710eb4 100644 --- a/app/code/Magento/Backup/Model/Config/Backend/Cron.php +++ b/app/code/Magento/Backup/Model/Config/Backend/Cron.php @@ -8,7 +8,6 @@ /** * Backup by cron backend model * @api - * @since 2.0.0 */ class Cron extends \Magento\Framework\App\Config\Value { @@ -24,13 +23,11 @@ class Cron extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @var string - * @since 2.0.0 */ protected $_runModelPath = ''; @@ -44,7 +41,6 @@ class Cron extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param string $runModelPath * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -67,7 +63,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Backup/Model/Config/Source/Type.php b/app/code/Magento/Backup/Model/Config/Source/Type.php index 96898735389c3..efa6199c43581 100644 --- a/app/code/Magento/Backup/Model/Config/Source/Type.php +++ b/app/code/Magento/Backup/Model/Config/Source/Type.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Type implements \Magento\Framework\Option\ArrayInterface { @@ -18,13 +17,11 @@ class Type implements \Magento\Framework\Option\ArrayInterface * Backup data * * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_backupData = null; /** * @param \Magento\Backup\Helper\Data $backupData - * @since 2.0.0 */ public function __construct(\Magento\Backup\Helper\Data $backupData) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Backup\Helper\Data $backupData) /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Backup/Model/Db.php b/app/code/Magento/Backup/Model/Db.php index b0f5d323cc667..4d542d9f222a5 100644 --- a/app/code/Magento/Backup/Model/Db.php +++ b/app/code/Magento/Backup/Model/Db.php @@ -9,7 +9,6 @@ * Database backup model * * @api - * @since 2.0.0 */ class Db implements \Magento\Framework\Backup\Db\BackupDbInterface { @@ -23,7 +22,6 @@ class Db implements \Magento\Framework\Backup\Db\BackupDbInterface * Backup resource model * * @var \Magento\Backup\Model\ResourceModel\Db - * @since 2.0.0 */ protected $_resourceDb = null; @@ -31,14 +29,12 @@ class Db implements \Magento\Framework\Backup\Db\BackupDbInterface * Core resource model * * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource = null; /** * @param \Magento\Backup\Model\ResourceModel\Db $resourceDb * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.0.0 */ public function __construct( \Magento\Backup\Model\ResourceModel\Db $resourceDb, @@ -52,7 +48,6 @@ public function __construct( * List of tables which data should not be backed up * * @var array - * @since 2.0.0 */ protected $_ignoreDataTablesList = ['importexport/importdata']; @@ -60,7 +55,6 @@ public function __construct( * Retrieve resource model * * @return \Magento\Backup\Model\ResourceModel\Db - * @since 2.0.0 */ public function getResource() { @@ -69,7 +63,6 @@ public function getResource() /** * @return array - * @since 2.0.0 */ public function getTables() { @@ -80,7 +73,6 @@ public function getTables() * @param string $tableName * @param bool $addDropIfExists * @return string - * @since 2.0.0 */ public function getTableCreateScript($tableName, $addDropIfExists = false) { @@ -90,7 +82,6 @@ public function getTableCreateScript($tableName, $addDropIfExists = false) /** * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDataDump($tableName) { @@ -99,7 +90,6 @@ public function getTableDataDump($tableName) /** * @return string - * @since 2.0.0 */ public function getHeader() { @@ -108,7 +98,6 @@ public function getHeader() /** * @return string - * @since 2.0.0 */ public function getFooter() { @@ -117,7 +106,6 @@ public function getFooter() /** * @return string - * @since 2.0.0 */ public function renderSql() { @@ -139,7 +127,6 @@ public function renderSql() * * @param \Magento\Framework\Backup\Db\BackupInterface $backup * @return $this - * @since 2.0.0 */ public function createBackup(\Magento\Framework\Backup\Db\BackupInterface $backup) { @@ -198,7 +185,6 @@ public function createBackup(\Magento\Framework\Backup\Db\BackupInterface $backu * Get database backup size * * @return int - * @since 2.0.0 */ public function getDBBackupSize() { @@ -218,7 +204,6 @@ public function getDBBackupSize() * Returns the list of tables which data should not be backed up * * @return string[] - * @since 2.0.0 */ public function getIgnoreDataTablesList() { diff --git a/app/code/Magento/Backup/Model/Fs/Collection.php b/app/code/Magento/Backup/Model/Fs/Collection.php index 8f0039fd52ca1..0e5ba18c263e9 100644 --- a/app/code/Magento/Backup/Model/Fs/Collection.php +++ b/app/code/Magento/Backup/Model/Fs/Collection.php @@ -10,13 +10,11 @@ /** * Backup data collection * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Data\Collection\Filesystem { /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_varDirectory; @@ -24,7 +22,6 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem * Folder, where all backups are stored * * @var string - * @since 2.0.0 */ protected $_path = 'backups'; @@ -32,7 +29,6 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem * Backup data * * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_backupData = null; @@ -40,7 +36,6 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem * Backup model * * @var \Magento\Backup\Model\Backup - * @since 2.0.0 */ protected $_backup = null; @@ -49,7 +44,6 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem * @param \Magento\Backup\Helper\Data $backupData * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Backup\Model\Backup $backup - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -92,7 +86,6 @@ public function __construct( * Create .htaccess file and deny backups directory access from web * * @return void - * @since 2.0.0 */ protected function _hideBackupsForApache() { @@ -107,7 +100,6 @@ protected function _hideBackupsForApache() * * @param string $filename * @return array - * @since 2.0.0 */ protected function _generateRow($filename) { diff --git a/app/code/Magento/Backup/Model/Grid/Options.php b/app/code/Magento/Backup/Model/Grid/Options.php index 05c272ef60eab..ba4cd66973a8a 100644 --- a/app/code/Magento/Backup/Model/Grid/Options.php +++ b/app/code/Magento/Backup/Model/Grid/Options.php @@ -13,19 +13,16 @@ /** * @api - * @since 2.0.0 */ class Options implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Backup\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @param \Magento\Backup\Helper\Data $backupHelper - * @since 2.0.0 */ public function __construct(\Magento\Backup\Helper\Data $backupHelper) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Backup\Helper\Data $backupHelper) /** * Return backup types array * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Backup/Model/ResourceModel/Db.php b/app/code/Magento/Backup/Model/ResourceModel/Db.php index c4c46e3767c0c..6198603c92508 100644 --- a/app/code/Magento/Backup/Model/ResourceModel/Db.php +++ b/app/code/Magento/Backup/Model/ResourceModel/Db.php @@ -8,7 +8,6 @@ /** * Database backup resource model * @api - * @since 2.0.0 */ class Db { @@ -16,7 +15,6 @@ class Db * Database connection adapter * * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -25,7 +23,6 @@ class Db * [tbl_name] = array(create foreign key strings) * * @var array - * @since 2.0.0 */ protected $_foreignKeys = []; @@ -33,7 +30,6 @@ class Db * Backup resource helper * * @var \Magento\Backup\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -42,7 +38,6 @@ class Db * * @param \Magento\Backup\Model\ResourceModel\HelperFactory $resHelperFactory * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.0.0 */ public function __construct( \Magento\Backup\Model\ResourceModel\HelperFactory $resHelperFactory, @@ -56,7 +51,6 @@ public function __construct( * Clear data * * @return void - * @since 2.0.0 */ public function clear() { @@ -67,7 +61,6 @@ public function clear() * Retrieve table list * * @return array - * @since 2.0.0 */ public function getTables() { @@ -79,7 +72,6 @@ public function getTables() * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDropSql($tableName) { @@ -92,7 +84,6 @@ public function getTableDropSql($tableName) * @param string $tableName * @param bool $withForeignKeys * @return string - * @since 2.0.0 */ public function getTableCreateSql($tableName, $withForeignKeys = false) { @@ -104,7 +95,6 @@ public function getTableCreateSql($tableName, $withForeignKeys = false) * * @param string|null $tableName * @return string - * @since 2.0.0 */ public function getTableForeignKeysSql($tableName = null) { @@ -128,7 +118,6 @@ public function getTableForeignKeysSql($tableName = null) * * @param string $tableName * @return \Magento\Framework\DataObject|bool - * @since 2.0.0 */ public function getTableStatus($tableName) { @@ -156,7 +145,6 @@ public function getTableStatus($tableName) * @param null|int $count * @param null|int $offset * @return string - * @since 2.0.0 */ public function getTableDataSql($tableName, $count = null, $offset = null) { @@ -169,7 +157,6 @@ public function getTableDataSql($tableName, $count = null, $offset = null) * @param string|array|\Zend_Db_Expr $tableName * @param bool $addDropIfExists * @return string - * @since 2.0.0 */ public function getTableCreateScript($tableName, $addDropIfExists = false) { @@ -181,7 +168,6 @@ public function getTableCreateScript($tableName, $addDropIfExists = false) * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableHeader($tableName) { @@ -196,7 +182,6 @@ public function getTableHeader($tableName) * @param bool $step * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getTableDataDump($tableName, $step = false) { @@ -207,7 +192,6 @@ public function getTableDataDump($tableName, $step = false) * Returns SQL header data * * @return string - * @since 2.0.0 */ public function getHeader() { @@ -218,7 +202,6 @@ public function getHeader() * Returns SQL footer data * * @return string - * @since 2.0.0 */ public function getFooter() { @@ -230,7 +213,6 @@ public function getFooter() * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDataBeforeSql($tableName) { @@ -242,7 +224,6 @@ public function getTableDataBeforeSql($tableName) * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDataAfterSql($tableName) { @@ -253,7 +234,6 @@ public function getTableDataAfterSql($tableName) * Start transaction mode * * @return $this - * @since 2.0.0 */ public function beginTransaction() { @@ -266,7 +246,6 @@ public function beginTransaction() * Commit transaction * * @return $this - * @since 2.0.0 */ public function commitTransaction() { @@ -279,7 +258,6 @@ public function commitTransaction() * Rollback transaction * * @return $this - * @since 2.0.0 */ public function rollBackTransaction() { @@ -293,7 +271,6 @@ public function rollBackTransaction() * * @param string $command * @return $this - * @since 2.0.0 */ public function runCommand($command) { diff --git a/app/code/Magento/Backup/Model/ResourceModel/Helper.php b/app/code/Magento/Backup/Model/ResourceModel/Helper.php index 71f9778e010d9..4078250c5afdd 100644 --- a/app/code/Magento/Backup/Model/ResourceModel/Helper.php +++ b/app/code/Magento/Backup/Model/ResourceModel/Helper.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ class Helper extends \Magento\Framework\DB\Helper { @@ -17,7 +16,6 @@ class Helper extends \Magento\Framework\DB\Helper * [tbl_name] = array(create foreign key strings) * * @var array - * @since 2.0.0 */ protected $_foreignKeys = []; @@ -25,7 +23,6 @@ class Helper extends \Magento\Framework\DB\Helper * Core Date * * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $_coreDate; @@ -33,7 +30,6 @@ class Helper extends \Magento\Framework\DB\Helper * @param \Magento\Framework\App\ResourceConnection $resource * @param string $modulePrefix * @param \Magento\Framework\Stdlib\DateTime\DateTime $coreDate - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -49,7 +45,6 @@ public function __construct( * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDropSql($tableName) { @@ -62,7 +57,6 @@ public function getTableDropSql($tableName) * * @param string|null $tableName * @return string|bool - * @since 2.0.0 */ public function getTableForeignKeysSql($tableName = null) { @@ -87,7 +81,6 @@ public function getTableForeignKeysSql($tableName = null) * @param string $tableName * @param array $foreignKeys * @return string - * @since 2.0.0 */ protected function _buildForeignKeysAlterTableSql($tableName, $foreignKeys) { @@ -108,7 +101,6 @@ protected function _buildForeignKeysAlterTableSql($tableName, $foreignKeys) * @param string $tableName * @param boolean $addDropIfExists * @return string - * @since 2.0.0 */ public function getTableCreateScript($tableName, $addDropIfExists = false) { @@ -133,7 +125,6 @@ public function getTableCreateScript($tableName, $addDropIfExists = false) * @param bool $withForeignKeys * @return string * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getTableCreateSql($tableName, $withForeignKeys = false) { @@ -180,7 +171,6 @@ public function getTableCreateSql($tableName, $withForeignKeys = false) * Returns SQL header data, move from original resource model * * @return string - * @since 2.0.0 */ public function getHeader() { @@ -212,7 +202,6 @@ public function getHeader() * Returns SQL footer data, move from original resource model * * @return string - * @since 2.0.0 */ public function getFooter() { @@ -235,7 +224,6 @@ public function getFooter() * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDataBeforeSql($tableName) { @@ -252,7 +240,6 @@ public function getTableDataBeforeSql($tableName) * * @param string $tableName * @return string - * @since 2.0.0 */ public function getTableDataAfterSql($tableName) { @@ -267,7 +254,6 @@ public function getTableDataAfterSql($tableName) * @param int $count * @param int $offset * @return string - * @since 2.0.0 */ public function getPartInsertSql($tableName, $count = null, $offset = null) { @@ -298,7 +284,6 @@ public function getPartInsertSql($tableName, $count = null, $offset = null) * * @param string $tableName * @return string - * @since 2.0.0 */ public function getInsertSql($tableName) { @@ -311,7 +296,6 @@ public function getInsertSql($tableName) * @param string $tableName * @param array $row * @return string - * @since 2.0.0 */ protected function _quoteRow($tableName, array $row) { @@ -337,7 +321,6 @@ protected function _quoteRow($tableName, array $row) * Prepare transaction isolation level for backup process * * @return void - * @since 2.0.0 */ public function prepareTransactionIsolationLevel() { @@ -348,7 +331,6 @@ public function prepareTransactionIsolationLevel() * Restore transaction isolation level after backup * * @return void - * @since 2.0.0 */ public function restoreTransactionIsolationLevel() { 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 8e3b605daf84a..9ba801ff47a8d 100644 --- a/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php +++ b/app/code/Magento/Braintree/Block/Adminhtml/Form/Field/Countries.php @@ -11,7 +11,6 @@ /** * Class Countries - * @since 2.0.0 */ class Countries extends Select { @@ -27,7 +26,6 @@ class Countries extends Select * @param Context $context * @param Country $countryHelper * @param array $data - * @since 2.0.0 */ public function __construct(Context $context, Country $countryHelper, array $data = []) { @@ -39,7 +37,6 @@ public function __construct(Context $context, Country $countryHelper, array $dat * Render block HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -54,7 +51,6 @@ protected function _toHtml() * * @param string $value * @return $this - * @since 2.0.0 */ public function setInputName($value) { diff --git a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php index e17a9385e9ea6..824af5a2930ef 100644 --- a/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php +++ b/app/code/Magento/Braintree/Block/Customer/PayPal/VaultTokenRenderer.php @@ -15,13 +15,13 @@ * Class VaultTokenRenderer * * @api - * @since 2.2.0 + * @since 2.1.3 */ class VaultTokenRenderer extends AbstractTokenRenderer { /** * @var Config - * @since 2.2.0 + * @since 2.1.3 */ private $config; @@ -31,7 +31,7 @@ class VaultTokenRenderer extends AbstractTokenRenderer * @param Template\Context $context * @param Config $config * @param array $data - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Template\Context $context, @@ -44,7 +44,7 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function getIconUrl() { @@ -53,7 +53,7 @@ public function getIconUrl() /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function getIconHeight() { @@ -62,7 +62,7 @@ public function getIconHeight() /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function getIconWidth() { @@ -74,7 +74,7 @@ public function getIconWidth() * * @param PaymentTokenInterface $token * @return boolean - * @since 2.2.0 + * @since 2.1.3 */ public function canRender(PaymentTokenInterface $token) { @@ -84,7 +84,7 @@ public function canRender(PaymentTokenInterface $token) /** * Get email of PayPal payer * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function getPayerEmail() { diff --git a/app/code/Magento/Braintree/Block/Form.php b/app/code/Magento/Braintree/Block/Form.php index 57b79ca57c17c..4c28665301fcc 100644 --- a/app/code/Magento/Braintree/Block/Form.php +++ b/app/code/Magento/Braintree/Block/Form.php @@ -18,14 +18,12 @@ /** * Class Form - * @since 2.0.0 */ class Form extends Cc { /** * @var Quote - * @since 2.0.0 */ protected $sessionQuote; @@ -54,7 +52,6 @@ class Form extends Cc * @param GatewayConfig $gatewayConfig * @param CcType $ccType * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -73,7 +70,6 @@ public function __construct( /** * Get list of available card types of order billing address country * @return array - * @since 2.0.0 */ public function getCcAvailableTypes() { @@ -85,7 +81,6 @@ public function getCcAvailableTypes() /** * Check if cvv validation is available * @return boolean - * @since 2.0.0 */ public function useCvv() { diff --git a/app/code/Magento/Braintree/Block/Info.php b/app/code/Magento/Braintree/Block/Info.php index d4ad3879013e5..fd8d5a8f7654c 100644 --- a/app/code/Magento/Braintree/Block/Info.php +++ b/app/code/Magento/Braintree/Block/Info.php @@ -10,7 +10,6 @@ /** * Class Info - * @since 2.0.0 */ class Info extends ConfigurableInfo { diff --git a/app/code/Magento/Braintree/Gateway/Config/Config.php b/app/code/Magento/Braintree/Gateway/Config/Config.php index 6bee98905b07f..d91971f4f55d7 100644 --- a/app/code/Magento/Braintree/Gateway/Config/Config.php +++ b/app/code/Magento/Braintree/Gateway/Config/Config.php @@ -63,7 +63,7 @@ public function __construct( /** * Get list of available dynamic descriptors keys * @var array - * @since 2.2.0 + * @since 2.1.3 */ private static $dynamicDescriptorKeys = [ 'name', 'phone', 'url' @@ -229,7 +229,7 @@ public function isActive() /** * Get list of configured dynamic descriptors * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getDynamicDescriptors() { @@ -247,7 +247,7 @@ public function getDynamicDescriptors() * Get Merchant account ID * * @return string - * @since 2.2.0 + * @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 418cfbd4d2f3e..c7ae58fac4a4d 100644 --- a/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php +++ b/app/code/Magento/Braintree/Gateway/Config/PayPal/Config.php @@ -28,13 +28,13 @@ class Config extends \Magento\Payment\Gateway\Config\Config /** * @var CcConfig - * @since 2.2.0 + * @since 2.1.3 */ private $ccConfig; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $icon = []; @@ -45,7 +45,7 @@ class Config extends \Magento\Payment\Gateway\Config\Config * @param CcConfig $ccConfig * @param null $methodCode * @param string $pathPattern - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -124,7 +124,7 @@ public function getTitle() /** * Is need to skip order review * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function isSkipOrderReview() { @@ -134,7 +134,7 @@ public function isSkipOrderReview() /** * Get PayPal icon * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getPayPalIcon() { diff --git a/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php b/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php index 32bf517c3c16c..fbb040495b481 100644 --- a/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/DescriptorDataBuilder.php @@ -10,26 +10,26 @@ /** * Class DescriptorDataBuilder - * @since 2.2.0 + * @since 2.1.3 */ class DescriptorDataBuilder implements BuilderInterface { /** * @var string - * @since 2.2.0 + * @since 2.1.3 */ private static $descriptorKey = 'descriptor'; /** * @var Config - * @since 2.2.0 + * @since 2.1.3 */ private $config; /** * DescriptorDataBuilder constructor. * @param Config $config - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(Config $config) { @@ -39,7 +39,7 @@ public function __construct(Config $config) /** * @inheritdoc * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ 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 68d312d7d6b58..d7c6365cf8ff1 100644 --- a/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/PayPal/DeviceDataBuilder.php @@ -11,26 +11,26 @@ /** * Class DeviceDataBuilder - * @since 2.2.0 + * @since 2.1.3 */ class DeviceDataBuilder implements BuilderInterface { /** * @var string - * @since 2.2.0 + * @since 2.1.3 */ private static $deviceDataKey = 'deviceData'; /** * @var SubjectReader - * @since 2.2.0 + * @since 2.1.3 */ private $subjectReader; /** * DeviceDataBuilder constructor. * @param SubjectReader $subjectReader - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(SubjectReader $subjectReader) { @@ -39,7 +39,7 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.2.0 + * @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 b99bc15ca20d3..0c10d912fb05f 100644 --- a/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php +++ b/app/code/Magento/Braintree/Gateway/Request/PayPal/VaultDataBuilder.php @@ -11,33 +11,33 @@ /** * Vault Data Builder - * @since 2.2.0 + * @since 2.1.3 */ class VaultDataBuilder implements BuilderInterface { /** * Additional options in request to gateway - * @since 2.2.0 + * @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.2.0 + * @since 2.1.3 */ private static $storeInVaultOnSuccess = 'storeInVaultOnSuccess'; /** * @var SubjectReader - * @since 2.2.0 + * @since 2.1.3 */ private $subjectReader; /** * VaultDataBuilder constructor. * @param SubjectReader $subjectReader - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(SubjectReader $subjectReader) { @@ -46,7 +46,7 @@ public function __construct(SubjectReader $subjectReader) /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function build(array $buildSubject) { diff --git a/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php b/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php index 7b70272a64834..0c196629fff0f 100644 --- a/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/PayPal/VaultDetailsHandler.php @@ -17,31 +17,31 @@ /** * Vault Details Handler - * @since 2.2.0 + * @since 2.1.3 */ class VaultDetailsHandler implements HandlerInterface { /** * @var PaymentTokenInterfaceFactory - * @since 2.2.0 + * @since 2.1.3 */ private $paymentTokenFactory; /** * @var OrderPaymentExtensionInterfaceFactory - * @since 2.2.0 + * @since 2.1.3 */ private $paymentExtensionFactory; /** * @var SubjectReader - * @since 2.2.0 + * @since 2.1.3 */ private $subjectReader; /** * @var DateTimeFactory - * @since 2.2.0 + * @since 2.1.3 */ private $dateTimeFactory; @@ -52,7 +52,7 @@ class VaultDetailsHandler implements HandlerInterface * @param OrderPaymentExtensionInterfaceFactory $paymentExtensionFactory * @param SubjectReader $subjectReader * @param DateTimeFactory $dateTimeFactory - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( PaymentTokenInterfaceFactory $paymentTokenFactory, @@ -68,7 +68,7 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function handle(array $handlingSubject, array $response) { @@ -89,7 +89,7 @@ public function handle(array $handlingSubject, array $response) * * @param \Braintree\Transaction $transaction * @return PaymentTokenInterface|null - * @since 2.2.0 + * @since 2.1.3 */ private function getVaultPaymentToken(Transaction $transaction) { @@ -113,7 +113,7 @@ private function getVaultPaymentToken(Transaction $transaction) /** * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getExpirationDate() { @@ -126,7 +126,7 @@ private function getExpirationDate() * Get payment extension attributes * @param InfoInterface $payment * @return OrderPaymentExtensionInterface - * @since 2.2.0 + * @since 2.1.3 */ private function getExtensionAttributes(InfoInterface $payment) { diff --git a/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php b/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php index 45fee08e9451c..bd0c85d33c2d0 100644 --- a/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php +++ b/app/code/Magento/Braintree/Gateway/Response/RiskDataHandler.php @@ -27,7 +27,7 @@ class RiskDataHandler implements HandlerInterface /** * Risk data Review status - * @since 2.2.0 + * @since 2.1.3 */ private static $statusReview = 'Review'; 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 2cc50ff3afa48..2d20e43399989 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,26 @@ /** * Gets Ui component configuration for Braintree PayPal Vault - * @since 2.2.0 + * @since 2.1.3 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.2.0 + * @since 2.1.3 */ private $componentFactory; /** * @var UrlInterface - * @since 2.2.0 + * @since 2.1.3 */ private $urlBuilder; /** * @var Config - * @since 2.2.0 + * @since 2.1.3 */ private $config; @@ -43,7 +43,7 @@ class TokenUiComponentProvider implements TokenUiComponentProviderInterface * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder * @param Config $config - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -57,7 +57,7 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -82,7 +82,7 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php b/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php index 3d3ddabe68227..26af1aa71669d 100644 --- a/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/PayPal/ConfigProvider.php @@ -11,7 +11,7 @@ /** * Class ConfigProvider - * @since 2.2.0 + * @since 2.1.3 */ class ConfigProvider implements ConfigProviderInterface { @@ -21,13 +21,13 @@ class ConfigProvider implements ConfigProviderInterface /** * @var Config - * @since 2.2.0 + * @since 2.1.3 */ private $config; /** * @var ResolverInterface - * @since 2.2.0 + * @since 2.1.3 */ private $resolver; @@ -36,7 +36,7 @@ class ConfigProvider implements ConfigProviderInterface * * @param Config $config * @param ResolverInterface $resolver - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(Config $config, ResolverInterface $resolver) { @@ -48,7 +48,7 @@ public function __construct(Config $config, ResolverInterface $resolver) * Retrieve assoc array of checkout configuration * * @return array - * @since 2.2.0 + * @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 76946b104a993..e46c6410532e1 100644 --- a/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php +++ b/app/code/Magento/Braintree/Model/Ui/PayPal/TokenUiComponentProvider.php @@ -14,26 +14,26 @@ /** * Class TokenUiComponentProvider - * @since 2.2.0 + * @since 2.1.3 */ class TokenUiComponentProvider implements TokenUiComponentProviderInterface { /** * @var TokenUiComponentInterfaceFactory - * @since 2.2.0 + * @since 2.1.3 */ private $componentFactory; /** * @var \Magento\Framework\UrlInterface - * @since 2.2.0 + * @since 2.1.3 */ private $urlBuilder; /** * @param TokenUiComponentInterfaceFactory $componentFactory * @param UrlInterface $urlBuilder - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( TokenUiComponentInterfaceFactory $componentFactory, @@ -47,7 +47,7 @@ public function __construct( * Get UI component for token * @param PaymentTokenInterface $paymentToken * @return TokenUiComponentInterface - * @since 2.2.0 + * @since 2.1.3 */ public function getComponentForToken(PaymentTokenInterface $paymentToken) { @@ -70,7 +70,7 @@ public function getComponentForToken(PaymentTokenInterface $paymentToken) /** * Get url to retrieve payment method nonce * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getNonceRetrieveUrl() { diff --git a/app/code/Magento/Braintree/Observer/AddPaypalShortcuts.php b/app/code/Magento/Braintree/Observer/AddPaypalShortcuts.php index a50fb84156191..132f4b92a3e2d 100644 --- a/app/code/Magento/Braintree/Observer/AddPaypalShortcuts.php +++ b/app/code/Magento/Braintree/Observer/AddPaypalShortcuts.php @@ -11,7 +11,6 @@ /** * Class AddPaypalShortcuts - * @since 2.0.0 */ class AddPaypalShortcuts implements ObserverInterface { @@ -25,7 +24,6 @@ class AddPaypalShortcuts implements ObserverInterface * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { 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 e73489b3175a9..cb775b783c52e 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,7 @@ /** * Class DateRange - * @since 2.2.0 + * @since 2.1.3 */ class DateRange extends \Magento\Ui\Component\Filters\Type\Date { @@ -15,7 +15,7 @@ class DateRange extends \Magento\Ui\Component\Filters\Type\Date * Braintree date format * * @var string - * @since 2.2.0 + * @since 2.1.3 */ protected static $dateFormat = 'Y-m-d\TH:i:00O'; } diff --git a/app/code/Magento/Bundle/Api/Data/BundleOptionInterface.php b/app/code/Magento/Bundle/Api/Data/BundleOptionInterface.php index 0e23f4af3d07d..f8051bb7895e4 100644 --- a/app/code/Magento/Bundle/Api/Data/BundleOptionInterface.php +++ b/app/code/Magento/Bundle/Api/Data/BundleOptionInterface.php @@ -9,7 +9,6 @@ /** * Interface BundleOptionInterface * @api - * @since 2.0.0 */ interface BundleOptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -17,7 +16,6 @@ interface BundleOptionInterface extends \Magento\Framework\Api\ExtensibleDataInt * Get bundle option id. * * @return int - * @since 2.0.0 */ public function getOptionId(); @@ -26,7 +24,6 @@ public function getOptionId(); * * @param int $optionId * @return int - * @since 2.0.0 */ public function setOptionId($optionId); @@ -34,7 +31,6 @@ public function setOptionId($optionId); * Get bundle option quantity. * * @return int - * @since 2.0.0 */ public function getOptionQty(); @@ -43,7 +39,6 @@ public function getOptionQty(); * * @param int $optionQty * @return int - * @since 2.0.0 */ public function setOptionQty($optionQty); @@ -51,7 +46,6 @@ public function setOptionQty($optionQty); * Get bundle option selection ids. * * @return int[] - * @since 2.0.0 */ public function getOptionSelections(); @@ -60,7 +54,6 @@ public function getOptionSelections(); * * @param int[] $optionSelections * @return int[] - * @since 2.0.0 */ public function setOptionSelections(array $optionSelections); @@ -68,7 +61,6 @@ public function setOptionSelections(array $optionSelections); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Bundle\Api\Data\BundleOptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -77,7 +69,6 @@ public function getExtensionAttributes(); * * @param \Magento\Bundle\Api\Data\BundleOptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Bundle\Api\Data\BundleOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Bundle/Api/Data/LinkInterface.php b/app/code/Magento/Bundle/Api/Data/LinkInterface.php index a105940473fa7..b68317cb3b420 100644 --- a/app/code/Magento/Bundle/Api/Data/LinkInterface.php +++ b/app/code/Magento/Bundle/Api/Data/LinkInterface.php @@ -10,7 +10,6 @@ /** * Interface LinkInterface * @api - * @since 2.0.0 */ interface LinkInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -21,7 +20,6 @@ interface LinkInterface extends \Magento\Framework\Api\ExtensibleDataInterface * Get the identifier * * @return string|null - * @since 2.0.0 */ public function getId(); @@ -30,7 +28,6 @@ public function getId(); * * @param string $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -38,7 +35,6 @@ public function setId($id); * Get linked product sku * * @return string|null - * @since 2.0.0 */ public function getSku(); @@ -47,7 +43,6 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -55,7 +50,6 @@ public function setSku($sku); * Get option id * * @return int|null - * @since 2.0.0 */ public function getOptionId(); @@ -64,7 +58,6 @@ public function getOptionId(); * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId); @@ -72,7 +65,6 @@ public function setOptionId($optionId); * Get qty * * @return float|null - * @since 2.0.0 */ public function getQty(); @@ -81,7 +73,6 @@ public function getQty(); * * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty); @@ -89,7 +80,6 @@ public function setQty($qty); * Get position * * @return int|null - * @since 2.0.0 */ public function getPosition(); @@ -98,7 +88,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -107,7 +96,6 @@ public function setPosition($position); * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsDefault(); @@ -116,7 +104,6 @@ public function getIsDefault(); * * @param bool $isDefault * @return $this - * @since 2.0.0 */ public function setIsDefault($isDefault); @@ -124,7 +111,6 @@ public function setIsDefault($isDefault); * Get price * * @return float - * @since 2.0.0 */ public function getPrice(); @@ -133,7 +119,6 @@ public function getPrice(); * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price); @@ -141,7 +126,6 @@ public function setPrice($price); * Get price type * * @return int - * @since 2.0.0 */ public function getPriceType(); @@ -150,7 +134,6 @@ public function getPriceType(); * * @param int $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType); @@ -158,7 +141,6 @@ public function setPriceType($priceType); * Get whether quantity could be changed * * @return int|null - * @since 2.0.0 */ public function getCanChangeQuantity(); @@ -167,7 +149,6 @@ public function getCanChangeQuantity(); * * @param int $canChangeQuantity * @return $this - * @since 2.0.0 */ public function setCanChangeQuantity($canChangeQuantity); @@ -175,7 +156,6 @@ public function setCanChangeQuantity($canChangeQuantity); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Bundle\Api\Data\LinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -184,7 +164,6 @@ public function getExtensionAttributes(); * * @param \Magento\Bundle\Api\Data\LinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\LinkExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Bundle/Api/Data/OptionInterface.php b/app/code/Magento/Bundle/Api/Data/OptionInterface.php index 97fff434356d1..65c7111abf997 100644 --- a/app/code/Magento/Bundle/Api/Data/OptionInterface.php +++ b/app/code/Magento/Bundle/Api/Data/OptionInterface.php @@ -10,7 +10,6 @@ /** * Interface OptionInterface * @api - * @since 2.0.0 */ interface OptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -18,7 +17,6 @@ interface OptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface * Get option id * * @return int|null - * @since 2.0.0 */ public function getOptionId(); @@ -27,7 +25,6 @@ public function getOptionId(); * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId); @@ -35,7 +32,6 @@ public function setOptionId($optionId); * Get option title * * @return string|null - * @since 2.0.0 */ public function getTitle(); @@ -44,7 +40,6 @@ public function getTitle(); * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title); @@ -52,7 +47,6 @@ public function setTitle($title); * Get is required option * * @return bool|null - * @since 2.0.0 */ public function getRequired(); @@ -61,7 +55,6 @@ public function getRequired(); * * @param bool $required * @return $this - * @since 2.0.0 */ public function setRequired($required); @@ -69,7 +62,6 @@ public function setRequired($required); * Get input type * * @return string|null - * @since 2.0.0 */ public function getType(); @@ -78,7 +70,6 @@ public function getType(); * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type); @@ -86,7 +77,6 @@ public function setType($type); * Get option position * * @return int|null - * @since 2.0.0 */ public function getPosition(); @@ -95,7 +85,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -103,7 +92,6 @@ public function setPosition($position); * Get product sku * * @return string|null - * @since 2.0.0 */ public function getSku(); @@ -112,7 +100,6 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -120,7 +107,6 @@ public function setSku($sku); * Get product links * * @return \Magento\Bundle\Api\Data\LinkInterface[]|null - * @since 2.0.0 */ public function getProductLinks(); @@ -129,7 +115,6 @@ public function getProductLinks(); * * @param \Magento\Bundle\Api\Data\LinkInterface[] $productLinks * @return $this - * @since 2.0.0 */ public function setProductLinks(array $productLinks = null); @@ -137,7 +122,6 @@ public function setProductLinks(array $productLinks = null); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Bundle\Api\Data\OptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -146,7 +130,6 @@ public function getExtensionAttributes(); * * @param \Magento\Bundle\Api\Data\OptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\OptionExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Bundle/Api/Data/OptionTypeInterface.php b/app/code/Magento/Bundle/Api/Data/OptionTypeInterface.php index 0ee61acdb192a..0325f3f653193 100644 --- a/app/code/Magento/Bundle/Api/Data/OptionTypeInterface.php +++ b/app/code/Magento/Bundle/Api/Data/OptionTypeInterface.php @@ -9,7 +9,6 @@ /** * Interface OptionTypeInterface * @api - * @since 2.0.0 */ interface OptionTypeInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -17,7 +16,6 @@ interface OptionTypeInterface extends \Magento\Framework\Api\ExtensibleDataInter * Get type label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -26,7 +24,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -34,7 +31,6 @@ public function setLabel($label); * Get type code * * @return string - * @since 2.0.0 */ public function getCode(); @@ -43,7 +39,6 @@ public function getCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code); @@ -51,7 +46,6 @@ public function setCode($code); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Bundle\Api\Data\OptionTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -60,7 +54,6 @@ public function getExtensionAttributes(); * * @param \Magento\Bundle\Api\Data\OptionTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\OptionTypeExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Bundle/Api/ProductLinkManagementInterface.php b/app/code/Magento/Bundle/Api/ProductLinkManagementInterface.php index d88e6f5f1f2eb..686da4d78c9d7 100644 --- a/app/code/Magento/Bundle/Api/ProductLinkManagementInterface.php +++ b/app/code/Magento/Bundle/Api/ProductLinkManagementInterface.php @@ -9,7 +9,6 @@ /** * Interface for Management of ProductLink * @api - * @since 2.0.0 */ interface ProductLinkManagementInterface { @@ -21,7 +20,6 @@ interface ProductLinkManagementInterface * @return \Magento\Bundle\Api\Data\LinkInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function getChildren($productSku, $optionId = null); @@ -35,7 +33,6 @@ public function getChildren($productSku, $optionId = null); * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException * @return int - * @since 2.0.0 */ public function addChildByProductSku($sku, $optionId, \Magento\Bundle\Api\Data\LinkInterface $linkedProduct); @@ -46,7 +43,6 @@ public function addChildByProductSku($sku, $optionId, \Magento\Bundle\Api\Data\L * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function saveChild( $sku, @@ -61,7 +57,6 @@ public function saveChild( * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException * @return int - * @since 2.0.0 */ public function addChild( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -78,7 +73,6 @@ public function addChild( * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function removeChild($sku, $optionId, $childSku); } diff --git a/app/code/Magento/Bundle/Api/ProductOptionManagementInterface.php b/app/code/Magento/Bundle/Api/ProductOptionManagementInterface.php index 25b83b362a3da..94c54c3dabf2a 100644 --- a/app/code/Magento/Bundle/Api/ProductOptionManagementInterface.php +++ b/app/code/Magento/Bundle/Api/ProductOptionManagementInterface.php @@ -10,7 +10,6 @@ * Option manager for bundle products * * @api - * @since 2.0.0 */ interface ProductOptionManagementInterface { @@ -21,7 +20,6 @@ interface ProductOptionManagementInterface * @return int * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function save(\Magento\Bundle\Api\Data\OptionInterface $option); } diff --git a/app/code/Magento/Bundle/Api/ProductOptionRepositoryInterface.php b/app/code/Magento/Bundle/Api/ProductOptionRepositoryInterface.php index 2ef3f0073a8e4..af470c93c0f36 100644 --- a/app/code/Magento/Bundle/Api/ProductOptionRepositoryInterface.php +++ b/app/code/Magento/Bundle/Api/ProductOptionRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Interface ProductOptionRepositoryInterface * @api - * @since 2.0.0 */ interface ProductOptionRepositoryInterface { @@ -21,7 +20,6 @@ interface ProductOptionRepositoryInterface * @return \Magento\Bundle\Api\Data\OptionInterface * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function get($sku, $optionId); @@ -32,7 +30,6 @@ public function get($sku, $optionId); * @return \Magento\Bundle\Api\Data\OptionInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function getList($sku); @@ -43,7 +40,6 @@ public function getList($sku); * @return bool * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function delete(\Magento\Bundle\Api\Data\OptionInterface $option); @@ -55,7 +51,6 @@ public function delete(\Magento\Bundle\Api\Data\OptionInterface $option); * @return bool * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function deleteById($sku, $optionId); @@ -67,7 +62,6 @@ public function deleteById($sku, $optionId); * @return int * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function save( \Magento\Catalog\Api\Data\ProductInterface $product, diff --git a/app/code/Magento/Bundle/Api/ProductOptionTypeListInterface.php b/app/code/Magento/Bundle/Api/ProductOptionTypeListInterface.php index ef7827bb7b850..af1293fb5c9fb 100644 --- a/app/code/Magento/Bundle/Api/ProductOptionTypeListInterface.php +++ b/app/code/Magento/Bundle/Api/ProductOptionTypeListInterface.php @@ -9,7 +9,6 @@ /** * Interface ProductOptionTypeListInterface * @api - * @since 2.0.0 */ interface ProductOptionTypeListInterface { @@ -17,7 +16,6 @@ interface ProductOptionTypeListInterface * Get all types for options for bundle products * * @return \Magento\Bundle\Api\Data\OptionTypeInterface[] - * @since 2.0.0 */ public function getItems(); } diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php index 6c20cf1d9466d..9e3ddd49db009 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Bundle.php @@ -9,7 +9,6 @@ * Adminhtml block for fieldset of bundle product * * @api - * @since 2.0.0 */ class Bundle extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle { @@ -17,7 +16,6 @@ class Bundle extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle * Returns string with json config for bundle product * * @return string - * @since 2.0.0 */ public function getJsonConfig() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php index 67917af874b7f..38305edce241a 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/composite/fieldset/options/type/checkbox.phtml'; @@ -24,7 +22,6 @@ class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Op * @param string $elementId * @param string $containerId * @return string - * @since 2.0.0 */ public function setValidationContainer($elementId, $containerId) { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php index 01585c3f9f8ac..1391e18d9d4fd 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Multi { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/composite/fieldset/options/type/multi.phtml'; @@ -24,7 +22,6 @@ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio * @param string $elementId * @param string $containerId * @return string - * @since 2.0.0 */ public function setValidationContainer($elementId, $containerId) { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php index 3ef27bfac6da1..7ae5611ef59ba 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Radio { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/composite/fieldset/options/type/radio.phtml'; @@ -24,7 +22,6 @@ class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio * @param string $elementId * @param string $containerId * @return string - * @since 2.0.0 */ public function setValidationContainer($elementId, $containerId) { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php index 36be21e054150..9f618cb0c56ab 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/composite/fieldset/options/type/select.phtml'; @@ -24,7 +22,6 @@ class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Opti * @param string $elementId * @param string $containerId * @return string - * @since 2.0.0 */ public function setValidationContainer($elementId, $containerId) { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php index c421d061e54f0..5911bf5c393b5 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php @@ -11,7 +11,6 @@ /** * Bundle product attributes tab * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Attributes extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes { @@ -21,7 +20,6 @@ class Attributes extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attri * @return void * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareForm() { @@ -134,7 +132,6 @@ function changeTaxClassId() { * Get current product from registry * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php index 8b93ca46a3f6a..9091cb07c8ac5 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php @@ -14,13 +14,11 @@ /** * Class \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes\Extend * - * @since 2.0.0 */ class Extend extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element { /** * Initialize block template - * @since 2.0.0 */ private $template = 'Magento_Bundle::catalog/product/edit/tab/attributes/extend.phtml'; @@ -32,13 +30,11 @@ class Extend extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Ele * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Data\FormFactory - * @since 2.0.0 */ private $formFactory; @@ -47,7 +43,6 @@ class Extend extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Ele * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Data\FormFactory $formFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -64,7 +59,6 @@ public function __construct( * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -77,7 +71,6 @@ protected function _construct() * Get Element Html * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -89,7 +82,6 @@ public function getElementHtml() * Execute method getElementHtml from parrent class * * @return string - * @since 2.0.0 */ public function getParentElementHtml() { @@ -98,7 +90,6 @@ public function getParentElementHtml() /** * @return array - * @since 2.0.0 */ public function getOptions() { @@ -120,7 +111,6 @@ public function getOptions() /** * @return bool - * @since 2.0.0 */ public function isDisabledField() { @@ -133,7 +123,6 @@ public function isDisabledField() /** * @return mixed - * @since 2.0.0 */ public function getProduct() { @@ -147,7 +136,6 @@ public function getProduct() * @param string $switchAttributeCode * @return \Magento\Framework\Data\Form\Element\Select * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getExtendedElement($switchAttributeCode) { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Special.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Special.php index aebc56e6e3bb8..b3e52e5560cc2 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Special.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Special.php @@ -9,13 +9,11 @@ * Bundle Special Price Attribute Block * * @author Magento Core Team - * @since 2.0.0 */ class Special extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element { /** * @return string - * @since 2.0.0 */ public function getElementHtml() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle.php index b0fd88917c263..f124740a766ab 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle.php @@ -9,19 +9,16 @@ * Adminhtml catalog product bundle items tab block * * @author Magento Core Team - * @since 2.0.0 */ class Bundle extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** * @var mixed - * @since 2.0.0 */ protected $_product = null; /** * @var string - * @since 2.0.0 */ protected $_template = 'product/edit/bundle.phtml'; @@ -29,7 +26,6 @@ class Bundle extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -37,7 +33,6 @@ class Bundle extends \Magento\Backend\Block\Widget implements \Magento\Backend\B * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -50,7 +45,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getTabUrl() { @@ -59,7 +53,6 @@ public function getTabUrl() /** * @return string - * @since 2.0.0 */ public function getTabClass() { @@ -70,7 +63,6 @@ public function getTabClass() * Prepare layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -101,7 +93,6 @@ protected function _prepareLayout() * Check block readonly * * @return boolean - * @since 2.0.0 */ public function isReadonly() { @@ -110,7 +101,6 @@ public function isReadonly() /** * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -119,7 +109,6 @@ public function getAddButtonHtml() /** * @return string - * @since 2.0.0 */ public function getOptionsBoxHtml() { @@ -128,7 +117,6 @@ public function getOptionsBoxHtml() /** * @return string - * @since 2.0.0 */ public function getFieldSuffix() { @@ -137,7 +125,6 @@ public function getFieldSuffix() /** * @return mixed - * @since 2.0.0 */ public function getProduct() { @@ -146,7 +133,6 @@ public function getProduct() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -155,7 +141,6 @@ public function getTabLabel() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -164,7 +149,6 @@ public function getTabTitle() /** * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -173,7 +157,6 @@ public function canShowTab() /** * @return bool - * @since 2.0.0 */ public function isHidden() { @@ -184,7 +167,6 @@ public function isHidden() * Get parent tab code * * @return string - * @since 2.0.0 */ public function getParentTab() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php index 9f87bd0057bfc..809763c732958 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php @@ -10,7 +10,6 @@ /** * Class \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Bundle\Option * - * @since 2.0.0 */ class Option extends \Magento\Backend\Block\Widget { @@ -18,7 +17,6 @@ class Option extends \Magento\Backend\Block\Widget * Form element * * @var AbstractElement|null - * @since 2.0.0 */ protected $_element = null; @@ -26,13 +24,11 @@ class Option extends \Magento\Backend\Block\Widget * List of bundle product options * * @var array|null - * @since 2.0.0 */ protected $_options = null; /** * @var string - * @since 2.0.0 */ protected $_template = 'product/edit/bundle/option.phtml'; @@ -40,19 +36,16 @@ class Option extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Bundle\Model\Source\Option\Type - * @since 2.0.0 */ protected $_optionTypes; /** * @var \Magento\Config\Model\Config\Source\Yesno - * @since 2.0.0 */ protected $_yesno; @@ -62,7 +55,6 @@ class Option extends \Magento\Backend\Block\Widget * @param \Magento\Bundle\Model\Source\Option\Type $optionTypes * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -83,7 +75,6 @@ public function __construct( * Sets block template and necessary data * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -93,7 +84,6 @@ protected function _construct() /** * @return string - * @since 2.0.0 */ public function getFieldId() { @@ -102,7 +92,6 @@ public function getFieldId() /** * @return string - * @since 2.0.0 */ public function getFieldName() { @@ -113,7 +102,6 @@ public function getFieldName() * Retrieve Product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -126,7 +114,6 @@ public function getProduct() /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { @@ -137,7 +124,6 @@ public function render(AbstractElement $element) /** * @param AbstractElement $element * @return $this - * @since 2.0.0 */ public function setElement(AbstractElement $element) { @@ -147,7 +133,6 @@ public function setElement(AbstractElement $element) /** * @return AbstractElement|null - * @since 2.0.0 */ public function getElement() { @@ -156,7 +141,6 @@ public function getElement() /** * @return bool - * @since 2.0.0 */ public function isMultiWebsites() { @@ -165,7 +149,6 @@ public function isMultiWebsites() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -206,7 +189,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -215,7 +197,6 @@ public function getAddButtonHtml() /** * @return string - * @since 2.0.0 */ public function getCloseSearchButtonHtml() { @@ -224,7 +205,6 @@ public function getCloseSearchButtonHtml() /** * @return string - * @since 2.0.0 */ public function getAddSelectionButtonHtml() { @@ -235,7 +215,6 @@ public function getAddSelectionButtonHtml() * Retrieve list of bundle product options * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -265,7 +244,6 @@ public function getOptions() /** * @return mixed - * @since 2.0.0 */ public function getAddButtonId() { @@ -275,7 +253,6 @@ public function getAddButtonId() /** * @return string - * @since 2.0.0 */ public function getOptionDeleteButtonHtml() { @@ -284,7 +261,6 @@ public function getOptionDeleteButtonHtml() /** * @return string - * @since 2.0.0 */ public function getSelectionHtml() { @@ -293,7 +269,6 @@ public function getSelectionHtml() /** * @return mixed - * @since 2.0.0 */ public function getTypeSelectHtml() { @@ -316,7 +291,6 @@ public function getTypeSelectHtml() /** * @return mixed - * @since 2.0.0 */ public function getRequireSelectHtml() { @@ -335,7 +309,6 @@ public function getRequireSelectHtml() /** * @return bool - * @since 2.0.0 */ public function isDefaultStore() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search.php index 380529d9abb4a..5b73c22b5781a 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search.php @@ -9,19 +9,16 @@ * Bundle selection product block * * @author Magento Core Team - * @since 2.0.0 */ class Search extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/edit/bundle/option/search.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +29,6 @@ protected function _construct() * Create search grid * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -50,7 +46,6 @@ protected function _prepareLayout() * Prepare search grid * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search/Grid.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search/Grid.php index 1bb1432446542..7fbcf70d781d1 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search/Grid.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Search/Grid.php @@ -9,7 +9,6 @@ * Bundle selection product grid * * @author Magento Core Team - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -17,13 +16,11 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * Bundle data * * @var \Magento\Bundle\Helper\Data - * @since 2.0.0 */ protected $_bundleData = null; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; @@ -33,7 +30,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Bundle\Helper\Data $bundleData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -66,7 +61,6 @@ protected function _construct() * Prepare grid filter buttons * * @return void - * @since 2.0.0 */ protected function _prepareFilterButtons() { @@ -88,7 +82,6 @@ protected function _prepareFilterButtons() * Initialize grid before rendering * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -100,7 +93,6 @@ protected function _beforeToHtml() * Apply sorting and filtering to collection * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -138,7 +130,6 @@ protected function _prepareCollection() * Initialize grid columns * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -189,7 +180,6 @@ protected function _prepareColumns() * Retrieve grid reload url * * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -201,7 +191,6 @@ public function getGridUrl() /** * @return mixed - * @since 2.0.0 */ protected function _getSelectedProducts() { @@ -214,7 +203,6 @@ protected function _getSelectedProducts() /** * @return array - * @since 2.0.0 */ protected function _getProducts() { @@ -233,7 +221,6 @@ protected function _getProducts() * Retrieve array of allowed product types for bundle selection product * * @return array - * @since 2.0.0 */ public function getAllowedSelectionTypes() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Selection.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Selection.php index c9a57f7130bd0..353808dc66a72 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Selection.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option/Selection.php @@ -9,13 +9,11 @@ * Bundle selection renderer * * @author Magento Core Team - * @since 2.0.0 */ class Selection extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'product/edit/bundle/option/selection.phtml'; @@ -23,7 +21,6 @@ class Selection extends \Magento\Backend\Block\Widget * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -31,19 +28,16 @@ class Selection extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Bundle\Model\Source\Option\Selection\Price\Type - * @since 2.0.0 */ protected $_priceType; /** * @var \Magento\Config\Model\Config\Source\Yesno - * @since 2.0.0 */ protected $_yesno; @@ -54,7 +48,6 @@ class Selection extends \Magento\Backend\Block\Widget * @param \Magento\Catalog\Helper\Data $catalogData * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -75,7 +68,6 @@ public function __construct( * Initialize bundle option selection block * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -87,7 +79,6 @@ protected function _construct() * Return field id * * @return string - * @since 2.0.0 */ public function getFieldId() { @@ -98,7 +89,6 @@ public function getFieldId() * Return field name * * @return string - * @since 2.0.0 */ public function getFieldName() { @@ -109,7 +99,6 @@ public function getFieldName() * Prepare block layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -125,7 +114,6 @@ protected function _prepareLayout() * Retrieve delete button html * * @return string - * @since 2.0.0 */ public function getSelectionDeleteButtonHtml() { @@ -136,7 +124,6 @@ public function getSelectionDeleteButtonHtml() * Retrieve price type select html * * @return string - * @since 2.0.0 */ public function getPriceTypeSelectHtml() { @@ -162,7 +149,6 @@ public function getPriceTypeSelectHtml() * Retrieve qty type select html * * @return string - * @since 2.0.0 */ public function getQtyTypeSelectHtml() { @@ -183,7 +169,6 @@ public function getQtyTypeSelectHtml() * Return search url * * @return string - * @since 2.0.0 */ public function getSelectionSearchUrl() { @@ -194,7 +179,6 @@ public function getSelectionSearchUrl() * Check if used website scope price * * @return string - * @since 2.0.0 */ public function isUsedWebsitePrice() { @@ -206,7 +190,6 @@ public function isUsedWebsitePrice() * Retrieve price scope checkbox html * * @return string - * @since 2.0.0 */ public function getCheckboxScopeHtml() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tabs.php b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tabs.php index a9c08862416a5..d8e0bcafa8ca9 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tabs.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tabs.php @@ -9,19 +9,16 @@ * Adminhtml product edit tabs * * @author Magento Core Team - * @since 2.0.0 */ class Tabs extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tabs { /** * @var string - * @since 2.0.0 */ protected $_attributeTabBlock = \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes::class; /** * @return $this|void - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Bundle/Block/Adminhtml/Order/Create/Sidebar.php b/app/code/Magento/Bundle/Block/Adminhtml/Order/Create/Sidebar.php index 805ada11c7845..971889c455421 100644 --- a/app/code/Magento/Bundle/Block/Adminhtml/Order/Create/Sidebar.php +++ b/app/code/Magento/Bundle/Block/Adminhtml/Order/Create/Sidebar.php @@ -8,7 +8,6 @@ /** * Class \Magento\Bundle\Block\Adminhtml\Order\Create\Sidebar * - * @since 2.0.0 */ class Sidebar { @@ -21,7 +20,6 @@ class Sidebar * * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetItemQty( \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar $subject, @@ -43,7 +41,6 @@ public function aroundGetItemQty( * * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundIsConfigurationRequired( \Magento\Sales\Block\Adminhtml\Order\Create\Sidebar\AbstractSidebar $subject, 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 f25bec3ef5c53..d7eb91013d94a 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 @@ -12,7 +12,6 @@ * Adminhtml sales order item renderer * * @api - * @since 2.0.0 */ class Renderer extends \Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRenderer { @@ -56,7 +55,6 @@ public function __construct( * @param string &$remainder * @param bool $breakWords * @return string - * @since 2.0.0 */ public function truncateString($value, $length = 80, $etc = '...', &$remainder = '', $breakWords = true) { @@ -71,7 +69,6 @@ public function truncateString($value, $length = 80, $etc = '...', &$remainder = * * @param \Magento\Framework\DataObject $item * @return array|null - * @since 2.0.0 */ public function getChildren($item) { @@ -108,7 +105,6 @@ public function getChildren($item) * @param mixed $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isShipmentSeparately($item = null) { @@ -145,7 +141,6 @@ public function isShipmentSeparately($item = null) * @param mixed $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isChildCalculated($item = null) { @@ -183,7 +178,6 @@ public function isChildCalculated($item = null) /** * @param mixed $item * @return mixed|null - * @since 2.0.0 */ public function getSelectionAttributes($item) { @@ -200,7 +194,6 @@ public function getSelectionAttributes($item) /** * @return array - * @since 2.0.0 */ public function getOrderOptions() { @@ -222,7 +215,6 @@ public function getOrderOptions() /** * @return mixed - * @since 2.0.0 */ public function getOrderItem() { @@ -236,7 +228,6 @@ public function getOrderItem() /** * @param mixed $item * @return string - * @since 2.0.0 */ public function getValueHtml($item) { @@ -259,7 +250,6 @@ public function getValueHtml($item) /** * @param object $item * @return bool - * @since 2.0.0 */ public function canShowPriceInfo($item) { 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 6a10c0d4f9e96..fca670f63becc 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 @@ -12,7 +12,6 @@ * Adminhtml sales order item renderer * * @api - * @since 2.0.0 */ class Renderer extends \Magento\Sales\Block\Adminhtml\Order\View\Items\Renderer\DefaultRenderer { @@ -68,7 +67,6 @@ public function __construct( * @param string &$remainder * @param bool $breakWords * @return string - * @since 2.0.0 */ public function truncateString($value, $length = 80, $etc = '...', &$remainder = '', $breakWords = true) { @@ -82,7 +80,6 @@ public function truncateString($value, $length = 80, $etc = '...', &$remainder = * @param null|object $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isShipmentSeparately($item = null) { @@ -116,7 +113,6 @@ public function isShipmentSeparately($item = null) * @param null|object $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isChildCalculated($item = null) { @@ -151,7 +147,6 @@ public function isChildCalculated($item = null) /** * @param mixed $item * @return mixed - * @since 2.0.0 */ public function getSelectionAttributes($item) { @@ -168,7 +163,6 @@ public function getSelectionAttributes($item) /** * @return array - * @since 2.0.0 */ public function getOrderOptions() { @@ -191,7 +185,6 @@ public function getOrderOptions() /** * @param object $item * @return string - * @since 2.0.0 */ public function getValueHtml($item) { @@ -214,7 +207,6 @@ public function getValueHtml($item) /** * @param object $item * @return bool - * @since 2.0.0 */ public function canShowPriceInfo($item) { diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/Price.php b/app/code/Magento/Bundle/Block/Catalog/Product/Price.php index 7e0f816242cb6..6096575eca56b 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/Price.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/Price.php @@ -8,13 +8,11 @@ /** * Bundle product price block * @api - * @since 2.0.0 */ class Price extends \Magento\Catalog\Block\Product\Price { /** * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $_taxHelper; @@ -28,7 +26,6 @@ class Price extends \Magento\Catalog\Block\Product\Price * @param \Magento\Checkout\Helper\Cart $cartHelper * @param \Magento\Tax\Helper\Data $taxData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -59,7 +56,6 @@ public function __construct( * With corrections for Dynamic prices * * @return bool - * @since 2.0.0 */ public function displayBothPrices() { @@ -75,7 +71,6 @@ public function displayBothPrices() /** * @param null|string|bool|int|\Magento\Store\Model\Store $storeId * @return bool|\Magento\Store\Model\Website - * @since 2.0.0 */ public function getWebsite($storeId) { 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 138337c7c4d52..56e30849698c8 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 @@ -14,14 +14,12 @@ * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Bundle extends \Magento\Catalog\Block\Product\View\AbstractView { /** * @var array - * @since 2.0.0 */ protected $options; @@ -29,31 +27,26 @@ class Bundle extends \Magento\Catalog\Block\Product\View\AbstractView * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $catalogProduct; /** * @var \Magento\Bundle\Model\Product\PriceFactory - * @since 2.0.0 */ protected $productPriceFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $jsonEncoder; /** * @var \Magento\Framework\Locale\FormatInterface - * @since 2.0.0 */ protected $localeFormat; /** * @var array - * @since 2.0.0 */ private $selectedOptions = []; @@ -71,7 +64,6 @@ class Bundle extends \Magento\Catalog\Block\Product\View\AbstractView * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Framework\Locale\FormatInterface $localeFormat * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -115,7 +107,6 @@ private function getCatalogRuleProcessor() * * @param bool $stripSelection * @return array - * @since 2.0.0 */ public function getOptions($stripSelection = false) { @@ -146,7 +137,6 @@ public function getOptions($stripSelection = false) /** * @return bool - * @since 2.0.0 */ public function hasOptions() { @@ -162,7 +152,6 @@ public function hasOptions() * * @return string * - * @since 2.0.0 */ public function getJsonConfig() { @@ -218,7 +207,6 @@ public function getJsonConfig() * * @param Option $option * @return string - * @since 2.0.0 */ public function getOptionHtml(Option $option) { @@ -235,7 +223,6 @@ public function getOptionHtml(Option $option) * @param Product $product * @param Product $selection * @return array - * @since 2.0.0 */ private function getSelectionItemData(Product $product, Product $selection) { @@ -276,7 +263,6 @@ private function getSelectionItemData(Product $product, Product $selection) * @param Product $product * @param Product $selection * @return array - * @since 2.0.0 */ private function getTierPrices(Product $product, Product $selection) { @@ -317,7 +303,6 @@ private function getTierPrices(Product $product, Product $selection) * @param Option $option * @param Product $product * @return array - * @since 2.0.0 */ private function getSelections(Option $option, Product $product) { @@ -344,7 +329,6 @@ private function getSelections(Option $option, Product $product) * @param Product $product * @param int $position * @return array - * @since 2.0.0 */ private function getOptionItemData(Option $option, Product $product, $position) { @@ -362,7 +346,6 @@ private function getOptionItemData(Option $option, Product $product, $position) * @param Product $product * @param array $options * @return array - * @since 2.0.0 */ private function getConfigData(Product $product, array $options) { diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php index 8eadc95665969..872d0956f7d16 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php @@ -11,7 +11,6 @@ /** * Bundle option renderer * @api - * @since 2.0.0 */ class Option extends \Magento\Bundle\Block\Catalog\Product\Price { @@ -19,7 +18,6 @@ class Option extends \Magento\Bundle\Block\Catalog\Product\Price * Store pre-configured options * * @var int|array|string - * @since 2.0.0 */ protected $_selectedOptions; @@ -27,25 +25,21 @@ class Option extends \Magento\Bundle\Block\Catalog\Product\Price * Show if option has a single selection * * @var bool - * @since 2.0.0 */ protected $_showSingle; /** * @var \Magento\Framework\Pricing\Helper\Data - * @since 2.0.0 */ protected $pricingHelper; /** * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $_taxHelper; /** * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogHelper; @@ -62,7 +56,6 @@ class Option extends \Magento\Bundle\Block\Catalog\Product\Price * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -96,7 +89,6 @@ public function __construct( * Check if option has a single selection * * @return bool - * @since 2.0.0 */ public function showSingle() { @@ -114,7 +106,6 @@ public function showSingle() * Retrieve default values for template * * @return array - * @since 2.0.0 */ public function getDefaultValues() { @@ -147,7 +138,6 @@ public function getDefaultValues() * Collect selected options * * @return int|array|string - * @since 2.0.0 */ protected function _getSelectedOptions() { @@ -177,7 +167,6 @@ protected function _getSelectedOptions() * * @param \Magento\Catalog\Model\Product $selection * @return bool - * @since 2.0.0 */ public function isSelected($selection) { @@ -197,7 +186,6 @@ public function isSelected($selection) * Retrieve selected option qty * * @return int - * @since 2.0.0 */ protected function _getSelectedQty() { @@ -219,7 +207,6 @@ protected function _getSelectedQty() * Get product model * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -233,7 +220,6 @@ public function getProduct() * @param \Magento\Catalog\Model\Product $selection * @param bool $includeContainer * @return string - * @since 2.0.0 */ public function getSelectionQtyTitlePrice($selection, $includeContainer = true) { @@ -251,7 +237,6 @@ public function getSelectionQtyTitlePrice($selection, $includeContainer = true) * * @param \Magento\Catalog\Model\Product $selection * @return int|float - * @since 2.0.0 */ public function getSelectionPrice($selection) { @@ -276,7 +261,6 @@ public function getSelectionPrice($selection) * @param \Magento\Catalog\Model\Product $selection * @param bool $includeContainer * @return string - * @since 2.0.0 */ public function getSelectionTitlePrice($selection, $includeContainer = true) { @@ -293,7 +277,6 @@ public function getSelectionTitlePrice($selection, $includeContainer = true) * @param int $containerId * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setValidationContainer($elementId, $containerId) { @@ -305,7 +288,6 @@ public function setValidationContainer($elementId, $containerId) * * @param \Magento\Bundle\Model\Option $option * @return mixed - * @since 2.0.0 */ public function setOption(\Magento\Bundle\Model\Option $option) { @@ -320,7 +302,6 @@ public function setOption(\Magento\Bundle\Model\Option $option) * @param \Magento\Catalog\Model\Product $selection * @param bool $includeContainer * @return string - * @since 2.0.0 */ public function renderPriceString($selection, $includeContainer = true) { diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Checkbox.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Checkbox.php index 6410c1257f824..549466b5dd985 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Checkbox.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Checkbox.php @@ -9,13 +9,11 @@ * Bundle option checkbox type renderer * * @api - * @since 2.0.0 */ class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/view/type/bundle/option/checkbox.phtml'; } diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php index 74a637446c1f1..2b386ab2be5d0 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php @@ -9,13 +9,11 @@ * Bundle option multi select type renderer * * @api - * @since 2.0.0 */ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/view/type/bundle/option/multi.phtml'; } diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Radio.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Radio.php index 75bb4843e4ac2..625bc260dcc56 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Radio.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Radio.php @@ -9,13 +9,11 @@ * Bundle option radiobox type renderer * * @api - * @since 2.0.0 */ class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/view/type/bundle/option/radio.phtml'; } diff --git a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Select.php b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Select.php index 734f566770f20..7d705257ae318 100644 --- a/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Select.php +++ b/app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Select.php @@ -9,13 +9,11 @@ * Bundle option dropdown type renderer * * @api - * @since 2.0.0 */ class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/view/type/bundle/option/select.phtml'; } diff --git a/app/code/Magento/Bundle/Block/Checkout/Cart/Item/Renderer.php b/app/code/Magento/Bundle/Block/Checkout/Cart/Item/Renderer.php index bbc1756706c94..7cdd88b52056e 100644 --- a/app/code/Magento/Bundle/Block/Checkout/Cart/Item/Renderer.php +++ b/app/code/Magento/Bundle/Block/Checkout/Cart/Item/Renderer.php @@ -13,7 +13,6 @@ * Shopping cart item render block * * @api - * @since 2.0.0 */ class Renderer extends \Magento\Checkout\Block\Cart\Item\Renderer { @@ -21,7 +20,6 @@ class Renderer extends \Magento\Checkout\Block\Cart\Item\Renderer * Bundle catalog product configuration * * @var Configuration - * @since 2.0.0 */ protected $_bundleProductConfiguration = null; @@ -38,7 +36,6 @@ class Renderer extends \Magento\Checkout\Block\Cart\Item\Renderer * @param Configuration $bundleProductConfiguration * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -74,7 +71,6 @@ public function __construct( * Caches result in quote item, because it can be used in cart 'recent view' and on same page in cart checkout * * @return array - * @since 2.0.0 */ public function getOptionList() { @@ -85,7 +81,6 @@ public function getOptionList() * Return cart item error messages * * @return array - * @since 2.0.0 */ public function getMessages() { 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 9ef75c192a452..5fa2ab51a6caf 100644 --- a/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php +++ b/app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php @@ -11,7 +11,6 @@ /** * Order item render block * @api - * @since 2.0.0 */ class Renderer extends \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer { @@ -48,7 +47,6 @@ public function __construct( * @param mixed $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isShipmentSeparately($item = null) { @@ -85,7 +83,6 @@ public function isShipmentSeparately($item = null) * @param mixed $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isChildCalculated($item = null) { @@ -123,7 +120,6 @@ public function isChildCalculated($item = null) /** * @param mixed $item * @return mixed|null - * @since 2.0.0 */ public function getSelectionAttributes($item) { @@ -141,7 +137,6 @@ public function getSelectionAttributes($item) /** * @param mixed $item * @return string - * @since 2.0.0 */ public function getValueHtml($item) { @@ -158,7 +153,6 @@ public function getValueHtml($item) * * @param \Magento\Framework\DataObject $item * @return array - * @since 2.0.0 */ public function getChildren($item) { @@ -194,7 +188,6 @@ public function getChildren($item) /** * @param mixed $item * @return bool - * @since 2.0.0 */ public function canShowPriceInfo($item) { @@ -211,7 +204,6 @@ public function canShowPriceInfo($item) * * @param OrderItem|InvoiceItem|CreditmemoItem $item * @return string - * @since 2.0.0 */ public function getItemPrice($item) { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AddAttributeToTemplate.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AddAttributeToTemplate.php index 005c8efdeff2e..4806aab9ceef7 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AddAttributeToTemplate.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AddAttributeToTemplate.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\AddAttributeToTemplate * - * @since 2.0.0 */ class AddAttributeToTemplate extends \Magento\Catalog\Controller\Adminhtml\Product\AddAttributeToTemplate { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsPriceGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsPriceGrid.php index fc2432338aa7d..555fd8f6af187 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsPriceGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsPriceGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\AlertsPriceGrid * - * @since 2.0.0 */ class AlertsPriceGrid extends \Magento\Catalog\Controller\Adminhtml\Product\AlertsPriceGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsStockGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsStockGrid.php index 95abd21203373..ab65c97e97d61 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsStockGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/AlertsStockGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\AlertsStockGrid * - * @since 2.0.0 */ class AlertsStockGrid extends \Magento\Catalog\Controller\Adminhtml\Product\AlertsStockGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Categories.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Categories.php index 29b3c48f81515..e53a6e6a76551 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Categories.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Categories.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Categories * - * @since 2.0.0 */ class Categories extends \Magento\Catalog\Controller\Adminhtml\Product\Categories { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Crosssell.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Crosssell.php index 1d3708556ed82..24d35aa4b1c22 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Crosssell.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Crosssell.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Crosssell * - * @since 2.0.0 */ class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product\Crosssell { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CrosssellGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CrosssellGrid.php index 82e90ff8f8c9d..8e04f195d9481 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CrosssellGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CrosssellGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\CrosssellGrid * - * @since 2.0.0 */ class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\CrosssellGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CustomOptions.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CustomOptions.php index c3ef0221b9461..1cf5d3131553e 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CustomOptions.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/CustomOptions.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\CustomOptions * - * @since 2.0.0 */ class CustomOptions extends \Magento\Catalog\Controller\Adminhtml\Product\CustomOptions { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Duplicate.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Duplicate.php index cff88e205cabd..b702fe95233e5 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Duplicate.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Duplicate.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Duplicate * - * @since 2.0.0 */ class Duplicate extends \Magento\Catalog\Controller\Adminhtml\Product\Duplicate { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Edit.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Edit.php index 2d84f6af3da3f..7b5538ca3746c 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Edit.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Edit.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Edit { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Form.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Form.php index 78e5631b1f972..3a36a0647c960 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Form.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Form.php @@ -12,13 +12,11 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Form * - * @since 2.0.0 */ class Form extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper - * @since 2.0.0 */ protected $initializationHelper; @@ -26,7 +24,6 @@ class Form extends \Magento\Catalog\Controller\Adminhtml\Product * @param Action\Context $context * @param Product\Builder $productBuilder * @param Product\Initialization\Helper $initializationHelper - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Grid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Grid.php index aac2ad357d45c..bc40092f1449d 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Grid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Grid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Catalog\Controller\Adminhtml\Product\Grid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/GridOnly.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/GridOnly.php index 8fb7ec64b2ff6..205e273ba10ac 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/GridOnly.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/GridOnly.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\GridOnly * - * @since 2.0.0 */ class GridOnly extends \Magento\Catalog\Controller\Adminhtml\Product\GridOnly { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Index.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Index.php index b37c3f07d0194..dce8469d15445 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Index.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Index * - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Adminhtml\Product\Index { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassDelete.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassDelete.php index 8dbbd55419090..92ccfaceabff3 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassDelete.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassDelete.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\MassDelete * - * @since 2.0.0 */ class MassDelete extends \Magento\Catalog\Controller\Adminhtml\Product\MassDelete { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassStatus.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassStatus.php index 76c2c7aa07f2a..b75e7ba585de2 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassStatus.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/MassStatus.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\MassStatus * - * @since 2.0.0 */ class MassStatus extends \Magento\Catalog\Controller\Adminhtml\Product\MassStatus { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/NewAction.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/NewAction.php index 5916637d5a085..5d93047a4e6d3 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/NewAction.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/NewAction.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product\NewAction { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Options.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Options.php index 11a34244ca39d..f4b0669172dc2 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Options.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Options.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Options * - * @since 2.0.0 */ class Options extends \Magento\Catalog\Controller\Adminhtml\Product\Options { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/OptionsImportGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/OptionsImportGrid.php index b9c1aa6efdd2e..51660e2dd6772 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/OptionsImportGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/OptionsImportGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\OptionsImportGrid * - * @since 2.0.0 */ class OptionsImportGrid extends \Magento\Catalog\Controller\Adminhtml\Product\OptionsImportGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Related.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Related.php index 78c96440c7182..88a7e4ce2ebb0 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Related.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Related.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Related * - * @since 2.0.0 */ class Related extends \Magento\Catalog\Controller\Adminhtml\Product\Related { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/RelatedGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/RelatedGrid.php index f6289eb288a2f..d3b791b095271 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/RelatedGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/RelatedGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\RelatedGrid * - * @since 2.0.0 */ class RelatedGrid extends \Magento\Catalog\Controller\Adminhtml\Product\RelatedGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Save.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Save.php index 9ba93142a0e99..43f335f632d90 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Save.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Save.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Save * - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Save { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/ShowUpdateResult.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/ShowUpdateResult.php index 91f09d2e531ee..492f301450ecd 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/ShowUpdateResult.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/ShowUpdateResult.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\ShowUpdateResult * - * @since 2.0.0 */ class ShowUpdateResult extends \Magento\Catalog\Controller\Adminhtml\Product\ShowUpdateResult { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/SuggestAttributes.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/SuggestAttributes.php index 5b5f754b11618..fa2fca6f016ec 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/SuggestAttributes.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/SuggestAttributes.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\SuggestAttributes * - * @since 2.0.0 */ class SuggestAttributes extends \Magento\Catalog\Controller\Adminhtml\Product\SuggestAttributes { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Upsell.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Upsell.php index 4d77002a0085c..224fcb12c2db8 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Upsell.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Upsell.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Upsell * - * @since 2.0.0 */ class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product\Upsell { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/UpsellGrid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/UpsellGrid.php index bd5470800a697..2f328ac16e588 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/UpsellGrid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/UpsellGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\UpsellGrid * - * @since 2.0.0 */ class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product\UpsellGrid { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Validate.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Validate.php index 4eca02306e4db..64d59679bebbe 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Validate.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Validate.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Validate * - * @since 2.0.0 */ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Validate { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Wysiwyg.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Wysiwyg.php index 151f365f2001d..d809387cfcb7c 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Wysiwyg.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Product/Edit/Wysiwyg.php @@ -9,7 +9,6 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Product\Edit\Wysiwyg * - * @since 2.0.0 */ class Wysiwyg extends \Magento\Catalog\Controller\Adminhtml\Product\Wysiwyg { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Grid.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Grid.php index 8be527ed573a0..399dd06aeaa5e 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Grid.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Grid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Selection\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Backend\App\Action { /** * @return mixed - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Search.php b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Search.php index f63afb6f9be0c..1334b30ab2597 100644 --- a/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Search.php +++ b/app/code/Magento/Bundle/Controller/Adminhtml/Bundle/Selection/Search.php @@ -9,13 +9,11 @@ /** * Class \Magento\Bundle\Controller\Adminhtml\Bundle\Selection\Search * - * @since 2.0.0 */ class Search extends \Magento\Backend\App\Action { /** * @return mixed - * @since 2.0.0 */ public function execute() { 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 3d5dc2a3c8f09..41d5eee0e063d 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 @@ -15,7 +15,6 @@ /** * Class Bundle * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Bundle { @@ -27,7 +26,6 @@ class Bundle /** * @var RequestInterface - * @since 2.0.0 */ protected $request; @@ -62,7 +60,6 @@ class Bundle * @param ProductRepository $productRepository * @param StoreManager $storeManager * @param ProductCustomOptionInterfaceFactory $customOptionFactory - * @since 2.0.0 */ public function __construct( RequestInterface $request, @@ -90,7 +87,6 @@ public function __construct( * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function afterInitialize( \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper $subject, diff --git a/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php b/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php index 636ac2fe15af8..98a2fc67404a9 100644 --- a/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php +++ b/app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php @@ -12,7 +12,6 @@ /** * Helper for fetching properties by product configuration item * @api - * @since 2.0.0 */ class Configuration extends AbstractHelper implements ConfigurationInterface { @@ -20,7 +19,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Core data * * @var \Magento\Framework\Pricing\Helper\Data - * @since 2.0.0 */ protected $pricingHelper; @@ -28,7 +26,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Catalog product configuration * * @var \Magento\Catalog\Helper\Product\Configuration - * @since 2.0.0 */ protected $productConfiguration; @@ -36,7 +33,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Escaper * * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $escaper; @@ -54,7 +50,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * @param \Magento\Framework\Pricing\Helper\Data $pricingHelper * @param \Magento\Framework\Escaper $escaper * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -77,7 +72,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product $product * @param int $selectionId * @return float - * @since 2.0.0 */ public function getSelectionQty(\Magento\Catalog\Model\Product $product, $selectionId) { @@ -94,7 +88,6 @@ public function getSelectionQty(\Magento\Catalog\Model\Product $product, $select * @param ItemInterface $item * @param \Magento\Catalog\Model\Product $selectionProduct * @return float - * @since 2.0.0 */ public function getSelectionFinalPrice(ItemInterface $item, \Magento\Catalog\Model\Product $selectionProduct) { @@ -122,7 +115,6 @@ public function getSelectionFinalPrice(ItemInterface $item, \Magento\Catalog\Mod * * @param ItemInterface $item * @return array - * @since 2.0.0 */ public function getBundleOptions(ItemInterface $item) { @@ -186,7 +178,6 @@ public function getBundleOptions(ItemInterface $item) * * @param ItemInterface $item * @return array - * @since 2.0.0 */ public function getOptions(ItemInterface $item) { diff --git a/app/code/Magento/Bundle/Helper/Data.php b/app/code/Magento/Bundle/Helper/Data.php index 8761444d3d5c6..dbd4a6a039c27 100644 --- a/app/code/Magento/Bundle/Helper/Data.php +++ b/app/code/Magento/Bundle/Helper/Data.php @@ -9,20 +9,17 @@ * Bundle helper * * @author Magento Core Team - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { /** * @var \Magento\Catalog\Model\ProductTypes\ConfigInterface - * @since 2.0.0 */ protected $config; /** * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Catalog\Model\ProductTypes\ConfigInterface $config - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Retrieve array of allowed product types for bundle selection product * * @return array - * @since 2.0.0 */ public function getAllowedSelectionTypes() { diff --git a/app/code/Magento/Bundle/Model/BundleOption.php b/app/code/Magento/Bundle/Model/BundleOption.php index 159b4bc4efa5a..ece0e7a2b665d 100644 --- a/app/code/Magento/Bundle/Model/BundleOption.php +++ b/app/code/Magento/Bundle/Model/BundleOption.php @@ -11,7 +11,6 @@ /** * Class \Magento\Bundle\Model\BundleOption * - * @since 2.0.0 */ class BundleOption extends AbstractExtensibleModel implements BundleOptionInterface { @@ -26,7 +25,6 @@ class BundleOption extends AbstractExtensibleModel implements BundleOptionInterf /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getOptionId() { @@ -36,7 +34,6 @@ public function getOptionId() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getOptionQty() { @@ -46,7 +43,6 @@ public function getOptionQty() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getOptionSelections() { @@ -56,7 +52,6 @@ public function getOptionSelections() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function setOptionId($optionId) { @@ -66,7 +61,6 @@ public function setOptionId($optionId) /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function setOptionQty($optionQty) { @@ -76,7 +70,6 @@ public function setOptionQty($optionQty) /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function setOptionSelections(array $optionSelections) { @@ -86,7 +79,6 @@ public function setOptionSelections(array $optionSelections) /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -96,7 +88,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\BundleOptionExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Bundle/Model/CartItemProcessor.php b/app/code/Magento/Bundle/Model/CartItemProcessor.php index 67c91c523da97..abdbbadfeee9a 100644 --- a/app/code/Magento/Bundle/Model/CartItemProcessor.php +++ b/app/code/Magento/Bundle/Model/CartItemProcessor.php @@ -13,31 +13,26 @@ /** * Class \Magento\Bundle\Model\CartItemProcessor * - * @since 2.0.0 */ class CartItemProcessor implements CartItemProcessorInterface { /** * @var \Magento\Framework\DataObject\Factory - * @since 2.0.0 */ protected $objectFactory; /** * @var QuoteApi\ProductOptionExtensionFactory - * @since 2.0.0 */ protected $productOptionExtensionFactory; /** * @var BundleOptionInterfaceFactory - * @since 2.0.0 */ protected $bundleOptionFactory; /** * @var QuoteApi\ProductOptionInterfaceFactory - * @since 2.0.0 */ protected $productOptionFactory; @@ -46,7 +41,6 @@ class CartItemProcessor implements CartItemProcessorInterface * @param QuoteApi\ProductOptionExtensionFactory $productOptionExtensionFactory * @param BundleOptionInterfaceFactory $bundleOptionFactory * @param QuoteApi\ProductOptionInterfaceFactory $productOptionFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\DataObject\Factory $objectFactory, @@ -62,7 +56,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToBuyRequest(CartItemInterface $cartItem) { @@ -86,7 +79,6 @@ public function convertToBuyRequest(CartItemInterface $cartItem) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function processOptions(CartItemInterface $cartItem) { diff --git a/app/code/Magento/Bundle/Model/Link.php b/app/code/Magento/Bundle/Model/Link.php index 76c067de38f3e..7df6668cec8d8 100644 --- a/app/code/Magento/Bundle/Model/Link.php +++ b/app/code/Magento/Bundle/Model/Link.php @@ -9,7 +9,6 @@ /** * Class Link * @codeCoverageIgnore - * @since 2.0.0 */ class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Bundle\Api\Data\LinkInterface @@ -30,7 +29,6 @@ class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements /** * {@inheritdoc} - * @since 2.0.0 */ public function getId() { @@ -39,7 +37,6 @@ public function getId() /** * {@inheritdoc} - * @since 2.0.0 */ public function setId($id) { @@ -48,7 +45,6 @@ public function setId($id) /** * {@inheritdoc} - * @since 2.0.0 */ public function getSku() { @@ -57,7 +53,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptionId() { @@ -66,7 +61,6 @@ public function getOptionId() /** * {@inheritdoc} - * @since 2.0.0 */ public function getQty() { @@ -75,7 +69,6 @@ public function getQty() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPosition() { @@ -84,7 +77,6 @@ public function getPosition() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsDefault() { @@ -93,7 +85,6 @@ public function getIsDefault() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPrice() { @@ -102,7 +93,6 @@ public function getPrice() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPriceType() { @@ -111,7 +101,6 @@ public function getPriceType() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCanChangeQuantity() { @@ -123,7 +112,6 @@ public function getCanChangeQuantity() * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -135,7 +123,6 @@ public function setSku($sku) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId) { @@ -147,7 +134,6 @@ public function setOptionId($optionId) * * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty) { @@ -159,7 +145,6 @@ public function setQty($qty) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -171,7 +156,6 @@ public function setPosition($position) * * @param bool $isDefault * @return $this - * @since 2.0.0 */ public function setIsDefault($isDefault) { @@ -183,7 +167,6 @@ public function setIsDefault($isDefault) * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price) { @@ -195,7 +178,6 @@ public function setPrice($price) * * @param int $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType) { @@ -207,7 +189,6 @@ public function setPriceType($priceType) * * @param int $canChangeQuantity * @return $this - * @since 2.0.0 */ public function setCanChangeQuantity($canChangeQuantity) { @@ -218,7 +199,6 @@ public function setCanChangeQuantity($canChangeQuantity) * {@inheritdoc} * * @return \Magento\Bundle\Api\Data\LinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -230,7 +210,6 @@ public function getExtensionAttributes() * * @param \Magento\Bundle\Api\Data\LinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\LinkExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Bundle/Model/LinkManagement.php b/app/code/Magento/Bundle/Model/LinkManagement.php index cce7defbb913b..3e95c1df06d58 100644 --- a/app/code/Magento/Bundle/Model/LinkManagement.php +++ b/app/code/Magento/Bundle/Model/LinkManagement.php @@ -15,43 +15,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class LinkManagement implements \Magento\Bundle\Api\ProductLinkManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Bundle\Api\Data\LinkInterfaceFactory - * @since 2.0.0 */ protected $linkFactory; /** * @var \Magento\Bundle\Model\ResourceModel\BundleFactory - * @since 2.0.0 */ protected $bundleFactory; /** * @var SelectionFactory - * @since 2.0.0 */ protected $bundleSelection; /** * @var \Magento\Bundle\Model\ResourceModel\Option\CollectionFactory - * @since 2.0.0 */ protected $optionCollection; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -69,7 +62,6 @@ class LinkManagement implements \Magento\Bundle\Api\ProductLinkManagementInterfa * @param \Magento\Bundle\Model\ResourceModel\Option\CollectionFactory $optionCollection * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( ProductRepositoryInterface $productRepository, @@ -91,7 +83,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getChildren($productSku, $optionId = null) { @@ -115,7 +106,6 @@ public function getChildren($productSku, $optionId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function addChildByProductSku($sku, $optionId, \Magento\Bundle\Api\Data\LinkInterface $linkedProduct) { @@ -128,7 +118,6 @@ public function addChildByProductSku($sku, $optionId, \Magento\Bundle\Api\Data\L * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function saveChild( $sku, @@ -182,7 +171,6 @@ public function saveChild( * @return \Magento\Bundle\Model\Selection * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function mapProductLinkToSelectionModel( \Magento\Bundle\Model\Selection $selectionModel, @@ -223,7 +211,6 @@ protected function mapProductLinkToSelectionModel( /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function addChild( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -303,7 +290,6 @@ public function addChild( /** * {@inheritdoc} - * @since 2.0.0 */ public function removeChild($sku, $optionId, $childSku) { @@ -345,7 +331,6 @@ public function removeChild($sku, $optionId, $childSku) * @param \Magento\Catalog\Model\Product $selection * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Api\Data\LinkInterface - * @since 2.0.0 */ private function buildLink(\Magento\Catalog\Model\Product $selection, \Magento\Catalog\Model\Product $product) { @@ -376,7 +361,6 @@ private function buildLink(\Magento\Catalog\Model\Product $selection, \Magento\C /** * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return \Magento\Bundle\Api\Data\OptionInterface[] - * @since 2.0.0 */ private function getOptions(\Magento\Catalog\Api\Data\ProductInterface $product) { diff --git a/app/code/Magento/Bundle/Model/Option.php b/app/code/Magento/Bundle/Model/Option.php index a55fae8017ba3..ce6eb62b74494 100644 --- a/app/code/Magento/Bundle/Model/Option.php +++ b/app/code/Magento/Bundle/Model/Option.php @@ -12,7 +12,6 @@ * @method int getParentId() * @method null|\Magento\Catalog\Model\Product[] getSelections() * @method Option setParentId(int $value) - * @since 2.0.0 */ class Option extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Bundle\Api\Data\OptionInterface @@ -29,19 +28,13 @@ class Option extends \Magento\Framework\Model\AbstractExtensibleModel implements const KEY_PRODUCT_LINKS = 'product_links'; /**#@-*/ - /** - * Default selection object - * - * @var \Magento\Catalog\Model\Product|null - * @since 2.0.0 - */ + /**#@-*/ protected $defaultSelection = null; /** * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -54,7 +47,6 @@ protected function _construct() * * @param \Magento\Catalog\Model\Product $selection * @return void - * @since 2.0.0 */ public function addSelection(\Magento\Catalog\Model\Product $selection) { @@ -70,7 +62,6 @@ public function addSelection(\Magento\Catalog\Model\Product $selection) * Check Is Saleable Option * * @return bool - * @since 2.0.0 */ public function isSaleable() { @@ -91,7 +82,6 @@ public function isSaleable() * Retrieve default Selection object * * @return \Magento\Catalog\Model\Product|null - * @since 2.0.0 */ public function getDefaultSelection() { @@ -110,7 +100,6 @@ public function getDefaultSelection() * Check is multi Option selection * * @return bool - * @since 2.0.0 */ public function isMultiSelection() { @@ -123,7 +112,6 @@ public function isMultiSelection() * @param int $productId * @param int $storeId * @return array - * @since 2.0.0 */ public function getSearchableData($productId, $storeId) { @@ -135,7 +123,6 @@ public function getSearchableData($productId, $storeId) * * @param int $selectionId * @return \Magento\Catalog\Model\Product|null - * @since 2.0.0 */ public function getSelectionById($selectionId) { @@ -153,7 +140,6 @@ public function getSelectionById($selectionId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptionId() { @@ -162,7 +148,6 @@ public function getOptionId() /** * {@inheritdoc} - * @since 2.0.0 */ public function getTitle() { @@ -171,7 +156,6 @@ public function getTitle() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRequired() { @@ -180,7 +164,6 @@ public function getRequired() /** * {@inheritdoc} - * @since 2.0.0 */ public function getType() { @@ -189,7 +172,6 @@ public function getType() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPosition() { @@ -198,7 +180,6 @@ public function getPosition() /** * {@inheritdoc} - * @since 2.0.0 */ public function getSku() { @@ -207,7 +188,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.0.0 */ public function getProductLinks() { @@ -219,7 +199,6 @@ public function getProductLinks() * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId) { @@ -231,7 +210,6 @@ public function setOptionId($optionId) * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title) { @@ -243,7 +221,6 @@ public function setTitle($title) * * @param bool $required * @return $this - * @since 2.0.0 */ public function setRequired($required) { @@ -255,7 +232,6 @@ public function setRequired($required) * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type) { @@ -267,7 +243,6 @@ public function setType($type) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -279,7 +254,6 @@ public function setPosition($position) * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -291,7 +265,6 @@ public function setSku($sku) * * @param \Magento\Bundle\Api\Data\LinkInterface[] $productLinks * @return $this - * @since 2.0.0 */ public function setProductLinks(array $productLinks = null) { @@ -302,7 +275,6 @@ public function setProductLinks(array $productLinks = null) * {@inheritdoc} * * @return \Magento\Bundle\Api\Data\OptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -314,7 +286,6 @@ public function getExtensionAttributes() * * @param \Magento\Bundle\Api\Data\OptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\OptionExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Bundle/Model/Option/Validator.php b/app/code/Magento/Bundle/Model/Option/Validator.php index 252d956002f79..381d3675e9188 100644 --- a/app/code/Magento/Bundle/Model/Option/Validator.php +++ b/app/code/Magento/Bundle/Model/Option/Validator.php @@ -12,19 +12,16 @@ /** * Class \Magento\Bundle\Model\Option\Validator * - * @since 2.0.0 */ class Validator extends \Magento\Framework\Validator\AbstractValidator { /** * @var NotEmpty - * @since 2.0.0 */ private $notEmpty; /** * @param NotEmptyFactory $notEmptyFactory - * @since 2.0.0 */ public function __construct(NotEmptyFactory $notEmptyFactory) { @@ -35,7 +32,6 @@ public function __construct(NotEmptyFactory $notEmptyFactory) * @param \Magento\Bundle\Model\Option $value * @return boolean * @throws Zend_Validate_Exception If validation of $value is impossible - * @since 2.0.0 */ public function isValid($value) { @@ -49,7 +45,6 @@ public function isValid($value) * @return void * @throws Zend_Validate_Exception * @throws \Exception - * @since 2.0.0 */ protected function validateRequiredFields($value) { diff --git a/app/code/Magento/Bundle/Model/OptionManagement.php b/app/code/Magento/Bundle/Model/OptionManagement.php index d809a7e160345..fa567bb39e57e 100644 --- a/app/code/Magento/Bundle/Model/OptionManagement.php +++ b/app/code/Magento/Bundle/Model/OptionManagement.php @@ -11,26 +11,22 @@ /** * Class \Magento\Bundle\Model\OptionManagement * - * @since 2.0.0 */ class OptionManagement implements \Magento\Bundle\Api\ProductOptionManagementInterface { /** * @var \Magento\Bundle\Api\ProductOptionRepositoryInterface - * @since 2.0.0 */ protected $optionRepository; /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @param \Magento\Bundle\Api\ProductOptionRepositoryInterface $optionRepository * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Bundle\Api\ProductOptionRepositoryInterface $optionRepository, @@ -42,7 +38,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Bundle\Api\Data\OptionInterface $option) { diff --git a/app/code/Magento/Bundle/Model/OptionRepository.php b/app/code/Magento/Bundle/Model/OptionRepository.php index 0773a0ddd582d..b5a1c0a5474d8 100644 --- a/app/code/Magento/Bundle/Model/OptionRepository.php +++ b/app/code/Magento/Bundle/Model/OptionRepository.php @@ -15,61 +15,51 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class OptionRepository implements \Magento\Bundle\Api\ProductOptionRepositoryInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var Product\Type - * @since 2.0.0 */ protected $type; /** * @var \Magento\Bundle\Api\Data\OptionInterfaceFactory - * @since 2.0.0 */ protected $optionFactory; /** * @var \Magento\Bundle\Model\ResourceModel\Option - * @since 2.0.0 */ protected $optionResource; /** * @var \Magento\Store\Model\StoreManager - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Bundle\Api\ProductLinkManagementInterface - * @since 2.0.0 */ protected $linkManagement; /** * @var Product\OptionList - * @since 2.0.0 */ protected $productOptionList; /** * @var Product\LinksList - * @since 2.0.0 */ protected $linkList; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -90,7 +80,6 @@ class OptionRepository implements \Magento\Bundle\Api\ProductOptionRepositoryInt * @param Product\LinksList $linkList * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -116,7 +105,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function get($sku, $optionId) { @@ -147,7 +135,6 @@ public function get($sku, $optionId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($sku) { @@ -167,7 +154,6 @@ public function getListByProduct(ProductInterface $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Bundle\Api\Data\OptionInterface $option) { @@ -184,7 +170,6 @@ public function delete(\Magento\Bundle\Api\Data\OptionInterface $option) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($sku, $optionId) { @@ -196,7 +181,6 @@ public function deleteById($sku, $optionId) /** * {@inheritdoc} - * @since 2.0.0 */ public function save( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -253,7 +237,6 @@ public function save( * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param \Magento\Bundle\Api\Data\OptionInterface $option * @return $this - * @since 2.0.0 */ protected function updateOptionSelection( \Magento\Catalog\Api\Data\ProductInterface $product, @@ -296,7 +279,6 @@ protected function updateOptionSelection( * @param string $sku * @return \Magento\Catalog\Api\Data\ProductInterface * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ private function getProduct($sku) { @@ -314,7 +296,6 @@ private function getProduct($sku) * @param \Magento\Bundle\Api\Data\LinkInterface[] $secondArray * * @return array - * @since 2.0.0 */ private function compareLinks(array $firstArray, array $secondArray) { diff --git a/app/code/Magento/Bundle/Model/OptionTypeList.php b/app/code/Magento/Bundle/Model/OptionTypeList.php index 686da8bc160de..16360b50d47c2 100644 --- a/app/code/Magento/Bundle/Model/OptionTypeList.php +++ b/app/code/Magento/Bundle/Model/OptionTypeList.php @@ -9,26 +9,22 @@ /** * Class \Magento\Bundle\Model\OptionTypeList * - * @since 2.0.0 */ class OptionTypeList implements \Magento\Bundle\Api\ProductOptionTypeListInterface { /** * @var Source\Option\Type - * @since 2.0.0 */ protected $types; /** * @var \Magento\Bundle\Api\Data\OptionTypeInterfaceFactory - * @since 2.0.0 */ protected $typeFactory; /** * @param Source\Option\Type $type * @param \Magento\Bundle\Api\Data\OptionTypeInterfaceFactory $typeFactory - * @since 2.0.0 */ public function __construct( \Magento\Bundle\Model\Source\Option\Type $type, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems() { diff --git a/app/code/Magento/Bundle/Model/Plugin/PriceBackend.php b/app/code/Magento/Bundle/Model/Plugin/PriceBackend.php index 98bc0c05b40c5..f3c0548f76e5d 100644 --- a/app/code/Magento/Bundle/Model/Plugin/PriceBackend.php +++ b/app/code/Magento/Bundle/Model/Plugin/PriceBackend.php @@ -9,7 +9,6 @@ * Class PriceBackend * * Make price validation optional for bundle dynamic - * @since 2.0.0 */ class PriceBackend { @@ -19,7 +18,6 @@ class PriceBackend * @param \Magento\Catalog\Model\Product|\Magento\Framework\DataObject $object * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundValidate( \Magento\Catalog\Model\Product\Attribute\Backend\Price $subject, diff --git a/app/code/Magento/Bundle/Model/Plugin/Product.php b/app/code/Magento/Bundle/Model/Plugin/Product.php index 1f9e690d85721..b3f26ffb24575 100644 --- a/app/code/Magento/Bundle/Model/Plugin/Product.php +++ b/app/code/Magento/Bundle/Model/Plugin/Product.php @@ -11,19 +11,16 @@ /** * Class \Magento\Bundle\Model\Plugin\Product * - * @since 2.0.0 */ class Product { /** * @var Type - * @since 2.0.0 */ private $type; /** * @param Type $type - * @since 2.0.0 */ public function __construct(Type $type) { @@ -34,7 +31,6 @@ public function __construct(Type $type) * @param CatalogProduct $product * @param array $identities * @return string[] - * @since 2.0.0 */ public function afterGetIdentities( CatalogProduct $product, diff --git a/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php b/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php index 853059bca2d15..790dd54bc42e0 100644 --- a/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php +++ b/app/code/Magento/Bundle/Model/Plugin/QuoteItem.php @@ -11,7 +11,6 @@ /** * Plugin for Magento\Quote\Model\Quote\Item\ToOrderItem - * @since 2.0.0 */ class QuoteItem { diff --git a/app/code/Magento/Bundle/Model/Product/Attribute/Source/Price/View.php b/app/code/Magento/Bundle/Model/Product/Attribute/Source/Price/View.php index fa71684b3069f..874fb8cbb5e6f 100644 --- a/app/code/Magento/Bundle/Model/Product/Attribute/Source/Price/View.php +++ b/app/code/Magento/Bundle/Model/Product/Attribute/Source/Price/View.php @@ -12,19 +12,16 @@ * Bundle Price View Attribute Renderer * * @api - * @since 2.0.0 */ class View extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * @var OptionFactory - * @since 2.0.0 */ protected $optionFactory; /** * @param OptionFactory $optionFactory - * @since 2.0.0 */ public function __construct(OptionFactory $optionFactory) { @@ -35,7 +32,6 @@ public function __construct(OptionFactory $optionFactory) * Get all options * * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -53,7 +49,6 @@ public function getAllOptions() * * @param string|integer $value * @return string|bool - * @since 2.0.0 */ public function getOptionText($value) { @@ -69,7 +64,6 @@ public function getOptionText($value) * Retrieve flat column definition * * @return array - * @since 2.0.0 */ public function getFlatColumns() { @@ -92,7 +86,6 @@ public function getFlatColumns() * * @param int $store * @return \Magento\Framework\DB\Select|null - * @since 2.0.0 */ public function getFlatUpdateSelect($store) { diff --git a/app/code/Magento/Bundle/Model/Product/CatalogPrice.php b/app/code/Magento/Bundle/Model/Product/CatalogPrice.php index 1686055eb7663..9edd733b2ac62 100644 --- a/app/code/Magento/Bundle/Model/Product/CatalogPrice.php +++ b/app/code/Magento/Bundle/Model/Product/CatalogPrice.php @@ -7,25 +7,21 @@ /** * Price model for external catalogs - * @since 2.0.0 */ class CatalogPrice implements \Magento\Catalog\Model\Product\CatalogPriceInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\Product\CatalogPrice - * @since 2.0.0 */ protected $commonPriceModel; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; @@ -33,7 +29,6 @@ class CatalogPrice implements \Magento\Catalog\Model\Product\CatalogPriceInterfa * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\Product\CatalogPrice $commonPriceModel * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -47,7 +42,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getCatalogPrice( \Magento\Catalog\Model\Product $product, @@ -85,7 +79,6 @@ public function getCatalogPrice( * @param \Magento\Catalog\Model\Product $product * @return null * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getCatalogRegularPrice(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Bundle/Model/Product/CopyConstructor/Bundle.php b/app/code/Magento/Bundle/Model/Product/CopyConstructor/Bundle.php index df735fedb2de0..8567b7288ee99 100644 --- a/app/code/Magento/Bundle/Model/Product/CopyConstructor/Bundle.php +++ b/app/code/Magento/Bundle/Model/Product/CopyConstructor/Bundle.php @@ -11,7 +11,6 @@ /** * Class \Magento\Bundle\Model\Product\CopyConstructor\Bundle * - * @since 2.0.0 */ class Bundle implements \Magento\Catalog\Model\Product\CopyConstructorInterface { @@ -21,7 +20,6 @@ class Bundle implements \Magento\Catalog\Model\Product\CopyConstructorInterface * @param Product $product * @param Product $duplicate * @return void - * @since 2.0.0 */ public function build(Product $product, Product $duplicate) { diff --git a/app/code/Magento/Bundle/Model/Product/LinksList.php b/app/code/Magento/Bundle/Model/Product/LinksList.php index dfd83289225d4..d6a466b83974f 100644 --- a/app/code/Magento/Bundle/Model/Product/LinksList.php +++ b/app/code/Magento/Bundle/Model/Product/LinksList.php @@ -9,25 +9,21 @@ /** * Class \Magento\Bundle\Model\Product\LinksList * - * @since 2.0.0 */ class LinksList { /** * @var \Magento\Bundle\Api\Data\LinkInterfaceFactory - * @since 2.0.0 */ protected $linkFactory; /** * @var Type - * @since 2.0.0 */ protected $type; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -35,7 +31,6 @@ class LinksList * @param \Magento\Bundle\Api\Data\LinkInterfaceFactory $linkFactory * @param Type $type * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( \Magento\Bundle\Api\Data\LinkInterfaceFactory $linkFactory, @@ -51,7 +46,6 @@ public function __construct( * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param int $optionId * @return \Magento\Bundle\Api\Data\LinkInterface[] - * @since 2.0.0 */ public function getItems(\Magento\Catalog\Api\Data\ProductInterface $product, $optionId) { diff --git a/app/code/Magento/Bundle/Model/Product/OptionList.php b/app/code/Magento/Bundle/Model/Product/OptionList.php index 83ab414bd8c80..5ae4a7791cb61 100644 --- a/app/code/Magento/Bundle/Model/Product/OptionList.php +++ b/app/code/Magento/Bundle/Model/Product/OptionList.php @@ -9,37 +9,31 @@ /** * Class \Magento\Bundle\Model\Product\OptionList * - * @since 2.0.0 */ class OptionList { /** * @var \Magento\Bundle\Api\Data\OptionInterfaceFactory - * @since 2.0.0 */ protected $optionFactory; /** * @var Type - * @since 2.0.0 */ protected $type; /** * @var LinksList - * @since 2.0.0 */ protected $linkList; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; @@ -49,7 +43,6 @@ class OptionList * @param LinksList $linkList * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @param \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $extensionAttributesJoinProcessor - * @since 2.0.0 */ public function __construct( \Magento\Bundle\Model\Product\Type $type, @@ -68,7 +61,6 @@ public function __construct( /** * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return \Magento\Bundle\Api\Data\OptionInterface[] - * @since 2.0.0 */ public function getItems(\Magento\Catalog\Api\Data\ProductInterface $product) { diff --git a/app/code/Magento/Bundle/Model/Product/Price.php b/app/code/Magento/Bundle/Model/Product/Price.php index 5c1831a65dbec..ce0425be6d31a 100644 --- a/app/code/Magento/Bundle/Model/Product/Price.php +++ b/app/code/Magento/Bundle/Model/Product/Price.php @@ -13,7 +13,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price extends \Magento\Catalog\Model\Product\Type\Price { @@ -31,7 +30,6 @@ class Price extends \Magento\Catalog\Model\Product\Type\Price * Flag which indicates - is min/max prices have been calculated by index * * @var bool - * @since 2.0.0 */ protected $_isPricesCalculatedByIndex; @@ -39,7 +37,6 @@ class Price extends \Magento\Catalog\Model\Product\Type\Price * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -67,7 +64,6 @@ class Price extends \Magento\Catalog\Model\Product\Type\Price * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @param ProductTierPriceExtensionFactory|null $tierPriceExtensionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\CatalogRule\Model\ResourceModel\RuleFactory $ruleFactory, @@ -105,7 +101,6 @@ public function __construct( * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsPricesCalculatedByIndex() { @@ -117,7 +112,6 @@ public function getIsPricesCalculatedByIndex() * * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getPrice($product) { @@ -134,7 +128,6 @@ public function getPrice($product) * @param \Magento\Catalog\Model\Product $product * @param null|float $qty * @return float - * @since 2.0.0 */ public function getTotalBundleItemsPrice($product, $qty = null) { @@ -171,7 +164,6 @@ public function getTotalBundleItemsPrice($product, $qty = null) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ protected function getBundleSelectionIds(\Magento\Catalog\Model\Product $product) { @@ -191,7 +183,6 @@ protected function getBundleSelectionIds(\Magento\Catalog\Model\Product $product * @param float $qty * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getFinalPrice($qty, $product) { @@ -220,7 +211,6 @@ public function getFinalPrice($qty, $product) * @param \Magento\Catalog\Model\Product $childProduct * @param float $childProductQty * @return float - * @since 2.0.0 */ public function getChildFinalPrice($product, $productQty, $childProduct, $childProductQty) { @@ -238,7 +228,6 @@ public function getChildFinalPrice($product, $productQty, $childProduct, $childP * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getTotalPrices($product, $which = null, $includeTax = null, $takeTierPrice = true) { @@ -393,7 +382,6 @@ public function getTotalPrices($product, $which = null, $includeTax = null, $tak * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.0.0 */ public function getOptions($product) { @@ -419,7 +407,6 @@ public function getOptions($product) * @return float * * @see \Magento\Bundle\Model\Product\Price::getSelectionFinalTotalPrice() - * @since 2.0.0 */ public function getSelectionPrice($bundleProduct, $selectionProduct, $selectionQty = null, $multiplyQty = true) { @@ -433,7 +420,6 @@ public function getSelectionPrice($bundleProduct, $selectionProduct, $selectionQ * @param \Magento\Catalog\Model\Product $selectionProduct * @param float $qty * @return float - * @since 2.0.0 */ public function getSelectionPreFinalPrice($bundleProduct, $selectionProduct, $qty = null) { @@ -451,7 +437,6 @@ public function getSelectionPreFinalPrice($bundleProduct, $selectionProduct, $qt * @param bool $multiplyQty * @param bool $takeTierPrice * @return float - * @since 2.0.0 */ public function getSelectionFinalTotalPrice( $bundleProduct, @@ -504,7 +489,6 @@ public function getSelectionFinalTotalPrice( * @param float $qty * @param float $finalPrice * @return float - * @since 2.0.0 */ protected function _applyTierPrice($product, $qty, $finalPrice) { @@ -530,7 +514,6 @@ protected function _applyTierPrice($product, $qty, $finalPrice) * @return float|array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getTierPrice($qty, $product) { @@ -628,7 +611,6 @@ public function getTierPrice($qty, $product) * @param string $specialPriceTo * @param mixed $store * @return float - * @since 2.0.0 */ public function calculateSpecialPrice( $finalPrice, @@ -654,7 +636,6 @@ public function calculateSpecialPrice( * @param float|string $price * @param int $bundleQty * @return float - * @since 2.0.0 */ public function getLowestPrice($bundleProduct, $price, $bundleQty = 1) { diff --git a/app/code/Magento/Bundle/Model/Product/Type.php b/app/code/Magento/Bundle/Model/Product/Type.php index ec092dacbbb08..5758569df8f82 100644 --- a/app/code/Magento/Bundle/Model/Product/Type.php +++ b/app/code/Magento/Bundle/Model/Product/Type.php @@ -21,7 +21,6 @@ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType { @@ -34,7 +33,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Product is composite * * @var bool - * @since 2.0.0 */ protected $_isComposite = true; @@ -42,7 +40,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for Options Collection * * @var string - * @since 2.0.0 */ protected $_keyOptionsCollection = '_cache_instance_options_collection'; @@ -51,7 +48,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * * @var string * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_keySelectionsCollection = '_cache_instance_selections_collection'; @@ -59,7 +55,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for used Selections * * @var string - * @since 2.0.0 */ protected $_keyUsedSelections = '_cache_instance_used_selections'; @@ -67,7 +62,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for used selections ids * * @var string - * @since 2.0.0 */ protected $_keyUsedSelectionsIds = '_cache_instance_used_selections_ids'; @@ -75,7 +69,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for used options * * @var string - * @since 2.0.0 */ protected $_keyUsedOptions = '_cache_instance_used_options'; @@ -83,7 +76,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for used options ids * * @var string - * @since 2.0.0 */ protected $_keyUsedOptionsIds = '_cache_instance_used_options_ids'; @@ -91,7 +83,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Product is possible to configure * * @var bool - * @since 2.0.0 */ protected $_canConfigure = true; @@ -99,7 +90,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -107,67 +97,56 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_catalogProduct = null; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Bundle\Model\OptionFactory - * @since 2.0.0 */ protected $_bundleOption; /** * @var \Magento\Bundle\Model\ResourceModel\Selection - * @since 2.0.0 */ protected $_bundleSelection; /** * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Bundle\Model\ResourceModel\Selection\CollectionFactory - * @since 2.0.0 */ protected $_bundleCollection; /** * @var \Magento\Bundle\Model\ResourceModel\BundleFactory - * @since 2.0.0 */ protected $_bundleFactory; /** * @var \Magento\Bundle\Model\SelectionFactory $bundleModelSelection - * @since 2.0.0 */ protected $_bundleModelSelection; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $_stockRegistry; /** * @var \Magento\CatalogInventory\Api\StockStateInterface - * @since 2.0.0 */ protected $_stockState; @@ -210,7 +189,6 @@ class Type extends \Magento\Catalog\Model\Product\Type\AbstractType * @param SelectionCollectionFilterApplier|null $selectionCollectionFilterApplier * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Option $catalogProductOption, @@ -275,7 +253,6 @@ public function __construct( * Return relation info about used products * * @return \Magento\Framework\DataObject Object with information data - * @since 2.0.0 */ public function getRelationInfo() { @@ -296,7 +273,6 @@ public function getRelationInfo() * @param int $parentId * @param bool $required * @return array - * @since 2.0.0 */ public function getChildrenIds($parentId, $required = true) { @@ -308,7 +284,6 @@ public function getChildrenIds($parentId, $required = true) * * @param int|array $childId * @return array - * @since 2.0.0 */ public function getParentIdsByChild($childId) { @@ -320,7 +295,6 @@ public function getParentIdsByChild($childId) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getSku($product) { @@ -351,7 +325,6 @@ public function getSku($product) * * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getWeight($product) { @@ -383,7 +356,6 @@ public function getWeight($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function isVirtual($product) { @@ -410,7 +382,6 @@ public function isVirtual($product) * @param \Magento\Catalog\Model\Product $product * @return $this|void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function beforeSave($product) { @@ -455,7 +426,6 @@ public function beforeSave($product) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getOptions($product) { @@ -468,7 +438,6 @@ public function getOptions($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getOptionsIds($product) { @@ -481,7 +450,6 @@ public function getOptionsIds($product) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.0.0 */ public function getOptionsCollection($product) { @@ -510,7 +478,6 @@ public function getOptionsCollection($product) * @param array $optionIds * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Model\ResourceModel\Selection\Collection - * @since 2.0.0 */ public function getSelectionsCollection($optionIds, $product) { @@ -556,7 +523,6 @@ public function getSelectionsCollection($optionIds, $product) * @param mixed $value * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function updateQtyOption($options, \Magento\Framework\DataObject $option, $value, $product) { @@ -590,7 +556,6 @@ public function updateQtyOption($options, \Magento\Framework\DataObject $option, * @param \Magento\Catalog\Model\Product $product * @return int * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function prepareQuoteItemQty($qty, $product) { @@ -604,7 +569,6 @@ public function prepareQuoteItemQty($qty, $product) * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function isSalable($product) { @@ -670,7 +634,6 @@ public function isSalable($product) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $product, $processMode) { @@ -829,7 +792,6 @@ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $p /** * @param array $array * @return int[]|int[][] - * @since 2.0.0 */ private function recursiveIntval(array $array) { @@ -849,7 +811,6 @@ private function recursiveIntval(array $array) /** * @param array $array * @return int[] - * @since 2.0.0 */ private function multiToFlatArray(array $array) { @@ -869,7 +830,6 @@ private function multiToFlatArray(array $array) * Retrieve message for specify option(s) * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getSpecifyOptionMessage() { @@ -882,7 +842,6 @@ public function getSpecifyOptionMessage() * @param array $selectionIds * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Model\ResourceModel\Selection\Collection - * @since 2.0.0 */ public function getSelectionsByIds($selectionIds, $product) { @@ -931,7 +890,6 @@ public function getSelectionsByIds($selectionIds, $product) * @param array $optionIds * @param \Magento\Catalog\Model\Product $product * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.0.0 */ public function getOptionsByIds($optionIds, $product) { @@ -967,7 +925,6 @@ public function getOptionsByIds($optionIds, $product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getOrderOptions($product) { @@ -1035,7 +992,6 @@ public function getOrderOptions($product) * @param \Magento\Catalog\Model\Product $firstItem * @param \Magento\Catalog\Model\Product $secondItem * @return int - * @since 2.0.0 */ public function shakeSelections($firstItem, $secondItem) { @@ -1065,7 +1021,6 @@ public function shakeSelections($firstItem, $secondItem) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function hasOptions($product) { @@ -1088,7 +1043,6 @@ public function hasOptions($product) * @return boolean true * @SuppressWarnings(PHPMD.BooleanGetMethodName) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getForceChildItemQtyChanges($product) { @@ -1101,7 +1055,6 @@ public function getForceChildItemQtyChanges($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getSearchableData($product) { @@ -1125,7 +1078,6 @@ public function getSearchableData($product) * @param \Magento\Catalog\Model\Product $product * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function checkProductBuyState($product) { @@ -1171,7 +1123,6 @@ public function checkProductBuyState($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getProductsToPurchaseByReqGroups($product) { @@ -1203,7 +1154,6 @@ public function getProductsToPurchaseByReqGroups($product) * @param \Magento\Framework\DataObject $buyRequest * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function processBuyRequest($product, $buyRequest) { @@ -1223,7 +1173,6 @@ public function processBuyRequest($product, $buyRequest) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function canConfigure($product) { @@ -1238,7 +1187,6 @@ public function canConfigure($product) * @param \Magento\Catalog\Model\Product $product * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) { @@ -1249,7 +1197,6 @@ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getIdentities(\Magento\Catalog\Model\Product $product) { @@ -1272,7 +1219,6 @@ public function getIdentities(\Magento\Catalog\Model\Product $product) * @param int[] $qtys * @param int $selectionOptionId * @return float - * @since 2.0.0 */ protected function getQty($selection, $qtys, $selectionOptionId) { @@ -1290,7 +1236,6 @@ protected function getQty($selection, $qtys, $selectionOptionId) * @param \Magento\Catalog\Model\Product $product * @param \Magento\Framework\DataObject $selection * @return float|int - * @since 2.0.0 */ protected function getBeforeQty($product, $selection) { @@ -1311,7 +1256,6 @@ protected function getBeforeQty($product, $selection) * @param int[] $options * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function checkIsAllRequiredOptions($product, $isStrictProcessMode, $optionsCollection, $options) { @@ -1331,7 +1275,6 @@ protected function checkIsAllRequiredOptions($product, $isStrictProcessMode, $op * @param int[] $options * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function checkSelectionsIsSale($selections, $skipSaleableCheck, $optionsCollection, $options) { @@ -1359,7 +1302,6 @@ protected function checkSelectionsIsSale($selections, $skipSaleableCheck, $optio * @param array $_result * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function checkIsResult($_result) { @@ -1378,7 +1320,6 @@ protected function checkIsResult($_result) * @param \Magento\Catalog\Model\Product\Option[] $options * @param \Magento\Framework\DataObject[] $selections * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected function mergeSelectionsWithOptions($options, $selections) { diff --git a/app/code/Magento/Bundle/Model/ProductOptionProcessor.php b/app/code/Magento/Bundle/Model/ProductOptionProcessor.php index e2406d09591dd..a3a88261eba20 100644 --- a/app/code/Magento/Bundle/Model/ProductOptionProcessor.php +++ b/app/code/Magento/Bundle/Model/ProductOptionProcessor.php @@ -16,26 +16,22 @@ /** * Class \Magento\Bundle\Model\ProductOptionProcessor * - * @since 2.0.0 */ class ProductOptionProcessor implements ProductOptionProcessorInterface { /** * @var DataObjectFactory - * @since 2.0.0 */ protected $objectFactory; /** * @var BundleOptionInterfaceFactory - * @since 2.0.0 */ protected $bundleOptionFactory; /** * @param DataObjectFactory $objectFactory * @param BundleOptionInterfaceFactory $bundleOptionFactory - * @since 2.0.0 */ public function __construct( DataObjectFactory $objectFactory, @@ -47,7 +43,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToBuyRequest(ProductOptionInterface $productOption) { @@ -75,7 +70,6 @@ public function convertToBuyRequest(ProductOptionInterface $productOption) * * @param ProductOptionInterface $productOption * @return array - * @since 2.0.0 */ protected function getBundleOptions(ProductOptionInterface $productOption) { @@ -91,7 +85,6 @@ protected function getBundleOptions(ProductOptionInterface $productOption) /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToProductOption(DataObject $request) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php b/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php index 18e740e573b9e..a731d9e978c94 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Bundle.php @@ -9,19 +9,16 @@ * Bundle Resource Model * * @api - * @since 2.0.0 */ class Bundle extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Relation - * @since 2.0.0 */ protected $_productRelation; /** * @var \Magento\Quote\Model\ResourceModel\Quote - * @since 2.0.0 */ protected $quoteResource; @@ -30,7 +27,6 @@ class Bundle extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Catalog\Model\ResourceModel\Product\Relation $productRelation * @param \Magento\Quote\Model\ResourceModel\Quote $quoteResource * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -61,7 +56,6 @@ protected function _construct() * @param int $productId * @param array $columns * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getSelect($productId, $columns = []) { @@ -85,7 +79,6 @@ protected function _getSelect($productId, $columns = []) * * @param int $productId * @return array - * @since 2.0.0 */ public function getSelectionsData($productId) { @@ -97,7 +90,6 @@ public function getSelectionsData($productId) * * @param int $productId * @return void - * @since 2.0.0 */ public function dropAllQuoteChildItems($productId) { @@ -127,7 +119,6 @@ public function dropAllQuoteChildItems($productId) * @param int $productId * @param array $ids * @return void - * @since 2.0.0 */ public function dropAllUnneededSelections($productId, $ids) { @@ -144,7 +135,6 @@ public function dropAllUnneededSelections($productId, $ids) * @param int $parentId * @param array $childIds * @return $this - * @since 2.0.0 */ public function saveProductRelations($parentId, $childIds) { @@ -173,7 +163,6 @@ public function addProductRelation($parentId, $childId) * @param int $parentId * @param array $childIds * @return $this - * @since 2.0.0 */ public function addProductRelations($parentId, $childIds) { @@ -187,7 +176,6 @@ public function addProductRelations($parentId, $childIds) * @param int $parentId * @param array $childIds * @return $this - * @since 2.0.0 */ public function removeProductRelations($parentId, $childIds) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php index 0c010c81ec0c5..02b34ecdc29cc 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php @@ -11,7 +11,6 @@ * Bundle products Price indexer resource model * * @author Magento Core Team - * @since 2.0.0 */ class Price extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice { @@ -28,7 +27,6 @@ protected function reindex($entityIds = null) * Retrieve temporary price index table name for fixed bundle products * * @return string - * @since 2.0.0 */ protected function _getBundlePriceTable() { @@ -39,7 +37,6 @@ protected function _getBundlePriceTable() * Retrieve table name for temporary bundle selection prices index * * @return string - * @since 2.0.0 */ protected function _getBundleSelectionTable() { @@ -50,7 +47,6 @@ protected function _getBundleSelectionTable() * Retrieve table name for temporary bundle option prices index * * @return string - * @since 2.0.0 */ protected function _getBundleOptionTable() { @@ -61,7 +57,6 @@ protected function _getBundleOptionTable() * Prepare temporary price index table for fixed bundle products * * @return $this - * @since 2.0.0 */ protected function _prepareBundlePriceTable() { @@ -73,7 +68,6 @@ protected function _prepareBundlePriceTable() * Prepare table structure for temporary bundle selection prices index * * @return $this - * @since 2.0.0 */ protected function _prepareBundleSelectionTable() { @@ -85,7 +79,6 @@ protected function _prepareBundleSelectionTable() * Prepare table structure for temporary bundle option prices index * * @return $this - * @since 2.0.0 */ protected function _prepareBundleOptionTable() { @@ -100,7 +93,6 @@ protected function _prepareBundleOptionTable() * @param int|array $entityIds the entity ids limitation * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareBundlePriceByType($priceType, $entityIds = null) { @@ -243,7 +235,6 @@ protected function _prepareBundlePriceByType($priceType, $entityIds = null) * Calculate fixed bundle product selections price * * @return $this - * @since 2.0.0 */ protected function _calculateBundleOptionPrice() { @@ -323,7 +314,6 @@ protected function _calculateBundleOptionPrice() * @param int $priceType * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _calculateBundleSelectionPrice($priceType) { @@ -440,7 +430,6 @@ protected function _calculateBundleSelectionPrice($priceType) * * @param int|array $entityIds the entity ids limitation * @return $this - * @since 2.0.0 */ protected function _prepareBundlePrice($entityIds = null) { @@ -465,7 +454,6 @@ protected function _prepareBundlePrice($entityIds = null) * * @param int|array $entityIds * @return $this - * @since 2.0.0 */ protected function _prepareTierPriceIndex($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 3bd8b29c800cd..fbe9363a1cf38 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Indexer/Stock.php @@ -12,7 +12,6 @@ * Bundle Stock Status Indexer Resource Model * * @author Magento Core Team - * @since 2.0.0 */ class Stock extends \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\DefaultStock { @@ -73,7 +72,6 @@ public function __construct( * Retrieve table name for temporary bundle option stock index * * @return string - * @since 2.0.0 */ protected function _getBundleOptionTable() { @@ -86,7 +84,6 @@ protected function _getBundleOptionTable() * @param int|array $entityIds * @param bool $usePrimaryTable use primary or temporary index table * @return $this - * @since 2.0.0 */ protected function _prepareBundleOptionStockData($entityIds = null, $usePrimaryTable = false) { @@ -130,7 +127,6 @@ protected function _prepareBundleOptionStockData($entityIds = null, $usePrimaryT * @param int|array $entityIds * @param bool $usePrimaryTable use primary or temporary index table * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getStockStatusSelect($entityIds = null, $usePrimaryTable = false) { @@ -166,7 +162,6 @@ protected function _getStockStatusSelect($entityIds = null, $usePrimaryTable = f * * @param int|array $entityIds the product limitation * @return $this - * @since 2.0.0 */ protected function _prepareIndexTable($entityIds = null) { @@ -181,7 +176,6 @@ protected function _prepareIndexTable($entityIds = null) * * @param array|int $entityIds * @return $this - * @since 2.0.0 */ protected function _updateIndex($entityIds) { @@ -195,7 +189,6 @@ protected function _updateIndex($entityIds) * Clean temporary bundle options stock data * * @return $this - * @since 2.0.0 */ protected function _cleanBundleOptionStockData() { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Option.php b/app/code/Magento/Bundle/Model/ResourceModel/Option.php index 06cb695fa2daf..c0eb69faccc93 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Option.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Option.php @@ -12,13 +12,11 @@ /** * Bundle Option Resource Model - * @since 2.0.0 */ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var \Magento\Bundle\Model\Option\Validator - * @since 2.0.0 */ private $validator; @@ -39,7 +37,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Bundle\Model\Option\Validator $validator * @param string $connectionName * @param EntityManager|null $entityManager - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -58,7 +55,6 @@ public function __construct( * Initialize connection and define resource * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +79,6 @@ public function removeOptionSelections($optionId) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) { @@ -124,7 +119,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $object) { @@ -148,7 +142,6 @@ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $object) * @param int $productId * @param int $storeId * @return array - * @since 2.0.0 */ public function getSearchableData($productId, $storeId) { @@ -193,7 +186,6 @@ public function getSearchableData($productId, $storeId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getValidationRulesBeforeSave() { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php index b1bca6fc9037d..39fa5415b969c 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Option/Collection.php @@ -8,7 +8,6 @@ /** * Bundle Options Resource Collection * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -16,7 +15,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * All item ids cache * * @var array - * @since 2.0.0 */ protected $_itemIds; @@ -24,7 +22,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * True when selections appended * * @var bool - * @since 2.0.0 */ protected $_selectionsAppended = false; @@ -32,7 +29,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Init model and resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -44,7 +40,6 @@ protected function _construct() * * @param int $storeId * @return $this - * @since 2.0.0 */ public function joinValues($storeId) { @@ -95,7 +90,6 @@ public function joinValues($storeId) * * @param int $productId * @return $this - * @since 2.0.0 */ public function setProductIdFilter($productId) { @@ -134,7 +128,6 @@ public function setProductLinkFilter($productLinkFieldValue) * Sets order by position * * @return $this - * @since 2.0.0 */ public function setPositionOrder() { @@ -151,7 +144,6 @@ public function setPositionOrder() * @param bool $stripBefore * @param bool $appendAll * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function appendSelections($selectionsCollection, $stripBefore = false, $appendAll = true) { @@ -181,7 +173,6 @@ public function appendSelections($selectionsCollection, $stripBefore = false, $a * Removes appended selections before * * @return $this - * @since 2.0.0 */ protected function _stripSelections() { @@ -197,7 +188,6 @@ protected function _stripSelections() * * @param array|int $ids * @return $this - * @since 2.0.0 */ public function setIdFilter($ids) { @@ -213,7 +203,6 @@ public function setIdFilter($ids) * Reset all item ids cache * * @return $this - * @since 2.0.0 */ public function resetAllIds() { @@ -225,7 +214,6 @@ public function resetAllIds() * Retrieve all ids for collection * * @return array - * @since 2.0.0 */ public function getAllIds() { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection.php index 2a1084962d500..4db715fbd5adc 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection.php @@ -15,7 +15,6 @@ * Bundle Selection Resource Model * * @api - * @since 2.0.0 */ class Selection extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -61,7 +60,6 @@ public function __construct( * Define main table and id field * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -77,7 +75,6 @@ protected function _construct() * @param int $parentId * @param bool $required * @return array - * @since 2.0.0 */ public function getChildrenIds($parentId, $required = true) { @@ -133,7 +130,6 @@ public function getChildrenIds($parentId, $required = true) * * @param int|array $childId * @return array - * @since 2.0.0 */ public function getParentIdsByChild($childId) { @@ -161,7 +157,6 @@ public function getParentIdsByChild($childId) * * @param \Magento\Bundle\Model\Selection $item * @return void - * @since 2.0.0 */ public function saveSelectionPrice($item) { diff --git a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php index 89bd939a2335e..c4b977f0fee2d 100644 --- a/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php +++ b/app/code/Magento/Bundle/Model/ResourceModel/Selection/Collection.php @@ -17,7 +17,6 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { @@ -25,7 +24,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Selection table name * * @var string - * @since 2.0.0 */ protected $_selectionTable; @@ -53,7 +51,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Initialize collection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -66,7 +63,6 @@ protected function _construct() * Set store id for each collection item when collection was loaded * * @return $this - * @since 2.0.0 */ public function _afterLoad() { @@ -83,7 +79,6 @@ public function _afterLoad() * Initialize collection select * * @return $this|void - * @since 2.0.0 */ protected function _initSelect() { @@ -100,7 +95,6 @@ protected function _initSelect() * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function joinPrices($websiteId) { @@ -136,7 +130,6 @@ public function joinPrices($websiteId) * * @param array $optionIds * @return $this - * @since 2.0.0 */ public function setOptionIdsFilter($optionIds) { @@ -151,7 +144,6 @@ public function setOptionIdsFilter($optionIds) * * @param array $selectionIds * @return $this - * @since 2.0.0 */ public function setSelectionIdsFilter($selectionIds) { @@ -165,7 +157,6 @@ public function setSelectionIdsFilter($selectionIds) * Set position order * * @return $this - * @since 2.0.0 */ public function setPositionOrder() { 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 cd6dd60dda8f1..4d150c96a6301 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 @@ -13,7 +13,6 @@ * Order pdf items renderer * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractItems extends \Magento\Sales\Model\Order\Pdf\Items\AbstractItems { @@ -68,7 +67,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $item * @return array - * @since 2.0.0 */ public function getChildren($item) { @@ -107,7 +105,6 @@ public function getChildren($item) * @param \Magento\Framework\DataObject $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isShipmentSeparately($item = null) { @@ -146,7 +143,6 @@ public function isShipmentSeparately($item = null) * @param \Magento\Framework\DataObject $item * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isChildCalculated($item = null) { @@ -187,7 +183,6 @@ public function isChildCalculated($item = null) * @param \Magento\Framework\DataObject $item * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getBundleOptions($item = null) { @@ -203,7 +198,6 @@ public function getBundleOptions($item = null) * * @param \Magento\Framework\DataObject $item * @return mixed - * @since 2.0.0 */ public function getSelectionAttributes($item) { @@ -224,7 +218,6 @@ public function getSelectionAttributes($item) * @param \Magento\Framework\DataObject $item * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getOrderOptions($item = null) { @@ -248,7 +241,6 @@ public function getOrderOptions($item = null) * Retrieve Order Item * * @return \Magento\Sales\Model\Order\Item - * @since 2.0.0 */ public function getOrderItem() { @@ -264,7 +256,6 @@ public function getOrderItem() * * @param \Magento\Sales\Model\Order\Item $item * @return string - * @since 2.0.0 */ public function getValueHtml($item) { @@ -291,7 +282,6 @@ public function getValueHtml($item) * * @param \Magento\Sales\Model\Order\Item $item * @return bool - * @since 2.0.0 */ public function canShowPriceInfo($item) { diff --git a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Creditmemo.php b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Creditmemo.php index affc02e9275ed..3d7d05396e0fc 100644 --- a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Creditmemo.php +++ b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Creditmemo.php @@ -10,7 +10,6 @@ /** * Order creditmemo pdf default items renderer - * @since 2.0.0 */ class Creditmemo extends AbstractItems { @@ -18,7 +17,6 @@ class Creditmemo extends AbstractItems * Core string * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -36,7 +34,6 @@ class Creditmemo extends AbstractItems * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -71,7 +68,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function draw() { diff --git a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Invoice.php b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Invoice.php index 395078eaabc5a..e9a1a8d276a15 100644 --- a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Invoice.php +++ b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Invoice.php @@ -12,13 +12,11 @@ * Order invoice pdf default items renderer * * @codingStandardsIgnoreFile - * @since 2.0.0 */ class Invoice extends AbstractItems { /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -36,7 +34,6 @@ class Invoice extends AbstractItems * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -71,7 +68,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function draw() { diff --git a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Shipment.php b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Shipment.php index 6f16524f1bbdc..08ccf0618d03e 100644 --- a/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Shipment.php +++ b/app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Shipment.php @@ -10,13 +10,11 @@ /** * Order shipment pdf items renderer - * @since 2.0.0 */ class Shipment extends AbstractItems { /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -34,7 +32,6 @@ class Shipment extends AbstractItems * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -69,7 +66,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function draw() { diff --git a/app/code/Magento/Bundle/Model/Selection.php b/app/code/Magento/Bundle/Model/Selection.php index cb1501a972e75..c8d5ba86e8804 100644 --- a/app/code/Magento/Bundle/Model/Selection.php +++ b/app/code/Magento/Bundle/Model/Selection.php @@ -29,7 +29,6 @@ * @method int getSelectionCanChangeQty() * @method \Magento\Bundle\Model\Selection setSelectionCanChangeQty(int $value) * @api - * @since 2.0.0 */ class Selection extends \Magento\Framework\Model\AbstractModel { @@ -37,7 +36,6 @@ class Selection extends \Magento\Framework\Model\AbstractModel * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData; @@ -48,7 +46,6 @@ class Selection extends \Magento\Framework\Model\AbstractModel * @param \Magento\Bundle\Model\ResourceModel\Selection $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -66,7 +63,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -78,7 +74,6 @@ protected function _construct() * Processing object before save data * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Bundle/Model/Source/Option/Selection/Price/Type.php b/app/code/Magento/Bundle/Model/Source/Option/Selection/Price/Type.php index c0de0455e8811..987597196f054 100644 --- a/app/code/Magento/Bundle/Model/Source/Option/Selection/Price/Type.php +++ b/app/code/Magento/Bundle/Model/Source/Option/Selection/Price/Type.php @@ -11,13 +11,11 @@ * Extended Attributes Source Model * * @api - * @since 2.0.0 */ class Type implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Bundle/Model/Source/Option/Type.php b/app/code/Magento/Bundle/Model/Source/Option/Type.php index 816a8252ec4e1..f129d24ade671 100644 --- a/app/code/Magento/Bundle/Model/Source/Option/Type.php +++ b/app/code/Magento/Bundle/Model/Source/Option/Type.php @@ -14,7 +14,6 @@ /** * Class Type * - * @since 2.0.0 */ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Framework\Option\ArrayInterface, @@ -27,10 +26,7 @@ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements const KEY_CODE = 'code'; /**#@-*/ - /** - * @var array - * @since 2.0.0 - */ + /**#@-*/ protected $options = []; /** @@ -42,7 +38,6 @@ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -70,7 +65,6 @@ public function __construct( * Get Bundle Option Type * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -85,7 +79,6 @@ public function toOptionArray() /** * {@inheritdoc} - * @since 2.0.0 */ public function getLabel() { @@ -94,7 +87,6 @@ public function getLabel() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCode() { @@ -106,7 +98,6 @@ public function getCode() * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -118,7 +109,6 @@ public function setLabel($label) * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code) { @@ -129,7 +119,6 @@ public function setCode($code) * {@inheritdoc} * * @return \Magento\Bundle\Api\Data\OptionTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -141,7 +130,6 @@ public function getExtensionAttributes() * * @param \Magento\Bundle\Api\Data\OptionTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Bundle\Api\Data\OptionTypeExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Bundle/Observer/AppendUpsellProductsObserver.php b/app/code/Magento/Bundle/Observer/AppendUpsellProductsObserver.php index 3c2b7bb9f7c37..f944ef2d2caff 100644 --- a/app/code/Magento/Bundle/Observer/AppendUpsellProductsObserver.php +++ b/app/code/Magento/Bundle/Observer/AppendUpsellProductsObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Bundle\Observer\AppendUpsellProductsObserver * - * @since 2.0.0 */ class AppendUpsellProductsObserver implements ObserverInterface { @@ -18,25 +17,21 @@ class AppendUpsellProductsObserver implements ObserverInterface * Bundle data * * @var \Magento\Bundle\Helper\Data - * @since 2.0.0 */ protected $bundleData; /** * @var \Magento\Bundle\Model\ResourceModel\Selection - * @since 2.0.0 */ protected $bundleSelection; /** * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $config; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $productVisibility; @@ -45,7 +40,6 @@ class AppendUpsellProductsObserver implements ObserverInterface * @param \Magento\Catalog\Model\Product\Visibility $productVisibility * @param \Magento\Catalog\Model\Config $config * @param \Magento\Bundle\Model\ResourceModel\Selection $bundleSelection - * @since 2.0.0 */ public function __construct( \Magento\Bundle\Helper\Data $bundleData, @@ -66,7 +60,6 @@ public function __construct( * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Bundle/Observer/InitOptionRendererObserver.php b/app/code/Magento/Bundle/Observer/InitOptionRendererObserver.php index f6bebcea6e044..081111d9ed77d 100644 --- a/app/code/Magento/Bundle/Observer/InitOptionRendererObserver.php +++ b/app/code/Magento/Bundle/Observer/InitOptionRendererObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Bundle\Observer\InitOptionRendererObserver * - * @since 2.0.0 */ class InitOptionRendererObserver implements ObserverInterface { @@ -19,7 +18,6 @@ class InitOptionRendererObserver implements ObserverInterface * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Bundle/Observer/SetAttributeTabBlockObserver.php b/app/code/Magento/Bundle/Observer/SetAttributeTabBlockObserver.php index db8273f23e980..8cd65070bbf6a 100644 --- a/app/code/Magento/Bundle/Observer/SetAttributeTabBlockObserver.php +++ b/app/code/Magento/Bundle/Observer/SetAttributeTabBlockObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Bundle\Observer\SetAttributeTabBlockObserver * - * @since 2.0.0 */ class SetAttributeTabBlockObserver implements ObserverInterface { @@ -18,13 +17,11 @@ class SetAttributeTabBlockObserver implements ObserverInterface * Catalog helper * * @var \Magento\Catalog\Helper\Catalog - * @since 2.0.0 */ protected $helperCatalog; /** * @param \Magento\Catalog\Helper\Catalog $helperCatalog - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Helper\Catalog $helperCatalog) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Catalog\Helper\Catalog $helperCatalog) * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Bundle/Pricing/Adjustment/BundleCalculatorInterface.php b/app/code/Magento/Bundle/Pricing/Adjustment/BundleCalculatorInterface.php index 77445fabe043f..491d7d92b4679 100644 --- a/app/code/Magento/Bundle/Pricing/Adjustment/BundleCalculatorInterface.php +++ b/app/code/Magento/Bundle/Pricing/Adjustment/BundleCalculatorInterface.php @@ -11,7 +11,6 @@ /** * Bundle calculator interface - * @since 2.0.0 */ interface BundleCalculatorInterface extends CalculatorInterface { @@ -20,7 +19,6 @@ interface BundleCalculatorInterface extends CalculatorInterface * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaxAmount($amount, Product $saleableItem, $exclude = null); @@ -29,7 +27,6 @@ public function getMaxAmount($amount, Product $saleableItem, $exclude = null); * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = null); @@ -38,7 +35,6 @@ public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = n * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinRegularAmount($amount, Product $saleableItem, $exclude = null); @@ -50,7 +46,6 @@ public function getMinRegularAmount($amount, Product $saleableItem, $exclude = n * @param bool $searchMin * @param \Magento\Framework\Pricing\Amount\AmountInterface|null $bundleProductAmount * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getOptionsAmount( Product $saleableItem, @@ -67,7 +62,6 @@ public function getOptionsAmount( * @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList * @param null|bool|string|array $exclude code of adjustment that has to be excluded * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude = null); @@ -78,7 +72,6 @@ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectio * @param Product $bundleProduct * @param bool $useRegularPrice * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] - * @since 2.0.0 */ public function createSelectionPriceList($option, $bundleProduct, $useRegularPrice = false); @@ -89,7 +82,6 @@ public function createSelectionPriceList($option, $bundleProduct, $useRegularPri * @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList * @param bool $searchMin * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] - * @since 2.0.0 */ public function processOptions($option, $selectionPriceList, $searchMin = true); @@ -97,7 +89,6 @@ public function processOptions($option, $selectionPriceList, $searchMin = true); * @param float $amount * @param Product $saleableItem * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getAmountWithoutOption($amount, Product $saleableItem); } diff --git a/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php b/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php index 0f2f3e1c7b8b3..4f6776883780b 100644 --- a/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php +++ b/app/code/Magento/Bundle/Pricing/Adjustment/Calculator.php @@ -20,25 +20,21 @@ /** * Bundle price calculator * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Calculator implements BundleCalculatorInterface { /** * @var CalculatorBase - * @since 2.0.0 */ protected $calculator; /** * @var AmountFactory - * @since 2.0.0 */ protected $amountFactory; /** * @var BundleSelectionFactory - * @since 2.0.0 */ protected $selectionFactory; @@ -46,13 +42,11 @@ class Calculator implements BundleCalculatorInterface * Tax helper, needed to get rounding setting * * @var TaxHelper - * @since 2.0.0 */ protected $taxHelper; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; @@ -75,7 +69,6 @@ class Calculator implements BundleCalculatorInterface * @param TaxHelper $taxHelper * @param PriceCurrencyInterface $priceCurrency * @param SelectionPriceListProviderInterface|null $selectionPriceListProvider - * @since 2.0.0 */ public function __construct( CalculatorBase $calculator, @@ -102,7 +95,6 @@ public function __construct( * @param null|array $context * @return \Magento\Framework\Pricing\Amount\AmountInterface * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getAmount($amount, SaleableInterface $saleableItem, $exclude = null, $context = []) { @@ -116,7 +108,6 @@ public function getAmount($amount, SaleableInterface $saleableItem, $exclude = n * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinRegularAmount($amount, Product $saleableItem, $exclude = null) { @@ -130,7 +121,6 @@ public function getMinRegularAmount($amount, Product $saleableItem, $exclude = n * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaxAmount($amount, Product $saleableItem, $exclude = null) { @@ -144,7 +134,6 @@ public function getMaxAmount($amount, Product $saleableItem, $exclude = null) * @param Product $saleableItem * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = null) { @@ -160,7 +149,6 @@ public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = n * @param float $baseAmount * @param bool $useRegularPrice * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getOptionsAmount( Product $saleableItem, @@ -188,7 +176,6 @@ public function getOptionsAmount( * @param float $amount * @param Product $saleableItem * @return \Magento\Framework\Pricing\Amount\AmountInterface|void - * @since 2.0.0 */ public function getAmountWithoutOption($amount, Product $saleableItem) { @@ -206,7 +193,6 @@ public function getAmountWithoutOption($amount, Product $saleableItem) * @param bool $searchMin * @param bool $useRegularPrice * @return array - * @since 2.0.0 */ protected function getSelectionAmounts(Product $bundleProduct, $searchMin, $useRegularPrice = false) { @@ -235,7 +221,6 @@ private function getSelectionPriceListProvider() * @param bool $canSkipRequiredOption * @return bool * @deprecated 2.2.0 - * @since 2.0.0 */ protected function canSkipOption($option, $canSkipRequiredOption) { @@ -248,7 +233,6 @@ protected function canSkipOption($option, $canSkipRequiredOption) * @param Product $bundleProduct * @return bool * @deprecated 2.2.0 - * @since 2.0.0 */ protected function hasRequiredOption($bundleProduct) { @@ -267,7 +251,6 @@ function ($item) { * @param Product $saleableItem * @return \Magento\Bundle\Model\ResourceModel\Option\Collection * @deprecated 2.2.0 - * @since 2.0.0 */ protected function getBundleOptions(Product $saleableItem) { @@ -286,7 +269,6 @@ protected function getBundleOptions(Product $saleableItem) * @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude = null) { @@ -305,7 +287,6 @@ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectio * @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList * @param null|bool|string|arrayy $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected function calculateFixedBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude) { @@ -326,7 +307,6 @@ protected function calculateFixedBundleAmount($basePriceValue, $bundleProduct, $ * @param null|bool|string|array $exclude * @return \Magento\Framework\Pricing\Amount\AmountInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function calculateDynamicBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude) { @@ -392,7 +372,6 @@ protected function calculateDynamicBundleAmount($basePriceValue, $bundleProduct, * @param Product $bundleProduct * @param bool $useRegularPrice * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] - * @since 2.0.0 */ public function createSelectionPriceList($option, $bundleProduct, $useRegularPrice = false) { @@ -427,7 +406,6 @@ public function createSelectionPriceList($option, $bundleProduct, $useRegularPri * @param bool $searchMin * @return \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function processOptions($option, $selectionPriceList, $searchMin = true) { diff --git a/app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php b/app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php index ce38efcbc95d0..995572636e759 100644 --- a/app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/BundleOptionPrice.php @@ -11,7 +11,6 @@ /** * Bundle option price model - * @since 2.0.0 */ class BundleOptionPrice extends AbstractPrice implements BundleOptionPriceInterface { @@ -22,19 +21,16 @@ class BundleOptionPrice extends AbstractPrice implements BundleOptionPriceInterf /** * @var BundleCalculatorInterface - * @since 2.0.0 */ protected $calculator; /** * @var BundleSelectionFactory - * @since 2.0.0 */ protected $selectionFactory; /** * @var float|bool|null - * @since 2.0.0 */ protected $maximalPrice; @@ -44,7 +40,6 @@ class BundleOptionPrice extends AbstractPrice implements BundleOptionPriceInterf * @param BundleCalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param BundleSelectionFactory $bundleSelectionFactory - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -60,7 +55,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue() { @@ -74,7 +68,6 @@ public function getValue() * Getter for maximal price of options * * @return bool|float - * @since 2.0.0 */ public function getMaxValue() { @@ -88,7 +81,6 @@ public function getMaxValue() * Get Options with attached Selections collection * * @return \Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.0.0 */ public function getOptions() { @@ -114,7 +106,6 @@ public function getOptions() * * @param \Magento\Bundle\Model\Selection $selection * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getOptionSelectionAmount($selection) { @@ -141,7 +132,6 @@ public function getOptionSelectionAmount($selection) * * @param bool $searchMin * @return bool|float - * @since 2.0.0 */ protected function calculateOptions($searchMin = true) { @@ -163,7 +153,6 @@ protected function calculateOptions($searchMin = true) * Get minimal amount of bundle price with options * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getAmount() { diff --git a/app/code/Magento/Bundle/Pricing/Price/BundleOptionPriceInterface.php b/app/code/Magento/Bundle/Pricing/Price/BundleOptionPriceInterface.php index 95609cd930efa..0e47ec0be23a9 100644 --- a/app/code/Magento/Bundle/Pricing/Price/BundleOptionPriceInterface.php +++ b/app/code/Magento/Bundle/Pricing/Price/BundleOptionPriceInterface.php @@ -8,7 +8,6 @@ /** * Option price interface * @api - * @since 2.0.0 */ interface BundleOptionPriceInterface { @@ -16,14 +15,12 @@ interface BundleOptionPriceInterface * Return calculated options * * @return array - * @since 2.0.0 */ public function getOptions(); /** * @param \Magento\Bundle\Model\Selection $selection * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getOptionSelectionAmount($selection); } diff --git a/app/code/Magento/Bundle/Pricing/Price/BundleRegularPrice.php b/app/code/Magento/Bundle/Pricing/Price/BundleRegularPrice.php index 246e3abe70c6c..034b735764011 100644 --- a/app/code/Magento/Bundle/Pricing/Price/BundleRegularPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/BundleRegularPrice.php @@ -14,19 +14,16 @@ /** * Bundle product regular price model - * @since 2.0.0 */ class BundleRegularPrice extends \Magento\Catalog\Pricing\Price\RegularPrice implements RegularPriceInterface { /** * @var BundleCalculatorInterface - * @since 2.0.0 */ protected $calculator; /** * @var AmountInterface - * @since 2.0.0 */ protected $maximalPrice; @@ -35,7 +32,6 @@ class BundleRegularPrice extends \Magento\Catalog\Pricing\Price\RegularPrice imp * @param float $quantity * @param BundleCalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -48,7 +44,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ public function getAmount() { @@ -68,7 +63,6 @@ public function getAmount() * Returns max price * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaximalPrice() { @@ -88,7 +82,6 @@ public function getMaximalPrice() * Returns min price * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinimalPrice() { diff --git a/app/code/Magento/Bundle/Pricing/Price/BundleSelectionFactory.php b/app/code/Magento/Bundle/Pricing/Price/BundleSelectionFactory.php index ad39841d686fd..12e3e27d74057 100644 --- a/app/code/Magento/Bundle/Pricing/Price/BundleSelectionFactory.php +++ b/app/code/Magento/Bundle/Pricing/Price/BundleSelectionFactory.php @@ -11,7 +11,6 @@ /** * Bundle selection price factory * @api - * @since 2.0.0 */ class BundleSelectionFactory { @@ -24,7 +23,6 @@ class BundleSelectionFactory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -32,7 +30,6 @@ class BundleSelectionFactory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -47,7 +44,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param float $quantity * @param array $arguments * @return BundleSelectionPrice - * @since 2.0.0 */ public function create( Product $bundleProduct, diff --git a/app/code/Magento/Bundle/Pricing/Price/BundleSelectionPrice.php b/app/code/Magento/Bundle/Pricing/Price/BundleSelectionPrice.php index 17916cd3475ef..2eea5190fece5 100644 --- a/app/code/Magento/Bundle/Pricing/Price/BundleSelectionPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/BundleSelectionPrice.php @@ -18,7 +18,6 @@ * Bundle option price * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class BundleSelectionPrice extends AbstractPrice { @@ -29,7 +28,6 @@ class BundleSelectionPrice extends AbstractPrice /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $bundleProduct; @@ -37,25 +35,21 @@ class BundleSelectionPrice extends AbstractPrice * Event manager * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; /** * @var DiscountCalculator - * @since 2.0.0 */ protected $discountCalculator; /** * @var bool - * @since 2.0.0 */ protected $useRegularPrice; /** * @var Product - * @since 2.0.0 */ protected $selection; @@ -63,7 +57,6 @@ class BundleSelectionPrice extends AbstractPrice * Code of parent adjustment to be skipped from calculation * * @var string - * @since 2.0.0 */ protected $excludeAdjustment = null; @@ -77,7 +70,6 @@ class BundleSelectionPrice extends AbstractPrice * @param DiscountCalculator $discountCalculator * @param bool $useRegularPrice * @param array $excludeAdjustment - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -103,7 +95,6 @@ public function __construct( * Get the price value for one of selection product * * @return bool|float - * @since 2.0.0 */ public function getValue() { @@ -154,7 +145,6 @@ public function getValue() * Get Price Amount object * * @return AmountInterface - * @since 2.0.0 */ public function getAmount() { @@ -181,7 +171,6 @@ public function getAmount() /** * @return SaleableInterface - * @since 2.0.0 */ public function getProduct() { diff --git a/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php b/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php index 02c953aec0034..ac5a4cbb2cb62 100644 --- a/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php @@ -15,7 +15,6 @@ /** * Configured price model * @api - * @since 2.0.0 */ class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPriceInterface { @@ -26,13 +25,11 @@ class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPrice /** * @var BundleCalculatorInterface - * @since 2.0.0 */ protected $calculator; /** * @var null|ItemInterface - * @since 2.0.0 */ protected $item; @@ -51,7 +48,6 @@ class ConfiguredPrice extends CatalogPrice\FinalPrice implements ConfiguredPrice * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param ItemInterface $item * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -70,7 +66,6 @@ public function __construct( /** * @param ItemInterface $item * @return $this - * @since 2.0.0 */ public function setItem(ItemInterface $item) { @@ -82,7 +77,6 @@ public function setItem(ItemInterface $item) * Get Options with attached Selections collection * * @return array|\Magento\Bundle\Model\ResourceModel\Option\Collection - * @since 2.0.0 */ public function getOptions() { @@ -116,7 +110,6 @@ public function getOptions() * * @param float $baseValue * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getConfiguredAmount($baseValue = 0.) { @@ -138,7 +131,6 @@ public function getConfiguredAmount($baseValue = 0.) * Get price value * * @return float - * @since 2.0.0 */ public function getValue() { @@ -157,7 +149,6 @@ public function getValue() * Get Amount for configured price which is included amount for all selected options * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getAmount() { diff --git a/app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php b/app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php index e27716e613e07..6990149efc373 100644 --- a/app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php +++ b/app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php @@ -10,7 +10,6 @@ /** * Class DiscountCalculator - * @since 2.0.0 */ class DiscountCalculator { @@ -20,7 +19,6 @@ class DiscountCalculator * @param Product $product * @param float|null $value * @return float|null - * @since 2.0.0 */ public function calculateDiscount(Product $product, $value = null) { diff --git a/app/code/Magento/Bundle/Pricing/Price/DiscountProviderInterface.php b/app/code/Magento/Bundle/Pricing/Price/DiscountProviderInterface.php index 5a43c34673ad2..99a5c3eee269b 100644 --- a/app/code/Magento/Bundle/Pricing/Price/DiscountProviderInterface.php +++ b/app/code/Magento/Bundle/Pricing/Price/DiscountProviderInterface.php @@ -9,13 +9,11 @@ /** * Interface DiscountProviderInterface * @api - * @since 2.0.0 */ interface DiscountProviderInterface { /** * @return float - * @since 2.0.0 */ public function getDiscountPercent(); } diff --git a/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php b/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php index 41d0f47fb9700..e431189356982 100644 --- a/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/FinalPrice.php @@ -15,31 +15,26 @@ /** * Final price model - * @since 2.0.0 */ class FinalPrice extends \Magento\Catalog\Pricing\Price\FinalPrice implements FinalPriceInterface { /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $maximalPrice; /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $minimalPrice; /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $priceWithoutOption; /** * @var \Magento\Bundle\Pricing\Price\BundleOptionPrice - * @since 2.0.0 */ protected $bundleOptionPrice; @@ -54,7 +49,6 @@ class FinalPrice extends \Magento\Catalog\Pricing\Price\FinalPrice implements Fi * @param float $quantity * @param CalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -69,7 +63,6 @@ public function __construct( * Returns price value * * @return float - * @since 2.0.0 */ public function getValue() { @@ -81,7 +74,6 @@ public function getValue() * Returns max price * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaximalPrice() { @@ -118,7 +110,6 @@ private function getProductOptionRepository() * Returns min price * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinimalPrice() { @@ -129,7 +120,6 @@ public function getMinimalPrice() * Returns price amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getAmount() { @@ -168,7 +158,6 @@ private function loadProductCustomOptions() * get bundle product price without any option * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getPriceWithoutOption() { @@ -182,7 +171,6 @@ public function getPriceWithoutOption() * Returns option price * * @return \Magento\Bundle\Pricing\Price\BundleOptionPrice - * @since 2.0.0 */ protected function getBundleOptionPrice() { diff --git a/app/code/Magento/Bundle/Pricing/Price/FinalPriceInterface.php b/app/code/Magento/Bundle/Pricing/Price/FinalPriceInterface.php index 9c25fd7455437..cbb2232db300a 100644 --- a/app/code/Magento/Bundle/Pricing/Price/FinalPriceInterface.php +++ b/app/code/Magento/Bundle/Pricing/Price/FinalPriceInterface.php @@ -9,13 +9,11 @@ /** * Interface FinalPriceInterface * @api - * @since 2.0.0 */ interface FinalPriceInterface extends \Magento\Catalog\Pricing\Price\FinalPriceInterface { /** * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getPriceWithoutOption(); } diff --git a/app/code/Magento/Bundle/Pricing/Price/RegularPriceInterface.php b/app/code/Magento/Bundle/Pricing/Price/RegularPriceInterface.php index 49de6a5f4e44d..ab6305c1d5132 100644 --- a/app/code/Magento/Bundle/Pricing/Price/RegularPriceInterface.php +++ b/app/code/Magento/Bundle/Pricing/Price/RegularPriceInterface.php @@ -9,7 +9,6 @@ /** * Regular price interface * @api - * @since 2.0.0 */ interface RegularPriceInterface extends \Magento\Framework\Pricing\Price\BasePriceProviderInterface { @@ -17,7 +16,6 @@ interface RegularPriceInterface extends \Magento\Framework\Pricing\Price\BasePri * Get Minimal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinimalPrice(); @@ -25,7 +23,6 @@ public function getMinimalPrice(); * Get Maximal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaximalPrice(); } diff --git a/app/code/Magento/Bundle/Pricing/Price/SpecialPrice.php b/app/code/Magento/Bundle/Pricing/Price/SpecialPrice.php index 884685fdd869f..a1697525c1eda 100644 --- a/app/code/Magento/Bundle/Pricing/Price/SpecialPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/SpecialPrice.php @@ -10,13 +10,11 @@ /** * Special price model - * @since 2.0.0 */ class SpecialPrice extends \Magento\Catalog\Pricing\Price\SpecialPrice implements DiscountProviderInterface { /** * @var float|false - * @since 2.0.0 */ protected $percent; @@ -24,7 +22,6 @@ class SpecialPrice extends \Magento\Catalog\Pricing\Price\SpecialPrice implement * Returns discount percent * * @return bool|float - * @since 2.0.0 */ public function getDiscountPercent() { @@ -38,7 +35,6 @@ public function getDiscountPercent() * Returns price value * * @return bool|float - * @since 2.0.0 */ public function getValue() { @@ -60,7 +56,6 @@ public function getValue() * Returns regular price * * @return bool|float - * @since 2.0.0 */ protected function getRegularPrice() { @@ -69,7 +64,6 @@ protected function getRegularPrice() /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount() { diff --git a/app/code/Magento/Bundle/Pricing/Price/TierPrice.php b/app/code/Magento/Bundle/Pricing/Price/TierPrice.php index 06913d9f9ae7a..121b43bc0428a 100644 --- a/app/code/Magento/Bundle/Pricing/Price/TierPrice.php +++ b/app/code/Magento/Bundle/Pricing/Price/TierPrice.php @@ -12,19 +12,16 @@ /** * Bundle tier prices model - * @since 2.0.0 */ class TierPrice extends \Magento\Catalog\Pricing\Price\TierPrice implements DiscountProviderInterface { /** * @var bool - * @since 2.0.0 */ protected $filterByBasePrice = false; /** * @var float|false - * @since 2.0.0 */ protected $percent; @@ -32,7 +29,6 @@ class TierPrice extends \Magento\Catalog\Pricing\Price\TierPrice implements Disc * Returns percent discount * * @return bool|float - * @since 2.0.0 */ public function getDiscountPercent() { @@ -64,7 +60,6 @@ public function getDiscountPercent() * Returns pricing value * * @return bool|float - * @since 2.0.0 */ public function getValue() { @@ -86,7 +81,6 @@ public function getValue() * Returns regular price * * @return bool|float - * @since 2.0.0 */ protected function getRegularPrice() { @@ -101,7 +95,6 @@ protected function getRegularPrice() * @param float $firstPrice * @param float $secondPrice * @return bool - * @since 2.0.0 */ protected function isFirstPriceBetter($firstPrice, $secondPrice) { @@ -110,7 +103,6 @@ protected function isFirstPriceBetter($firstPrice, $secondPrice) /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount() { diff --git a/app/code/Magento/Bundle/Pricing/Render/FinalPriceBox.php b/app/code/Magento/Bundle/Pricing/Render/FinalPriceBox.php index dd6d933c6938b..1265f9be06d94 100644 --- a/app/code/Magento/Bundle/Pricing/Render/FinalPriceBox.php +++ b/app/code/Magento/Bundle/Pricing/Render/FinalPriceBox.php @@ -12,7 +12,6 @@ /** * Class for final_price rendering - * @since 2.0.0 */ class FinalPriceBox extends CatalogRender\FinalPriceBox { @@ -20,7 +19,6 @@ class FinalPriceBox extends CatalogRender\FinalPriceBox * Check if bundle product has one or more options, or custom options, with different prices * * @return bool - * @since 2.0.0 */ public function showRangePrice() { diff --git a/app/code/Magento/Bundle/Setup/InstallData.php b/app/code/Magento/Bundle/Setup/InstallData.php index ee7ed4b354961..6a3ff08c4d781 100644 --- a/app/code/Magento/Bundle/Setup/InstallData.php +++ b/app/code/Magento/Bundle/Setup/InstallData.php @@ -14,7 +14,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -22,7 +21,6 @@ class InstallData implements InstallDataInterface * EAV setup factory * * @var EavSetupFactory - * @since 2.0.0 */ private $eavSetupFactory; @@ -30,7 +28,6 @@ class InstallData implements InstallDataInterface * Init * * @param EavSetupFactory $eavSetupFactory - * @since 2.0.0 */ public function __construct(EavSetupFactory $eavSetupFactory) { @@ -40,7 +37,6 @@ public function __construct(EavSetupFactory $eavSetupFactory) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Bundle/Setup/InstallSchema.php b/app/code/Magento/Bundle/Setup/InstallSchema.php index 3df1cee45f812..662938034976e 100644 --- a/app/code/Magento/Bundle/Setup/InstallSchema.php +++ b/app/code/Magento/Bundle/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Bundle/Setup/UpgradeSchema.php b/app/code/Magento/Bundle/Setup/UpgradeSchema.php index d28bf0d7e60d9..00ecd8c20728f 100755 --- a/app/code/Magento/Bundle/Setup/UpgradeSchema.php +++ b/app/code/Magento/Bundle/Setup/UpgradeSchema.php @@ -12,7 +12,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class UpgradeSchema implements UpgradeSchemaInterface { @@ -20,7 +19,6 @@ class UpgradeSchema implements UpgradeSchemaInterface * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/BundleImportExport/Model/Export/Product/Type/Bundle.php b/app/code/Magento/BundleImportExport/Model/Export/Product/Type/Bundle.php index cbf35f8615fd5..a75e8ba41b73a 100644 --- a/app/code/Magento/BundleImportExport/Model/Export/Product/Type/Bundle.php +++ b/app/code/Magento/BundleImportExport/Model/Export/Product/Type/Bundle.php @@ -7,7 +7,6 @@ /** * Class Bundle - * @since 2.0.0 */ class Bundle extends \Magento\CatalogImportExport\Model\Export\Product\Type\AbstractType { diff --git a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php index 466f26aa6b91d..e30ad30fde16c 100644 --- a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php +++ b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php @@ -15,7 +15,6 @@ /** * Class RowCustomizer - * @since 2.0.0 */ class RowCustomizer implements RowCustomizerInterface { @@ -43,7 +42,6 @@ class RowCustomizer implements RowCustomizerInterface * Mapping for bundle types * * @var array - * @since 2.0.0 */ protected $typeMapping = [ '0' => self::VALUE_DYNAMIC, @@ -54,7 +52,6 @@ class RowCustomizer implements RowCustomizerInterface * Mapping for price views * * @var array - * @since 2.0.0 */ protected $priceViewMapping = [ '0' => self::VALUE_PRICE_RANGE, @@ -65,7 +62,6 @@ class RowCustomizer implements RowCustomizerInterface * Mapping for price types * * @var array - * @since 2.0.0 */ protected $priceTypeMapping = [ '0' => self::VALUE_FIXED, @@ -76,7 +72,6 @@ class RowCustomizer implements RowCustomizerInterface * Bundle product columns * * @var array - * @since 2.0.0 */ protected $bundleColumns = [ self::BUNDLE_PRICE_TYPE_COL, @@ -90,7 +85,6 @@ class RowCustomizer implements RowCustomizerInterface * Product's bundle data * * @var array - * @since 2.0.0 */ protected $bundleData = []; @@ -129,7 +123,6 @@ private function getBundleColumns() * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param int[] $productIds * @return $this - * @since 2.0.0 */ public function prepareData($collection, $productIds) { @@ -150,7 +143,6 @@ public function prepareData($collection, $productIds) * * @param array $columns * @return array - * @since 2.0.0 */ public function addHeaderColumns($columns) { @@ -165,7 +157,6 @@ public function addHeaderColumns($columns) * @param array $dataRow * @param int $productId * @return array - * @since 2.0.0 */ public function addData($dataRow, $productId) { @@ -183,7 +174,6 @@ public function addData($dataRow, $productId) * @param int $productId * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getAdditionalRowsCount($additionalRowsCount, $productId) { @@ -195,7 +185,6 @@ public function getAdditionalRowsCount($additionalRowsCount, $productId) * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return $this - * @since 2.0.0 */ protected function populateBundleData($collection) { @@ -218,7 +207,6 @@ protected function populateBundleData($collection) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ protected function getFormattedBundleOptionValues($product) { @@ -246,7 +234,6 @@ protected function getFormattedBundleOptionValues($product) * @param string $optionValues * @param SelectionCollection $selections * @return string - * @since 2.0.0 */ protected function getFormattedBundleSelections($optionValues, SelectionCollection $selections) { @@ -283,7 +270,6 @@ function ($value, $key) { * * @param \Magento\Bundle\Model\Option $option * @return string - * @since 2.0.0 */ protected function getFormattedOptionValues($option) { @@ -300,7 +286,6 @@ protected function getFormattedOptionValues($option) * * @param string $type * @return string - * @since 2.0.0 */ protected function getTypeValue($type) { @@ -312,7 +297,6 @@ protected function getTypeValue($type) * * @param string $type * @return string - * @since 2.0.0 */ protected function getPriceViewValue($type) { @@ -324,7 +308,6 @@ protected function getPriceViewValue($type) * * @param string $type * @return string - * @since 2.0.0 */ protected function getPriceTypeValue($type) { @@ -348,7 +331,6 @@ private function getShipmentTypeValue($type) * * @param array $dataRow * @return array - * @since 2.0.0 */ protected function cleanNotBundleAdditionalAttributes($dataRow) { @@ -365,7 +347,6 @@ protected function cleanNotBundleAdditionalAttributes($dataRow) * * @param array $additionalAttributes * @return string - * @since 2.0.0 */ protected function getNotBundleAttributes($additionalAttributes) { @@ -383,7 +364,7 @@ protected function getNotBundleAttributes($additionalAttributes) * * @param string $additionalAttributes * @return array - * @since 2.2.0 + * @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 c3bd9fbf07ec5..66044784a262f 100644 --- a/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php +++ b/app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php @@ -17,7 +17,6 @@ * Class Bundle * @package Magento\BundleImportExport\Model\Import\Product\Type * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) - * @since 2.0.0 */ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType { @@ -61,7 +60,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Array of cached options. * * @var array - * @since 2.0.0 */ protected $_cachedOptions = []; @@ -69,7 +67,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Array of cached skus. * * @var array - * @since 2.0.0 */ protected $_cachedSkus = []; @@ -77,7 +74,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Mapping array between cached skus and products. * * @var array - * @since 2.0.0 */ protected $_cachedSkuToProducts = []; @@ -85,7 +81,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Array of queries selecting cached options. * * @var array - * @since 2.0.0 */ protected $_cachedOptionSelectQuery = []; @@ -93,7 +88,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Column names that holds values with particular meaning. * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = [ 'price_type', @@ -105,7 +99,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Custom fields mapping. * * @inherited - * @since 2.0.0 */ protected $_customFieldsMapping = [ 'price_type' => 'bundle_price_type', @@ -119,7 +112,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Bundle field mapping. * * @var array - * @since 2.0.0 */ protected $_bundleFieldMapping = [ 'is_default' => 'default', @@ -131,7 +123,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Option type mapping. * * @var array - * @since 2.0.0 */ protected $_optionTypeMapping = [ 'dropdown' => 'select', @@ -153,7 +144,6 @@ class Bundle extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * @param array $params * @param \Magento\Framework\EntityManager\MetadataPool|null $metadataPool * @param Bundle\RelationsDataSaver|null $relationsDataSaver - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attrSetColFac, @@ -176,7 +166,6 @@ public function __construct( * @param int $entityId * * @return array - * @since 2.0.0 */ protected function parseSelections($rowData, $entityId) { @@ -219,7 +208,6 @@ protected function parseSelections($rowData, $entityId) * @param array $values * * @return array - * @since 2.0.0 */ protected function parseOption($values) { @@ -248,7 +236,6 @@ protected function parseOption($values) * @param int $index * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function populateOptionTemplate($option, $entityId, $index = null) { @@ -273,7 +260,6 @@ protected function populateOptionTemplate($option, $entityId, $index = null) * @param int $storeId * * @return array|bool - * @since 2.0.0 */ protected function populateOptionValueTemplate($option, $optionId, $storeId = 0) { @@ -298,7 +284,6 @@ protected function populateOptionValueTemplate($option, $optionId, $storeId = 0) * @return array * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function populateSelectionTemplate($selection, $optionId, $parentId, $index) { @@ -333,7 +318,6 @@ protected function populateSelectionTemplate($selection, $optionId, $parentId, $ * Retrieve mapping between skus and products. * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function retrieveProducsByCachedSkus() { @@ -353,7 +337,6 @@ protected function retrieveProducsByCachedSkus() * Save product type specific data. * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ public function saveData() { @@ -399,7 +382,6 @@ public function saveData() * @param int $rowNum * @param bool $isNewProduct * @return bool - * @since 2.0.0 */ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true) { @@ -416,7 +398,6 @@ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true) * @param array $rowData * @param bool $withDefaultValue * @return array - * @since 2.0.0 */ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDefaultValue = true) { @@ -430,7 +411,6 @@ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDe * * @param array $rowData * @return array - * @since 2.0.0 */ protected function transformBundleCustomAttributes($rowData) { @@ -460,7 +440,6 @@ protected function transformBundleCustomAttributes($rowData) * Populates existing options. * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function populateExistingOptions() { @@ -494,7 +473,6 @@ protected function populateExistingOptions() * @param array $existingOptions * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function populateExistingSelections($existingOptions) { @@ -536,7 +514,6 @@ protected function populateExistingSelections($existingOptions) * Insert options. * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function insertOptions() { @@ -581,7 +558,6 @@ protected function insertOptions() * Populate array for insert option values * @param array $optionIds * @return array - * @since 2.0.0 */ protected function populateInsertOptionValues($optionIds) { @@ -606,7 +582,6 @@ protected function populateInsertOptionValues($optionIds) * Insert selections. * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function insertSelections() { @@ -641,7 +616,6 @@ protected function insertSelections() * Initialize attributes parameters for all attributes' sets. * * @return $this - * @since 2.0.0 */ protected function _initAttributes() { @@ -673,7 +647,6 @@ protected function _initAttributes() * @param array $productIds * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function deleteOptionsAndSelections($productIds) { @@ -710,7 +683,6 @@ protected function deleteOptionsAndSelections($productIds) * Clear cached values between bunches * * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function clear() { diff --git a/app/code/Magento/CacheInvalidate/Model/PurgeCache.php b/app/code/Magento/CacheInvalidate/Model/PurgeCache.php index bb81fd3966daa..bce790b7017cc 100644 --- a/app/code/Magento/CacheInvalidate/Model/PurgeCache.php +++ b/app/code/Magento/CacheInvalidate/Model/PurgeCache.php @@ -10,7 +10,6 @@ /** * Class \Magento\CacheInvalidate\Model\PurgeCache * - * @since 2.0.0 */ class PurgeCache { @@ -18,19 +17,16 @@ class PurgeCache /** * @var \Magento\PageCache\Model\Cache\Server - * @since 2.0.0 */ protected $cacheServer; /** * @var \Magento\CacheInvalidate\Model\SocketFactory - * @since 2.0.0 */ protected $socketAdapterFactory; /** * @var InvalidateLogger - * @since 2.0.0 */ private $logger; @@ -40,7 +36,6 @@ class PurgeCache * @param \Magento\PageCache\Model\Cache\Server $cacheServer * @param \Magento\CacheInvalidate\Model\SocketFactory $socketAdapterFactory * @param InvalidateLogger $logger - * @since 2.0.0 */ public function __construct( \Magento\PageCache\Model\Cache\Server $cacheServer, @@ -58,7 +53,6 @@ public function __construct( * * @param string $tagsPattern * @return bool Return true if successful; otherwise return false - * @since 2.0.0 */ public function sendPurgeRequest($tagsPattern) { diff --git a/app/code/Magento/CacheInvalidate/Model/SocketFactory.php b/app/code/Magento/CacheInvalidate/Model/SocketFactory.php index 5778e24b1c6bc..c58d3306121d1 100644 --- a/app/code/Magento/CacheInvalidate/Model/SocketFactory.php +++ b/app/code/Magento/CacheInvalidate/Model/SocketFactory.php @@ -8,13 +8,11 @@ /** * Class \Magento\CacheInvalidate\Model\SocketFactory * - * @since 2.0.0 */ class SocketFactory { /** * @return \Zend\Http\Client\Adapter\Socket - * @since 2.0.0 */ public function create() { diff --git a/app/code/Magento/CacheInvalidate/Observer/FlushAllCacheObserver.php b/app/code/Magento/CacheInvalidate/Observer/FlushAllCacheObserver.php index 470df549153c1..8930b59624db8 100644 --- a/app/code/Magento/CacheInvalidate/Observer/FlushAllCacheObserver.php +++ b/app/code/Magento/CacheInvalidate/Observer/FlushAllCacheObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\CacheInvalidate\Observer\FlushAllCacheObserver * - * @since 2.0.0 */ class FlushAllCacheObserver implements ObserverInterface { @@ -18,20 +17,17 @@ class FlushAllCacheObserver implements ObserverInterface * Application config object * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $config; /** * @var \Magento\CacheInvalidate\Model\PurgeCache - * @since 2.0.0 */ protected $purgeCache; /** * @param \Magento\PageCache\Model\Config $config * @param \Magento\CacheInvalidate\Model\PurgeCache $purgeCache - * @since 2.0.0 */ public function __construct( \Magento\PageCache\Model\Config $config, @@ -47,7 +43,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php b/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php index 308b3dbc57d95..621f39a65e414 100644 --- a/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php +++ b/app/code/Magento/CacheInvalidate/Observer/InvalidateVarnishObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\CacheInvalidate\Observer\InvalidateVarnishObserver * - * @since 2.0.0 */ class InvalidateVarnishObserver implements ObserverInterface { @@ -18,13 +17,11 @@ class InvalidateVarnishObserver implements ObserverInterface * Application config object * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $config; /** * @var \Magento\CacheInvalidate\Model\PurgeCache - * @since 2.0.0 */ protected $purgeCache; @@ -32,14 +29,13 @@ class InvalidateVarnishObserver implements ObserverInterface * Invalidation tags resolver * * @var \Magento\Framework\App\Cache\Tag\Resolver - * @since 2.2.0 + * @since 2.1.3 */ private $tagResolver; /** * @param \Magento\PageCache\Model\Config $config * @param \Magento\CacheInvalidate\Model\PurgeCache $purgeCache - * @since 2.0.0 */ public function __construct( \Magento\PageCache\Model\Config $config, @@ -55,7 +51,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { @@ -78,9 +73,9 @@ public function execute(\Magento\Framework\Event\Observer $observer) } /** - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return \Magento\Framework\App\Cache\Tag\Resolver - * @since 2.2.0 + * @since 2.1.3 */ private function getTagResolver() { diff --git a/app/code/Magento/Captcha/Block/Adminhtml/Captcha/DefaultCaptcha.php b/app/code/Magento/Captcha/Block/Adminhtml/Captcha/DefaultCaptcha.php index 8288cc394824b..8d6fe96022313 100644 --- a/app/code/Magento/Captcha/Block/Adminhtml/Captcha/DefaultCaptcha.php +++ b/app/code/Magento/Captcha/Block/Adminhtml/Captcha/DefaultCaptcha.php @@ -8,19 +8,16 @@ /** * Captcha block for adminhtml area - * @since 2.0.0 */ class DefaultCaptcha extends \Magento\Captcha\Block\Captcha\DefaultCaptcha { /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_url; /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $_config; @@ -30,7 +27,6 @@ class DefaultCaptcha extends \Magento\Captcha\Block\Captcha\DefaultCaptcha * @param \Magento\Backend\Model\UrlInterface $url * @param \Magento\Backend\App\ConfigInterface $config * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -48,7 +44,6 @@ public function __construct( * Returns URL to controller action which returns new captcha image * * @return string - * @since 2.0.0 */ public function getRefreshUrl() { diff --git a/app/code/Magento/Captcha/Block/Captcha.php b/app/code/Magento/Captcha/Block/Captcha.php index 3546336e13d7d..e4c686b2aa7c2 100644 --- a/app/code/Magento/Captcha/Block/Captcha.php +++ b/app/code/Magento/Captcha/Block/Captcha.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Captcha extends \Magento\Framework\View\Element\Template { @@ -21,7 +20,6 @@ class Captcha extends \Magento\Framework\View\Element\Template * Captcha data * * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_captchaData = null; @@ -29,7 +27,6 @@ class Captcha extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Captcha\Helper\Data $captchaData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( * Renders captcha HTML (if required) * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php b/app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php index 6db81b95dadfc..c0a091ca2d0d9 100644 --- a/app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php +++ b/app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php @@ -7,25 +7,21 @@ /** * Captcha block - * @since 2.0.0 */ class DefaultCaptcha extends \Magento\Framework\View\Element\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'default.phtml'; /** * @var string - * @since 2.0.0 */ protected $_captcha; /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_captchaData; @@ -33,7 +29,6 @@ class DefaultCaptcha extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Captcha\Helper\Data $captchaData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -48,7 +43,6 @@ public function __construct( * Returns template path * * @return string - * @since 2.0.0 */ public function getTemplate() { @@ -59,7 +53,6 @@ public function getTemplate() * Returns URL to controller action which returns new captcha image * * @return string - * @since 2.0.0 */ public function getRefreshUrl() { @@ -71,7 +64,6 @@ public function getRefreshUrl() * Renders captcha HTML (if required) * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -86,7 +78,6 @@ protected function _toHtml() * Returns captcha model * * @return \Magento\Captcha\Model\CaptchaInterface - * @since 2.0.0 */ public function getCaptchaModel() { diff --git a/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php b/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php index ad88187dd4852..8ccfab08d0981 100644 --- a/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php +++ b/app/code/Magento/Captcha/Controller/Adminhtml/Refresh/Refresh.php @@ -11,7 +11,6 @@ /** * Class \Magento\Captcha\Controller\Adminhtml\Refresh\Refresh * - * @since 2.0.0 */ class Refresh extends \Magento\Backend\App\Action { @@ -46,7 +45,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function execute() { @@ -67,7 +65,6 @@ public function execute() * Check if user has permissions to access this controller * * @return bool - * @since 2.0.0 */ protected function _isAllowed() { diff --git a/app/code/Magento/Captcha/Controller/Refresh/Index.php b/app/code/Magento/Captcha/Controller/Refresh/Index.php index d730f84f1d06b..f50306ba1af16 100644 --- a/app/code/Magento/Captcha/Controller/Refresh/Index.php +++ b/app/code/Magento/Captcha/Controller/Refresh/Index.php @@ -13,13 +13,11 @@ /** * Class \Magento\Captcha\Controller\Refresh\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $captchaHelper; @@ -34,7 +32,6 @@ class Index extends \Magento\Framework\App\Action\Action * @param \Magento\Captcha\Helper\Data $captchaHelper * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( Context $context, @@ -49,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Captcha/Cron/DeleteExpiredImages.php b/app/code/Magento/Captcha/Cron/DeleteExpiredImages.php index 002424594b8d5..cb5f1c4547507 100644 --- a/app/code/Magento/Captcha/Cron/DeleteExpiredImages.php +++ b/app/code/Magento/Captcha/Cron/DeleteExpiredImages.php @@ -9,13 +9,11 @@ /** * Captcha cron actions - * @since 2.0.0 */ class DeleteExpiredImages { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; @@ -23,19 +21,16 @@ class DeleteExpiredImages * CAPTCHA helper * * @var \Magento\Captcha\Helper\Adminhtml\Data - * @since 2.0.0 */ protected $_adminHelper; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_mediaDirectory; /** * @var \Magento\Store\Model\StoreManager - * @since 2.0.0 */ protected $_storeManager; @@ -44,7 +39,6 @@ class DeleteExpiredImages * @param \Magento\Captcha\Helper\Adminhtml\Data $adminHelper * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Store\Model\StoreManager $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -62,7 +56,6 @@ public function __construct( * Delete Expired Captcha Images * * @return \Magento\Captcha\Cron\DeleteExpiredImages - * @since 2.0.0 */ public function execute() { @@ -81,7 +74,6 @@ public function execute() * @param \Magento\Store\Model\Website|null $website * @param \Magento\Store\Model\Store|null $store * @return void - * @since 2.0.0 */ protected function _deleteExpiredImagesForWebsite( \Magento\Captcha\Helper\Data $helper, diff --git a/app/code/Magento/Captcha/Cron/DeleteOldAttempts.php b/app/code/Magento/Captcha/Cron/DeleteOldAttempts.php index 0133e9a48c9ba..0e635122ab540 100644 --- a/app/code/Magento/Captcha/Cron/DeleteOldAttempts.php +++ b/app/code/Magento/Captcha/Cron/DeleteOldAttempts.php @@ -7,19 +7,16 @@ /** * Captcha cron actions - * @since 2.0.0 */ class DeleteOldAttempts { /** * @var \Magento\Captcha\Model\ResourceModel\LogFactory - * @since 2.0.0 */ protected $resLogFactory; /** * @param \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory @@ -31,7 +28,6 @@ public function __construct( * Delete Unnecessary logged attempts * * @return \Magento\Captcha\Cron\DeleteOldAttempts - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Captcha/Helper/Adminhtml/Data.php b/app/code/Magento/Captcha/Helper/Adminhtml/Data.php index c7de2c2da6c08..6d268308f84c1 100644 --- a/app/code/Magento/Captcha/Helper/Adminhtml/Data.php +++ b/app/code/Magento/Captcha/Helper/Adminhtml/Data.php @@ -14,13 +14,11 @@ /** * Class \Magento\Captcha\Helper\Adminhtml\Data * - * @since 2.0.0 */ class Data extends \Magento\Captcha\Helper\Data { /** * @var \Magento\Backend\App\ConfigInterface - * @since 2.0.0 */ protected $_backendConfig; @@ -30,7 +28,6 @@ class Data extends \Magento\Captcha\Helper\Data * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Captcha\Model\CaptchaFactory $factory * @param \Magento\Backend\App\ConfigInterface $backendConfig - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -49,7 +46,6 @@ public function __construct( * @param string $key The last part of XML_PATH_$area_CAPTCHA_ constant (case insensitive) * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\App\Config\Element - * @since 2.0.0 */ public function getConfig($key, $store = null) { @@ -61,7 +57,6 @@ public function getConfig($key, $store = null) * * @param mixed $website * @return string - * @since 2.0.0 */ protected function _getWebsiteCode($website = null) { diff --git a/app/code/Magento/Captcha/Helper/Data.php b/app/code/Magento/Captcha/Helper/Data.php index b4dad5f98c935..9372510911f7f 100644 --- a/app/code/Magento/Captcha/Helper/Data.php +++ b/app/code/Magento/Captcha/Helper/Data.php @@ -13,7 +13,6 @@ * Captcha image model * * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -45,25 +44,21 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper /** * List uses Models of Captcha * @var array - * @since 2.0.0 */ protected $_captcha = []; /** * @var Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Captcha\Model\CaptchaFactory - * @since 2.0.0 */ protected $_factory; @@ -72,7 +67,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param Filesystem $filesystem * @param \Magento\Captcha\Model\CaptchaFactory $factory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -91,7 +85,6 @@ public function __construct( * * @param string $formId * @return \Magento\Captcha\Model\CaptchaInterface - * @since 2.0.0 */ public function getCaptcha($formId) { @@ -114,7 +107,6 @@ public function getCaptcha($formId) * @param string $key The last part of XML_PATH_$area_CAPTCHA_ constant (case insensitive) * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\App\Config\Element - * @since 2.0.0 */ public function getConfig($key, $store = null) { @@ -132,7 +124,6 @@ public function getConfig($key, $store = null) * [['arial'] => ['label' => 'Arial', 'path' => '/www/magento/fonts/arial.ttf']] * * @return array - * @since 2.0.0 */ public function getFonts() { @@ -155,7 +146,6 @@ public function getFonts() * * @param mixed $website * @return string - * @since 2.0.0 */ public function getImgDir($website = null) { @@ -170,7 +160,6 @@ public function getImgDir($website = null) * * @param mixed $website * @return string - * @since 2.0.0 */ protected function _getWebsiteCode($website = null) { @@ -182,7 +171,6 @@ protected function _getWebsiteCode($website = null) * * @param mixed $website * @return string - * @since 2.0.0 */ public function getImgUrl($website = null) { diff --git a/app/code/Magento/Captcha/Model/CaptchaFactory.php b/app/code/Magento/Captcha/Model/CaptchaFactory.php index 5cbc7ff93d805..3b2cf5aa2f076 100644 --- a/app/code/Magento/Captcha/Model/CaptchaFactory.php +++ b/app/code/Magento/Captcha/Model/CaptchaFactory.php @@ -10,19 +10,16 @@ /** * Class \Magento\Captcha\Model\CaptchaFactory * - * @since 2.0.0 */ class CaptchaFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $formId * @return \Magento\Captcha\Model\CaptchaInterface * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($captchaType, $formId) { diff --git a/app/code/Magento/Captcha/Model/CaptchaInterface.php b/app/code/Magento/Captcha/Model/CaptchaInterface.php index 4806fc1e2d836..9ee81e4b19f50 100644 --- a/app/code/Magento/Captcha/Model/CaptchaInterface.php +++ b/app/code/Magento/Captcha/Model/CaptchaInterface.php @@ -11,7 +11,6 @@ * Captcha Model Interface * * @api - * @since 2.0.0 */ interface CaptchaInterface { @@ -20,7 +19,6 @@ interface CaptchaInterface * * @abstract * @return void - * @since 2.0.0 */ public function generate(); @@ -30,14 +28,12 @@ public function generate(); * @param string $word * @return bool * @abstract - * @since 2.0.0 */ public function isCorrect($word); /** * Get Block Name * @return string - * @since 2.0.0 */ public function getBlockName(); } diff --git a/app/code/Magento/Captcha/Model/Cart/ConfigPlugin.php b/app/code/Magento/Captcha/Model/Cart/ConfigPlugin.php index 05198231f3ccd..4fe0cef2d8fa9 100644 --- a/app/code/Magento/Captcha/Model/Cart/ConfigPlugin.php +++ b/app/code/Magento/Captcha/Model/Cart/ConfigPlugin.php @@ -8,19 +8,16 @@ /** * Class \Magento\Captcha\Model\Cart\ConfigPlugin * - * @since 2.0.0 */ class ConfigPlugin { /** * @var \Magento\Captcha\Model\Checkout\ConfigProvider - * @since 2.0.0 */ protected $configProvider; /** * @param \Magento\Captcha\Model\Checkout\ConfigProvider $configProvider - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Model\Checkout\ConfigProvider $configProvider @@ -34,7 +31,6 @@ public function __construct( * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterGetConfig(\Magento\Checkout\Block\Cart\Sidebar $subject, array $result) { diff --git a/app/code/Magento/Captcha/Model/Checkout/ConfigProvider.php b/app/code/Magento/Captcha/Model/Checkout/ConfigProvider.php index 4a6a94252424a..9cc579b7ffd79 100644 --- a/app/code/Magento/Captcha/Model/Checkout/ConfigProvider.php +++ b/app/code/Magento/Captcha/Model/Checkout/ConfigProvider.php @@ -8,25 +8,21 @@ /** * Class \Magento\Captcha\Model\Checkout\ConfigProvider * - * @since 2.0.0 */ class ConfigProvider implements \Magento\Checkout\Model\ConfigProviderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $captchaData; /** * @var array - * @since 2.0.0 */ protected $formIds; @@ -34,7 +30,6 @@ class ConfigProvider implements \Magento\Checkout\Model\ConfigProviderInterface * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Captcha\Helper\Data $captchaData * @param array $formIds - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -48,7 +43,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfig() { @@ -70,7 +64,6 @@ public function getConfig() * * @param string $formId * @return bool - * @since 2.0.0 */ protected function isCaseSensitive($formId) { @@ -82,7 +75,6 @@ protected function isCaseSensitive($formId) * * @param string $formId * @return int - * @since 2.0.0 */ protected function getImageHeight($formId) { @@ -94,7 +86,6 @@ protected function getImageHeight($formId) * * @param string $formId * @return string - * @since 2.0.0 */ protected function getImageSrc($formId) { @@ -110,7 +101,6 @@ protected function getImageSrc($formId) * Returns URL to controller action which returns new captcha image * * @return string - * @since 2.0.0 */ protected function getRefreshUrl() { @@ -123,7 +113,6 @@ protected function getRefreshUrl() * * @param string $formId * @return bool - * @since 2.0.0 */ protected function isRequired($formId) { @@ -135,7 +124,6 @@ protected function isRequired($formId) * * @param string $formId * @return \Magento\Captcha\Model\CaptchaInterface - * @since 2.0.0 */ protected function getCaptchaModel($formId) { diff --git a/app/code/Magento/Captcha/Model/Config/Font.php b/app/code/Magento/Captcha/Model/Config/Font.php index 6ae79f1689f8c..956cb0d7c9cf1 100644 --- a/app/code/Magento/Captcha/Model/Config/Font.php +++ b/app/code/Magento/Captcha/Model/Config/Font.php @@ -14,7 +14,6 @@ /** * Class \Magento\Captcha\Model\Config\Font * - * @since 2.0.0 */ class Font implements \Magento\Framework\Option\ArrayInterface { @@ -22,13 +21,11 @@ class Font implements \Magento\Framework\Option\ArrayInterface * Captcha data * * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_captchaData = null; /** * @param \Magento\Captcha\Helper\Data $captchaData - * @since 2.0.0 */ public function __construct(\Magento\Captcha\Helper\Data $captchaData) { @@ -39,7 +36,6 @@ public function __construct(\Magento\Captcha\Helper\Data $captchaData) * Get options for font selection field * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Captcha/Model/Config/Form/AbstractForm.php b/app/code/Magento/Captcha/Model/Config/Form/AbstractForm.php index 5b82f61ebbaf3..d33ea3a147e34 100644 --- a/app/code/Magento/Captcha/Model/Config/Form/AbstractForm.php +++ b/app/code/Magento/Captcha/Model/Config/Form/AbstractForm.php @@ -16,13 +16,11 @@ /** * Class \Magento\Captcha\Model\Config\Form\AbstractForm * - * @since 2.0.0 */ abstract class AbstractForm extends Value implements \Magento\Framework\Option\ArrayInterface { /** * @var string - * @since 2.0.0 */ protected $_configPath; @@ -30,7 +28,6 @@ abstract class AbstractForm extends Value implements \Magento\Framework\Option\A * Returns options for form multiselect * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Captcha/Model/Config/Form/Backend.php b/app/code/Magento/Captcha/Model/Config/Form/Backend.php index 78a837fde304b..6b49a7cd4b613 100644 --- a/app/code/Magento/Captcha/Model/Config/Form/Backend.php +++ b/app/code/Magento/Captcha/Model/Config/Form/Backend.php @@ -14,13 +14,11 @@ /** * Class \Magento\Captcha\Model\Config\Form\Backend * - * @since 2.0.0 */ class Backend extends \Magento\Captcha\Model\Config\Form\AbstractForm { /** * @var string - * @since 2.0.0 */ protected $_configPath = 'captcha/backend/areas'; } diff --git a/app/code/Magento/Captcha/Model/Config/Form/Frontend.php b/app/code/Magento/Captcha/Model/Config/Form/Frontend.php index 3c53c1acdef96..9a4c54452ea6a 100644 --- a/app/code/Magento/Captcha/Model/Config/Form/Frontend.php +++ b/app/code/Magento/Captcha/Model/Config/Form/Frontend.php @@ -14,13 +14,11 @@ /** * Class \Magento\Captcha\Model\Config\Form\Frontend * - * @since 2.0.0 */ class Frontend extends \Magento\Captcha\Model\Config\Form\AbstractForm { /** * @var string - * @since 2.0.0 */ protected $_configPath = 'captcha/frontend/areas'; } diff --git a/app/code/Magento/Captcha/Model/Config/Mode.php b/app/code/Magento/Captcha/Model/Config/Mode.php index 31f5e58567c66..a211a1c5d1836 100644 --- a/app/code/Magento/Captcha/Model/Config/Mode.php +++ b/app/code/Magento/Captcha/Model/Config/Mode.php @@ -14,7 +14,6 @@ /** * Class \Magento\Captcha\Model\Config\Mode * - * @since 2.0.0 */ class Mode implements \Magento\Framework\Option\ArrayInterface { @@ -22,7 +21,6 @@ class Mode implements \Magento\Framework\Option\ArrayInterface * Get options for captcha mode selection field * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php index 5bdec5e5b1952..33a493c796ab4 100644 --- a/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php +++ b/app/code/Magento/Captcha/Model/Customer/Plugin/AjaxLogin.php @@ -12,25 +12,21 @@ /** * Class \Magento\Captcha\Model\Customer\Plugin\AjaxLogin * - * @since 2.0.0 */ class AjaxLogin { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $helper; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $sessionManager; /** * @var JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -42,7 +38,6 @@ class AjaxLogin /** * @var array - * @since 2.0.0 */ protected $formIds; @@ -53,7 +48,6 @@ class AjaxLogin * @param array $formIds * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( CaptchaHelper $helper, @@ -76,7 +70,6 @@ public function __construct( * @return $this * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function aroundExecute( \Magento\Customer\Controller\Ajax\Login $subject, diff --git a/app/code/Magento/Captcha/Model/DefaultModel.php b/app/code/Magento/Captcha/Model/DefaultModel.php index 1986a6392a9a5..2cb276a7349de 100644 --- a/app/code/Magento/Captcha/Model/DefaultModel.php +++ b/app/code/Magento/Captcha/Model/DefaultModel.php @@ -9,7 +9,6 @@ * Implementation of \Zend\Captcha\Image * * @api - * @since 2.0.0 */ class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model\CaptchaInterface { @@ -82,7 +81,6 @@ class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model * @param ResourceModel\LogFactory $resLogFactory * @param string $formId * @throws \Zend\Captcha\Exception\ExtensionNotLoadedException - * @since 2.0.0 */ public function __construct( \Magento\Framework\Session\SessionManagerInterface $session, @@ -113,7 +111,6 @@ private function getFormIdKey($key) * Get Block Name * * @return string - * @since 2.0.0 */ public function getBlockName() { @@ -125,7 +122,6 @@ public function getBlockName() * * @param null|string $login * @return bool - * @since 2.0.0 */ public function isRequired($login = null) { @@ -149,7 +145,6 @@ public function isRequired($login = null) * Check if CAPTCHA has to be shown to logged in user on this form * * @return bool - * @since 2.0.0 */ public function isShownToLoggedInUser() { @@ -239,7 +234,6 @@ private function isUserAuth() * Whether to respect case while checking the answer * * @return bool - * @since 2.0.0 */ public function isCaseSensitive() { @@ -250,7 +244,6 @@ public function isCaseSensitive() * Get font to use when generating captcha * * @return string - * @since 2.0.0 */ public function getFont() { @@ -271,7 +264,6 @@ public function getFont() * After this time isCorrect() is going to return FALSE even if word was guessed correctly * * @return int - * @since 2.0.0 */ public function getExpiration() { @@ -289,7 +281,6 @@ public function getExpiration() * Get timeout for session token * * @return int - * @since 2.0.0 */ public function getTimeout() { @@ -300,7 +291,6 @@ public function getTimeout() * Get captcha image directory * * @return string - * @since 2.0.0 */ public function getImgDir() { @@ -311,7 +301,6 @@ public function getImgDir() * Get captcha image base URL * * @return string - * @since 2.0.0 */ public function getImgUrl() { @@ -323,7 +312,6 @@ public function getImgUrl() * * @param string $word * @return bool - * @since 2.0.0 */ public function isCorrect($word) { @@ -345,7 +333,6 @@ public function isCorrect($word) * Return full URL to captcha image * * @return string - * @since 2.0.0 */ public function getImgSrc() { @@ -357,7 +344,6 @@ public function getImgSrc() * * @param string $login * @return $this - * @since 2.0.0 */ public function logAttempt($login) { @@ -502,7 +488,6 @@ private function getTargetForms() * Get captcha word * * @return string - * @since 2.0.0 */ public function getWord() { diff --git a/app/code/Magento/Captcha/Model/ResourceModel/Log.php b/app/code/Magento/Captcha/Model/ResourceModel/Log.php index 06d518be9860b..95b7d3a5a0a03 100644 --- a/app/code/Magento/Captcha/Model/ResourceModel/Log.php +++ b/app/code/Magento/Captcha/Model/ResourceModel/Log.php @@ -9,7 +9,6 @@ * Log Attempts resource * * @author Magento Core Team - * @since 2.0.0 */ class Log extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -27,13 +26,11 @@ class Log extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core Date * * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $_coreDate; /** * @var \Magento\Framework\HTTP\PhpEnvironment\RemoteAddress - * @since 2.0.0 */ protected $_remoteAddress; @@ -42,7 +39,6 @@ class Log extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Stdlib\DateTime\DateTime $coreDate * @param \Magento\Framework\HTTP\PhpEnvironment\RemoteAddress $remoteAddress * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -72,7 +67,6 @@ protected function _construct() * @param string|null $login * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function logAttempt($login) { @@ -110,7 +104,6 @@ public function logAttempt($login) * @param string $login * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteUserAttempts($login) { @@ -136,7 +129,6 @@ public function deleteUserAttempts($login) * * @return null|int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function countAttemptsByRemoteAddress() { @@ -164,7 +156,6 @@ public function countAttemptsByRemoteAddress() * @param string $login * @return null|int * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function countAttemptsByUserLogin($login) { @@ -190,7 +181,6 @@ public function countAttemptsByUserLogin($login) * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteOldAttempts() { diff --git a/app/code/Magento/Captcha/Observer/CaptchaStringResolver.php b/app/code/Magento/Captcha/Observer/CaptchaStringResolver.php index 35985c06ae537..60f1753cf6a08 100644 --- a/app/code/Magento/Captcha/Observer/CaptchaStringResolver.php +++ b/app/code/Magento/Captcha/Observer/CaptchaStringResolver.php @@ -8,7 +8,6 @@ /** * Class \Magento\Captcha\Observer\CaptchaStringResolver * - * @since 2.0.0 */ class CaptchaStringResolver { @@ -18,7 +17,6 @@ class CaptchaStringResolver * @param \Magento\Framework\App\RequestInterface $request * @param string $formId * @return string - * @since 2.0.0 */ public function resolve(\Magento\Framework\App\RequestInterface $request, $formId) { diff --git a/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php b/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php index d903cd173a731..561377243267e 100644 --- a/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckContactUsFormObserver.php @@ -12,37 +12,31 @@ /** * Class \Magento\Captcha\Observer\CheckContactUsFormObserver * - * @since 2.0.0 */ class CheckContactUsFormObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Framework\App\Response\RedirectInterface - * @since 2.0.0 */ protected $redirect; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; @@ -58,7 +52,6 @@ class CheckContactUsFormObserver implements ObserverInterface * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\Framework\App\Response\RedirectInterface $redirect * @param CaptchaStringResolver $captchaStringResolver - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -79,7 +72,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckForgotpasswordObserver.php b/app/code/Magento/Captcha/Observer/CheckForgotpasswordObserver.php index a69afe0ff46e3..bbfc9e7890b43 100644 --- a/app/code/Magento/Captcha/Observer/CheckForgotpasswordObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckForgotpasswordObserver.php @@ -10,37 +10,31 @@ /** * Class \Magento\Captcha\Observer\CheckForgotpasswordObserver * - * @since 2.0.0 */ class CheckForgotpasswordObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Framework\App\Response\RedirectInterface - * @since 2.0.0 */ protected $redirect; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; @@ -50,7 +44,6 @@ class CheckForgotpasswordObserver implements ObserverInterface * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\Framework\App\Response\RedirectInterface $redirect * @param CaptchaStringResolver $captchaStringResolver - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -71,7 +64,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckGuestCheckoutObserver.php b/app/code/Magento/Captcha/Observer/CheckGuestCheckoutObserver.php index 0ce8dcb91653d..86e2f6ff8779e 100644 --- a/app/code/Magento/Captcha/Observer/CheckGuestCheckoutObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckGuestCheckoutObserver.php @@ -10,37 +10,31 @@ /** * Class \Magento\Captcha\Observer\CheckGuestCheckoutObserver * - * @since 2.0.0 */ class CheckGuestCheckoutObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; /** * @var \Magento\Checkout\Model\Type\Onepage - * @since 2.0.0 */ protected $_typeOnepage; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -50,7 +44,6 @@ class CheckGuestCheckoutObserver implements ObserverInterface * @param CaptchaStringResolver $captchaStringResolver * @param \Magento\Checkout\Model\Type\Onepage $typeOnepage * @param \Magento\Framework\Json\Helper\Data $jsonHelper - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -71,7 +64,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckRegisterCheckoutObserver.php b/app/code/Magento/Captcha/Observer/CheckRegisterCheckoutObserver.php index f37f7956fc8de..febe911675d0a 100644 --- a/app/code/Magento/Captcha/Observer/CheckRegisterCheckoutObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckRegisterCheckoutObserver.php @@ -10,37 +10,31 @@ /** * Class \Magento\Captcha\Observer\CheckRegisterCheckoutObserver * - * @since 2.0.0 */ class CheckRegisterCheckoutObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; /** * @var \Magento\Checkout\Model\Type\Onepage - * @since 2.0.0 */ protected $_typeOnepage; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -50,7 +44,6 @@ class CheckRegisterCheckoutObserver implements ObserverInterface * @param CaptchaStringResolver $captchaStringResolver * @param \Magento\Checkout\Model\Type\Onepage $typeOnepage * @param \Magento\Framework\Json\Helper\Data $jsonHelper - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -71,7 +64,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckUserCreateObserver.php b/app/code/Magento/Captcha/Observer/CheckUserCreateObserver.php index 7f724898e3688..bf307c758d5a3 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserCreateObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserCreateObserver.php @@ -10,50 +10,42 @@ /** * Class \Magento\Captcha\Observer\CheckUserCreateObserver * - * @since 2.0.0 */ class CheckUserCreateObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $_session; /** * * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_urlManager; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; /** * @var \Magento\Framework\App\Response\RedirectInterface - * @since 2.0.0 */ protected $redirect; @@ -65,7 +57,6 @@ class CheckUserCreateObserver implements ObserverInterface * @param \Magento\Framework\UrlInterface $urlManager * @param \Magento\Framework\App\Response\RedirectInterface $redirect * @param CaptchaStringResolver $captchaStringResolver - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -90,7 +81,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckUserForgotPasswordBackendObserver.php b/app/code/Magento/Captcha/Observer/CheckUserForgotPasswordBackendObserver.php index cdcd4efe608cd..b3a0f2468eb6f 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserForgotPasswordBackendObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserForgotPasswordBackendObserver.php @@ -10,37 +10,31 @@ /** * Class \Magento\Captcha\Observer\CheckUserForgotPasswordBackendObserver * - * @since 2.0.0 */ class CheckUserForgotPasswordBackendObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; @@ -50,7 +44,6 @@ class CheckUserForgotPasswordBackendObserver implements ObserverInterface * @param \Magento\Framework\Session\SessionManagerInterface $session * @param \Magento\Framework\App\ActionFlag $actionFlag * @param \Magento\Framework\Message\ManagerInterface $messageManager - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -72,7 +65,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @throws \Magento\Framework\Exception\Plugin\AuthenticationException * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/CheckUserLoginBackendObserver.php b/app/code/Magento/Captcha/Observer/CheckUserLoginBackendObserver.php index d947a56683f3e..1ebb60226a6f4 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserLoginBackendObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserLoginBackendObserver.php @@ -11,25 +11,21 @@ /** * Class \Magento\Captcha\Observer\CheckUserLoginBackendObserver * - * @since 2.0.0 */ class CheckUserLoginBackendObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $_request; @@ -37,7 +33,6 @@ class CheckUserLoginBackendObserver implements ObserverInterface * @param \Magento\Captcha\Helper\Data $helper * @param CaptchaStringResolver $captchaStringResolver * @param \Magento\Framework\App\RequestInterface $request - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -55,7 +50,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @throws \Magento\Framework\Exception\Plugin\AuthenticationException * @return $this - * @since 2.0.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 1d876013a74f6..5ac210316dd1e 100644 --- a/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php +++ b/app/code/Magento/Captcha/Observer/CheckUserLoginObserver.php @@ -12,37 +12,31 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CheckUserLoginObserver implements ObserverInterface { /** * @var \Magento\Captcha\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $_session; /** * @var CaptchaStringResolver - * @since 2.0.0 */ protected $captchaStringResolver; @@ -50,7 +44,6 @@ class CheckUserLoginObserver implements ObserverInterface * Customer data * * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -75,7 +68,6 @@ class CheckUserLoginObserver implements ObserverInterface * @param \Magento\Framework\Session\SessionManagerInterface $customerSession * @param CaptchaStringResolver $captchaStringResolver * @param \Magento\Customer\Model\Url $customerUrl - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Helper\Data $helper, @@ -135,7 +127,6 @@ private function getAuthentication() * @param \Magento\Framework\Event\Observer $observer * @throws NoSuchEntityException * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/ResetAttemptForBackendObserver.php b/app/code/Magento/Captcha/Observer/ResetAttemptForBackendObserver.php index 20d7319b3b431..d96b72ca9c093 100644 --- a/app/code/Magento/Captcha/Observer/ResetAttemptForBackendObserver.php +++ b/app/code/Magento/Captcha/Observer/ResetAttemptForBackendObserver.php @@ -10,19 +10,16 @@ /** * Class \Magento\Captcha\Observer\ResetAttemptForBackendObserver * - * @since 2.0.0 */ class ResetAttemptForBackendObserver implements ObserverInterface { /** * @var \Magento\Captcha\Model\ResourceModel\LogFactory - * @since 2.2.0 */ public $resLogFactory; /** * @param \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory @@ -35,7 +32,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Captcha\Observer\ResetAttemptForBackendObserver - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendObserver.php b/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendObserver.php index 1d5eaca6f1f02..71ae80a93b528 100644 --- a/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendObserver.php +++ b/app/code/Magento/Captcha/Observer/ResetAttemptForFrontendObserver.php @@ -10,19 +10,16 @@ /** * Class \Magento\Captcha\Observer\ResetAttemptForFrontendObserver * - * @since 2.0.0 */ class ResetAttemptForFrontendObserver implements ObserverInterface { /** * @var \Magento\Captcha\Model\ResourceModel\LogFactory - * @since 2.0.0 */ public $resLogFactory; /** * @param \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory - * @since 2.0.0 */ public function __construct( \Magento\Captcha\Model\ResourceModel\LogFactory $resLogFactory @@ -35,7 +32,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Captcha\Observer\ResetAttemptForFrontendObserver - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Captcha/Setup/InstallSchema.php b/app/code/Magento/Captcha/Setup/InstallSchema.php index 553ce168116c4..23452d0e37ddc 100644 --- a/app/code/Magento/Captcha/Setup/InstallSchema.php +++ b/app/code/Magento/Captcha/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Catalog/Api/AttributeSetManagementInterface.php b/app/code/Magento/Catalog/Api/AttributeSetManagementInterface.php index f9634fc46b736..3a76e1aeb5ff8 100644 --- a/app/code/Magento/Catalog/Api/AttributeSetManagementInterface.php +++ b/app/code/Magento/Catalog/Api/AttributeSetManagementInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface AttributeSetManagementInterface { @@ -20,7 +19,6 @@ interface AttributeSetManagementInterface * @return \Magento\Eav\Api\Data\AttributeSetInterface * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function create(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet, $skeletonId); } diff --git a/app/code/Magento/Catalog/Api/AttributeSetRepositoryInterface.php b/app/code/Magento/Catalog/Api/AttributeSetRepositoryInterface.php index 6b5f9dec1ac0f..34bfe4dea6075 100644 --- a/app/code/Magento/Catalog/Api/AttributeSetRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/AttributeSetRepositoryInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface AttributeSetRepositoryInterface { @@ -20,7 +19,6 @@ interface AttributeSetRepositoryInterface * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException If attribute set is not found - * @since 2.0.0 */ public function save(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet); @@ -29,7 +27,6 @@ public function save(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet); * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Eav\Api\Data\AttributeSetSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -39,7 +36,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param int $attributeSetId * @throws \Magento\Framework\Exception\NoSuchEntityException If $attributeSetId is not found * @return \Magento\Eav\Api\Data\AttributeSetInterface - * @since 2.0.0 */ public function get($attributeSetId); @@ -50,7 +46,6 @@ public function get($attributeSetId); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function delete(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet); @@ -61,7 +56,6 @@ public function delete(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function deleteById($attributeSetId); } diff --git a/app/code/Magento/Catalog/Api/CategoryAttributeOptionManagementInterface.php b/app/code/Magento/Catalog/Api/CategoryAttributeOptionManagementInterface.php index f21d7c264e036..a2b4f2d2f2b21 100644 --- a/app/code/Magento/Catalog/Api/CategoryAttributeOptionManagementInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryAttributeOptionManagementInterface.php @@ -9,7 +9,6 @@ /** * Interface RepositoryInterface must be implemented in new model * @api - * @since 2.0.0 */ interface CategoryAttributeOptionManagementInterface { @@ -20,7 +19,6 @@ interface CategoryAttributeOptionManagementInterface * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\InputException * @return \Magento\Eav\Api\Data\AttributeOptionInterface[] - * @since 2.0.0 */ public function getItems($attributeCode); } diff --git a/app/code/Magento/Catalog/Api/CategoryAttributeRepositoryInterface.php b/app/code/Magento/Catalog/Api/CategoryAttributeRepositoryInterface.php index 1457a2bd9c1f3..32f4d81d6457b 100644 --- a/app/code/Magento/Catalog/Api/CategoryAttributeRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryAttributeRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Interface RepositoryInterface must be implemented in new model * @api - * @since 2.0.0 */ interface CategoryAttributeRepositoryInterface extends \Magento\Framework\Api\MetadataServiceInterface { @@ -18,7 +17,6 @@ interface CategoryAttributeRepositoryInterface extends \Magento\Framework\Api\Me * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Catalog\Api\Data\CategoryAttributeSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -27,7 +25,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * * @param string $attributeCode * @return \Magento\Catalog\Api\Data\CategoryAttributeInterface - * @since 2.0.0 */ public function get($attributeCode); } diff --git a/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php b/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php index d99b26ad6f339..e132ff8251c06 100644 --- a/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryLinkManagementInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryLinkManagementInterface { @@ -17,7 +16,6 @@ interface CategoryLinkManagementInterface * * @param int $categoryId * @return \Magento\Catalog\Api\Data\CategoryProductLinkInterface[] - * @since 2.0.0 */ public function getAssignedProducts($categoryId); diff --git a/app/code/Magento/Catalog/Api/CategoryLinkRepositoryInterface.php b/app/code/Magento/Catalog/Api/CategoryLinkRepositoryInterface.php index 22cbda9c12a55..81d705939a73c 100644 --- a/app/code/Magento/Catalog/Api/CategoryLinkRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryLinkRepositoryInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryLinkRepositoryInterface { @@ -21,7 +20,6 @@ interface CategoryLinkRepositoryInterface * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $productLink); @@ -33,7 +31,6 @@ public function save(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $pro * * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $productLink); @@ -46,7 +43,6 @@ public function delete(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $p * * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function deleteByIds($categoryId, $sku); } diff --git a/app/code/Magento/Catalog/Api/CategoryManagementInterface.php b/app/code/Magento/Catalog/Api/CategoryManagementInterface.php index 4d4e0f0df4c23..abd89b739dbba 100644 --- a/app/code/Magento/Catalog/Api/CategoryManagementInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryManagementInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryManagementInterface { @@ -20,7 +19,6 @@ interface CategoryManagementInterface * @param int $depth * @throws \Magento\Framework\Exception\NoSuchEntityException If ID is not found * @return \Magento\Catalog\Api\Data\CategoryTreeInterface containing Tree objects - * @since 2.0.0 */ public function getTree($rootCategoryId = null, $depth = null); @@ -33,7 +31,6 @@ public function getTree($rootCategoryId = null, $depth = null); * @return bool * @throws \Magento\Framework\Exception\LocalizedException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function move($categoryId, $parentId, $afterId = null); @@ -41,7 +38,6 @@ public function move($categoryId, $parentId, $afterId = null); * Provide the number of category count * * @return int - * @since 2.0.0 */ public function getCount(); } diff --git a/app/code/Magento/Catalog/Api/CategoryRepositoryInterface.php b/app/code/Magento/Catalog/Api/CategoryRepositoryInterface.php index 544281e0eee7c..262b3761bea9a 100644 --- a/app/code/Magento/Catalog/Api/CategoryRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/CategoryRepositoryInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryRepositoryInterface { @@ -19,7 +18,6 @@ interface CategoryRepositoryInterface * @param \Magento\Catalog\Api\Data\CategoryInterface $category * @return \Magento\Catalog\Api\Data\CategoryInterface * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\CategoryInterface $category); @@ -30,7 +28,6 @@ public function save(\Magento\Catalog\Api\Data\CategoryInterface $category); * @param int $storeId * @return \Magento\Catalog\Api\Data\CategoryInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function get($categoryId, $storeId = null); @@ -42,7 +39,6 @@ public function get($categoryId, $storeId = null); * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category); @@ -54,7 +50,6 @@ public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category); * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function deleteByIdentifier($categoryId); } diff --git a/app/code/Magento/Catalog/Api/Data/CategoryAttributeInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryAttributeInterface.php index c43607595aa32..8573824a73006 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryAttributeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryAttributeInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryAttributeInterface extends \Magento\Catalog\Api\Data\EavAttributeInterface { diff --git a/app/code/Magento/Catalog/Api/Data/CategoryAttributeSearchResultsInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryAttributeSearchResultsInterface.php index 4258e9444906f..1400f04f2c7b0 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryAttributeSearchResultsInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryAttributeSearchResultsInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface CategoryAttributeSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -16,7 +15,6 @@ interface CategoryAttributeSearchResultsInterface extends \Magento\Framework\Api * Get attributes list. * * @return \Magento\Catalog\Api\Data\CategoryAttributeInterface[] - * @since 2.0.0 */ public function getItems(); @@ -25,7 +23,6 @@ public function getItems(); * * @param \Magento\Catalog\Api\Data\CategoryAttributeInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/CategoryInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryInterface.php index a934103074e3e..c0f836bc1430d 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryInterface.php @@ -10,20 +10,17 @@ /** * @api - * @since 2.0.0 */ interface CategoryInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { /** * @return int|null - * @since 2.0.0 */ public function getId(); /** * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -31,7 +28,6 @@ public function setId($id); * Get parent category ID * * @return int|null - * @since 2.0.0 */ public function getParentId(); @@ -40,7 +36,6 @@ public function getParentId(); * * @param int $parentId * @return $this - * @since 2.0.0 */ public function setParentId($parentId); @@ -48,7 +43,6 @@ public function setParentId($parentId); * Get category name * * @return string - * @since 2.0.0 */ public function getName(); @@ -57,7 +51,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -65,7 +58,6 @@ public function setName($name); * Check whether category is active * * @return bool|null - * @since 2.0.0 */ public function getIsActive(); @@ -74,7 +66,6 @@ public function getIsActive(); * * @param bool $isActive * @return $this - * @since 2.0.0 */ public function setIsActive($isActive); @@ -82,7 +73,6 @@ public function setIsActive($isActive); * Get category position * * @return int|null - * @since 2.0.0 */ public function getPosition(); @@ -91,7 +81,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -99,7 +88,6 @@ public function setPosition($position); * Get category level * * @return int|null - * @since 2.0.0 */ public function getLevel(); @@ -108,78 +96,66 @@ public function getLevel(); * * @param int $level * @return $this - * @since 2.0.0 */ public function setLevel($level); /** * @return string|null - * @since 2.0.0 */ public function getChildren(); /** * @return string|null - * @since 2.0.0 */ public function getCreatedAt(); /** * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt); /** * @return string|null - * @since 2.0.0 */ public function getUpdatedAt(); /** * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt); /** * @return string|null - * @since 2.0.0 */ public function getPath(); /** * @param string $path * @return $this - * @since 2.0.0 */ public function setPath($path); /** * @return string[]|null - * @since 2.0.0 */ public function getAvailableSortBy(); /** * @param string[]|string $availableSortBy * @return $this - * @since 2.0.0 */ public function setAvailableSortBy($availableSortBy); /** * @return bool|null - * @since 2.0.0 */ public function getIncludeInMenu(); /** * @param bool $includeInMenu * @return $this - * @since 2.0.0 */ public function setIncludeInMenu($includeInMenu); @@ -187,7 +163,6 @@ public function setIncludeInMenu($includeInMenu); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\CategoryExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -196,7 +171,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\CategoryExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\CategoryExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Catalog/Api/Data/CategoryProductLinkInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryProductLinkInterface.php index d8173b811c8d2..115d28c304933 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryProductLinkInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryProductLinkInterface.php @@ -10,33 +10,28 @@ /** * @api - * @since 2.0.0 */ interface CategoryProductLinkInterface extends ExtensibleDataInterface { /** * @return string|null - * @since 2.0.0 */ public function getSku(); /** * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); /** * @return int|null - * @since 2.0.0 */ public function getPosition(); /** * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -44,7 +39,6 @@ public function setPosition($position); * Get category id * * @return string - * @since 2.0.0 */ public function getCategoryId(); @@ -53,7 +47,6 @@ public function getCategoryId(); * * @param string $categoryId * @return $this - * @since 2.0.0 */ public function setCategoryId($categoryId); @@ -61,7 +54,6 @@ public function setCategoryId($categoryId); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -70,7 +62,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/CategoryTreeInterface.php b/app/code/Magento/Catalog/Api/Data/CategoryTreeInterface.php index c2506f586e51d..7c8814b7e73fb 100644 --- a/app/code/Magento/Catalog/Api/Data/CategoryTreeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CategoryTreeInterface.php @@ -9,20 +9,17 @@ /** * @api - * @since 2.0.0 */ interface CategoryTreeInterface { /** * @return int|null - * @since 2.0.0 */ public function getId(); /** * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -30,7 +27,6 @@ public function setId($id); * Get parent category ID * * @return int - * @since 2.0.0 */ public function getParentId(); @@ -39,7 +35,6 @@ public function getParentId(); * * @param int $parentId * @return $this - * @since 2.0.0 */ public function setParentId($parentId); @@ -47,7 +42,6 @@ public function setParentId($parentId); * Get category name * * @return string - * @since 2.0.0 */ public function getName(); @@ -56,7 +50,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -65,7 +58,6 @@ public function setName($name); * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsActive(); @@ -74,7 +66,6 @@ public function getIsActive(); * * @param bool $isActive * @return $this - * @since 2.0.0 */ public function setIsActive($isActive); @@ -82,7 +73,6 @@ public function setIsActive($isActive); * Get category position * * @return int - * @since 2.0.0 */ public function getPosition(); @@ -91,7 +81,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -99,7 +88,6 @@ public function setPosition($position); * Get category level * * @return int - * @since 2.0.0 */ public function getLevel(); @@ -108,7 +96,6 @@ public function getLevel(); * * @param int $level * @return $this - * @since 2.0.0 */ public function setLevel($level); @@ -116,7 +103,6 @@ public function setLevel($level); * Get product count * * @return int - * @since 2.0.0 */ public function getProductCount(); @@ -125,20 +111,17 @@ public function getProductCount(); * * @param int $productCount * @return $this - * @since 2.0.0 */ public function setProductCount($productCount); /** * @return \Magento\Catalog\Api\Data\CategoryTreeInterface[] - * @since 2.0.0 */ public function getChildrenData(); /** * @param \Magento\Catalog\Api\Data\CategoryTreeInterface[] $childrenData * @return $this - * @since 2.0.0 */ public function setChildrenData(array $childrenData = null); } diff --git a/app/code/Magento/Catalog/Api/Data/CustomOptionInterface.php b/app/code/Magento/Catalog/Api/Data/CustomOptionInterface.php index 293849d0031cc..f401ec11088b4 100644 --- a/app/code/Magento/Catalog/Api/Data/CustomOptionInterface.php +++ b/app/code/Magento/Catalog/Api/Data/CustomOptionInterface.php @@ -8,7 +8,6 @@ /** * Interface CustomOptionInterface * @api - * @since 2.0.0 */ interface CustomOptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -23,7 +22,6 @@ interface CustomOptionInterface extends \Magento\Framework\Api\ExtensibleDataInt * Get option id * * @return string - * @since 2.0.0 */ public function getOptionId(); @@ -32,7 +30,6 @@ public function getOptionId(); * * @param string $value * @return bool - * @since 2.0.0 */ public function setOptionId($value); @@ -40,7 +37,6 @@ public function setOptionId($value); * Get option value * * @return string - * @since 2.0.0 */ public function getOptionValue(); @@ -49,7 +45,6 @@ public function getOptionValue(); * * @param string $value * @return bool - * @since 2.0.0 */ public function setOptionValue($value); @@ -57,7 +52,6 @@ public function setOptionValue($value); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\CustomOptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -66,7 +60,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\CustomOptionExtensionInterface|null $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CustomOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php b/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php index ebd5b0ca03f7c..d4e735ad57b82 100644 --- a/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/EavAttributeInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface EavAttributeInterface extends \Magento\Eav\Api\Data\AttributeInterface { @@ -56,7 +55,6 @@ interface EavAttributeInterface extends \Magento\Eav\Api\Data\AttributeInterface * Enable WYSIWYG flag * * @return bool|null - * @since 2.0.0 */ public function getIsWysiwygEnabled(); @@ -65,7 +63,6 @@ public function getIsWysiwygEnabled(); * * @param bool $isWysiwygEnabled * @return $this - * @since 2.0.0 */ public function setIsWysiwygEnabled($isWysiwygEnabled); @@ -73,7 +70,6 @@ public function setIsWysiwygEnabled($isWysiwygEnabled); * Whether the HTML tags are allowed on the frontend * * @return bool|null - * @since 2.0.0 */ public function getIsHtmlAllowedOnFront(); @@ -82,7 +78,6 @@ public function getIsHtmlAllowedOnFront(); * * @param bool $isHtmlAllowedOnFront * @return $this - * @since 2.0.0 */ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront); @@ -90,7 +85,6 @@ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront); * Whether it is used for sorting in product listing * * @return bool|null - * @since 2.0.0 */ public function getUsedForSortBy(); @@ -99,7 +93,6 @@ public function getUsedForSortBy(); * * @param bool $usedForSortBy * @return $this - * @since 2.0.0 */ public function setUsedForSortBy($usedForSortBy); @@ -107,7 +100,6 @@ public function setUsedForSortBy($usedForSortBy); * Whether it used in layered navigation * * @return bool|null - * @since 2.0.0 */ public function getIsFilterable(); @@ -116,7 +108,6 @@ public function getIsFilterable(); * * @param bool $isFilterable * @return $this - * @since 2.0.0 */ public function setIsFilterable($isFilterable); @@ -124,7 +115,6 @@ public function setIsFilterable($isFilterable); * Whether it is used in search results layered navigation * * @return bool|null - * @since 2.0.0 */ public function getIsFilterableInSearch(); @@ -132,7 +122,6 @@ public function getIsFilterableInSearch(); * Whether it is used in catalog product grid * * @return bool|null - * @since 2.0.0 */ public function getIsUsedInGrid(); @@ -140,7 +129,6 @@ public function getIsUsedInGrid(); * Whether it is visible in catalog product grid * * @return bool|null - * @since 2.0.0 */ public function getIsVisibleInGrid(); @@ -148,7 +136,6 @@ public function getIsVisibleInGrid(); * Whether it is filterable in catalog product grid * * @return bool|null - * @since 2.0.0 */ public function getIsFilterableInGrid(); @@ -184,7 +171,6 @@ public function setIsFilterableInGrid($isFilterableInGrid); * * @param bool $isFilterableInSearch * @return $this - * @since 2.0.0 */ public function setIsFilterableInSearch($isFilterableInSearch); @@ -192,7 +178,6 @@ public function setIsFilterableInSearch($isFilterableInSearch); * Get position * * @return int|null - * @since 2.0.0 */ public function getPosition(); @@ -201,7 +186,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -218,7 +202,6 @@ public function setPosition($position); * - 'downloadable' * * @return string[]|null - * @since 2.0.0 */ public function getApplyTo(); @@ -227,7 +210,6 @@ public function getApplyTo(); * * @param string[]|string $applyTo * @return $this - * @since 2.0.0 */ public function setApplyTo($applyTo); @@ -235,7 +217,6 @@ public function setApplyTo($applyTo); * Whether the attribute can be used in Quick Search * * @return string|null - * @since 2.0.0 */ public function getIsSearchable(); @@ -244,7 +225,6 @@ public function getIsSearchable(); * * @param string $isSearchable * @return $this - * @since 2.0.0 */ public function setIsSearchable($isSearchable); @@ -252,7 +232,6 @@ public function setIsSearchable($isSearchable); * Whether the attribute can be used in Advanced Search * * @return string|null - * @since 2.0.0 */ public function getIsVisibleInAdvancedSearch(); @@ -261,7 +240,6 @@ public function getIsVisibleInAdvancedSearch(); * * @param string $isVisibleInAdvancedSearch * @return $this - * @since 2.0.0 */ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch); @@ -269,7 +247,6 @@ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch); * Whether the attribute can be compared on the frontend * * @return string|null - * @since 2.0.0 */ public function getIsComparable(); @@ -278,7 +255,6 @@ public function getIsComparable(); * * @param string $isComparable * @return $this - * @since 2.0.0 */ public function setIsComparable($isComparable); @@ -286,7 +262,6 @@ public function setIsComparable($isComparable); * Whether the attribute can be used for promo rules * * @return string|null - * @since 2.0.0 */ public function getIsUsedForPromoRules(); @@ -295,7 +270,6 @@ public function getIsUsedForPromoRules(); * * @param string $isUsedForPromoRules * @return $this - * @since 2.0.0 */ public function setIsUsedForPromoRules($isUsedForPromoRules); @@ -303,7 +277,6 @@ public function setIsUsedForPromoRules($isUsedForPromoRules); * Whether the attribute is visible on the frontend * * @return string|null - * @since 2.0.0 */ public function getIsVisibleOnFront(); @@ -312,7 +285,6 @@ public function getIsVisibleOnFront(); * * @param string $isVisibleOnFront * @return $this - * @since 2.0.0 */ public function setIsVisibleOnFront($isVisibleOnFront); @@ -320,7 +292,6 @@ public function setIsVisibleOnFront($isVisibleOnFront); * Whether the attribute can be used in product listing * * @return string|null - * @since 2.0.0 */ public function getUsedInProductListing(); @@ -329,7 +300,6 @@ public function getUsedInProductListing(); * * @param string $usedInProductListing * @return $this - * @since 2.0.0 */ public function setUsedInProductListing($usedInProductListing); @@ -337,7 +307,6 @@ public function setUsedInProductListing($usedInProductListing); * Whether attribute is visible on frontend. * * @return bool|null - * @since 2.0.0 */ public function getIsVisible(); @@ -346,7 +315,6 @@ public function getIsVisible(); * * @param bool $isVisible * @return $this - * @since 2.0.0 */ public function setIsVisible($isVisible); @@ -354,7 +322,6 @@ public function setIsVisible($isVisible); * Retrieve attribute scope * * @return string|null - * @since 2.0.0 */ public function getScope(); @@ -363,13 +330,11 @@ public function getScope(); * * @param string $scope * @return $this - * @since 2.0.0 */ public function setScope($scope); /** * @return \Magento\Catalog\Api\Data\EavAttributeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductAttributeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductAttributeInterface.php index 7113c73e37e20..fc10811f12329 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductAttributeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductAttributeInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeInterface extends \Magento\Catalog\Api\Data\EavAttributeInterface { diff --git a/app/code/Magento/Catalog/Api/Data/ProductAttributeMediaGalleryEntryInterface.php b/app/code/Magento/Catalog/Api/Data/ProductAttributeMediaGalleryEntryInterface.php index 891ae6e1978db..ebe519a3c366b 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductAttributeMediaGalleryEntryInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductAttributeMediaGalleryEntryInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeMediaGalleryEntryInterface extends ExtensibleDataInterface { @@ -28,7 +27,6 @@ interface ProductAttributeMediaGalleryEntryInterface extends ExtensibleDataInter * Retrieve gallery entry ID * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -37,7 +35,6 @@ public function getId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -45,7 +42,6 @@ public function setId($id); * Get media type * * @return string - * @since 2.0.0 */ public function getMediaType(); @@ -54,7 +50,6 @@ public function getMediaType(); * * @param string $mediaType * @return $this - * @since 2.0.0 */ public function setMediaType($mediaType); @@ -62,7 +57,6 @@ public function setMediaType($mediaType); * Retrieve gallery entry alternative text * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -71,7 +65,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -79,7 +72,6 @@ public function setLabel($label); * Retrieve gallery entry position (sort order) * * @return int - * @since 2.0.0 */ public function getPosition(); @@ -88,7 +80,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -96,7 +87,6 @@ public function setPosition($position); * Check if gallery entry is hidden from product page * * @return bool - * @since 2.0.0 */ public function isDisabled(); @@ -105,7 +95,6 @@ public function isDisabled(); * * @param bool $disabled * @return $this - * @since 2.0.0 */ public function setDisabled($disabled); @@ -113,7 +102,6 @@ public function setDisabled($disabled); * Retrieve gallery entry image types (thumbnail, image, small_image etc) * * @return string[] - * @since 2.0.0 */ public function getTypes(); @@ -122,7 +110,6 @@ public function getTypes(); * * @param string[] $types * @return $this - * @since 2.0.0 */ public function setTypes(array $types = null); @@ -130,7 +117,6 @@ public function setTypes(array $types = null); * Get file path * * @return string|null - * @since 2.0.0 */ public function getFile(); @@ -139,7 +125,6 @@ public function getFile(); * * @param string $file * @return $this - * @since 2.0.0 */ public function setFile($file); @@ -147,7 +132,6 @@ public function setFile($file); * Get media gallery content * * @return \Magento\Framework\Api\Data\ImageContentInterface|null - * @since 2.0.0 */ public function getContent(); @@ -156,7 +140,6 @@ public function getContent(); * * @param \Magento\Framework\Api\Data\ImageContentInterface $content * @return $this - * @since 2.0.0 */ public function setContent($content); @@ -164,7 +147,6 @@ public function setContent($content); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -173,7 +155,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductAttributeSearchResultsInterface.php b/app/code/Magento/Catalog/Api/Data/ProductAttributeSearchResultsInterface.php index 2a3457f524199..26627f7a86c42 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductAttributeSearchResultsInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductAttributeSearchResultsInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -16,7 +15,6 @@ interface ProductAttributeSearchResultsInterface extends \Magento\Framework\Api\ * Get attributes list. * * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] - * @since 2.0.0 */ public function getItems(); @@ -25,7 +23,6 @@ public function getItems(); * * @param \Magento\Catalog\Api\Data\ProductAttributeInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductAttributeTypeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductAttributeTypeInterface.php index 6701a443380ab..705b8d2ed3207 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductAttributeTypeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductAttributeTypeInterface.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeTypeInterface extends ExtensibleDataInterface { @@ -22,7 +21,6 @@ interface ProductAttributeTypeInterface extends ExtensibleDataInterface * Get value * * @return string - * @since 2.0.0 */ public function getValue(); @@ -31,7 +29,6 @@ public function getValue(); * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value); @@ -39,7 +36,6 @@ public function setValue($value); * Get type label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -48,7 +44,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -56,7 +51,6 @@ public function setLabel($label); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -65,7 +59,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionInterface.php b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionInterface.php index a05e5a3e3a134..c1610054e53db 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductCustomOptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -86,7 +85,6 @@ interface ProductCustomOptionInterface extends \Magento\Framework\Api\Extensible * Get product SKU * * @return string - * @since 2.0.0 */ public function getProductSku(); @@ -95,7 +93,6 @@ public function getProductSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setProductSku($sku); @@ -103,7 +100,6 @@ public function setProductSku($sku); * Get option id * * @return int|null - * @since 2.0.0 */ public function getOptionId(); @@ -112,7 +108,6 @@ public function getOptionId(); * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId); @@ -120,7 +115,6 @@ public function setOptionId($optionId); * Get option title * * @return string - * @since 2.0.0 */ public function getTitle(); @@ -129,7 +123,6 @@ public function getTitle(); * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title); @@ -137,7 +130,6 @@ public function setTitle($title); * Get option type * * @return string - * @since 2.0.0 */ public function getType(); @@ -146,7 +138,6 @@ public function getType(); * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type); @@ -154,7 +145,6 @@ public function setType($type); * Get sort order * * @return int - * @since 2.0.0 */ public function getSortOrder(); @@ -163,7 +153,6 @@ public function getSortOrder(); * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder); @@ -172,7 +161,6 @@ public function setSortOrder($sortOrder); * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsRequire(); @@ -181,7 +169,6 @@ public function getIsRequire(); * * @param bool $isRequired * @return $this - * @since 2.0.0 */ public function setIsRequire($isRequired); @@ -189,7 +176,6 @@ public function setIsRequire($isRequired); * Get price * * @return float|null - * @since 2.0.0 */ public function getPrice(); @@ -198,7 +184,6 @@ public function getPrice(); * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price); @@ -206,7 +191,6 @@ public function setPrice($price); * Get price type * * @return string|null - * @since 2.0.0 */ public function getPriceType(); @@ -215,7 +199,6 @@ public function getPriceType(); * * @param string $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType); @@ -223,7 +206,6 @@ public function setPriceType($priceType); * Get Sku * * @return string|null - * @since 2.0.0 */ public function getSku(); @@ -232,72 +214,61 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); /** * @return string|null - * @since 2.0.0 */ public function getFileExtension(); /** * @param string $fileExtension * @return $this - * @since 2.0.0 */ public function setFileExtension($fileExtension); /** * @return int|null - * @since 2.0.0 */ public function getMaxCharacters(); /** * @param int $maxCharacters * @return $this - * @since 2.0.0 */ public function setMaxCharacters($maxCharacters); /** * @return int|null - * @since 2.0.0 */ public function getImageSizeX(); /** * @param int $imageSizeX * @return $this - * @since 2.0.0 */ public function setImageSizeX($imageSizeX); /** * @return int|null - * @since 2.0.0 */ public function getImageSizeY(); /** * @param int $imageSizeY * @return $this - * @since 2.0.0 */ public function setImageSizeY($imageSizeY); /** * @return \Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface[]|null - * @since 2.0.0 */ public function getValues(); /** * @param \Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface[] $values * @return $this - * @since 2.0.0 */ public function setValues(array $values = null); @@ -305,7 +276,6 @@ public function setValues(array $values = null); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -314,7 +284,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionTypeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionTypeInterface.php index 2e45f33eaf2d9..89ecdc53ebd27 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionTypeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionTypeInterface.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ interface ProductCustomOptionTypeInterface extends ExtensibleDataInterface { @@ -18,7 +17,6 @@ interface ProductCustomOptionTypeInterface extends ExtensibleDataInterface * Get option type label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -27,7 +25,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -35,7 +32,6 @@ public function setLabel($label); * Get option type code * * @return string - * @since 2.0.0 */ public function getCode(); @@ -44,7 +40,6 @@ public function getCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code); @@ -52,7 +47,6 @@ public function setCode($code); * Get option type group * * @return string - * @since 2.0.0 */ public function getGroup(); @@ -61,7 +55,6 @@ public function getGroup(); * * @param string $group * @return $this - * @since 2.0.0 */ public function setGroup($group); @@ -69,7 +62,6 @@ public function setGroup($group); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -78,7 +70,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionValuesInterface.php b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionValuesInterface.php index b13f688aedb20..46aa214fb7101 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductCustomOptionValuesInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductCustomOptionValuesInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductCustomOptionValuesInterface { @@ -16,7 +15,6 @@ interface ProductCustomOptionValuesInterface * Get option title * * @return string - * @since 2.0.0 */ public function getTitle(); @@ -25,7 +23,6 @@ public function getTitle(); * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title); @@ -33,7 +30,6 @@ public function setTitle($title); * Get sort order * * @return int - * @since 2.0.0 */ public function getSortOrder(); @@ -42,7 +38,6 @@ public function getSortOrder(); * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder); @@ -50,7 +45,6 @@ public function setSortOrder($sortOrder); * Get price * * @return float - * @since 2.0.0 */ public function getPrice(); @@ -59,7 +53,6 @@ public function getPrice(); * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price); @@ -67,7 +60,6 @@ public function setPrice($price); * Get price type * * @return string - * @since 2.0.0 */ public function getPriceType(); @@ -76,7 +68,6 @@ public function getPriceType(); * * @param string $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType); @@ -84,7 +75,6 @@ public function setPriceType($priceType); * Get Sku * * @return string|null - * @since 2.0.0 */ public function getSku(); @@ -93,7 +83,6 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -101,7 +90,6 @@ public function setSku($sku); * Get Option type id * * @return int|null - * @since 2.0.0 */ public function getOptionTypeId(); @@ -110,7 +98,6 @@ public function getOptionTypeId(); * * @param int $optionTypeId * @return int|null - * @since 2.0.0 */ public function setOptionTypeId($optionTypeId); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductInterface.php b/app/code/Magento/Catalog/Api/Data/ProductInterface.php index 54652067b537f..8fc94246bec04 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface ProductInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -42,7 +41,6 @@ interface ProductInterface extends \Magento\Framework\Api\CustomAttributesDataIn * Product id * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -51,7 +49,6 @@ public function getId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -59,7 +56,6 @@ public function setId($id); * Product sku * * @return string - * @since 2.0.0 */ public function getSku(); @@ -68,7 +64,6 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -76,7 +71,6 @@ public function setSku($sku); * Product name * * @return string|null - * @since 2.0.0 */ public function getName(); @@ -85,7 +79,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -93,7 +86,6 @@ public function setName($name); * Product attribute set id * * @return int|null - * @since 2.0.0 */ public function getAttributeSetId(); @@ -102,7 +94,6 @@ public function getAttributeSetId(); * * @param int $attributeSetId * @return $this - * @since 2.0.0 */ public function setAttributeSetId($attributeSetId); @@ -110,7 +101,6 @@ public function setAttributeSetId($attributeSetId); * Product price * * @return float|null - * @since 2.0.0 */ public function getPrice(); @@ -119,7 +109,6 @@ public function getPrice(); * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price); @@ -127,7 +116,6 @@ public function setPrice($price); * Product status * * @return int|null - * @since 2.0.0 */ public function getStatus(); @@ -136,7 +124,6 @@ public function getStatus(); * * @param int $status * @return $this - * @since 2.0.0 */ public function setStatus($status); @@ -144,7 +131,6 @@ public function setStatus($status); * Product visibility * * @return int|null - * @since 2.0.0 */ public function getVisibility(); @@ -153,7 +139,6 @@ public function getVisibility(); * * @param int $visibility * @return $this - * @since 2.0.0 */ public function setVisibility($visibility); @@ -161,7 +146,6 @@ public function setVisibility($visibility); * Product type id * * @return string|null - * @since 2.0.0 */ public function getTypeId(); @@ -170,7 +154,6 @@ public function getTypeId(); * * @param string $typeId * @return $this - * @since 2.0.0 */ public function setTypeId($typeId); @@ -178,7 +161,6 @@ public function setTypeId($typeId); * Product created date * * @return string|null - * @since 2.0.0 */ public function getCreatedAt(); @@ -187,7 +169,6 @@ public function getCreatedAt(); * * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt); @@ -195,7 +176,6 @@ public function setCreatedAt($createdAt); * Product updated date * * @return string|null - * @since 2.0.0 */ public function getUpdatedAt(); @@ -204,7 +184,6 @@ public function getUpdatedAt(); * * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt); @@ -212,7 +191,6 @@ public function setUpdatedAt($updatedAt); * Product weight * * @return float|null - * @since 2.0.0 */ public function getWeight(); @@ -221,7 +199,6 @@ public function getWeight(); * * @param float $weight * @return $this - * @since 2.0.0 */ public function setWeight($weight); @@ -229,7 +206,6 @@ public function setWeight($weight); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -238,7 +214,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes); @@ -246,7 +221,6 @@ public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensio * Get product links info * * @return \Magento\Catalog\Api\Data\ProductLinkInterface[]|null - * @since 2.0.0 */ public function getProductLinks(); @@ -255,7 +229,6 @@ public function getProductLinks(); * * @param \Magento\Catalog\Api\Data\ProductLinkInterface[] $links * @return $this - * @since 2.0.0 */ public function setProductLinks(array $links = null); @@ -263,7 +236,6 @@ public function setProductLinks(array $links = null); * Get list of product options * * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface[]|null - * @since 2.0.0 */ public function getOptions(); @@ -272,7 +244,6 @@ public function getOptions(); * * @param \Magento\Catalog\Api\Data\ProductCustomOptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null); @@ -280,7 +251,6 @@ public function setOptions(array $options = null); * Get media gallery entries * * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface[]|null - * @since 2.0.0 */ public function getMediaGalleryEntries(); @@ -289,7 +259,6 @@ public function getMediaGalleryEntries(); * * @param \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface[] $mediaGalleryEntries * @return $this - * @since 2.0.0 */ public function setMediaGalleryEntries(array $mediaGalleryEntries = null); @@ -297,7 +266,6 @@ public function setMediaGalleryEntries(array $mediaGalleryEntries = null); * Gets list of product tier prices * * @return \Magento\Catalog\Api\Data\ProductTierPriceInterface[]|null - * @since 2.0.0 */ public function getTierPrices(); @@ -306,7 +274,6 @@ public function getTierPrices(); * * @param \Magento\Catalog\Api\Data\ProductTierPriceInterface[] $tierPrices * @return $this - * @since 2.0.0 */ public function setTierPrices(array $tierPrices = null); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductLinkAttributeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductLinkAttributeInterface.php index 9fd5713346496..40cfc32936375 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductLinkAttributeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductLinkAttributeInterface.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ interface ProductLinkAttributeInterface extends ExtensibleDataInterface { @@ -18,7 +17,6 @@ interface ProductLinkAttributeInterface extends ExtensibleDataInterface * Get attribute code * * @return string - * @since 2.0.0 */ public function getCode(); @@ -27,7 +25,6 @@ public function getCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code); @@ -35,7 +32,6 @@ public function setCode($code); * Get attribute type * * @return string - * @since 2.0.0 */ public function getType(); @@ -44,7 +40,6 @@ public function getType(); * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type); @@ -52,7 +47,6 @@ public function setType($type); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -61,7 +55,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductLinkInterface.php b/app/code/Magento/Catalog/Api/Data/ProductLinkInterface.php index d47182bb00efe..7966024cbbe5d 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductLinkInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductLinkInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductLinkInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -16,7 +15,6 @@ interface ProductLinkInterface extends \Magento\Framework\Api\ExtensibleDataInte * Get SKU * * @return string - * @since 2.0.0 */ public function getSku(); @@ -25,7 +23,6 @@ public function getSku(); * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -33,7 +30,6 @@ public function setSku($sku); * Get link type * * @return string - * @since 2.0.0 */ public function getLinkType(); @@ -42,7 +38,6 @@ public function getLinkType(); * * @param string $linkType * @return $this - * @since 2.0.0 */ public function setLinkType($linkType); @@ -50,7 +45,6 @@ public function setLinkType($linkType); * Get linked product sku * * @return string - * @since 2.0.0 */ public function getLinkedProductSku(); @@ -59,7 +53,6 @@ public function getLinkedProductSku(); * * @param string $linkedProductSku * @return $this - * @since 2.0.0 */ public function setLinkedProductSku($linkedProductSku); @@ -67,7 +60,6 @@ public function setLinkedProductSku($linkedProductSku); * Get linked product type (simple, virtual, etc) * * @return string - * @since 2.0.0 */ public function getLinkedProductType(); @@ -76,7 +68,6 @@ public function getLinkedProductType(); * * @param string $linkedProductType * @return $this - * @since 2.0.0 */ public function setLinkedProductType($linkedProductType); @@ -84,7 +75,6 @@ public function setLinkedProductType($linkedProductType); * Get linked item position * * @return int - * @since 2.0.0 */ public function getPosition(); @@ -93,7 +83,6 @@ public function getPosition(); * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); @@ -101,7 +90,6 @@ public function setPosition($position); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductLinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -110,7 +98,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductLinkExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductLinkTypeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductLinkTypeInterface.php index f03b9e6f9d3e5..c57c8348b0551 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductLinkTypeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductLinkTypeInterface.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ interface ProductLinkTypeInterface extends ExtensibleDataInterface { @@ -18,7 +17,6 @@ interface ProductLinkTypeInterface extends ExtensibleDataInterface * Get link type code * * @return int - * @since 2.0.0 */ public function getCode(); @@ -27,7 +25,6 @@ public function getCode(); * * @param int $code * @return $this - * @since 2.0.0 */ public function setCode($code); @@ -35,7 +32,6 @@ public function setCode($code); * Get link type name * * @return string - * @since 2.0.0 */ public function getName(); @@ -44,7 +40,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -52,7 +47,6 @@ public function setName($name); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -61,7 +55,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductOptionInterface.php b/app/code/Magento/Catalog/Api/Data/ProductOptionInterface.php index ab8269048cd77..ba1cfd9a1b198 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductOptionInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductOptionInterface.php @@ -10,7 +10,6 @@ /** * Product option interface * @api - * @since 2.0.0 */ interface ProductOptionInterface extends ExtensibleDataInterface { @@ -18,7 +17,6 @@ interface ProductOptionInterface extends ExtensibleDataInterface * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Catalog\Api\Data\ProductOptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -27,7 +25,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductOptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductSearchResultsInterface.php b/app/code/Magento/Catalog/Api/Data/ProductSearchResultsInterface.php index e7c4a63d128e1..dbaa093f0874d 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductSearchResultsInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductSearchResultsInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -16,7 +15,6 @@ interface ProductSearchResultsInterface extends \Magento\Framework\Api\SearchRes * Get attributes list. * * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.0.0 */ public function getItems(); @@ -25,7 +23,6 @@ public function getItems(); * * @param \Magento\Catalog\Api\Data\ProductInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Catalog/Api/Data/ProductTierPriceInterface.php b/app/code/Magento/Catalog/Api/Data/ProductTierPriceInterface.php index 482743d3d34f2..ff681be49be60 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductTierPriceInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductTierPriceInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface ProductTierPriceInterface extends ExtensibleDataInterface { @@ -25,7 +24,6 @@ interface ProductTierPriceInterface extends ExtensibleDataInterface * Retrieve customer group id * * @return int - * @since 2.0.0 */ public function getCustomerGroupId(); @@ -34,7 +32,6 @@ public function getCustomerGroupId(); * * @param int $customerGroupId * @return $this - * @since 2.0.0 */ public function setCustomerGroupId($customerGroupId); @@ -42,7 +39,6 @@ public function setCustomerGroupId($customerGroupId); * Retrieve tier qty * * @return float - * @since 2.0.0 */ public function getQty(); @@ -51,7 +47,6 @@ public function getQty(); * * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty); @@ -59,7 +54,6 @@ public function setQty($qty); * Retrieve price value * * @return float - * @since 2.0.0 */ public function getValue(); @@ -68,7 +62,6 @@ public function getValue(); * * @param float $value * @return $this - * @since 2.0.0 */ public function setValue($value); @@ -76,7 +69,6 @@ public function setValue($value); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductTierPriceExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -85,7 +77,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductTierPriceExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductTierPriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductTypeInterface.php b/app/code/Magento/Catalog/Api/Data/ProductTypeInterface.php index 52dfa1dae243d..dca8cd87192e2 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductTypeInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductTypeInterface.php @@ -11,7 +11,6 @@ /** * Product type details * @api - * @since 2.0.0 */ interface ProductTypeInterface extends ExtensibleDataInterface { @@ -19,7 +18,6 @@ interface ProductTypeInterface extends ExtensibleDataInterface * Get product type code * * @return string - * @since 2.0.0 */ public function getName(); @@ -28,7 +26,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -36,7 +33,6 @@ public function setName($name); * Get product type label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -45,7 +41,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -53,7 +48,6 @@ public function setLabel($label); * Retrieve existing extension attributes object. * * @return \Magento\Catalog\Api\Data\ProductTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -62,7 +56,6 @@ public function getExtensionAttributes(); * * @param \Magento\Catalog\Api\Data\ProductTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Api/Data/ProductWebsiteLinkInterface.php b/app/code/Magento/Catalog/Api/Data/ProductWebsiteLinkInterface.php index 2880c08ffcacf..9dd962f6c0326 100644 --- a/app/code/Magento/Catalog/Api/Data/ProductWebsiteLinkInterface.php +++ b/app/code/Magento/Catalog/Api/Data/ProductWebsiteLinkInterface.php @@ -8,20 +8,17 @@ /** * @api - * @since 2.0.0 */ interface ProductWebsiteLinkInterface { /** * @return string - * @since 2.0.0 */ public function getSku(); /** * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku); @@ -29,7 +26,6 @@ public function setSku($sku); * Get website ids * * @return int - * @since 2.0.0 */ public function getWebsiteId(); @@ -38,7 +34,6 @@ public function getWebsiteId(); * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeGroupRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeGroupRepositoryInterface.php index 0c04a462fd156..f63c95145de57 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeGroupRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeGroupRepositoryInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeGroupRepositoryInterface { @@ -17,7 +16,6 @@ interface ProductAttributeGroupRepositoryInterface * * @param \Magento\Eav\Api\Data\AttributeGroupInterface $group * @return \Magento\Eav\Api\Data\AttributeGroupInterface - * @since 2.0.0 */ public function save(\Magento\Eav\Api\Data\AttributeGroupInterface $group); @@ -27,7 +25,6 @@ public function save(\Magento\Eav\Api\Data\AttributeGroupInterface $group); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Eav\Api\Data\AttributeGroupSearchResultsInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -36,7 +33,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * * @param int $groupId * @return \Magento\Eav\Api\Data\AttributeGroupInterface - * @since 2.0.0 */ public function get($groupId); @@ -45,7 +41,6 @@ public function get($groupId); * * @param \Magento\Eav\Api\Data\AttributeGroupInterface $group * @return bool - * @since 2.0.0 */ public function delete(\Magento\Eav\Api\Data\AttributeGroupInterface $group); @@ -54,7 +49,6 @@ public function delete(\Magento\Eav\Api\Data\AttributeGroupInterface $group); * * @param int $groupId * @return bool - * @since 2.0.0 */ public function deleteById($groupId); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeManagementInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeManagementInterface.php index b7c746c1242cc..c89a60264b4fc 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeManagementInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeManagementInterface { @@ -22,7 +21,6 @@ interface ProductAttributeManagementInterface * @return int * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function assign($attributeSetId, $attributeGroupId, $attributeCode, $sortOrder); @@ -35,7 +33,6 @@ public function assign($attributeSetId, $attributeGroupId, $attributeCode, $sort * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException * @return bool - * @since 2.0.0 */ public function unassign($attributeSetId, $attributeCode); @@ -45,7 +42,6 @@ public function unassign($attributeSetId, $attributeCode); * @param string $attributeSetId * @throws \Magento\Framework\Exception\NoSuchEntityException If $attributeSetId is not found * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] - * @since 2.0.0 */ public function getAttributes($attributeSetId); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterface.php index 39c723e83a46e..496dced5d1709 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterface.php @@ -11,7 +11,6 @@ * @todo implement this interface as a \Magento\Catalog\Model\Product\Attribute\Media\GalleryManagement. * Move logic from service there. * @api - * @since 2.0.0 */ interface ProductAttributeMediaGalleryManagementInterface { @@ -24,7 +23,6 @@ interface ProductAttributeMediaGalleryManagementInterface * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function create( $sku, @@ -39,7 +37,6 @@ public function create( * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function update( $sku, @@ -54,7 +51,6 @@ public function update( * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function remove($sku, $entryId); @@ -65,7 +61,6 @@ public function remove($sku, $entryId); * @param int $entryId * @throws \Magento\Framework\Exception\NoSuchEntityException * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface - * @since 2.0.0 */ public function get($sku, $entryId); @@ -74,7 +69,6 @@ public function get($sku, $entryId); * * @param string $sku * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface[] - * @since 2.0.0 */ public function getList($sku); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeOptionManagementInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeOptionManagementInterface.php index 029637986bc84..79d9e349839ef 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeOptionManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeOptionManagementInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeOptionManagementInterface { @@ -19,7 +18,6 @@ interface ProductAttributeOptionManagementInterface * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\InputException * @return \Magento\Eav\Api\Data\AttributeOptionInterface[] - * @since 2.0.0 */ public function getItems($attributeCode); @@ -31,7 +29,6 @@ public function getItems($attributeCode); * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function add($attributeCode, $option); @@ -44,7 +41,6 @@ public function add($attributeCode, $option); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function delete($attributeCode, $optionId); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeRepositoryInterface.php index 819df9acfba5f..43ca17b788b27 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Interface RepositoryInterface must be implemented in new model * @api - * @since 2.0.0 */ interface ProductAttributeRepositoryInterface extends \Magento\Framework\Api\MetadataServiceInterface { @@ -18,7 +17,6 @@ interface ProductAttributeRepositoryInterface extends \Magento\Framework\Api\Met * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Catalog\Api\Data\ProductAttributeSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -28,7 +26,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param string $attributeCode * @return \Magento\Catalog\Api\Data\ProductAttributeInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function get($attributeCode); @@ -40,7 +37,6 @@ public function get($attributeCode); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute); @@ -51,7 +47,6 @@ public function save(\Magento\Catalog\Api\Data\ProductAttributeInterface $attrib * @return bool True if the entity was deleted (always true) * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute); @@ -62,7 +57,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductAttributeInterface $attr * @return bool * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function deleteById($attributeCode); } diff --git a/app/code/Magento/Catalog/Api/ProductAttributeTypesListInterface.php b/app/code/Magento/Catalog/Api/ProductAttributeTypesListInterface.php index c2b0a684ae1cc..87a6727235372 100644 --- a/app/code/Magento/Catalog/Api/ProductAttributeTypesListInterface.php +++ b/app/code/Magento/Catalog/Api/ProductAttributeTypesListInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductAttributeTypesListInterface { @@ -16,7 +15,6 @@ interface ProductAttributeTypesListInterface * Retrieve list of product attribute types * * @return \Magento\Catalog\Api\Data\ProductAttributeTypeInterface[] - * @since 2.0.0 */ public function getItems(); } diff --git a/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php index e6b58a6f15d96..4367332224538 100644 --- a/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductCustomOptionRepositoryInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductCustomOptionRepositoryInterface { @@ -17,7 +16,6 @@ interface ProductCustomOptionRepositoryInterface * * @param string $sku * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface[] - * @since 2.0.0 */ public function getList($sku); @@ -38,7 +36,6 @@ public function getProductOptions( * @param string $sku * @param int $optionId * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface - * @since 2.0.0 */ public function get($sku, $optionId); @@ -47,7 +44,6 @@ public function get($sku, $optionId); * * @param \Magento\Catalog\Api\Data\ProductCustomOptionInterface $option * @return bool - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $option); @@ -69,7 +65,6 @@ public function duplicate( * * @param \Magento\Catalog\Api\Data\ProductCustomOptionInterface $option * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $option); @@ -77,7 +72,6 @@ public function save(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $opt * @param string $sku * @param int $optionId * @return bool - * @since 2.0.0 */ public function deleteByIdentifier($sku, $optionId); } diff --git a/app/code/Magento/Catalog/Api/ProductCustomOptionTypeListInterface.php b/app/code/Magento/Catalog/Api/ProductCustomOptionTypeListInterface.php index 8c2ce79b18f7f..145b9596ab82b 100644 --- a/app/code/Magento/Catalog/Api/ProductCustomOptionTypeListInterface.php +++ b/app/code/Magento/Catalog/Api/ProductCustomOptionTypeListInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductCustomOptionTypeListInterface { @@ -16,7 +15,6 @@ interface ProductCustomOptionTypeListInterface * Get custom option types * * @return \Magento\Catalog\Api\Data\ProductCustomOptionTypeInterface[] - * @since 2.0.0 */ public function getItems(); } diff --git a/app/code/Magento/Catalog/Api/ProductLinkManagementInterface.php b/app/code/Magento/Catalog/Api/ProductLinkManagementInterface.php index d99736056ecf5..bf934b8965979 100644 --- a/app/code/Magento/Catalog/Api/ProductLinkManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductLinkManagementInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductLinkManagementInterface { @@ -18,7 +17,6 @@ interface ProductLinkManagementInterface * @param string $sku * @param string $type * @return \Magento\Catalog\Api\Data\ProductLinkInterface[] - * @since 2.0.0 */ public function getLinkedItemsByType($sku, $type); @@ -30,7 +28,6 @@ public function getLinkedItemsByType($sku, $type); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException * @return bool - * @since 2.0.0 */ public function setProductLinks($sku, array $items); } diff --git a/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php index 52391a34d3ccf..5d8f724a9197b 100644 --- a/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductLinkRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Interface Product links handling interface * @api - * @since 2.0.0 */ interface ProductLinkRepositoryInterface { @@ -29,7 +28,6 @@ public function getList(\Magento\Catalog\Api\Data\ProductInterface $product); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException * @return bool - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductLinkInterface $entity); @@ -40,7 +38,6 @@ public function save(\Magento\Catalog\Api\Data\ProductLinkInterface $entity); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException * @return bool - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductLinkInterface $entity); @@ -51,7 +48,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductLinkInterface $entity); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException * @return bool - * @since 2.0.0 */ public function deleteById($sku, $type, $linkedProductSku); } diff --git a/app/code/Magento/Catalog/Api/ProductLinkTypeListInterface.php b/app/code/Magento/Catalog/Api/ProductLinkTypeListInterface.php index 50b0749467f4f..07b80d73f4993 100644 --- a/app/code/Magento/Catalog/Api/ProductLinkTypeListInterface.php +++ b/app/code/Magento/Catalog/Api/ProductLinkTypeListInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface ProductLinkTypeListInterface { @@ -16,7 +15,6 @@ interface ProductLinkTypeListInterface * Retrieve information about available product link types * * @return \Magento\Catalog\Api\Data\ProductLinkTypeInterface[] - * @since 2.0.0 */ public function getItems(); @@ -25,7 +23,6 @@ public function getItems(); * * @param string $type * @return \Magento\Catalog\Api\Data\ProductLinkAttributeInterface[] - * @since 2.0.0 */ public function getItemAttributes($type); } diff --git a/app/code/Magento/Catalog/Api/ProductManagementInterface.php b/app/code/Magento/Catalog/Api/ProductManagementInterface.php index c7408f57dcad6..3fd4f5e6d149a 100644 --- a/app/code/Magento/Catalog/Api/ProductManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductManagementInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface ProductManagementInterface { @@ -16,7 +15,6 @@ interface ProductManagementInterface * * @param null|int $status * @return int - * @since 2.0.0 */ public function getCount($status = null); } diff --git a/app/code/Magento/Catalog/Api/ProductMediaAttributeManagementInterface.php b/app/code/Magento/Catalog/Api/ProductMediaAttributeManagementInterface.php index 68ccaf9c582d7..a3addd4ec4a65 100644 --- a/app/code/Magento/Catalog/Api/ProductMediaAttributeManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductMediaAttributeManagementInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface ProductMediaAttributeManagementInterface { @@ -16,7 +15,6 @@ interface ProductMediaAttributeManagementInterface * * @param string $attributeSetName * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] list of media attributes - * @since 2.0.0 */ public function getList($attributeSetName); } diff --git a/app/code/Magento/Catalog/Api/ProductRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductRepositoryInterface.php index 9466b3dcf6f43..458feb48cec70 100644 --- a/app/code/Magento/Catalog/Api/ProductRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductRepositoryInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface ProductRepositoryInterface { @@ -22,7 +21,6 @@ interface ProductRepositoryInterface * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\StateException * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductInterface $product, $saveOptions = false); @@ -35,7 +33,6 @@ public function save(\Magento\Catalog\Api\Data\ProductInterface $product, $saveO * @param bool $forceReload * @return \Magento\Catalog\Api\Data\ProductInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function get($sku, $editMode = false, $storeId = null, $forceReload = false); @@ -48,7 +45,6 @@ public function get($sku, $editMode = false, $storeId = null, $forceReload = fal * @param bool $forceReload * @return \Magento\Catalog\Api\Data\ProductInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getById($productId, $editMode = false, $storeId = null, $forceReload = false); @@ -58,7 +54,6 @@ public function getById($productId, $editMode = false, $storeId = null, $forceRe * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return bool Will returned True if deleted * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductInterface $product); @@ -67,7 +62,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductInterface $product); * @return bool Will returned True if deleted * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException - * @since 2.0.0 */ public function deleteById($sku); @@ -76,7 +70,6 @@ public function deleteById($sku); * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Catalog\Api\Data\ProductSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); } diff --git a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php index 3f0a8d63619b5..c6e4f4c8c88bb 100644 --- a/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php +++ b/app/code/Magento/Catalog/Api/ProductTierPriceManagementInterface.php @@ -9,7 +9,6 @@ /** * @api * @deprecated 2.2.0 use ScopedProductTierPriceManagementInterface instead - * @since 2.0.0 */ interface ProductTierPriceManagementInterface { @@ -23,7 +22,6 @@ interface ProductTierPriceManagementInterface * @return boolean * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function add($sku, $customerGroupId, $price, $qty); @@ -36,7 +34,6 @@ public function add($sku, $customerGroupId, $price, $qty); * @return boolean * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function remove($sku, $customerGroupId, $qty); @@ -47,7 +44,6 @@ public function remove($sku, $customerGroupId, $qty); * @param string $customerGroupId 'all' can be used to specify 'ALL GROUPS' * @return \Magento\Catalog\Api\Data\ProductTierPriceInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getList($sku, $customerGroupId); } diff --git a/app/code/Magento/Catalog/Api/ProductTypeListInterface.php b/app/code/Magento/Catalog/Api/ProductTypeListInterface.php index 281c8209aed50..688be67760f45 100644 --- a/app/code/Magento/Catalog/Api/ProductTypeListInterface.php +++ b/app/code/Magento/Catalog/Api/ProductTypeListInterface.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ interface ProductTypeListInterface { @@ -17,7 +16,6 @@ interface ProductTypeListInterface * Retrieve available product types * * @return \Magento\Catalog\Api\Data\ProductTypeInterface[] - * @since 2.0.0 */ public function getProductTypes(); } diff --git a/app/code/Magento/Catalog/Api/ProductWebsiteLinkRepositoryInterface.php b/app/code/Magento/Catalog/Api/ProductWebsiteLinkRepositoryInterface.php index af04c8aa9f1b7..10d6b8c48177e 100644 --- a/app/code/Magento/Catalog/Api/ProductWebsiteLinkRepositoryInterface.php +++ b/app/code/Magento/Catalog/Api/ProductWebsiteLinkRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Interface ProductWebsiteLinkRepositoryInterface * @api - * @since 2.0.0 */ interface ProductWebsiteLinkRepositoryInterface { @@ -21,7 +20,6 @@ interface ProductWebsiteLinkRepositoryInterface * * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function save(Data\ProductWebsiteLinkInterface $productWebsiteLink); @@ -32,7 +30,6 @@ public function save(Data\ProductWebsiteLinkInterface $productWebsiteLink); * @return bool will returned True if website successfully unassigned from product * * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function delete(Data\ProductWebsiteLinkInterface $productWebsiteLink); @@ -44,7 +41,6 @@ public function delete(Data\ProductWebsiteLinkInterface $productWebsiteLink); * @return bool will returned True if website successfully unassigned from product * * @throws \Magento\Framework\Exception\CouldNotSaveException - * @since 2.0.0 */ public function deleteById($sku, $websiteId); } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/AbstractCategory.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/AbstractCategory.php index ae8e9cb712cb7..331679874629b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/AbstractCategory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/AbstractCategory.php @@ -10,7 +10,6 @@ /** * Class AbstractCategory - * @since 2.0.0 */ class AbstractCategory extends \Magento\Backend\Block\Template { @@ -18,25 +17,21 @@ class AbstractCategory extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ResourceModel\Category\Tree - * @since 2.0.0 */ protected $_categoryTree; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $_categoryFactory; /** * @var bool - * @since 2.0.0 */ protected $_withProductCount; @@ -46,7 +41,6 @@ class AbstractCategory extends \Magento\Backend\Block\Template * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Model\CategoryFactory $categoryFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -66,7 +60,6 @@ public function __construct( * Retrieve current category instance * * @return array|null - * @since 2.0.0 */ public function getCategory() { @@ -75,7 +68,6 @@ public function getCategory() /** * @return int|string|null - * @since 2.0.0 */ public function getCategoryId() { @@ -87,7 +79,6 @@ public function getCategoryId() /** * @return string - * @since 2.0.0 */ public function getCategoryName() { @@ -96,7 +87,6 @@ public function getCategoryName() /** * @return mixed - * @since 2.0.0 */ public function getCategoryPath() { @@ -108,7 +98,6 @@ public function getCategoryPath() /** * @return bool - * @since 2.0.0 */ public function hasStoreRootCategory() { @@ -121,7 +110,6 @@ public function hasStoreRootCategory() /** * @return Store - * @since 2.0.0 */ public function getStore() { @@ -134,7 +122,6 @@ public function getStore() * @param int $recursionLevel * @return Node|array|null * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function getRoot($parentNodeCategory = null, $recursionLevel = 3) { @@ -176,7 +163,6 @@ public function getRoot($parentNodeCategory = null, $recursionLevel = 3) /** * @return int - * @since 2.0.0 */ protected function _getDefaultStoreId() { @@ -185,7 +171,6 @@ protected function _getDefaultStoreId() /** * @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ public function getCategoryCollection() { @@ -220,7 +205,6 @@ public function getCategoryCollection() * * @param array $ids * @return mixed - * @since 2.0.0 */ public function getRootByIds($ids) { @@ -246,7 +230,6 @@ public function getRootByIds($ids) * @param mixed $parentNodeCategory * @param int $recursionLevel * @return Node - * @since 2.0.0 */ public function getNode($parentNodeCategory, $recursionLevel = 2) { @@ -268,7 +251,6 @@ public function getNode($parentNodeCategory, $recursionLevel = 2) /** * @param array $args * @return string - * @since 2.0.0 */ public function getSaveUrl(array $args = []) { @@ -279,7 +261,6 @@ public function getSaveUrl(array $args = []) /** * @return string - * @since 2.0.0 */ public function getEditUrl() { @@ -293,7 +274,6 @@ public function getEditUrl() * Return ids of root categories as array * * @return array - * @since 2.0.0 */ public function getRootIds() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Checkboxes/Tree.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Checkboxes/Tree.php index 305a4d88b5091..7a05d8e4a37bf 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Checkboxes/Tree.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Checkboxes/Tree.php @@ -16,25 +16,21 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Checkboxes\Tree * - * @since 2.0.0 */ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\Tree { /** * @var int[] - * @since 2.0.0 */ protected $_selectedIds = []; /** * @var array - * @since 2.0.0 */ protected $_expandedPath = []; /** * @return void - * @since 2.0.0 */ protected function _prepareLayout() { @@ -43,7 +39,6 @@ protected function _prepareLayout() /** * @return int[] - * @since 2.0.0 */ public function getCategoryIds() { @@ -53,7 +48,6 @@ public function getCategoryIds() /** * @param mixed $ids * @return $this - * @since 2.0.0 */ public function setCategoryIds($ids) { @@ -68,7 +62,6 @@ public function setCategoryIds($ids) /** * @return array - * @since 2.0.0 */ protected function getExpandedPath() { @@ -78,7 +71,6 @@ protected function getExpandedPath() /** * @param string $path * @return $this - * @since 2.0.0 */ protected function setExpandedPath($path) { @@ -91,7 +83,6 @@ protected function setExpandedPath($path) * @param int $level * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getNodeJson($node, $level = 1) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php index 2c10735056a33..412cf64fac270 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Edit.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Edit extends \Magento\Framework\View\Element\Template { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Image.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Image.php index aaf0376545697..288c189b5c00a 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Image.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Image.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Helper\Image * - * @since 2.0.0 */ class Image extends \Magento\Framework\Data\Form\Element\Image { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -31,7 +29,6 @@ class Image extends \Magento\Framework\Data\Form\Element\Image * @param \Magento\Framework\UrlInterface $urlBuilder * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -47,7 +44,6 @@ public function __construct( /** * @return bool|string - * @since 2.0.0 */ protected function _getUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Pricestep.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Pricestep.php index 8cdbd92b9a590..53e5fcb4e5f7b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Pricestep.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Pricestep.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Helper\Pricestep * - * @since 2.0.0 */ class Pricestep extends \Magento\Framework\Data\Form\Element\Text { @@ -22,7 +21,6 @@ class Pricestep extends \Magento\Framework\Data\Form\Element\Text * Returns js code that is used instead of default toggle code for "Use default config" checkbox * * @return string - * @since 2.0.0 */ public function getToggleCode() { @@ -35,7 +33,6 @@ public function getToggleCode() * Retrieve Element HTML fragment * * @return string - * @since 2.0.0 */ public function getElementHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/Available.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/Available.php index 3ef695a51ec63..c5ac625c18bd1 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/Available.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/Available.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Helper\Sortby\Available * - * @since 2.0.0 */ class Available extends \Magento\Framework\Data\Form\Element\Multiselect { @@ -22,7 +21,6 @@ class Available extends \Magento\Framework\Data\Form\Element\Multiselect * Returns js code that is used instead of default toggle code for "Use default config" checkbox * * @return string - * @since 2.0.0 */ public function getToggleCode() { @@ -35,7 +33,6 @@ public function getToggleCode() * Retrieve Element HTML fragment * * @return string - * @since 2.0.0 */ public function getElementHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/DefaultSortby.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/DefaultSortby.php index 914f61dd9748b..7e1ba3cea36d8 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/DefaultSortby.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Helper/Sortby/DefaultSortby.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Helper\Sortby\DefaultSortby * - * @since 2.0.0 */ class DefaultSortby extends \Magento\Framework\Data\Form\Element\Select { @@ -22,7 +21,6 @@ class DefaultSortby extends \Magento\Framework\Data\Form\Element\Select * Returns js code that is used instead of default toggle code for "Use default config" checkbox * * @return string - * @since 2.0.0 */ public function getToggleCode() { @@ -35,7 +33,6 @@ public function getToggleCode() * Retrieve Element HTML fragment * * @return string - * @since 2.0.0 */ public function getElementHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Product.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Product.php index 4cf6ce001a3a8..2eb2927f056cb 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Product.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Product.php @@ -18,7 +18,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Tab\Product * - * @since 2.0.0 */ class Product extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -26,13 +25,11 @@ class Product extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; @@ -42,7 +39,6 @@ class Product extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -58,7 +54,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -70,7 +65,6 @@ protected function _construct() /** * @return array|null - * @since 2.0.0 */ public function getCategory() { @@ -80,7 +74,6 @@ public function getCategory() /** * @param Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -103,7 +96,6 @@ protected function _addColumnFilterToCollection($column) /** * @return Grid - * @since 2.0.0 */ protected function _prepareCollection() { @@ -143,7 +135,6 @@ protected function _prepareCollection() /** * @return Extended - * @since 2.0.0 */ protected function _prepareColumns() { @@ -199,7 +190,6 @@ protected function _prepareColumns() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -208,7 +198,6 @@ public function getGridUrl() /** * @return array - * @since 2.0.0 */ protected function _getSelectedProducts() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php index 615b135763e28..1c8a8d586bcb5 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php @@ -22,31 +22,26 @@ * @package Magento\Catalog\Block\Adminhtml\Category * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\AbstractCategory { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/category/tree.phtml'; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_backendSession; /** * @var \Magento\Framework\DB\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -59,7 +54,6 @@ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\AbstractCategory * @param \Magento\Framework\DB\Helper $resourceHelper * @param \Magento\Backend\Model\Auth\Session $backendSession * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -79,7 +73,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -89,7 +82,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -127,7 +119,6 @@ protected function _prepareLayout() * * @param string $namePart * @return string - * @since 2.0.0 */ public function getSuggestedCategoriesJson($namePart) { @@ -191,7 +182,6 @@ public function getSuggestedCategoriesJson($namePart) /** * @return string - * @since 2.0.0 */ public function getAddRootButtonHtml() { @@ -200,7 +190,6 @@ public function getAddRootButtonHtml() /** * @return string - * @since 2.0.0 */ public function getAddSubButtonHtml() { @@ -209,7 +198,6 @@ public function getAddSubButtonHtml() /** * @return string - * @since 2.0.0 */ public function getExpandButtonHtml() { @@ -218,7 +206,6 @@ public function getExpandButtonHtml() /** * @return string - * @since 2.0.0 */ public function getCollapseButtonHtml() { @@ -227,7 +214,6 @@ public function getCollapseButtonHtml() /** * @return string - * @since 2.0.0 */ public function getStoreSwitcherHtml() { @@ -237,7 +223,6 @@ public function getStoreSwitcherHtml() /** * @param bool|null $expanded * @return string - * @since 2.0.0 */ public function getLoadTreeUrl($expanded = null) { @@ -250,7 +235,6 @@ public function getLoadTreeUrl($expanded = null) /** * @return string - * @since 2.0.0 */ public function getNodesUrl() { @@ -259,7 +243,6 @@ public function getNodesUrl() /** * @return string - * @since 2.0.0 */ public function getSwitchTreeUrl() { @@ -272,7 +255,6 @@ public function getSwitchTreeUrl() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsWasExpanded() { @@ -281,7 +263,6 @@ public function getIsWasExpanded() /** * @return string - * @since 2.0.0 */ public function getMoveUrl() { @@ -291,7 +272,6 @@ public function getMoveUrl() /** * @param mixed|null $parenNodeCategory * @return array - * @since 2.0.0 */ public function getTree($parenNodeCategory = null) { @@ -303,7 +283,6 @@ public function getTree($parenNodeCategory = null) /** * @param mixed|null $parenNodeCategory * @return string - * @since 2.0.0 */ public function getTreeJson($parenNodeCategory = null) { @@ -318,7 +297,6 @@ public function getTreeJson($parenNodeCategory = null) * @param string $path * @param string $javascriptVarName * @return string - * @since 2.0.0 */ public function getBreadcrumbsJavascript($path, $javascriptVarName) { @@ -349,7 +327,6 @@ public function getBreadcrumbsJavascript($path, $javascriptVarName) * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getNodeJson($node, $level = 0) { @@ -401,7 +378,6 @@ protected function _getNodeJson($node, $level = 0) * * @param \Magento\Framework\DataObject $node * @return string - * @since 2.0.0 */ public function buildNodeName($node) { @@ -415,7 +391,6 @@ public function buildNodeName($node) /** * @param Node|array $node * @return bool - * @since 2.0.0 */ protected function _isCategoryMoveable($node) { @@ -429,7 +404,6 @@ protected function _isCategoryMoveable($node) /** * @param Node|array $node * @return bool - * @since 2.0.0 */ protected function _isParentSelectedCategory($node) { @@ -447,7 +421,6 @@ protected function _isParentSelectedCategory($node) * Check if page loaded by outside link to category edit * * @return boolean - * @since 2.0.0 */ public function isClearEdit() { @@ -458,7 +431,6 @@ public function isClearEdit() * Check availability of adding root category * * @return boolean - * @since 2.0.0 */ public function canAddRootCategory() { @@ -475,7 +447,6 @@ public function canAddRootCategory() * Check availability of adding sub category * * @return boolean - * @since 2.0.0 */ public function canAddSubCategory() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Category/Widget/Chooser.php b/app/code/Magento/Catalog/Block/Adminhtml/Category/Widget/Chooser.php index 73416ed2600f4..9a87510268b39 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Category/Widget/Chooser.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Category/Widget/Chooser.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Category\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\Catalog\Block\Adminhtml\Category\Tree { /** * @var array - * @since 2.0.0 */ protected $_selectedCategories = []; @@ -29,13 +27,11 @@ class Chooser extends \Magento\Catalog\Block\Adminhtml\Category\Tree * Defines tree template and init tree params * * @var string - * @since 2.0.0 */ protected $_template = 'catalog/category/widget/tree.phtml'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -49,7 +45,6 @@ protected function _construct() * * @param array $selectedCategories * @return $this - * @since 2.0.0 */ public function setSelectedCategories($selectedCategories) { @@ -61,7 +56,6 @@ public function setSelectedCategories($selectedCategories) * Getter * * @return array - * @since 2.0.0 */ public function getSelectedCategories() { @@ -73,7 +67,6 @@ public function getSelectedCategories() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element Form Element * @return \Magento\Framework\Data\Form\Element\AbstractElement - * @since 2.0.0 */ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -117,7 +110,6 @@ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\Abstract * Category Tree node onClick listener js function * * @return string - * @since 2.0.0 */ public function getNodeClickListener() { @@ -157,7 +149,6 @@ function (node, e) { * @param \Magento\Framework\Data\Tree\Node|array $node * @param int $level * @return string - * @since 2.0.0 */ protected function _getNodeJson($node, $level = 0) { @@ -174,7 +165,6 @@ protected function _getNodeJson($node, $level = 0) * Adds some extra params to categories collection * * @return \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function getCategoryCollection() { @@ -187,7 +177,6 @@ public function getCategoryCollection() * @param bool|null $expanded * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getLoadTreeUrl($expanded = null) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Form.php b/app/code/Magento/Catalog/Block/Adminhtml/Form.php index 8c7efbaf24a9b..84e691748b378 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Form.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Form.php @@ -16,13 +16,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Form * - * @since 2.0.0 */ class Form extends Generic { /** * @return void - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/DateFieldsOrder.php b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/DateFieldsOrder.php index df6c4b2cf2e1f..1b810204abbcd 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/DateFieldsOrder.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/DateFieldsOrder.php @@ -17,7 +17,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Form\Renderer\Config\DateFieldsOrder * - * @since 2.0.0 */ class DateFieldsOrder extends Field { @@ -25,7 +24,6 @@ class DateFieldsOrder extends Field * @param AbstractElement $element * @return string * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getElementHtml(AbstractElement $element) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/YearRange.php b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/YearRange.php index d4312ef4e3099..c9383711bdb1b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/YearRange.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Config/YearRange.php @@ -17,14 +17,12 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Form\Renderer\Config\YearRange * - * @since 2.0.0 */ class YearRange extends Field { /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getElementHtml(AbstractElement $element) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Fieldset/Element.php b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Fieldset/Element.php index 013502eceea23..9afe97d721b09 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Fieldset/Element.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Form/Renderer/Fieldset/Element.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element * - * @since 2.0.0 */ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element { /** * Initialize block template - * @since 2.0.0 */ protected $_template = 'Magento_Catalog::catalog/form/renderer/fieldset/element.phtml'; @@ -28,7 +26,6 @@ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Eleme * Retrieve data object related with form * * @return \Magento\Catalog\Model\Product || \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getDataObject() { @@ -39,7 +36,6 @@ public function getDataObject() * Retireve associated with element attribute object * * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.0.0 */ public function getAttribute() { @@ -50,7 +46,6 @@ public function getAttribute() * Retrieve associated attribute code * * @return string - * @since 2.0.0 */ public function getAttributeCode() { @@ -61,7 +56,6 @@ public function getAttributeCode() * Check "Use default" checkbox display availability * * @return bool - * @since 2.0.0 */ public function canDisplayUseDefault() { @@ -81,7 +75,6 @@ public function canDisplayUseDefault() * Check default value usage fact * * @return bool - * @since 2.0.0 */ public function usedDefault() { @@ -105,7 +98,6 @@ public function usedDefault() * Disable field in default value using case * * @return \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element - * @since 2.0.0 */ public function checkFieldDisable() { @@ -121,7 +113,6 @@ public function checkFieldDisable() * GLOBAL | WEBSITE | STORE * * @return string - * @since 2.0.0 */ public function getScopeLabel() { @@ -145,7 +136,6 @@ public function getScopeLabel() * Retrieve element label html * * @return string - * @since 2.0.0 */ public function getElementLabelHtml() { @@ -161,7 +151,6 @@ public function getElementLabelHtml() * Retrieve element html * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -172,7 +161,6 @@ public function getElementHtml() * Default sore ID getter * * @return integer - * @since 2.0.0 */ protected function _getDefaultStoreId() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg.php b/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg.php index 25be7f6f56208..419be73618029 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Helper/Form/Wysiwyg.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Helper\Form\Wysiwyg * - * @since 2.0.0 */ class Wysiwyg extends \Magento\Framework\Data\Form\Element\Textarea { @@ -22,7 +21,6 @@ class Wysiwyg extends \Magento\Framework\Data\Form\Element\Textarea * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData = null; @@ -30,19 +28,16 @@ class Wysiwyg extends \Magento\Framework\Data\Form\Element\Textarea * Catalog data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager = null; /** * @var \Magento\Cms\Model\Wysiwyg\Config - * @since 2.0.0 */ protected $_wysiwygConfig; /** * @var \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ protected $_layout; @@ -55,7 +50,6 @@ class Wysiwyg extends \Magento\Framework\Data\Form\Element\Textarea * @param \Magento\Framework\Module\Manager $moduleManager * @param \Magento\Backend\Helper\Data $backendData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -78,7 +72,6 @@ public function __construct( * Retrieve additional html and put it at the end of element html * * @return string - * @since 2.0.0 */ public function getAfterElementHtml() { @@ -150,7 +143,6 @@ public function getAfterElementHtml() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsWysiwygEnabled() { 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 7a80c60c2a6ea..154d040740f68 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 @@ -19,13 +19,11 @@ * * @deprecated 2.2.0 * @see \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav - * @since 2.0.0 */ class Content extends Generic { /** * @var \Magento\Cms\Model\Wysiwyg\Config - * @since 2.0.0 */ protected $_wysiwygConfig; @@ -35,7 +33,6 @@ class Content extends Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -53,7 +50,6 @@ public function __construct( * Adding editor field to render * * @return Form - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product.php b/app/code/Magento/Catalog/Block/Adminhtml/Product.php index 40494aaceb6a4..778af791c30f2 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product.php @@ -13,19 +13,16 @@ /** * @api - * @since 2.0.0 */ class Product extends \Magento\Backend\Block\Widget\Container { /** * @var \Magento\Catalog\Model\Product\TypeFactory - * @since 2.0.0 */ protected $_typeFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; @@ -34,7 +31,6 @@ class Product extends \Magento\Backend\Block\Widget\Container * @param \Magento\Catalog\Model\Product\TypeFactory $typeFactory * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -52,7 +48,6 @@ public function __construct( * Prepare button and grid * * @return \Magento\Catalog\Block\Adminhtml\Product - * @since 2.0.0 */ protected function _prepareLayout() { @@ -73,7 +68,6 @@ protected function _prepareLayout() * Retrieve options for 'Add Product' split button * * @return array - * @since 2.0.0 */ protected function _getAddProductButtonOptions() { @@ -102,7 +96,6 @@ function ($elementOne, $elementTwo) { * * @param string $type * @return string - * @since 2.0.0 */ protected function _getProductCreateUrl($type) { @@ -116,7 +109,6 @@ protected function _getProductCreateUrl($type) * Check whether it is single store mode * * @return bool - * @since 2.0.0 */ public function isSingleStoreMode() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute.php index 7d3179b5bfeaf..98fcc03e6511f 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute.php @@ -9,13 +9,11 @@ * Adminhtml catalog product attributes block * * @author Magento Core Team - * @since 2.0.0 */ class Attribute extends \Magento\Backend\Block\Widget\Grid\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php index 0101a9e3837e5..f930919ea9882 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit.php @@ -9,7 +9,6 @@ * Product attribute edit page * * @api - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { @@ -17,7 +16,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Block group name * * @var string - * @since 2.0.0 */ protected $_blockGroup = 'Magento_Catalog'; @@ -25,7 +23,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -33,7 +30,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -46,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -101,7 +96,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region = 'toolbar') { @@ -115,7 +109,6 @@ public function addButton($buttonId, $data, $level = 0, $sortOrder = 0, $region * Retrieve header text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getHeaderText() { @@ -133,7 +126,6 @@ public function getHeaderText() * Retrieve URL for validation * * @return string - * @since 2.0.0 */ public function getValidationUrl() { @@ -144,7 +136,6 @@ public function getValidationUrl() * Retrieve URL for save * * @return string - * @since 2.0.0 */ public function getSaveUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Form.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Form.php index 72a11f6d4e73d..2d569d4620cbb 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Form.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Form.php @@ -17,13 +17,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Form * - * @since 2.0.0 */ class Form extends Generic { /** * @return $this - * @since 2.0.0 */ protected function _prepareForm() { 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 66f46626feff6..3a0427e45e42e 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 @@ -21,7 +21,6 @@ /** * @api - * @since 2.0.0 */ class Advanced extends Generic { @@ -29,19 +28,16 @@ class Advanced extends Generic * Eav data * * @var Data - * @since 2.0.0 */ protected $_eavData = null; /** * @var Yesno - * @since 2.0.0 */ protected $_yesNo; /** * @var array - * @since 2.0.0 */ protected $disableScopeChangeList; @@ -59,7 +55,6 @@ class Advanced extends Generic * @param Data $eavData * @param array $disableScopeChangeList * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -81,7 +76,6 @@ public function __construct( * * @return $this * @SuppressWarnings(PHPMD) - * @since 2.0.0 */ protected function _prepareForm() { @@ -266,7 +260,6 @@ protected function _prepareForm() * Initialize form fileds values * * @return $this - * @since 2.0.0 */ protected function _initFormValues() { @@ -278,7 +271,6 @@ protected function _initFormValues() * Retrieve attribute object from registry * * @return mixed - * @since 2.0.0 */ private function getAttributeObject() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php index 1f4956b6b3258..8294d97474885 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php @@ -22,19 +22,16 @@ /** * @api - * @since 2.0.0 */ class Front extends Generic { /** * @var Yesno - * @since 2.0.0 */ protected $_yesNo; /** * @var PropertyLocker - * @since 2.0.0 */ private $propertyLocker; @@ -45,7 +42,6 @@ class Front extends Generic * @param Yesno $yesNo * @param PropertyLocker $propertyLocker * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -64,7 +60,6 @@ public function __construct( * {@inheritdoc} * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php index 6b9e8c8c3c140..a22fd5d68a5f6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php @@ -16,7 +16,6 @@ /** * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Main extends AbstractMain { @@ -25,7 +24,6 @@ class Main extends AbstractMain * * @return $this * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _prepareForm() { @@ -85,7 +83,6 @@ protected function _prepareForm() * Retrieve additional element types for product attributes * * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Options.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Options.php index b4254f612e2f3..43a58a7880e51 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Options.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Options.php @@ -17,7 +17,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Options * - * @since 2.0.0 */ class Options extends \Magento\Eav\Block\Adminhtml\Attribute\Edit\Options\AbstractOptions { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/System.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/System.php index 2cb72b5052c97..b0c7bae2cc712 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/System.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/System.php @@ -16,13 +16,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\System * - * @since 2.0.0 */ class System extends Generic { /** * @return $this - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php index d2bb78aa9210d..58378f49191f6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tabs.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Grid.php index 73bc909858dc9..ab5026b1e69b9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Grid.php @@ -15,13 +15,11 @@ /** * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Grid extends AbstractGrid { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -30,7 +28,6 @@ class Grid extends AbstractGrid * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -47,7 +44,6 @@ public function __construct( * Prepare product attributes grid collection object * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -61,7 +57,6 @@ protected function _prepareCollection() * Prepare product attributes grid columns * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php index c4c0c3afca365..a9b10d97ec006 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php @@ -15,13 +15,11 @@ /** * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form { /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { @@ -59,7 +57,6 @@ protected function _prepareForm() /** * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { @@ -82,7 +79,6 @@ protected function _getAdditionalElementTypes() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php index 097db765e6335..729f67b55fa13 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php @@ -15,13 +15,11 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Main extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/set/main.phtml'; @@ -29,37 +27,31 @@ class Main extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Eav\Model\Entity\TypeFactory - * @since 2.0.0 */ protected $_typeFactory; /** * @var \Magento\Eav\Model\Entity\Attribute\GroupFactory - * @since 2.0.0 */ protected $_groupFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface - * @since 2.0.0 */ protected $attributeMapper; @@ -72,7 +64,6 @@ class Main extends \Magento\Backend\Block\Template * @param \Magento\Framework\Registry $registry * @param AttributeMapperInterface $attributeMapper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -97,7 +88,6 @@ public function __construct( * Prepare Global Layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -178,7 +168,6 @@ protected function _prepareLayout() * Retrieve Attribute Set Group Tree HTML * * @return string - * @since 2.0.0 */ public function getGroupTreeHtml() { @@ -189,7 +178,6 @@ public function getGroupTreeHtml() * Retrieve Attribute Set Edit Form HTML * * @return string - * @since 2.0.0 */ public function getSetFormHtml() { @@ -200,7 +188,6 @@ public function getSetFormHtml() * Retrieve Block Header Text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getHeader() { @@ -211,7 +198,6 @@ protected function _getHeader() * Retrieve Attribute Set Save URL * * @return string - * @since 2.0.0 */ public function getMoveUrl() { @@ -222,7 +208,6 @@ public function getMoveUrl() * Retrieve Attribute Set Group Save URL * * @return string - * @since 2.0.0 */ public function getGroupUrl() { @@ -233,7 +218,6 @@ public function getGroupUrl() * Retrieve Attribute Set Group Tree as JSON format * * @return string - * @since 2.0.0 */ public function getGroupTreeJson() { @@ -275,7 +259,6 @@ public function getGroupTreeJson() * Retrieve Unused in Attribute Set Attribute Tree as JSON * * @return string - * @since 2.0.0 */ public function getAttributeTreeJson() { @@ -326,7 +309,6 @@ public function getAttributeTreeJson() * Retrieve Delete Group Button HTML * * @return string - * @since 2.0.0 */ public function getDeleteGroupButton() { @@ -337,7 +319,6 @@ public function getDeleteGroupButton() * Retrieve Add New Group Button HTML * * @return string - * @since 2.0.0 */ public function getAddGroupButton() { @@ -348,7 +329,6 @@ public function getAddGroupButton() * Retrieve current Attribute Set object * * @return \Magento\Eav\Model\Entity\Attribute\Set - * @since 2.0.0 */ protected function _getAttributeSet() { @@ -359,7 +339,6 @@ protected function _getAttributeSet() * Retrieve current attribute set Id * * @return int - * @since 2.0.0 */ protected function _getSetId() { @@ -371,7 +350,6 @@ protected function _getSetId() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsCurrentSetDefault() { @@ -390,7 +368,6 @@ public function getIsCurrentSetDefault() * Prepare HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formattribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formattribute.php index 9945c9da86611..a0565ff8d0b2d 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formattribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formattribute.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Main\Formattribute * - * @since 2.0.0 */ class Formattribute extends \Magento\Backend\Block\Widget\Form\Generic { /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formgroup.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formgroup.php index 30a074c3f8243..4e0ffdf65a655 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formgroup.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formgroup.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Main\Formgroup * - * @since 2.0.0 */ class Formgroup extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Eav\Model\Entity\TypeFactory - * @since 2.0.0 */ protected $_typeFactory; @@ -30,7 +28,6 @@ class Formgroup extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Eav\Model\Entity\TypeFactory $typeFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { @@ -86,7 +82,6 @@ protected function _prepareForm() /** * @return int - * @since 2.0.0 */ protected function _getSetId() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formset.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formset.php index 0794c91867c05..a1ad1550f739f 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formset.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Formset.php @@ -10,13 +10,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Main\Formset * - * @since 2.0.0 */ class Formset extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $_setFactory; @@ -26,7 +24,6 @@ class Formset extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Eav\Model\Entity\Attribute\SetFactory $setFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -43,7 +40,6 @@ public function __construct( * Prepares attribute set form * * @return void - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Attribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Attribute.php index 463c6f05b6e31..92c8307ffede0 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Attribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Attribute.php @@ -12,13 +12,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Main\Tree\Attribute * - * @since 2.0.0 */ class Attribute extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/set/main/tree/attribute.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Group.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Group.php index 5f56079a0727e..90fd1de2b8669 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Group.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Group.php @@ -12,13 +12,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Main\Tree\Group * - * @since 2.0.0 */ class Group extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/set/main/tree/group.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Add.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Add.php index ef75c7e475c3b..5d0eaa3ea9bab 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Add.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Add.php @@ -16,19 +16,16 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar\Add * - * @since 2.0.0 */ class Add extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/set/toolbar/add.phtml'; /** * @return AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -61,7 +58,6 @@ protected function _prepareLayout() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getHeader() { @@ -70,7 +66,6 @@ protected function _getHeader() /** * @return string - * @since 2.0.0 */ public function getFormHtml() { @@ -81,7 +76,6 @@ public function getFormHtml() * Return id of form, used by this block * * @return string - * @since 2.0.0 */ public function getFormId() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php index b35656e8c23cf..82dfad3fc2aff 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php @@ -13,19 +13,16 @@ /** * @api - * @since 2.0.0 */ class Main extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/set/toolbar/main.phtml'; /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -43,7 +40,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getNewButtonHtml() { @@ -52,7 +48,6 @@ public function getNewButtonHtml() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getHeader() { @@ -61,7 +56,6 @@ protected function _getHeader() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main/Filter.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main/Filter.php index 458362d5ff896..c98e469a0ee1b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main/Filter.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main/Filter.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar\Main\Filter * - * @since 2.0.0 */ class Filter extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $_setFactory; @@ -30,7 +28,6 @@ class Filter extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Eav\Model\Entity\Attribute\SetFactory $setFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php index 79c1a727d8c4c..1bc6ea39a0ec6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php @@ -10,19 +10,16 @@ * Adminhtml catalog product composite configure block * * @api - * @since 2.0.0 */ class Configure extends \Magento\Backend\Block\Widget { /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/composite/configure.phtml'; @@ -30,13 +27,11 @@ class Configure extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_catalogProduct; @@ -45,7 +40,6 @@ class Configure extends \Magento\Backend\Block\Widget * @param \Magento\Catalog\Model\Product $product * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -62,7 +56,6 @@ public function __construct( * Retrieve product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -81,7 +74,6 @@ public function getProduct() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProduct(\Magento\Catalog\Model\Product $product = null) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php index 25452582f6c83..5683328b0f811 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Error.php @@ -9,7 +9,6 @@ * Adminhtml block for showing product options fieldsets * * @api - * @since 2.0.0 */ class Error extends \Magento\Framework\View\Element\Template { @@ -17,13 +16,11 @@ class Error extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -32,7 +29,6 @@ class Error extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -50,7 +46,6 @@ public function __construct( * configuration controls * * @return string - * @since 2.0.0 */ public function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php index c3046c2f86c36..0e4da2ab4b5c8 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset.php @@ -9,7 +9,6 @@ * Adminhtml block for showing product options fieldsets * * @api - * @since 2.0.0 */ class Fieldset extends \Magento\Framework\View\Element\Text\ListText { @@ -18,7 +17,6 @@ class Fieldset extends \Magento\Framework\View\Element\Text\ListText * Iterates through fieldsets and fetches complete html * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php index d9bfec597ee77..60b0a09f46292 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Options.php @@ -9,7 +9,6 @@ * Adminhtml block for fieldset of product custom options * * @api - * @since 2.0.0 */ class Options extends \Magento\Catalog\Block\Product\View\Options { @@ -19,7 +18,6 @@ class Options extends \Magento\Catalog\Block\Product\View\Options * @param \Magento\Catalog\Model\Product\Option $option * * @return string - * @since 2.0.0 */ public function getOptionHtml(\Magento\Catalog\Model\Product\Option $option) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php index 560daf3d0fab3..7f196b8e30aaa 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Fieldset/Qty.php @@ -9,7 +9,6 @@ * Adminhtml block for fieldset of product custom options * * @api - * @since 2.0.0 */ class Qty extends \Magento\Framework\View\Element\Template { @@ -17,7 +16,6 @@ class Qty extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -25,7 +23,6 @@ class Qty extends \Magento\Framework\View\Element\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -40,7 +37,6 @@ public function __construct( * Constructor for our block with options * * @return void - * @since 2.0.0 */ public function _construct() { @@ -52,7 +48,6 @@ public function _construct() * Retrieve product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -68,7 +63,6 @@ public function getProduct() * Return selected qty * * @return int - * @since 2.0.0 */ public function getQtyValue() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php index 0ac39d73ca638..75c577fd9b4d3 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Update/Result.php @@ -11,13 +11,11 @@ * for single item * * @api - * @since 2.0.0 */ class Result extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\View\Helper\Js - * @since 2.0.0 */ protected $_jsHelper = null; @@ -25,13 +23,11 @@ class Result extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -41,7 +37,6 @@ class Result extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Helper\Js $jsHelper * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -60,7 +55,6 @@ public function __construct( * Forms script response * * @return string - * @since 2.0.0 */ public function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php index 6723ca87dc358..d9d8943181951 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php @@ -15,13 +15,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit.phtml'; @@ -29,25 +27,21 @@ class Edit extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $_attributeSetFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $jsonEncoder; /** * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_productHelper; @@ -58,7 +52,6 @@ class Edit extends \Magento\Backend\Block\Widget * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Helper\Product $productHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -77,7 +70,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -90,7 +82,6 @@ protected function _construct() * Retrieve currently edited product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -101,7 +92,6 @@ public function getProduct() * Add elements in layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -159,7 +149,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getBackButtonHtml() { @@ -168,7 +157,6 @@ public function getBackButtonHtml() /** * @return string - * @since 2.0.0 */ public function getCancelButtonHtml() { @@ -177,7 +165,6 @@ public function getCancelButtonHtml() /** * @return string - * @since 2.0.0 */ public function getSaveButtonHtml() { @@ -186,7 +173,6 @@ public function getSaveButtonHtml() /** * @return string - * @since 2.0.0 */ public function getSaveAndEditButtonHtml() { @@ -195,7 +181,6 @@ public function getSaveAndEditButtonHtml() /** * @return string - * @since 2.0.0 */ public function getDeleteButtonHtml() { @@ -206,7 +191,6 @@ public function getDeleteButtonHtml() * Get Save Split Button html * * @return string - * @since 2.0.0 */ public function getSaveSplitButtonHtml() { @@ -215,7 +199,6 @@ public function getSaveSplitButtonHtml() /** * @return string - * @since 2.0.0 */ public function getValidationUrl() { @@ -224,7 +207,6 @@ public function getValidationUrl() /** * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -233,7 +215,6 @@ public function getSaveUrl() /** * @return string - * @since 2.0.0 */ public function getSaveAndContinueUrl() { @@ -245,7 +226,6 @@ public function getSaveAndContinueUrl() /** * @return mixed - * @since 2.0.0 */ public function getProductId() { @@ -254,7 +234,6 @@ public function getProductId() /** * @return mixed - * @since 2.0.0 */ public function getProductSetId() { @@ -267,7 +246,6 @@ public function getProductSetId() /** * @return string - * @since 2.0.0 */ public function getDuplicateUrl() { @@ -277,7 +255,6 @@ public function getDuplicateUrl() /** * @deprecated 2.2.0 * @return string - * @since 2.0.0 */ public function getHeader() { @@ -291,7 +268,6 @@ public function getHeader() /** * @return string - * @since 2.0.0 */ public function getAttributeSetName() { @@ -304,7 +280,6 @@ public function getAttributeSetName() /** * @return string - * @since 2.0.0 */ public function getSelectedTabId() { @@ -315,7 +290,6 @@ public function getSelectedTabId() * Get fields masks from config * * @return array - * @since 2.0.0 */ public function getFieldsAutogenerationMasks() { @@ -326,7 +300,6 @@ public function getFieldsAutogenerationMasks() * Retrieve available placeholders * * @return array - * @since 2.0.0 */ public function getAttributesAllowedForAutogeneration() { @@ -337,7 +310,6 @@ public function getAttributesAllowedForAutogeneration() * Get formed array with attribute codes and Apply To property * * @return array - * @since 2.0.0 */ protected function _getAttributes() { @@ -355,7 +327,6 @@ protected function _getAttributes() * Get dropdown options for save split button * * @return array - * @since 2.0.0 */ protected function _getSaveSplitButtonOptions() { @@ -407,7 +378,6 @@ protected function _getSaveSplitButtonOptions() * Check whether new product is being created * * @return bool - * @since 2.0.0 */ protected function _isProductNew() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php index 4489bfdf2e969..f0c4251da7742 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute.php @@ -16,7 +16,6 @@ /** * @api - * @since 2.0.0 */ class Attribute extends \Magento\Backend\Block\Widget { @@ -24,7 +23,6 @@ class Attribute extends \Magento\Backend\Block\Widget * Adminhtml catalog product edit action attribute * * @var ActionAttribute - * @since 2.0.0 */ protected $_helperActionAttribute = null; @@ -32,7 +30,6 @@ class Attribute extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param ActionAttribute $helperActionAttribute * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _prepareLayout() { @@ -89,7 +85,6 @@ protected function _prepareLayout() * Retrieve selected products for update * * @return Collection - * @since 2.0.0 */ public function getProducts() { @@ -100,7 +95,6 @@ public function getProducts() * Retrieve block attributes update helper * * @return ActionAttribute|null - * @since 2.0.0 */ protected function _getHelper() { @@ -111,7 +105,6 @@ protected function _getHelper() * Retrieve back button html code * * @return string - * @since 2.0.0 */ public function getBackButtonHtml() { @@ -122,7 +115,6 @@ public function getBackButtonHtml() * Retrieve cancel button html code * * @return string - * @since 2.0.0 */ public function getCancelButtonHtml() { @@ -133,7 +125,6 @@ public function getCancelButtonHtml() * Retrieve save button html code * * @return string - * @since 2.0.0 */ public function getSaveButtonHtml() { @@ -144,7 +135,6 @@ public function getSaveButtonHtml() * Get save url * * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -156,7 +146,6 @@ public function getSaveUrl() * Get validation url * * @return string - * @since 2.0.0 */ public function getValidationUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php index 68d9850cb4575..74d7ac6a90f9e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php @@ -18,20 +18,17 @@ /** * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Helper\Product\Edit\Action\Attribute - * @since 2.0.0 */ protected $_attributeAction; @@ -42,7 +39,6 @@ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form implements * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Catalog\Helper\Product\Edit\Action\Attribute $attributeAction * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -59,7 +55,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -69,7 +64,6 @@ protected function _construct() /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { @@ -106,7 +100,6 @@ protected function _prepareForm() * Retrieve attributes for product mass update * * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getAttributes() { @@ -117,7 +110,6 @@ public function getAttributes() * Additional element types for product attributes * * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { @@ -134,7 +126,6 @@ protected function _getAdditionalElementTypes() * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getAdditionalElementHtml($element) { @@ -164,7 +155,6 @@ protected function _getAdditionalElementHtml($element) /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -173,7 +163,6 @@ public function getTabLabel() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -182,7 +171,6 @@ public function getTabTitle() /** * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -191,7 +179,6 @@ public function canShowTab() /** * @return bool - * @since 2.0.0 */ public function isHidden() { 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 314d090934e0c..d847dc38539a7 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 @@ -9,19 +9,16 @@ * Products mass update inventory tab * * @api - * @since 2.0.0 */ class Inventory extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** * @var \Magento\CatalogInventory\Model\Source\Backorders - * @since 2.0.0 */ protected $_backorders; /** * @var \Magento\CatalogInventory\Api\StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; @@ -36,7 +33,6 @@ class Inventory extends \Magento\Backend\Block\Widget implements \Magento\Backen * @param \Magento\CatalogInventory\Model\Source\Backorders $backorders * @param \Magento\CatalogInventory\Api\StockConfigurationInterface $stockConfiguration * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -53,7 +49,6 @@ public function __construct( * Retrieve Backorders Options * * @return array - * @since 2.0.0 */ public function getBackordersOption() { @@ -64,7 +59,6 @@ public function getBackordersOption() * Retrieve field suffix * * @return string - * @since 2.0.0 */ public function getFieldSuffix() { @@ -75,7 +69,6 @@ public function getFieldSuffix() * Retrieve current store id * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -88,7 +81,6 @@ public function getStoreId() * * @param string $field * @return string|null - * @since 2.0.0 */ public function getDefaultConfigValue($field) { @@ -99,7 +91,6 @@ public function getDefaultConfigValue($field) * Tab settings * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -108,7 +99,6 @@ public function getTabLabel() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -117,7 +107,6 @@ public function getTabTitle() /** * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -126,7 +115,6 @@ public function canShowTab() /** * @return bool - * @since 2.0.0 */ public function isHidden() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php index f7806723827ed..81220164c2766 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Websites.php @@ -16,13 +16,11 @@ /** * @api - * @since 2.0.0 */ class Websites extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** * @return Website[] - * @since 2.0.0 */ public function getWebsiteCollection() { @@ -32,7 +30,6 @@ public function getWebsiteCollection() /** * @param Website $website * @return Group[] - * @since 2.0.0 */ public function getGroupCollection(Website $website) { @@ -42,7 +39,6 @@ public function getGroupCollection(Website $website) /** * @param Group $group * @return array - * @since 2.0.0 */ public function getStoreCollection(Group $group) { @@ -53,7 +49,6 @@ public function getStoreCollection(Group $group) * Tab settings * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -62,7 +57,6 @@ public function getTabLabel() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -71,7 +65,6 @@ public function getTabTitle() /** * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -80,7 +73,6 @@ public function canShowTab() /** * @return bool - * @since 2.0.0 */ public function isHidden() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php index 4f98b206337dd..e0ddc8cc2e961 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tabs.php @@ -10,13 +10,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Tabs extends \Magento\Backend\Block\Widget\Tabs { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/AttributeSet.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/AttributeSet.php index ab7204d61f402..4c8774298e5e1 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/AttributeSet.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/AttributeSet.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\AttributeSet * - * @since 2.0.0 */ class AttributeSet extends \Magento\Backend\Block\Widget\Form { @@ -22,7 +21,6 @@ class AttributeSet extends \Magento\Backend\Block\Widget\Form * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -30,7 +28,6 @@ class AttributeSet extends \Magento\Backend\Block\Widget\Form * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -45,7 +42,6 @@ public function __construct( * Get options for suggest widget * * @return array - * @since 2.0.0 */ public function getSelectorOptions() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Js.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Js.php index 49b5b78894746..cd27d36278cdc 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Js.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Js.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Js * - * @since 2.0.0 */ class Js extends \Magento\Backend\Block\Template { @@ -21,19 +20,16 @@ class Js extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry = null; /** * @var TaxCalculationInterface - * @since 2.0.0 */ protected $calculationService; /** * @var ProductTaxClassSource - * @since 2.0.0 */ protected $productTaxClassSource; @@ -41,7 +37,6 @@ class Js extends \Magento\Backend\Block\Template * Current customer * * @var CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; @@ -49,7 +44,6 @@ class Js extends \Magento\Backend\Block\Template * Json helper * * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -61,7 +55,6 @@ class Js extends \Magento\Backend\Block\Template * @param TaxCalculationInterface $calculationService * @param ProductTaxClassSource $productTaxClassSource * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -84,7 +77,6 @@ public function __construct( * Get currently edited product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -95,7 +87,6 @@ public function getProduct() * Get store object of curently edited product * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { @@ -110,7 +101,6 @@ public function getStore() * Get all tax rates JSON for all product tax classes. * * @return string - * @since 2.0.0 */ public function getAllRatesByProductClassJson() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/NewCategory.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/NewCategory.php index 2b8b02b4aa742..0a766bc4c0cb3 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/NewCategory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/NewCategory.php @@ -13,19 +13,16 @@ /** * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class NewCategory extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $_categoryFactory; @@ -36,7 +33,6 @@ class NewCategory extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Catalog\Model\CategoryFactory $categoryFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -56,7 +52,6 @@ public function __construct( * Form preparation * * @return void - * @since 2.0.0 */ protected function _prepareForm() { @@ -107,7 +102,6 @@ protected function _prepareForm() * Get parent category options * * @return array - * @since 2.0.0 */ protected function _getParentCategoryOptions() { @@ -133,7 +127,6 @@ protected function _getParentCategoryOptions() * Category save action URL * * @return string - * @since 2.0.0 */ public function getSaveCategoryUrl() { @@ -144,7 +137,6 @@ public function getSaveCategoryUrl() * Attach new category dialog widget initialization * * @return string - * @since 2.0.0 */ public function getAfterElementHtml() { 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 3b2618a9cced3..5640a94bf2dcc 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 @@ -11,7 +11,6 @@ * Class Serializer * @package Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Ajax * @deprecated 2.2.0 - * @since 2.0.0 */ class Serializer extends \Magento\Framework\View\Element\Template { @@ -40,7 +39,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ public function _construct() { @@ -52,7 +50,6 @@ public function _construct() /** * @return string * @deprecated 2.2.0 - * @since 2.0.0 */ public function getProductsJSON() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts.php index 91bbf8e8d8abb..1cb938b1650ee 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts.php @@ -16,19 +16,16 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Alerts * - * @since 2.0.0 */ class Alerts extends \Magento\Backend\Block\Widget\Tab { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/tab/alert.phtml'; /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -71,7 +68,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAccordionHtml() { @@ -82,7 +78,6 @@ public function getAccordionHtml() * Tab is hidden * * @return bool - * @since 2.0.0 */ public function canShowTab() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php index fa7995f71f203..214c232b5b195 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Price.php @@ -12,7 +12,6 @@ * Sign up for an alert when the product price changes grid * * @api - * @since 2.0.0 */ class Price extends Extended { @@ -20,13 +19,11 @@ class Price extends Extended * Catalog data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @var \Magento\ProductAlert\Model\PriceFactory - * @since 2.0.0 */ protected $_priceFactory; @@ -36,7 +33,6 @@ class Price extends Extended * @param \Magento\ProductAlert\Model\PriceFactory $priceFactory * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -52,7 +48,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -68,7 +63,6 @@ protected function _construct() /** * @return Grid - * @since 2.0.0 */ protected function _prepareCollection() { @@ -86,7 +80,6 @@ protected function _prepareCollection() /** * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -123,7 +116,6 @@ protected function _prepareColumns() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php index 284e91c431cfe..7a708894ccbed 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts/Stock.php @@ -12,7 +12,6 @@ * Sign up for an alert when the product price changes grid * * @api - * @since 2.0.0 */ class Stock extends Extended { @@ -20,13 +19,11 @@ class Stock extends Extended * Catalog data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @var \Magento\ProductAlert\Model\StockFactory - * @since 2.0.0 */ protected $_stockFactory; @@ -36,7 +33,6 @@ class Stock extends Extended * @param \Magento\ProductAlert\Model\StockFactory $stockFactory * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -52,7 +48,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -68,7 +63,6 @@ protected function _construct() /** * @return Grid - * @since 2.0.0 */ protected function _prepareCollection() { @@ -86,7 +80,6 @@ protected function _prepareCollection() /** * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -110,7 +103,6 @@ protected function _prepareColumns() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php index ce974cec8dd71..b25cdd7cb72e4 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php @@ -13,7 +13,6 @@ /** * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form { @@ -24,7 +23,6 @@ class Attributes extends \Magento\Catalog\Block\Adminhtml\Form * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareForm() { @@ -136,7 +134,6 @@ protected function _prepareForm() * Retrieve additional element types * * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Create.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Create.php index 968018764c099..b2fb40234f63e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Create.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Create.php @@ -16,7 +16,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes\Create * - * @since 2.0.0 */ class Create extends Button { @@ -24,7 +23,6 @@ class Create extends Button * Config of create new attribute * * @var \Magento\Framework\DataObject - * @since 2.0.0 */ protected $_config = null; @@ -32,7 +30,6 @@ class Create extends Button * Retrieve config of new attribute creation * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getConfig() { @@ -45,7 +42,6 @@ public function getConfig() /** * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -94,7 +90,6 @@ protected function _beforeToHtml() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -112,7 +107,6 @@ protected function _toHtml() /** * @return string - * @since 2.0.0 */ public function getJsObjectName() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Search.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Search.php index 5b6f8ee52aa2a..c13f253906c7a 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Search.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Search.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes\Search * - * @since 2.0.0 */ class Search extends \Magento\Backend\Block\Widget { @@ -22,19 +21,16 @@ class Search extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\DB\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -44,7 +40,6 @@ class Search extends \Magento\Backend\Block\Widget * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -63,7 +58,6 @@ public function __construct( * Define block template * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -73,7 +67,6 @@ protected function _construct() /** * @return array - * @since 2.0.0 */ public function getSelectorOptions() { @@ -93,7 +86,6 @@ public function getSelectorOptions() * @param string $labelPart * @param int $templateId * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getSuggestedAttributes($labelPart, $templateId = null) { @@ -123,7 +115,6 @@ public function getSuggestedAttributes($labelPart, $templateId = null) /** * @return string - * @since 2.0.0 */ public function getAddAttributeUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/ChildTab.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/ChildTab.php index 3098f6ae2ff3e..4c0468d087342 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/ChildTab.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/ChildTab.php @@ -12,20 +12,17 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab * - * @since 2.0.0 */ class ChildTab extends \Magento\Backend\Block\Template { /** * @var \Magento\Backend\Block\Widget\Tab\TabInterface - * @since 2.0.0 */ protected $tab; /** * @param \Magento\Backend\Block\Widget\Tab\TabInterface $tab * @return $this - * @since 2.0.0 */ public function setTab(\Magento\Backend\Block\Widget\Tab\TabInterface $tab) { @@ -35,7 +32,6 @@ public function setTab(\Magento\Backend\Block\Widget\Tab\TabInterface $tab) /** * @return string - * @since 2.0.0 */ public function getTitle() { @@ -44,7 +40,6 @@ public function getTitle() /** * @return string - * @since 2.0.0 */ public function getContent() { @@ -53,7 +48,6 @@ public function getContent() /** * @return string - * @since 2.0.0 */ public function getTabId() { @@ -62,7 +56,6 @@ public function getTabId() /** * @return bool - * @since 2.0.0 */ public function isTabOpened() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php index 0a7af2abf0b4f..5dab3e2bac695 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Crosssell.php @@ -12,7 +12,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Crosssell extends Extended { @@ -20,43 +19,36 @@ class Crosssell extends Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\Product\LinkFactory - * @since 2.0.0 */ protected $_linkFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory] - * @since 2.0.0 */ protected $_setsFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_type; /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $_status; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_visibility; @@ -73,7 +65,6 @@ class Crosssell extends Extended * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -101,7 +92,6 @@ public function __construct( * Set grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -121,7 +111,6 @@ protected function _construct() * Retrieve currently edited product model * * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -133,7 +122,6 @@ public function getProduct() * * @param Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -160,7 +148,6 @@ protected function _addColumnFilterToCollection($column) * Prepare collection * * @return Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -188,7 +175,6 @@ protected function _prepareCollection() * Checks when this block is readonly * * @return bool - * @since 2.0.0 */ public function isReadonly() { @@ -200,7 +186,6 @@ public function isReadonly() * * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareColumns() { @@ -340,7 +325,6 @@ protected function _prepareColumns() * Retrieve grid URL * * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -358,7 +342,6 @@ public function getGridUrl() * Retrieve selected crosssell products * * @return array - * @since 2.0.0 */ protected function _getSelectedProducts() { @@ -373,7 +356,6 @@ protected function _getSelectedProducts() * Retrieve crosssell products * * @return array - * @since 2.0.0 */ public function getSelectedCrossSellProducts() { @@ -390,7 +372,6 @@ public function getSelectedCrossSellProducts() * @param \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection $collection $collection * @param \Magento\Backend\Block\Widget\Grid\Column\Extended $column * @return $this - * @since 2.0.0 */ public function filterProductPosition($collection, $column) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Inventory.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Inventory.php index 0497d950a9795..e52c1d3aa4985 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Inventory.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Inventory.php @@ -9,19 +9,16 @@ /** * Product inventory data - * @since 2.0.0 */ class Inventory extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/tab/inventory.phtml'; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -29,31 +26,26 @@ class Inventory extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; /** * @var \Magento\CatalogInventory\Model\Source\Stock - * @since 2.0.0 */ protected $stock; /** * @var \Magento\CatalogInventory\Model\Source\Backorders - * @since 2.0.0 */ protected $backorders; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\CatalogInventory\Api\StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; @@ -66,7 +58,6 @@ class Inventory extends \Magento\Backend\Block\Widget * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry * @param \Magento\CatalogInventory\Api\StockConfigurationInterface $stockConfiguration * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -89,7 +80,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getBackordersOption() { @@ -104,7 +94,6 @@ public function getBackordersOption() * Retrieve stock option array * * @return array - * @since 2.0.0 */ public function getStockOption() { @@ -119,7 +108,6 @@ public function getStockOption() * Return current product instance * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -130,7 +118,6 @@ public function getProduct() * Retrieve Catalog Inventory Stock Item Model * * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem() { @@ -143,7 +130,6 @@ public function getStockItem() /** * @param string $field * @return string|null - * @since 2.0.0 */ public function getFieldValue($field) { @@ -161,7 +147,6 @@ public function getFieldValue($field) /** * @param string $field * @return string|null - * @since 2.0.0 */ public function getConfigFieldValue($field) { @@ -180,7 +165,6 @@ public function getConfigFieldValue($field) /** * @param string $field * @return string|null - * @since 2.0.0 */ public function getDefaultConfigValue($field) { @@ -191,7 +175,6 @@ public function getDefaultConfigValue($field) * Is readonly stock * * @return bool - * @since 2.0.0 */ public function isReadonly() { @@ -200,7 +183,6 @@ public function isReadonly() /** * @return bool - * @since 2.0.0 */ public function isNew() { @@ -212,7 +194,6 @@ public function isNew() /** * @return string - * @since 2.0.0 */ public function getFieldSuffix() { @@ -223,7 +204,6 @@ public function getFieldSuffix() * Check Whether product type can have fractional quantity or not * * @return bool - * @since 2.0.0 */ public function canUseQtyDecimals() { @@ -234,7 +214,6 @@ public function canUseQtyDecimals() * Check if product type is virtual * * @return bool - * @since 2.0.0 */ public function isVirtual() { @@ -243,7 +222,6 @@ public function isVirtual() /** * @return bool - * @since 2.0.0 */ public function isSingleStoreMode() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php index c0ed401794d03..b9fee3823bd68 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php @@ -9,19 +9,16 @@ /** * @api - * @since 2.0.0 */ class Options extends Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options.phtml'; /** * @return Widget - * @since 2.0.0 */ protected function _prepareLayout() { @@ -44,7 +41,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -53,7 +49,6 @@ public function getAddButtonHtml() /** * @return string - * @since 2.0.0 */ public function getOptionsBoxHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php index a233bcd4e4eca..64856a5c69dc7 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php @@ -17,31 +17,26 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Option extends Widget { /** * @var Product - * @since 2.0.0 */ protected $_productInstance; /** * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $_values; /** * @var int - * @since 2.0.0 */ protected $_itemCount = 1; /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options/option.phtml'; @@ -49,31 +44,26 @@ class Option extends Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ProductOptions\ConfigInterface - * @since 2.0.0 */ protected $_productOptionConfig; /** * @var Product - * @since 2.0.0 */ protected $_product; /** * @var \Magento\Config\Model\Config\Source\Yesno - * @since 2.0.0 */ protected $_configYesNo; /** * @var \Magento\Catalog\Model\Config\Source\Product\Options\Type - * @since 2.0.0 */ protected $_optionType; @@ -85,7 +75,6 @@ class Option extends Widget * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Model\ProductOptions\ConfigInterface $productOptionConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -108,7 +97,6 @@ public function __construct( * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -120,7 +108,6 @@ protected function _construct() /** * @return int - * @since 2.0.0 */ public function getItemCount() { @@ -130,7 +117,6 @@ public function getItemCount() /** * @param int $itemCount * @return $this - * @since 2.0.0 */ public function setItemCount($itemCount) { @@ -142,7 +128,6 @@ public function setItemCount($itemCount) * Get Product * * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -161,7 +146,6 @@ public function getProduct() /** * @param Product $product * @return $this - * @since 2.0.0 */ public function setProduct($product) { @@ -173,7 +157,6 @@ public function setProduct($product) * Retrieve options field name prefix * * @return string - * @since 2.0.0 */ public function getFieldName() { @@ -184,7 +167,6 @@ public function getFieldName() * Retrieve options field id prefix * * @return string - * @since 2.0.0 */ public function getFieldId() { @@ -195,7 +177,6 @@ public function getFieldId() * Check block is readonly * * @return bool - * @since 2.0.0 */ public function isReadonly() { @@ -204,7 +185,6 @@ public function isReadonly() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -217,7 +197,6 @@ protected function _prepareLayout() /** * @return mixed - * @since 2.0.0 */ public function getAddButtonId() { @@ -227,7 +206,6 @@ public function getAddButtonId() /** * @return mixed - * @since 2.0.0 */ public function getTypeSelectHtml() { @@ -249,7 +227,6 @@ public function getTypeSelectHtml() /** * @return mixed - * @since 2.0.0 */ public function getRequireSelectHtml() { @@ -270,7 +247,6 @@ public function getRequireSelectHtml() * Retrieve html templates for different types of product custom options * * @return string - * @since 2.0.0 */ public function getTemplatesHtml() { @@ -302,7 +278,6 @@ public function getTemplatesHtml() * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getOptionValues() { @@ -426,7 +401,6 @@ public function getOptionValues() * @param string $select_id * @param array $containers * @return string - * @since 2.0.0 */ public function getCheckboxScopeHtml($id, $name, $checked = true, $select_id = '-1', array $containers = []) { @@ -462,7 +436,6 @@ public function getCheckboxScopeHtml($id, $name, $checked = true, $select_id = ' * @param float $value * @param string $type * @return string - * @since 2.0.0 */ public function getPriceValue($value, $type) { @@ -477,7 +450,6 @@ public function getPriceValue($value, $type) * Return product grid url for custom options import popup * * @return string - * @since 2.0.0 */ public function getProductGridUrl() { @@ -488,7 +460,6 @@ public function getProductGridUrl() * Return custom options getter URL for ajax queries * * @return string - * @since 2.0.0 */ public function getCustomOptionsUrl() { @@ -499,7 +470,6 @@ public function getCustomOptionsUrl() * Return current product id * * @return null|int - * @since 2.0.0 */ public function getCurrentProductId() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php index 8d901fa36c3c7..37c46de6ff3d9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Popup/Grid.php @@ -16,7 +16,6 @@ /** * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Grid extends \Magento\Catalog\Block\Adminhtml\Product\Grid { @@ -26,7 +25,6 @@ class Grid extends \Magento\Catalog\Block\Adminhtml\Product\Grid * @param Product|\Magento\Framework\DataObject $row * @return string|null * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getRowUrl($row) { @@ -37,7 +35,6 @@ public function getRowUrl($row) * Remove some grid columns for product grid in popup * * @return void - * @since 2.0.0 */ public function _prepareColumns() { @@ -51,7 +48,6 @@ public function _prepareColumns() * Add import action to massaction block * * @return $this - * @since 2.0.0 */ public function _prepareMassaction() { @@ -63,7 +59,6 @@ public function _prepareMassaction() /** * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -89,7 +84,6 @@ protected function _prepareCollection() * Define grid update URL for ajax queries * * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php index 0cdde1e6367f5..1e94025edd4c6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php @@ -14,19 +14,16 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType * - * @since 2.0.0 */ class AbstractType extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_name = 'abstract'; /** * @var \Magento\Catalog\Model\Config\Source\Product\Options\Price - * @since 2.0.0 */ protected $_optionPrice; @@ -34,7 +31,6 @@ class AbstractType extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Catalog\Model\Config\Source\Product\Options\Price $optionPrice * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -81,7 +76,6 @@ protected function _prepareLayout() * * @param string $extraParams * @return string - * @since 2.0.0 */ public function getPriceTypeSelectHtml($extraParams = '') { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Date.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Date.php index e5cf872f519f7..28869a6bcd54b 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Date.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Date.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Date * - * @since 2.0.0 */ class Date extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options/type/date.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/File.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/File.php index 899f470a77d7b..daea7900dcaa9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/File.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/File.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\File * - * @since 2.0.0 */ class File extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options/type/file.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php index 75301802665dd..a7e7ee0e4e1a7 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Select * - * @since 2.0.0 */ class Select extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options/type/select.phtml'; @@ -28,7 +26,6 @@ class Select extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\T * Class constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -40,7 +37,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -69,7 +65,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -78,7 +73,6 @@ public function getAddButtonHtml() /** * @return string - * @since 2.0.0 */ public function getDeleteButtonHtml() { @@ -90,7 +84,6 @@ public function getDeleteButtonHtml() * * @param string $extraParams * @return string - * @since 2.0.0 */ public function getPriceTypeSelectHtml($extraParams = '') { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Text.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Text.php index 2f2aca22f87bc..fe5405b12834e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Text.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Text.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\Text * - * @since 2.0.0 */ class Text extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/options/type/text.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price.php index 1f0fa2c77fd53..89cbdc9f7f382 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price.php @@ -12,13 +12,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Price * - * @since 2.0.0 */ class Price extends \Magento\Backend\Block\Widget\Form\Generic { /** * @return void - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Group/AbstractGroup.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Group/AbstractGroup.php index 6f15ac55ff678..5ffd3d1dda38d 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Group/AbstractGroup.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Group/AbstractGroup.php @@ -14,7 +14,6 @@ * Adminhtml group price item abstract renderer * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractGroup extends Widget implements RendererInterface { @@ -22,7 +21,6 @@ abstract class AbstractGroup extends Widget implements RendererInterface * Form element instance * * @var \Magento\Framework\Data\Form\Element\AbstractElement - * @since 2.0.0 */ protected $_element; @@ -30,7 +28,6 @@ abstract class AbstractGroup extends Widget implements RendererInterface * Customer groups cache * * @var array - * @since 2.0.0 */ protected $_customerGroups; @@ -38,7 +35,6 @@ abstract class AbstractGroup extends Widget implements RendererInterface * Websites cache * * @var array - * @since 2.0.0 */ protected $_websites; @@ -46,7 +42,6 @@ abstract class AbstractGroup extends Widget implements RendererInterface * Catalog data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -54,37 +49,31 @@ abstract class AbstractGroup extends Widget implements RendererInterface * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $_directoryHelper; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $_groupRepository; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $_searchCriteriaBuilder; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -98,7 +87,6 @@ abstract class AbstractGroup extends Widget implements RendererInterface * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\Locale\CurrencyInterface $localeCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -125,7 +113,6 @@ public function __construct( * Retrieve current product instance * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -137,7 +124,6 @@ public function getProduct() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -150,7 +136,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Price\Group\AbstractGroup - * @since 2.0.0 */ public function setElement(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -162,7 +147,6 @@ public function setElement(\Magento\Framework\Data\Form\Element\AbstractElement * Retrieve form element instance * * @return \Magento\Framework\Data\Form\Element\AbstractElement - * @since 2.0.0 */ public function getElement() { @@ -173,7 +157,6 @@ public function getElement() * Prepare group price values * * @return array - * @since 2.0.0 */ public function getValues() { @@ -202,7 +185,6 @@ public function getValues() * * @param array $data * @return array - * @since 2.0.0 */ protected function _sortValues($data) { @@ -214,7 +196,6 @@ protected function _sortValues($data) * * @param int|null $groupId return name by customer group id * @return array|string - * @since 2.0.0 */ public function getCustomerGroups($groupId = null) { @@ -241,7 +222,6 @@ public function getCustomerGroups($groupId = null) * Retrieve list of initial customer groups * * @return array - * @since 2.0.0 */ protected function _getInitialCustomerGroups() { @@ -252,7 +232,6 @@ protected function _getInitialCustomerGroups() * Retrieve number of websites * * @return int - * @since 2.0.0 */ public function getWebsiteCount() { @@ -263,7 +242,6 @@ public function getWebsiteCount() * Show website column and switcher for group price table * * @return bool - * @since 2.0.0 */ public function isMultiWebsites() { @@ -274,7 +252,6 @@ public function isMultiWebsites() * Retrieve allowed for edit websites * * @return array - * @since 2.0.0 */ public function getWebsites() { @@ -316,7 +293,6 @@ public function getWebsites() * Retrieve default value for customer group * * @return int - * @since 2.0.0 */ public function getDefaultCustomerGroup() { @@ -327,7 +303,6 @@ public function getDefaultCustomerGroup() * Retrieve default value for website * * @return int - * @since 2.0.0 */ public function getDefaultWebsite() { @@ -341,7 +316,6 @@ public function getDefaultWebsite() * Retrieve 'add group price item' button HTML * * @return string - * @since 2.0.0 */ public function getAddButtonHtml() { @@ -353,7 +327,6 @@ public function getAddButtonHtml() * * @param string $default * @return string - * @since 2.0.0 */ public function getPriceColumnHeader($default) { @@ -369,7 +342,6 @@ public function getPriceColumnHeader($default) * * @param string $default * @return string - * @since 2.0.0 */ public function getPriceValidation($default) { @@ -384,7 +356,6 @@ public function getPriceValidation($default) * Retrieve Group Price entity attribute * * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.0.0 */ public function getAttribute() { @@ -395,7 +366,6 @@ public function getAttribute() * Check group price attribute scope is global * * @return bool - * @since 2.0.0 */ public function isScopeGlobal() { @@ -406,7 +376,6 @@ public function isScopeGlobal() * Show group prices grid website column * * @return bool - * @since 2.0.0 */ public function isShowWebsiteColumn() { @@ -420,7 +389,6 @@ public function isShowWebsiteColumn() * Check is allow change website value for combination * * @return bool - * @since 2.0.0 */ public function isAllowChangeWebsite() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Tier.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Tier.php index f56ab478baa50..a80ddd8c122a1 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Tier.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Tier.php @@ -7,13 +7,11 @@ /** * Adminhtml tier price item renderer - * @since 2.0.0 */ class Tier extends Group\AbstractGroup { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/price/tier.phtml'; @@ -21,7 +19,6 @@ class Tier extends Group\AbstractGroup * Retrieve list of initial customer groups * * @return array - * @since 2.0.0 */ protected function _getInitialCustomerGroups() { @@ -33,7 +30,6 @@ protected function _getInitialCustomerGroups() * * @param array $data * @return array - * @since 2.0.0 */ protected function _sortValues($data) { @@ -48,7 +44,6 @@ protected function _sortValues($data) * @param array $b * @return int * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _sortTierPrices($a, $b) { @@ -70,7 +65,6 @@ protected function _sortTierPrices($a, $b) * Add "Add tier" button to layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php index f7ee82cf25457..b8a0a9cd07005 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Related.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Related extends Extended { @@ -18,43 +17,36 @@ class Related extends Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\Product\LinkFactory - * @since 2.0.0 */ protected $_linkFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory] - * @since 2.0.0 */ protected $_setsFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_type; /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $_status; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_visibility; @@ -71,7 +63,6 @@ class Related extends Extended * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -99,7 +90,6 @@ public function __construct( * Set grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -119,7 +109,6 @@ protected function _construct() * Retrieve currently edited product model * * @return array|null - * @since 2.0.0 */ public function getProduct() { @@ -131,7 +120,6 @@ public function getProduct() * * @param Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -158,7 +146,6 @@ protected function _addColumnFilterToCollection($column) * Prepare collection * * @return Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -184,7 +171,6 @@ protected function _prepareCollection() * Checks when this block is readonly * * @return bool - * @since 2.0.0 */ public function isReadonly() { @@ -196,7 +182,6 @@ public function isReadonly() * * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareColumns() { @@ -335,7 +320,6 @@ protected function _prepareColumns() * Rerieve grid URL * * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -353,7 +337,6 @@ public function getGridUrl() * Retrieve selected related products * * @return array - * @since 2.0.0 */ protected function _getSelectedProducts() { @@ -368,7 +351,6 @@ protected function _getSelectedProducts() * Retrieve related products * * @return array - * @since 2.0.0 */ public function getSelectedRelatedProducts() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php index 143deaba620bc..cb3d0ca26de65 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Upsell extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -15,43 +14,36 @@ class Upsell extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\Product\LinkFactory - * @since 2.0.0 */ protected $_linkFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory] - * @since 2.0.0 */ protected $_setsFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_type; /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $_status; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_visibility; @@ -68,7 +60,6 @@ class Upsell extends \Magento\Backend\Block\Widget\Grid\Extended * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -96,7 +87,6 @@ public function __construct( * Set grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -116,7 +106,6 @@ protected function _construct() * Retirve currently edited product model * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -128,7 +117,6 @@ public function getProduct() * * @param object $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -155,7 +143,6 @@ protected function _addColumnFilterToCollection($column) * Checks when this block is readonly * * @return boolean - * @since 2.0.0 */ public function isReadonly() { @@ -166,7 +153,6 @@ public function isReadonly() * Prepare collection * * @return \Magento\Backend\Block\Widget\Grid\Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -193,7 +179,6 @@ protected function _prepareCollection() * * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareColumns() { @@ -332,7 +317,6 @@ protected function _prepareColumns() * Rerieve grid URL * * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -350,7 +334,6 @@ public function getGridUrl() * Retrieve selected upsell products * * @return array - * @since 2.0.0 */ protected function _getSelectedProducts() { @@ -365,7 +348,6 @@ protected function _getSelectedProducts() * Retrieve upsell products * * @return array - * @since 2.0.0 */ public function getSelectedUpsellProducts() { @@ -382,7 +364,6 @@ public function getSelectedUpsellProducts() * @param \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection $collection * @param \Magento\Backend\Block\Widget\Grid\Column\Extended $column * @return $this - * @since 2.0.0 */ public function filterProductPosition($collection, $column) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Websites.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Websites.php index 50c0ba1b65845..ffc17c30b17d6 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Websites.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Websites.php @@ -14,19 +14,16 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Websites * - * @since 2.0.0 */ class Websites extends \Magento\Backend\Block\Store\Switcher { /** * @var string - * @since 2.0.0 */ protected $_storeFromHtml; /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/websites.phtml'; @@ -34,7 +31,6 @@ class Websites extends \Magento\Backend\Block\Store\Switcher * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -45,7 +41,6 @@ class Websites extends \Magento\Backend\Block\Store\Switcher * @param \Magento\Store\Model\StoreFactory $storeFactory * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -63,7 +58,6 @@ public function __construct( * Retrieve edited product model instance * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -74,7 +68,6 @@ public function getProduct() * Get store ID of current product * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -85,7 +78,6 @@ public function getStoreId() * Get ID of current product * * @return int - * @since 2.0.0 */ public function getProductId() { @@ -96,7 +88,6 @@ public function getProductId() * Retrieve array of website IDs of current product * * @return array - * @since 2.0.0 */ public function getWebsites() { @@ -108,7 +99,6 @@ public function getWebsites() * * @param int $websiteId * @return bool - * @since 2.0.0 */ public function hasWebsite($websiteId) { @@ -119,7 +109,6 @@ public function hasWebsite($websiteId) * Check websites block is readonly * * @return boolean - * @since 2.0.0 */ public function isReadonly() { @@ -131,7 +120,6 @@ public function isReadonly() * * @param int $storeId * @return null|string - * @since 2.0.0 */ public function getStoreName($storeId) { @@ -143,7 +131,6 @@ public function getStoreName($storeId) * * @param \Magento\Store\Model\Store $storeTo * @return string - * @since 2.0.0 */ public function getChooseFromStoreHtml($storeTo) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tabs.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tabs.php index 9482ba359edb3..04c3a208b97f9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tabs.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tabs.php @@ -21,7 +21,6 @@ /** * Admin product edit tabs * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Tabs extends WigetTabs { @@ -31,13 +30,11 @@ class Tabs extends WigetTabs /** * @var string - * @since 2.0.0 */ protected $_attributeTabBlock = \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes::class; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Catalog::product/edit/tabs.phtml'; @@ -45,7 +42,6 @@ class Tabs extends WigetTabs * Core registry * * @var Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -53,7 +49,6 @@ class Tabs extends WigetTabs * Catalog data * * @var Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -61,25 +56,21 @@ class Tabs extends WigetTabs * Adminhtml catalog * * @var Catalog - * @since 2.0.0 */ protected $_helperCatalog = null; /** * @var CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var Manager - * @since 2.0.0 */ protected $_moduleManager; /** * @var InlineInterface - * @since 2.0.0 */ protected $_translateInline; @@ -95,7 +86,6 @@ class Tabs extends WigetTabs * @param InlineInterface $translateInline * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( Context $context, @@ -120,7 +110,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -132,7 +121,6 @@ protected function _construct() /** * @param int $attributeSetId * @return \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group\Collection - * @since 2.0.0 */ public function getGroupCollection($attributeSetId) { @@ -147,7 +135,6 @@ public function getGroupCollection($attributeSetId) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareLayout() { @@ -295,7 +282,6 @@ protected function _prepareLayout() * Check whether active tab belong to advanced group * * @return bool - * @since 2.0.0 */ public function isAdvancedTabGroupActive() { @@ -306,7 +292,6 @@ public function isAdvancedTabGroupActive() * Retrieve product object from object if not from registry * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -320,7 +305,6 @@ public function getProduct() * Getting attribute block name for tabs * * @return string - * @since 2.0.0 */ public function getAttributeTabBlock() { @@ -333,7 +317,6 @@ public function getAttributeTabBlock() /** * @param string $attributeTabBlock * @return $this - * @since 2.0.0 */ public function setAttributeTabBlock($attributeTabBlock) { @@ -346,7 +329,6 @@ public function setAttributeTabBlock($attributeTabBlock) * * @param string $html * @return string - * @since 2.0.0 */ protected function _translateHtml($html) { @@ -357,7 +339,6 @@ protected function _translateHtml($html) /** * @param string $parentTab * @return string - * @since 2.0.0 */ public function getAccordion($parentTab) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Frontend/Product/Watermark.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Frontend/Product/Watermark.php index 57339c61c2b61..f8005d119598c 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Frontend/Product/Watermark.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Frontend/Product/Watermark.php @@ -16,32 +16,27 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Frontend\Product\Watermark * - * @since 2.0.0 */ class Watermark extends \Magento\Backend\Block\AbstractBlock implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { /** * @var \Magento\Framework\Data\Form\Element\Factory - * @since 2.0.0 */ protected $_elementFactory; /** * @var \Magento\Config\Block\System\Config\Form\Field - * @since 2.0.0 */ protected $_formField; /** * @var \Magento\Catalog\Model\Config\Source\Watermark\Position - * @since 2.0.0 */ protected $_watermarkPosition; /** * @var array - * @since 2.0.0 */ protected $_imageTypes; @@ -52,7 +47,6 @@ class Watermark extends \Magento\Backend\Block\AbstractBlock implements * @param \Magento\Framework\Data\Form\Element\Factory $elementFactory * @param array $imageTypes * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -72,7 +66,6 @@ public function __construct( /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { @@ -138,7 +131,6 @@ public function render(AbstractElement $element) * @param AbstractElement $element * @return string * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _getHeaderHtml($element) { @@ -163,7 +155,6 @@ protected function _getHeaderHtml($element) * @param AbstractElement $element * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getFooterHtml($element) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php index f68cffa9a5889..602961e8979c9 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Grid.php @@ -9,49 +9,41 @@ /** * @api - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory] - * @since 2.0.0 */ protected $_setsFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_type; /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $_status; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_visibility; /** * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; @@ -68,7 +60,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -94,7 +85,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -109,7 +99,6 @@ protected function _construct() /** * @return Store - * @since 2.0.0 */ protected function _getStore() { @@ -119,7 +108,6 @@ protected function _getStore() /** * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -200,7 +188,6 @@ protected function _prepareCollection() /** * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -222,7 +209,6 @@ protected function _addColumnFilterToCollection($column) /** * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareColumns() { @@ -387,7 +373,6 @@ protected function _prepareColumns() /** * @return $this - * @since 2.0.0 */ protected function _prepareMassaction() { @@ -440,7 +425,6 @@ protected function _prepareMassaction() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -450,7 +434,6 @@ public function getGridUrl() /** * @param \Magento\Catalog\Model\Product|\Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Apply.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Apply.php index 215a3f9982c83..59769901f9574 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Apply.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Apply.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Apply * - * @since 2.0.0 */ class Apply extends \Magento\Framework\Data\Form\Element\Multiselect { /** * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -49,7 +47,6 @@ public function getElementHtml() * @param bool $readonly * @param bool $useDisabled * @return $this - * @since 2.0.0 */ public function setReadonly($readonly, $useDisabled = false) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Boolean.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Boolean.php index 9eb686eb0da08..d4461f3d32ac5 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Boolean.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Boolean.php @@ -9,13 +9,11 @@ * Product form boolean field helper * * @author Magento Core Team - * @since 2.0.0 */ class Boolean extends \Magento\Framework\Data\Form\Element\Select { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Category.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Category.php index 0523c42c28f92..d95065cdcd108 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Category.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Category.php @@ -13,13 +13,11 @@ /** * Product form category field helper - * @since 2.0.0 */ class Category extends \Magento\Framework\Data\Form\Element\Multiselect { /** * @var \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ protected $_layout; @@ -27,25 +25,21 @@ class Category extends \Magento\Framework\Data\Form\Element\Multiselect * Backend data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData; /** * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var AuthorizationInterface - * @since 2.0.0 */ protected $authorization; @@ -59,7 +53,6 @@ class Category extends \Magento\Framework\Data\Form\Element\Multiselect * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param AuthorizationInterface $authorization * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -88,7 +81,6 @@ public function __construct( * Get values for select * * @return array - * @since 2.0.0 */ public function getValues() { @@ -112,7 +104,6 @@ public function getValues() * Get categories collection * * @return Collection - * @since 2.0.0 */ protected function _getCategoriesCollection() { @@ -123,7 +114,6 @@ protected function _getCategoriesCollection() * Attach category suggest widget initialization * * @return string - * @since 2.0.0 */ public function getAfterElementHtml() { @@ -161,7 +151,6 @@ public function getAfterElementHtml() * Get selector options * * @return array - * @since 2.0.0 */ protected function _getSelectorOptions() { @@ -178,7 +167,6 @@ protected function _getSelectorOptions() * Whether permission is granted * * @return bool - * @since 2.0.0 */ protected function isAllowed() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Config.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Config.php index f2f03d23ecdbd..d318c59773fde 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Config.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Config.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Config * - * @since 2.0.0 */ class Config extends \Magento\Framework\Data\Form\Element\Select { @@ -22,7 +21,6 @@ class Config extends \Magento\Framework\Data\Form\Element\Select * Retrieve element html * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -52,7 +50,6 @@ public function getElementHtml() * Get config value data * * @return mixed - * @since 2.0.0 */ protected function _getValueFromConfig() { 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 cadb240d08a2a..f7970ba7b617d 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 @@ -21,7 +21,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery * - * @since 2.0.0 */ class Gallery extends \Magento\Framework\View\Element\AbstractBlock { @@ -87,7 +86,6 @@ class Gallery extends \Magento\Framework\View\Element\AbstractBlock * @param Registry $registry * @param \Magento\Framework\Data\Form $form * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Context $context, @@ -104,7 +102,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -127,7 +124,6 @@ public function getImages() * Prepares content block * * @return string - * @since 2.0.0 */ public function getContentHtml() { @@ -181,7 +177,6 @@ public function getDataScopeHtmlId() * * @param Attribute $attribute * @return bool - * @since 2.0.0 */ public function canDisplayUseDefault($attribute) { @@ -197,7 +192,6 @@ public function canDisplayUseDefault($attribute) * * @param Attribute $attribute * @return bool - * @since 2.0.0 */ public function usedDefault($attribute) { @@ -224,7 +218,6 @@ public function usedDefault($attribute) * * @param Attribute $attribute * @return string - * @since 2.0.0 */ public function getScopeLabel($attribute) { @@ -247,7 +240,6 @@ public function getScopeLabel($attribute) * Retrieve data object related with form * * @return ProductInterface|Product - * @since 2.0.0 */ public function getDataObject() { @@ -260,7 +252,6 @@ public function getDataObject() * * @param Attribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeFieldName($attribute) { @@ -273,7 +264,6 @@ public function getAttributeFieldName($attribute) /** * @return string - * @since 2.0.0 */ public function toHtml() { @@ -284,7 +274,6 @@ public function toHtml() * Default sore ID getter * * @return integer - * @since 2.0.0 */ protected function _getDefaultStoreId() { 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 bd5ea0d90ad03..95366ab7db383 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 @@ -21,31 +21,27 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Gallery\Content * - * @since 2.0.0 */ class Content extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/helper/gallery.phtml'; /** * @var \Magento\Catalog\Model\Product\Media\Config - * @since 2.0.0 */ protected $_mediaConfig; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Catalog\Helper\Image - * @since 2.2.0 + * @since 2.1.3 */ private $imageHelper; @@ -54,7 +50,6 @@ class Content extends \Magento\Backend\Block\Widget * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param \Magento\Catalog\Model\Product\Media\Config $mediaConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -69,7 +64,6 @@ public function __construct( /** * @return AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -97,7 +91,6 @@ protected function _prepareLayout() * Retrieve uploader block * * @return Uploader - * @since 2.0.0 */ public function getUploader() { @@ -108,7 +101,6 @@ public function getUploader() * Retrieve uploader block html * * @return string - * @since 2.0.0 */ public function getUploaderHtml() { @@ -117,7 +109,6 @@ public function getUploaderHtml() /** * @return string - * @since 2.0.0 */ public function getJsObjectName() { @@ -126,7 +117,6 @@ public function getJsObjectName() /** * @return string - * @since 2.0.0 */ public function getAddImagesButton() { @@ -140,7 +130,6 @@ public function getAddImagesButton() /** * @return string - * @since 2.0.0 */ public function getImagesJson() { @@ -187,7 +176,6 @@ private function sortImagesByPosition($images) /** * @return string - * @since 2.0.0 */ public function getImagesValuesJson() { @@ -205,7 +193,6 @@ public function getImagesValuesJson() * Get image types data * * @return array - * @since 2.0.0 */ public function getImageTypes() { @@ -227,7 +214,6 @@ public function getImageTypes() * Retrieve default state allowance * * @return bool - * @since 2.0.0 */ public function hasUseDefault() { @@ -244,7 +230,6 @@ public function hasUseDefault() * Retrieve media attributes * * @return array - * @since 2.0.0 */ public function getMediaAttributes() { @@ -255,7 +240,6 @@ public function getMediaAttributes() * Retrieve JSON data * * @return string - * @since 2.0.0 */ public function getImageTypesJson() { @@ -264,8 +248,8 @@ public function getImageTypesJson() /** * @return \Magento\Catalog\Helper\Image - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ private function getImageHelper() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Image.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Image.php index e79ecfd3888f1..03fda8cea76f3 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Image.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Image.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Image * - * @since 2.0.0 */ class Image extends \Magento\Framework\Data\Form\Element\Image { /** * @return bool|string - * @since 2.0.0 */ protected function _getUrl() { @@ -35,7 +33,6 @@ protected function _getUrl() /** * @return string - * @since 2.0.0 */ protected function _getDeleteCheckbox() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Price.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Price.php index a63263f408cc5..95177e234c4af 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Price.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Price.php @@ -8,7 +8,6 @@ /** * Product form price field helper - * @since 2.0.0 */ class Price extends \Magento\Framework\Data\Form\Element\Text { @@ -16,19 +15,16 @@ class Price extends \Magento\Framework\Data\Form\Element\Text * Tax data * * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $_taxData; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -40,7 +36,6 @@ class Price extends \Magento\Framework\Data\Form\Element\Text * @param \Magento\Framework\Locale\CurrencyInterface $localeCurrency * @param \Magento\Tax\Helper\Data $taxData * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -59,7 +54,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -69,7 +63,6 @@ protected function _construct() /** * @return mixed - * @since 2.0.0 */ public function getAfterElementHtml() { @@ -102,7 +95,6 @@ public function getAfterElementHtml() /** * @param mixed $attribute * @return string - * @since 2.0.0 */ protected function _getTaxObservingCode($attribute) { @@ -114,7 +106,6 @@ protected function _getTaxObservingCode($attribute) /** * @param mixed $attribute * @return \Magento\Store\Model\Store - * @since 2.0.0 */ protected function getStore($attribute) { @@ -129,7 +120,6 @@ protected function getStore($attribute) * @param null|int|string $index * @return null|string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getEscapedValue($index = null) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Weight.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Weight.php index a026be439edc7..f998ebbae5d43 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Weight.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Weight.php @@ -15,7 +15,6 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Weight * - * @since 2.0.0 */ class Weight extends \Magento\Framework\Data\Form\Element\Text { @@ -23,19 +22,16 @@ class Weight extends \Magento\Framework\Data\Form\Element\Text * Weight switcher radio-button element * * @var \Magento\Framework\Data\Form\Element\Checkbox - * @since 2.0.0 */ protected $weightSwitcher; /** * @var \Magento\Framework\Locale\Format - * @since 2.0.0 */ protected $localeFormat; /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $directoryHelper; @@ -46,7 +42,6 @@ class Weight extends \Magento\Framework\Data\Form\Element\Text * @param \Magento\Framework\Locale\Format $localeFormat * @param \Magento\Directory\Helper\Data $directoryHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -81,7 +76,6 @@ public function __construct( * Add Weight Switcher radio-button element html to weight field * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -114,7 +108,6 @@ public function getElementHtml() * * @param Form $form * @return $this - * @since 2.0.0 */ public function setForm($form) { @@ -126,7 +119,6 @@ public function setForm($form) * @param null|int|string $index * @return null|string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getEscapedValue($index = null) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php index 7c269b2d32c55..b6b29d119bc1d 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Options/Ajax.php @@ -11,7 +11,6 @@ * JSON products custom options * * @api - * @since 2.0.0 */ class Ajax extends \Magento\Backend\Block\AbstractBlock { @@ -19,19 +18,16 @@ class Ajax extends \Magento\Backend\Block\AbstractBlock * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -41,7 +37,6 @@ class Ajax extends \Magento\Backend\Block\AbstractBlock * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -60,7 +55,6 @@ public function __construct( * Return product custom options in JSON format * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Price.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Price.php index df3ba74e6f3c3..81bf32f3c80c8 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Price.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Price.php @@ -13,14 +13,12 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Price * - * @since 2.0.0 */ class Price extends \Magento\Catalog\Block\Product\Price { /** * @param null|string|bool|int|\Magento\Store\Model\Store $storeId * @return bool|\Magento\Store\Model\Website - * @since 2.0.0 */ public function getWebsite($storeId) { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser.php index 0ed2cd221133b..38e72e0bd30fb 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser.php @@ -19,37 +19,31 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends Extended { /** * @var array - * @since 2.0.0 */ protected $_selectedProducts = []; /** * @var \Magento\Catalog\Model\ResourceModel\Category - * @since 2.0.0 */ protected $_resourceCategory; /** * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.0.0 */ protected $_resourceProduct; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $_categoryFactory; @@ -61,7 +55,6 @@ class Chooser extends Extended * @param \Magento\Catalog\Model\ResourceModel\Category $resourceCategory * @param \Magento\Catalog\Model\ResourceModel\Product $resourceProduct * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -83,7 +76,6 @@ public function __construct( * Block construction, prepare grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -97,7 +89,6 @@ protected function _construct() * * @param AbstractElement $element Form Element * @return AbstractElement - * @since 2.0.0 */ public function prepareElementHtml(AbstractElement $element) { @@ -154,7 +145,6 @@ public function prepareElementHtml(AbstractElement $element) * Checkbox Check JS Callback * * @return string - * @since 2.0.0 */ public function getCheckboxCheckCallback() { @@ -169,7 +159,6 @@ public function getCheckboxCheckCallback() * Grid Row JS Callback * * @return string - * @since 2.0.0 */ public function getRowClickCallback() { @@ -206,7 +195,6 @@ function (grid, event) { * Category Tree node onClick listener js function * * @return string - * @since 2.0.0 */ public function getCategoryClickListenerJs() { @@ -227,7 +215,6 @@ function (node, e) { * * @param Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -248,7 +235,6 @@ protected function _addColumnFilterToCollection($column) * Prepare products collection, defined collection filters (category, product type) * * @return Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -280,7 +266,6 @@ protected function _prepareCollection() * Prepare columns for products grid * * @return Extended - * @since 2.0.0 */ protected function _prepareColumns() { @@ -339,7 +324,6 @@ protected function _prepareColumns() * Adds additional parameter to URL for loading only products grid * * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -360,7 +344,6 @@ public function getGridUrl() * * @param array $selectedProducts * @return $this - * @since 2.0.0 */ public function setSelectedProducts($selectedProducts) { @@ -372,7 +355,6 @@ public function setSelectedProducts($selectedProducts) * Getter * * @return array - * @since 2.0.0 */ public function getSelectedProducts() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser/Container.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser/Container.php index 4593632dac9cd..3faf7efbdf5a0 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser/Container.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser/Container.php @@ -16,13 +16,11 @@ /** * Class \Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser\Container * - * @since 2.0.0 */ class Container extends Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/widget/chooser/container.phtml'; } diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Rss/Grid/Link.php b/app/code/Magento/Catalog/Block/Adminhtml/Rss/Grid/Link.php index 5583d4cb55419..dbeff93683bc0 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Rss/Grid/Link.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Rss/Grid/Link.php @@ -7,19 +7,16 @@ /** * Class Link - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'rss/grid/link.phtml'; /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; @@ -27,7 +24,6 @@ class Link extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\App\Rss\UrlBuilderInterface $rssUrlBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -49,7 +44,6 @@ protected function _construct() /** * @return string - * @since 2.0.0 */ public function getLink() { @@ -58,7 +52,6 @@ public function getLink() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getLabel() { @@ -69,7 +62,6 @@ public function getLabel() * Check whether status notification is allowed * * @return bool - * @since 2.0.0 */ public function isRssAllowed() { @@ -78,7 +70,6 @@ public function isRssAllowed() /** * @return string - * @since 2.0.0 */ protected function getLinkParams() { diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Rss/NotifyStock.php b/app/code/Magento/Catalog/Block/Adminhtml/Rss/NotifyStock.php index e4f40bfd622c8..ac1fd8c692ed2 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Rss/NotifyStock.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Rss/NotifyStock.php @@ -10,19 +10,16 @@ /** * Class NotifyStock * @package Magento\Catalog\Block\Adminhtml\Rss - * @since 2.0.0 */ class NotifyStock extends \Magento\Backend\Block\AbstractBlock implements DataProviderInterface { /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; /** * @var \Magento\Catalog\Model\Rss\Product\NotifyStock - * @since 2.0.0 */ protected $rssModel; @@ -31,7 +28,6 @@ class NotifyStock extends \Magento\Backend\Block\AbstractBlock implements DataPr * @param \Magento\Catalog\Model\Rss\Product\NotifyStock $rssModel * @param \Magento\Framework\App\Rss\UrlBuilderInterface $rssUrlBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -46,7 +42,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -56,7 +51,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRssData() { @@ -80,7 +74,6 @@ public function getRssData() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCacheLifetime() { @@ -89,7 +82,6 @@ public function getCacheLifetime() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAllowed() { @@ -98,7 +90,6 @@ public function isAllowed() /** * {@inheritdoc} - * @since 2.0.0 */ public function getFeeds() { @@ -107,7 +98,6 @@ public function getFeeds() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAuthRequired() { diff --git a/app/code/Magento/Catalog/Block/Breadcrumbs.php b/app/code/Magento/Catalog/Block/Breadcrumbs.php index e24c2c044a72c..7f77fd5db3637 100644 --- a/app/code/Magento/Catalog/Block/Breadcrumbs.php +++ b/app/code/Magento/Catalog/Block/Breadcrumbs.php @@ -18,7 +18,6 @@ /** * Class \Magento\Catalog\Block\Breadcrumbs * - * @since 2.0.0 */ class Breadcrumbs extends \Magento\Framework\View\Element\Template { @@ -26,7 +25,6 @@ class Breadcrumbs extends \Magento\Framework\View\Element\Template * Catalog data * * @var Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -34,7 +32,6 @@ class Breadcrumbs extends \Magento\Framework\View\Element\Template * @param Context $context * @param Data $catalogData * @param array $data - * @since 2.0.0 */ public function __construct(Context $context, Data $catalogData, array $data = []) { @@ -47,7 +44,6 @@ public function __construct(Context $context, Data $catalogData, array $data = [ * * @param null|string|bool|int|Store $store * @return string - * @since 2.0.0 */ public function getTitleSeparator($store = null) { @@ -59,7 +55,6 @@ public function getTitleSeparator($store = null) * Preparing layout * * @return \Magento\Catalog\Block\Breadcrumbs - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Catalog/Block/Category/Rss/Link.php b/app/code/Magento/Catalog/Block/Category/Rss/Link.php index d18d80534bfbf..0cdfe71a53593 100644 --- a/app/code/Magento/Catalog/Block/Category/Rss/Link.php +++ b/app/code/Magento/Catalog/Block/Category/Rss/Link.php @@ -9,7 +9,6 @@ * Class Link * @api * @package Magento\Catalog\Block\Category\Rss - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Template { @@ -17,13 +16,11 @@ class Link extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry = null; /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; @@ -32,7 +29,6 @@ class Link extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\App\Rss\UrlBuilderInterface $rssUrlBuilder * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function isRssAllowed() { @@ -59,7 +54,6 @@ public function isRssAllowed() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getLabel() { @@ -68,7 +62,6 @@ public function getLabel() /** * @return string - * @since 2.0.0 */ protected function getLinkParams() { @@ -81,7 +74,6 @@ protected function getLinkParams() /** * @return bool - * @since 2.0.0 */ public function isTopCategory() { @@ -90,7 +82,6 @@ public function isTopCategory() /** * @return string - * @since 2.0.0 */ public function getLink() { diff --git a/app/code/Magento/Catalog/Block/Category/View.php b/app/code/Magento/Catalog/Block/Category/View.php index a7e463e34cad4..c95ded2a8ba0a 100644 --- a/app/code/Magento/Catalog/Block/Category/View.php +++ b/app/code/Magento/Catalog/Block/Category/View.php @@ -9,7 +9,6 @@ * Class View * @api * @package Magento\Catalog\Block\Category - * @since 2.0.0 */ class View extends \Magento\Framework\View\Element\Template implements \Magento\Framework\DataObject\IdentityInterface { @@ -17,7 +16,6 @@ class View extends \Magento\Framework\View\Element\Template implements \Magento\ * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -25,13 +23,11 @@ class View extends \Magento\Framework\View\Element\Template implements \Magento\ * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $_catalogLayer; /** * @var \Magento\Catalog\Helper\Category - * @since 2.0.0 */ protected $_categoryHelper; @@ -41,7 +37,6 @@ class View extends \Magento\Framework\View\Element\Template implements \Magento\ * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Helper\Category $categoryHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -58,7 +53,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -99,7 +93,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getProductListHtml() { @@ -110,7 +103,6 @@ public function getProductListHtml() * Retrieve current category model object * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getCurrentCategory() { @@ -122,7 +114,6 @@ public function getCurrentCategory() /** * @return mixed - * @since 2.0.0 */ public function getCmsBlockHtml() { @@ -140,7 +131,6 @@ public function getCmsBlockHtml() /** * Check if category display mode is "Products Only" * @return bool - * @since 2.0.0 */ public function isProductMode() { @@ -150,7 +140,6 @@ public function isProductMode() /** * Check if category display mode is "Static Block and Products" * @return bool - * @since 2.0.0 */ public function isMixedMode() { @@ -162,7 +151,6 @@ public function isMixedMode() * For anchor category with applied filter Static Block Only mode not allowed * * @return bool - * @since 2.0.0 */ public function isContentMode() { @@ -184,7 +172,6 @@ public function isContentMode() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Block/Navigation.php b/app/code/Magento/Catalog/Block/Navigation.php index ba2131fc70ac7..86c3b85d15006 100644 --- a/app/code/Magento/Catalog/Block/Navigation.php +++ b/app/code/Magento/Catalog/Block/Navigation.php @@ -17,13 +17,11 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Navigation extends \Magento\Framework\View\Element\Template implements \Magento\Framework\DataObject\IdentityInterface { /** * @var Category - * @since 2.0.0 */ protected $_categoryInstance; @@ -31,7 +29,6 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Current category key * * @var string - * @since 2.0.0 */ protected $_currentCategoryKey; @@ -39,7 +36,6 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Array of level position counters * * @var array - * @since 2.0.0 */ protected $_itemLevelPositions = []; @@ -47,13 +43,11 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Catalog category * * @var \Magento\Catalog\Helper\Category - * @since 2.0.0 */ protected $_catalogCategory; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_registry; @@ -61,7 +55,6 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Customer session * * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -69,7 +62,6 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $_catalogLayer; @@ -77,13 +69,11 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; /** * @var \Magento\Catalog\Model\Indexer\Category\Flat\State - * @since 2.0.0 */ protected $flatState; @@ -97,7 +87,6 @@ class Navigation extends \Magento\Framework\View\Element\Template implements \Ma * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Model\Indexer\Category\Flat\State $flatState * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -122,7 +111,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -138,7 +126,6 @@ protected function _construct() * Get current category * * @return Category - * @since 2.0.0 */ public function getCategory() { @@ -149,7 +136,6 @@ public function getCategory() * Get Key pieces for caching block content * * @return array - * @since 2.0.0 */ public function getCacheKeyInfo() { @@ -178,7 +164,6 @@ public function getCacheKeyInfo() * Get current category key * * @return string - * @since 2.0.0 */ public function getCurrentCategoryKey() { @@ -198,7 +183,6 @@ public function getCurrentCategoryKey() * Retrieve child categories of current category * * @return \Magento\Framework\Data\Tree\Node\Collection - * @since 2.0.0 */ public function getCurrentChildCategories() { @@ -215,7 +199,6 @@ public function getCurrentChildCategories() * * @param \Magento\Framework\DataObject $category * @return bool - * @since 2.0.0 */ public function isCategoryActive($category) { @@ -230,7 +213,6 @@ public function isCategoryActive($category) * * @param Category $category * @return string - * @since 2.0.0 */ public function getCategoryUrl($category) { @@ -247,7 +229,6 @@ public function getCategoryUrl($category) * Enter description here... * * @return Category - * @since 2.0.0 */ public function getCurrentCategory() { @@ -258,7 +239,6 @@ public function getCurrentCategory() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Block/Product/AbstractProduct.php b/app/code/Magento/Catalog/Block/Product/AbstractProduct.php index 6b35f9250317a..6e56878c00287 100644 --- a/app/code/Magento/Catalog/Block/Product/AbstractProduct.php +++ b/app/code/Magento/Catalog/Block/Product/AbstractProduct.php @@ -11,13 +11,11 @@ * @deprecated 2.2.0 * @SuppressWarnings(PHPMD.NumberOfChildren) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AbstractProduct extends \Magento\Framework\View\Element\Template { /** * @var array - * @since 2.0.0 */ protected $_priceBlock = []; @@ -25,7 +23,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Flag which allow/disallow to use link for as low as price * * @var bool - * @since 2.0.0 */ protected $_useLinkForAsLowAs = true; @@ -33,7 +30,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Default product amount per row * * @var int - * @since 2.0.0 */ protected $_defaultColumnCount = 3; @@ -41,7 +37,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Product amount per row depending on custom page layout of category * * @var array - * @since 2.0.0 */ protected $_columnCountLayoutDepend = []; @@ -49,7 +44,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -57,7 +51,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Tax data * * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $_taxData; @@ -65,49 +58,41 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $_mathRandom; /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $_cartHelper; /** * @var \Magento\Wishlist\Helper\Data - * @since 2.0.0 */ protected $_wishlistHelper; /** * @var \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ protected $_compareProduct; /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $_imageHelper; /** * @var ReviewRendererInterface - * @since 2.0.0 */ protected $reviewRenderer; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; @@ -120,7 +105,6 @@ class AbstractProduct extends \Magento\Framework\View\Element\Template /** * @param Context $context * @param array $data - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Block\Product\Context $context, array $data = []) { @@ -145,7 +129,6 @@ public function __construct(\Magento\Catalog\Block\Product\Context $context, arr * @param \Magento\Catalog\Model\Product $product * @param array $additional * @return string - * @since 2.0.0 */ public function getAddToCartUrl($product, $additional = []) { @@ -172,7 +155,6 @@ public function getAddToCartUrl($product, $additional = []) * @param \Magento\Catalog\Model\Product $product * @param array $additional * @return string - * @since 2.0.0 */ public function getSubmitUrl($product, $additional = []) { @@ -192,7 +174,6 @@ public function getSubmitUrl($product, $additional = []) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getAddToWishlistParams($product) { @@ -203,7 +184,6 @@ public function getAddToWishlistParams($product) * Retrieve Add Product to Compare Products List URL * * @return string - * @since 2.0.0 */ public function getAddToCompareUrl() { @@ -215,7 +195,6 @@ public function getAddToCompareUrl() * * @param \Magento\Catalog\Model\Product $product * @return int|null - * @since 2.0.0 */ public function getMinimalQty($product) { @@ -231,7 +210,6 @@ public function getMinimalQty($product) * @param bool $templateType * @param bool $displayIfNoReviews * @return string - * @since 2.0.0 */ public function getReviewsSummaryHtml( \Magento\Catalog\Model\Product $product, @@ -245,7 +223,6 @@ public function getReviewsSummaryHtml( * Retrieve currently viewed product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -262,7 +239,6 @@ public function getProduct() * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected function _addProductAttributesAndPrices( \Magento\Catalog\Model\ResourceModel\Product\Collection $collection @@ -281,7 +257,6 @@ protected function _addProductAttributesAndPrices( * @param \Magento\Catalog\Model\Product $product * @param array $additional the route params * @return string - * @since 2.0.0 */ public function getProductUrl($product, $additional = []) { @@ -300,7 +275,6 @@ public function getProductUrl($product, $additional = []) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function hasProductUrl($product) { @@ -320,7 +294,6 @@ public function hasProductUrl($product) * Retrieve product amount per row * * @return int - * @since 2.0.0 */ public function getColumnCount() { @@ -341,7 +314,6 @@ public function getColumnCount() * @param string $pageLayout * @param int $columnCount * @return \Magento\Catalog\Block\Product\ListProduct - * @since 2.0.0 */ public function addColumnCountLayoutDepend($pageLayout, $columnCount) { @@ -354,7 +326,6 @@ public function addColumnCountLayoutDepend($pageLayout, $columnCount) * * @param string $pageLayout * @return \Magento\Catalog\Block\Product\ListProduct - * @since 2.0.0 */ public function removeColumnCountLayoutDepend($pageLayout) { @@ -370,7 +341,6 @@ public function removeColumnCountLayoutDepend($pageLayout) * * @param string $pageLayout * @return int|boolean - * @since 2.0.0 */ public function getColumnCountLayoutDepend($pageLayout) { @@ -385,7 +355,6 @@ public function getColumnCountLayoutDepend($pageLayout) * Retrieve current page layout * * @return string - * @since 2.0.0 */ public function getPageLayout() { @@ -399,7 +368,6 @@ public function getPageLayout() * @param \Magento\Catalog\Model\Product $product * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCanShowProductPrice($product) { @@ -410,7 +378,6 @@ public function getCanShowProductPrice($product) * Get if it is necessary to show product stock status * * @return bool - * @since 2.0.0 */ public function displayProductStockStatus() { @@ -425,7 +392,6 @@ public function displayProductStockStatus() * @param int $length * @param string|null $chars * @return string - * @since 2.0.0 */ public function getRandomString($length, $chars = null) { @@ -437,7 +403,6 @@ public function getRandomString($length, $chars = null) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getProductPrice(\Magento\Catalog\Model\Product $product) { @@ -456,7 +421,6 @@ public function getProductPrice(\Magento\Catalog\Model\Product $product) * @param string $renderZone * @param array $arguments * @return string - * @since 2.0.0 */ public function getProductPriceHtml( \Magento\Catalog\Model\Product $product, @@ -482,7 +446,6 @@ public function getProductPriceHtml( * Whether redirect to cart enabled * * @return bool - * @since 2.0.0 */ public function isRedirectToCartEnabled() { @@ -497,7 +460,6 @@ public function isRedirectToCartEnabled() * * @param \Magento\Catalog\Model\Product $product * @return mixed - * @since 2.0.0 */ public function getProductDetailsHtml(\Magento\Catalog\Model\Product $product) { @@ -512,7 +474,6 @@ public function getProductDetailsHtml(\Magento\Catalog\Model\Product $product) /** * @param null $type * @return bool|\Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ public function getDetailsRenderer($type = null) { @@ -528,7 +489,6 @@ public function getDetailsRenderer($type = null) /** * @return \Magento\Framework\View\Element\RendererList - * @since 2.0.0 */ protected function getDetailsRendererList() { @@ -546,7 +506,6 @@ protected function getDetailsRendererList() * @param string $imageId * @param array $attributes * @return \Magento\Catalog\Block\Product\Image - * @since 2.0.0 */ public function getImage($product, $imageId, $attributes = []) { diff --git a/app/code/Magento/Catalog/Block/Product/AwareInterface.php b/app/code/Magento/Catalog/Block/Product/AwareInterface.php index 59954f1508485..6c0646daa910d 100644 --- a/app/code/Magento/Catalog/Block/Product/AwareInterface.php +++ b/app/code/Magento/Catalog/Block/Product/AwareInterface.php @@ -7,7 +7,7 @@ /** * Class Product Aware interface - * @since 2.2.0 + * @since 2.1.1 */ interface AwareInterface { @@ -16,7 +16,7 @@ interface AwareInterface * * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return $this - * @since 2.2.0 + * @since 2.1.1 */ public function setProduct(\Magento\Catalog\Api\Data\ProductInterface $product); } diff --git a/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php b/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php index 1979b1d251e6f..301db574b96a4 100644 --- a/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php +++ b/app/code/Magento/Catalog/Block/Product/Compare/ListCompare.php @@ -14,7 +14,6 @@ * Catalog products compare block * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct { @@ -22,7 +21,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Product Compare items collection * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\Collection - * @since 2.0.0 */ protected $_items; @@ -30,7 +28,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Compare Products comparable attributes cache * * @var array - * @since 2.0.0 */ protected $_attributes; @@ -38,7 +35,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Flag which allow/disallow to use link for as low as price * * @var bool - * @since 2.0.0 */ protected $_useLinkForAsLowAs = false; @@ -46,13 +42,11 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Customer id * * @var null|int - * @since 2.0.0 */ protected $_customerId = null; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -60,7 +54,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Customer visitor * * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $_customerVisitor; @@ -68,7 +61,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -76,19 +68,16 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * Item collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\CollectionFactory - * @since 2.0.0 */ protected $_itemCollectionFactory; /** * @var \Magento\Framework\Url\EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; @@ -101,7 +90,6 @@ class ListCompare extends \Magento\Catalog\Block\Product\AbstractProduct * @param \Magento\Framework\App\Http\Context $httpContext * @param \Magento\Customer\Helper\Session\CurrentCustomer $currentCustomer * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -130,7 +118,6 @@ public function __construct( * * @param Product $product * @return string - * @since 2.0.0 */ public function getAddToWishlistParams($product) { @@ -146,7 +133,6 @@ public function getAddToWishlistParams($product) * Preparing layout * * @return \Magento\Catalog\Block\Product\Compare\ListCompare - * @since 2.0.0 */ protected function _prepareLayout() { @@ -160,7 +146,6 @@ protected function _prepareLayout() * Retrieve Product Compare items collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\Collection - * @since 2.0.0 */ public function getItems() { @@ -192,7 +177,6 @@ public function getItems() * Retrieve Product Compare Attributes * * @return array - * @since 2.0.0 */ public function getAttributes() { @@ -209,7 +193,6 @@ public function getAttributes() * @param Product $product * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getProductAttributeValue($product, $attribute) { @@ -234,7 +217,6 @@ public function getProductAttributeValue($product, $attribute) * Retrieve Print URL * * @return string - * @since 2.0.0 */ public function getPrintUrl() { @@ -246,7 +228,6 @@ public function getPrintUrl() * * @param int $id * @return \Magento\Catalog\Block\Product\Compare\ListCompare - * @since 2.0.0 */ public function setCustomerId($id) { @@ -260,7 +241,6 @@ public function setCustomerId($id) * @param Product $product * @param string|null $idSuffix * @return string - * @since 2.0.0 */ public function getProductPrice(\Magento\Catalog\Model\Product $product, $idSuffix = '') { diff --git a/app/code/Magento/Catalog/Block/Product/Context.php b/app/code/Magento/Catalog/Block/Product/Context.php index 2e02ad72211c9..a1d53ec7ad969 100644 --- a/app/code/Magento/Catalog/Block/Product/Context.php +++ b/app/code/Magento/Catalog/Block/Product/Context.php @@ -18,85 +18,71 @@ * * @deprecated 2.2.0 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Context extends \Magento\Framework\View\Element\Template\Context { /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ protected $compareProduct; /** * @var \Magento\Wishlist\Helper\Data - * @since 2.0.0 */ protected $wishlistHelper; /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $cartHelper; /** * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $catalogConfig; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $taxData; /** * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $catalogHelper; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var ReviewRendererInterface - * @since 2.0.0 */ protected $reviewRenderer; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\Framework\View\Page\Config - * @since 2.0.0 */ protected $pageConfig; /** * @var ImageBuilder - * @since 2.0.0 */ protected $imageBuilder; @@ -140,7 +126,6 @@ class Context extends \Magento\Framework\View\Element\Template\Context * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -224,7 +209,6 @@ public function __construct( /** * @return \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ public function getStockRegistry() { @@ -233,7 +217,6 @@ public function getStockRegistry() /** * @return \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ public function getCartHelper() { @@ -242,7 +225,6 @@ public function getCartHelper() /** * @return \Magento\Catalog\Model\Config - * @since 2.0.0 */ public function getCatalogConfig() { @@ -251,7 +233,6 @@ public function getCatalogConfig() /** * @return \Magento\Catalog\Helper\Data - * @since 2.0.0 */ public function getCatalogHelper() { @@ -260,7 +241,6 @@ public function getCatalogHelper() /** * @return \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ public function getCompareProduct() { @@ -269,7 +249,6 @@ public function getCompareProduct() /** * @return \Magento\Catalog\Helper\Image - * @since 2.0.0 */ public function getImageHelper() { @@ -278,7 +257,6 @@ public function getImageHelper() /** * @return \Magento\Catalog\Block\Product\ImageBuilder - * @since 2.0.0 */ public function getImageBuilder() { @@ -287,7 +265,6 @@ public function getImageBuilder() /** * @return \Magento\Framework\Math\Random - * @since 2.0.0 */ public function getMathRandom() { @@ -296,7 +273,6 @@ public function getMathRandom() /** * @return \Magento\Framework\Registry - * @since 2.0.0 */ public function getRegistry() { @@ -305,7 +281,6 @@ public function getRegistry() /** * @return \Magento\Tax\Helper\Data - * @since 2.0.0 */ public function getTaxData() { @@ -314,7 +289,6 @@ public function getTaxData() /** * @return \Magento\Wishlist\Helper\Data - * @since 2.0.0 */ public function getWishlistHelper() { @@ -323,7 +297,6 @@ public function getWishlistHelper() /** * @return \Magento\Catalog\Block\Product\ReviewRendererInterface - * @since 2.0.0 */ public function getReviewRenderer() { diff --git a/app/code/Magento/Catalog/Block/Product/Gallery.php b/app/code/Magento/Catalog/Block/Product/Gallery.php index 3b3dac6a66235..8f8d156f70698 100644 --- a/app/code/Magento/Catalog/Block/Product/Gallery.php +++ b/app/code/Magento/Catalog/Block/Product/Gallery.php @@ -17,7 +17,6 @@ /** * @api - * @since 2.0.0 */ class Gallery extends \Magento\Framework\View\Element\Template { @@ -25,7 +24,6 @@ class Gallery extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -33,7 +31,6 @@ class Gallery extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -46,7 +43,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -56,7 +52,6 @@ protected function _prepareLayout() /** * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -65,7 +60,6 @@ public function getProduct() /** * @return Collection - * @since 2.0.0 */ public function getGalleryCollection() { @@ -74,7 +68,6 @@ public function getGalleryCollection() /** * @return Image|null - * @since 2.0.0 */ public function getCurrentImage() { @@ -92,7 +85,6 @@ public function getCurrentImage() /** * @return string - * @since 2.0.0 */ public function getImageUrl() { @@ -101,7 +93,6 @@ public function getImageUrl() /** * @return mixed - * @since 2.0.0 */ public function getImageFile() { @@ -112,7 +103,6 @@ public function getImageFile() * Retrieve image width * * @return bool|int - * @since 2.0.0 */ public function getImageWidth() { @@ -134,7 +124,6 @@ public function getImageWidth() /** * @return Image|false - * @since 2.0.0 */ public function getPreviousImage() { @@ -154,7 +143,6 @@ public function getPreviousImage() /** * @return Image|false - * @since 2.0.0 */ public function getNextImage() { @@ -178,7 +166,6 @@ public function getNextImage() /** * @return false|string - * @since 2.0.0 */ public function getPreviousImageUrl() { @@ -191,7 +178,6 @@ public function getPreviousImageUrl() /** * @return false|string - * @since 2.0.0 */ public function getNextImageUrl() { diff --git a/app/code/Magento/Catalog/Block/Product/Image.php b/app/code/Magento/Catalog/Block/Product/Image.php index df5fb2dab1513..a7938d6312c53 100644 --- a/app/code/Magento/Catalog/Block/Product/Image.php +++ b/app/code/Magento/Catalog/Block/Product/Image.php @@ -15,32 +15,27 @@ * @method mixed getResizedImageHeight() * @method float getRatio() * @method string getCustomAttributes() - * @since 2.0.0 */ class Image extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $product; /** * @var array - * @since 2.0.0 */ protected $attributes = []; /** * @param \Magento\Framework\View\Element\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, diff --git a/app/code/Magento/Catalog/Block/Product/ImageBuilder.php b/app/code/Magento/Catalog/Block/Product/ImageBuilder.php index b12d64b8d0a25..324d210064b23 100644 --- a/app/code/Magento/Catalog/Block/Product/ImageBuilder.php +++ b/app/code/Magento/Catalog/Block/Product/ImageBuilder.php @@ -10,44 +10,37 @@ /** * Class \Magento\Catalog\Block\Product\ImageBuilder * - * @since 2.0.0 */ class ImageBuilder { /** * @var ImageFactory - * @since 2.0.0 */ protected $imageFactory; /** * @var HelperFactory - * @since 2.0.0 */ protected $helperFactory; /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $product; /** * @var string - * @since 2.0.0 */ protected $imageId; /** * @var array - * @since 2.0.0 */ protected $attributes = []; /** * @param HelperFactory $helperFactory * @param ImageFactory $imageFactory - * @since 2.0.0 */ public function __construct( HelperFactory $helperFactory, @@ -62,7 +55,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProduct(\Magento\Catalog\Model\Product $product) { @@ -75,7 +67,6 @@ public function setProduct(\Magento\Catalog\Model\Product $product) * * @param string $imageId * @return $this - * @since 2.0.0 */ public function setImageId($imageId) { @@ -88,7 +79,6 @@ public function setImageId($imageId) * * @param array $attributes * @return $this - * @since 2.0.0 */ public function setAttributes(array $attributes) { @@ -102,7 +92,6 @@ public function setAttributes(array $attributes) * Retrieve image custom attributes for HTML element * * @return string - * @since 2.0.0 */ protected function getCustomAttributes() { @@ -118,7 +107,6 @@ protected function getCustomAttributes() * * @param \Magento\Catalog\Helper\Image $helper * @return float|int - * @since 2.0.0 */ protected function getRatio(\Magento\Catalog\Helper\Image $helper) { @@ -134,7 +122,6 @@ protected function getRatio(\Magento\Catalog\Helper\Image $helper) * Create image block * * @return \Magento\Catalog\Block\Product\Image - * @since 2.0.0 */ public function create() { diff --git a/app/code/Magento/Catalog/Block/Product/ListProduct.php b/app/code/Magento/Catalog/Block/Product/ListProduct.php index 46e6a2982990d..6f95dd676d186 100644 --- a/app/code/Magento/Catalog/Block/Product/ListProduct.php +++ b/app/code/Magento/Catalog/Block/Product/ListProduct.php @@ -19,7 +19,6 @@ * Product list * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ListProduct extends AbstractProduct implements IdentityInterface { @@ -27,7 +26,6 @@ class ListProduct extends AbstractProduct implements IdentityInterface * Default toolbar block name * * @var string - * @since 2.0.0 */ protected $_defaultToolbarBlock = Toolbar::class; @@ -35,7 +33,6 @@ class ListProduct extends AbstractProduct implements IdentityInterface * Product Collection * * @var AbstractCollection - * @since 2.0.0 */ protected $_productCollection; @@ -43,25 +40,21 @@ class ListProduct extends AbstractProduct implements IdentityInterface * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $_catalogLayer; /** * @var \Magento\Framework\Data\Helper\PostHelper - * @since 2.0.0 */ protected $_postDataHelper; /** * @var \Magento\Framework\Url\Helper\Data - * @since 2.0.0 */ protected $urlHelper; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -72,7 +65,6 @@ class ListProduct extends AbstractProduct implements IdentityInterface * @param CategoryRepositoryInterface $categoryRepository * @param \Magento\Framework\Url\Helper\Data $urlHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -107,7 +99,6 @@ public function __construct( * even when it did not pass externally and therefore isn't cached yet * * @return AbstractCollection - * @since 2.0.0 */ protected function _getProductCollection() { @@ -122,7 +113,6 @@ protected function _getProductCollection() * Get catalog layer model * * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function getLayer() { @@ -133,7 +123,6 @@ public function getLayer() * Retrieve loaded category collection * * @return AbstractCollection - * @since 2.0.0 */ public function getLoadedProductCollection() { @@ -144,7 +133,6 @@ public function getLoadedProductCollection() * Retrieve current view mode * * @return string - * @since 2.0.0 */ public function getMode() { @@ -155,7 +143,6 @@ public function getMode() * Need use as _prepareLayout - but problem in declaring collection from * another block (was problem with search result) * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -170,7 +157,6 @@ protected function _beforeToHtml() * Retrieve Toolbar block * * @return Toolbar - * @since 2.0.0 */ public function getToolbarBlock() { @@ -189,7 +175,6 @@ public function getToolbarBlock() * Retrieve additional blocks html * * @return string - * @since 2.0.0 */ public function getAdditionalHtml() { @@ -200,7 +185,6 @@ public function getAdditionalHtml() * Retrieve list toolbar HTML * * @return string - * @since 2.0.0 */ public function getToolbarHtml() { @@ -210,7 +194,6 @@ public function getToolbarHtml() /** * @param AbstractCollection $collection * @return $this - * @since 2.0.0 */ public function setCollection($collection) { @@ -221,7 +204,6 @@ public function setCollection($collection) /** * @param array|string|integer|\Magento\Framework\App\Config\Element $code * @return $this - * @since 2.0.0 */ public function addAttribute($code) { @@ -231,7 +213,6 @@ public function addAttribute($code) /** * @return mixed - * @since 2.0.0 */ public function getPriceBlockTemplate() { @@ -242,7 +223,6 @@ public function getPriceBlockTemplate() * Retrieve Catalog Config object * * @return \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected function _getConfig() { @@ -254,7 +234,6 @@ protected function _getConfig() * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Block\Product\ListProduct - * @since 2.0.0 */ public function prepareSortableFieldsByCategory($category) { @@ -281,7 +260,6 @@ public function prepareSortableFieldsByCategory($category) * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -301,7 +279,6 @@ public function getIdentities() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product) { @@ -318,7 +295,6 @@ public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product) /** * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getProductPrice(\Magento\Catalog\Model\Product $product) { @@ -346,7 +322,6 @@ public function getProductPrice(\Magento\Catalog\Model\Product $product) * i.e. rendering happens in the scope of product list, but not single product * * @return \Magento\Framework\Pricing\Render - * @since 2.0.0 */ protected function getPriceRender() { diff --git a/app/code/Magento/Catalog/Block/Product/NewProduct.php b/app/code/Magento/Catalog/Block/Product/NewProduct.php index 6c07cf8c71bbe..cb0904fe5fa64 100644 --- a/app/code/Magento/Catalog/Block/Product/NewProduct.php +++ b/app/code/Magento/Catalog/Block/Product/NewProduct.php @@ -11,7 +11,6 @@ * New products block * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class NewProduct extends \Magento\Catalog\Block\Product\AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface @@ -25,13 +24,11 @@ class NewProduct extends \Magento\Catalog\Block\Product\AbstractProduct implemen * Products count * * @var int - * @since 2.0.0 */ protected $_productsCount; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -39,7 +36,6 @@ class NewProduct extends \Magento\Catalog\Block\Product\AbstractProduct implemen * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -47,7 +43,6 @@ class NewProduct extends \Magento\Catalog\Block\Product\AbstractProduct implemen * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; @@ -57,7 +52,6 @@ class NewProduct extends \Magento\Catalog\Block\Product\AbstractProduct implemen * @param \Magento\Catalog\Model\Product\Visibility $catalogProductVisibility * @param \Magento\Framework\App\Http\Context $httpContext * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -79,7 +73,6 @@ public function __construct( * Initialize block's cache * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -99,7 +92,6 @@ protected function _construct() * Get Key pieces for caching block content * * @return array - * @since 2.0.0 */ public function getCacheKeyInfo() { @@ -117,7 +109,6 @@ public function getCacheKeyInfo() * Prepare and return product collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection|Object|\Magento\Framework\Data\Collection - * @since 2.0.0 */ protected function _getProductCollection() { @@ -169,7 +160,6 @@ protected function _getProductCollection() * Prepare collection with new products * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -182,7 +172,6 @@ protected function _beforeToHtml() * * @param int $count * @return $this - * @since 2.0.0 */ public function setProductsCount($count) { @@ -194,7 +183,6 @@ public function setProductsCount($count) * Get how much products should be displayed at once. * * @return int - * @since 2.0.0 */ public function getProductsCount() { @@ -208,7 +196,6 @@ public function getProductsCount() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Block/Product/Price.php b/app/code/Magento/Catalog/Block/Product/Price.php index f1f12e53201ce..8bed7451cd555 100644 --- a/app/code/Magento/Catalog/Block/Product/Price.php +++ b/app/code/Magento/Catalog/Block/Product/Price.php @@ -8,19 +8,16 @@ /** * Product price block - * @since 2.0.0 */ class Price extends \Magento\Framework\View\Element\Template implements \Magento\Framework\DataObject\IdentityInterface { /** * @var null - * @since 2.0.0 */ protected $_priceDisplayType = null; /** * @var string - * @since 2.0.0 */ protected $_idSuffix = ''; @@ -28,7 +25,6 @@ class Price extends \Magento\Framework\View\Element\Template implements \Magento * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -36,31 +32,26 @@ class Price extends \Magento\Framework\View\Element\Template implements \Magento * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $_cartHelper; @@ -73,7 +64,6 @@ class Price extends \Magento\Framework\View\Element\Template implements \Magento * @param \Magento\Framework\Math\Random $mathRandom * @param \Magento\Checkout\Helper\Cart $cartHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -98,7 +88,6 @@ public function __construct( * Retrieve product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -111,7 +100,6 @@ public function getProduct() /** * @return mixed - * @since 2.0.0 */ public function getDisplayMinimalPrice() { @@ -121,7 +109,6 @@ public function getDisplayMinimalPrice() /** * @param string $idSuffix * @return $this - * @since 2.0.0 */ public function setIdSuffix($idSuffix) { @@ -131,7 +118,6 @@ public function setIdSuffix($idSuffix) /** * @return string - * @since 2.0.0 */ public function getIdSuffix() { @@ -144,7 +130,6 @@ public function getIdSuffix() * @param \Magento\Catalog\Model\Product $product * @param array $additional * @return string - * @since 2.0.0 */ public function getAddToCartUrl($product, $additional = []) { @@ -155,7 +140,6 @@ public function getAddToCartUrl($product, $additional = []) * Prevent displaying if the price is not available * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -170,7 +154,6 @@ protected function _toHtml() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getRealPriceJs($product) { @@ -183,7 +166,6 @@ public function getRealPriceJs($product) * * @param string $sku * @return string - * @since 2.0.0 */ public function prepareSku($sku) { @@ -196,7 +178,6 @@ public function prepareSku($sku) * @param int $length * @param string|null $chars * @return string - * @since 2.0.0 */ public function getRandomString($length, $chars = null) { @@ -207,7 +188,6 @@ public function getRandomString($length, $chars = null) * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Crosssell.php b/app/code/Magento/Catalog/Block/Product/ProductList/Crosssell.php index 8613fda1780ca..69ae694c13361 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Crosssell.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Crosssell.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Block\Product\ProductList\Crosssell * - * @since 2.0.0 */ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct { @@ -20,7 +19,6 @@ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct * Crosssell item collection * * @var \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ protected $_itemCollection; @@ -28,7 +26,6 @@ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct * Prepare crosssell items data * * @return \Magento\Catalog\Block\Product\ProductList\Crosssell - * @since 2.0.0 */ protected function _prepareData() { @@ -53,7 +50,6 @@ protected function _prepareData() * Prepare items collection * * @return \Magento\Catalog\Block\Product\ProductList\Crosssell - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -65,7 +61,6 @@ protected function _beforeToHtml() * Retrieve crosssell items collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ public function getItems() { 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 c98a3b9ee6554..b73e30080b07f 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.2.0 + * @since 2.1.1 */ class Compare extends \Magento\Catalog\Block\Product\ProductList\Item\Block { /** * @return \Magento\Catalog\Helper\Product\Compare - * @since 2.2.0 + * @since 2.1.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 26194585c4095..9fb8fbbb0ab1f 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,19 @@ /** * Class List Item Block - * @since 2.2.0 + * @since 2.1.1 */ class Block extends AbstractProduct implements ProductAwareInterface { /** * @var ProductInterface - * @since 2.2.0 + * @since 2.1.1 */ private $product; /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.1 */ public function setProduct(ProductInterface $product) { @@ -33,7 +33,7 @@ public function setProduct(ProductInterface $product) /** * {@inheritdoc} - * @since 2.2.0 + * @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 5f0835abeca0e..d2951f2b0dd13 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.2.0 + * @since 2.1.1 */ class Container extends Block { /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.1 */ public function getChildHtml($alias = '', $useCache = false) { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Promotion.php b/app/code/Magento/Catalog/Block/Product/ProductList/Promotion.php index cb057d792390d..3714aadd4769b 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Promotion.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Promotion.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Block\Product\ProductList\Promotion * - * @since 2.0.0 */ class Promotion extends \Magento\Catalog\Block\Product\ListProduct { @@ -20,13 +19,11 @@ class Promotion extends \Magento\Catalog\Block\Product\ListProduct * Product collection factory * * @var CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -38,7 +35,6 @@ class Promotion extends \Magento\Catalog\Block\Product\ListProduct * @param \Magento\Framework\Url\Helper\Data $urlHelper * @param CollectionFactory $productCollectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -62,7 +58,6 @@ public function __construct( /** * @return Collection - * @since 2.0.0 */ protected function _getProductCollection() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Random.php b/app/code/Magento/Catalog/Block/Product/ProductList/Random.php index 76958a3d3818e..cf67c6d709fb5 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Random.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Random.php @@ -11,7 +11,6 @@ * Catalog product random items block * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Random extends \Magento\Catalog\Block\Product\ListProduct { @@ -19,13 +18,11 @@ class Random extends \Magento\Catalog\Block\Product\ListProduct * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -37,7 +34,6 @@ class Random extends \Magento\Catalog\Block\Product\ListProduct * @param \Magento\Framework\Url\Helper\Data $urlHelper * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -61,7 +57,6 @@ public function __construct( /** * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected function _getProductCollection() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Related.php b/app/code/Magento/Catalog/Block/Product/ProductList/Related.php index 2ce13e27fb3ad..346570b955249 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Related.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Related.php @@ -16,13 +16,11 @@ * * @api * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface { /** * @var Collection - * @since 2.0.0 */ protected $_itemCollection; @@ -30,7 +28,6 @@ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements * Checkout session * * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -38,7 +35,6 @@ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -46,13 +42,11 @@ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements * Checkout cart * * @var \Magento\Checkout\Model\ResourceModel\Cart - * @since 2.0.0 */ protected $_checkoutCart; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -63,7 +57,6 @@ class Related extends \Magento\Catalog\Block\Product\AbstractProduct implements * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -85,7 +78,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareData() { @@ -112,7 +104,6 @@ protected function _prepareData() /** * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -122,7 +113,6 @@ protected function _beforeToHtml() /** * @return Collection - * @since 2.0.0 */ public function getItems() { @@ -140,7 +130,6 @@ public function getItems() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -155,7 +144,6 @@ public function getIdentities() * Find out if some products can be easy added to cart * * @return bool - * @since 2.0.0 */ public function canItemsAddToCart() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php index 7063f6c79372d..6be038ee00392 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php @@ -15,7 +15,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Toolbar extends \Magento\Framework\View\Element\Template { @@ -23,7 +22,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Products collection * * @var \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ protected $_collection = null; @@ -31,7 +29,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * List of available order fields * * @var array - * @since 2.0.0 */ protected $_availableOrder = null; @@ -39,7 +36,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * List of available view types * * @var array - * @since 2.0.0 */ protected $_availableMode = []; @@ -47,7 +43,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Is enable View switcher * * @var bool - * @since 2.0.0 */ protected $_enableViewSwitcher = true; @@ -55,7 +50,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Is Expanded * * @var bool - * @since 2.0.0 */ protected $_isExpanded = true; @@ -63,7 +57,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Default Order field * * @var string - * @since 2.0.0 */ protected $_orderField = null; @@ -71,7 +64,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Default direction * * @var string - * @since 2.0.0 */ protected $_direction = ProductList::DEFAULT_SORT_DIRECTION; @@ -79,19 +71,16 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Default View mode * * @var string - * @since 2.0.0 */ protected $_viewMode = null; /** * @var bool $_paramsMemorizeAllowed - * @since 2.0.0 */ protected $_paramsMemorizeAllowed = true; /** * @var string - * @since 2.0.0 */ protected $_template = 'product/list/toolbar.phtml'; @@ -99,7 +88,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -107,31 +95,26 @@ class Toolbar extends \Magento\Framework\View\Element\Template * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; /** * @var ToolbarModel - * @since 2.0.0 */ protected $_toolbarModel; /** * @var ProductList - * @since 2.0.0 */ protected $_productListHelper; /** * @var \Magento\Framework\Url\EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; /** * @var \Magento\Framework\Data\Helper\PostHelper - * @since 2.0.0 */ protected $_postDataHelper; @@ -144,7 +127,6 @@ class Toolbar extends \Magento\Framework\View\Element\Template * @param ProductList $productListHelper * @param \Magento\Framework\Data\Helper\PostHelper $postDataHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -169,7 +151,6 @@ public function __construct( * Disable list state params memorizing * * @return $this - * @since 2.0.0 */ public function disableParamsMemorizing() { @@ -183,7 +164,6 @@ public function disableParamsMemorizing() * @param string $param parameter name * @param mixed $value parameter value * @return $this - * @since 2.0.0 */ protected function _memorizeParam($param, $value) { @@ -198,7 +178,6 @@ protected function _memorizeParam($param, $value) * * @param \Magento\Framework\Data\Collection $collection * @return $this - * @since 2.0.0 */ public function setCollection($collection) { @@ -221,7 +200,6 @@ public function setCollection($collection) * Return products collection instance * * @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ public function getCollection() { @@ -232,7 +210,6 @@ public function getCollection() * Return current page from request * * @return int - * @since 2.0.0 */ public function getCurrentPage() { @@ -243,7 +220,6 @@ public function getCurrentPage() * Get grit products sort order field * * @return string - * @since 2.0.0 */ public function getCurrentOrder() { @@ -277,7 +253,6 @@ public function getCurrentOrder() * Retrieve current direction * * @return string - * @since 2.0.0 */ public function getCurrentDirection() { @@ -305,7 +280,6 @@ public function getCurrentDirection() * * @param string $field * @return $this - * @since 2.0.0 */ public function setDefaultOrder($field) { @@ -321,7 +295,6 @@ public function setDefaultOrder($field) * * @param string $dir * @return $this - * @since 2.0.0 */ public function setDefaultDirection($dir) { @@ -335,7 +308,6 @@ public function setDefaultDirection($dir) * Retrieve available Order fields list * * @return array - * @since 2.0.0 */ public function getAvailableOrders() { @@ -348,7 +320,6 @@ public function getAvailableOrders() * * @param array $orders * @return $this - * @since 2.0.0 */ public function setAvailableOrders($orders) { @@ -362,7 +333,6 @@ public function setAvailableOrders($orders) * @param string $order * @param string $value * @return \Magento\Catalog\Block\Product\ProductList\Toolbar - * @since 2.0.0 */ public function addOrderToAvailableOrders($order, $value) { @@ -376,7 +346,6 @@ public function addOrderToAvailableOrders($order, $value) * * @param string $order * @return $this - * @since 2.0.0 */ public function removeOrderFromAvailableOrders($order) { @@ -392,7 +361,6 @@ public function removeOrderFromAvailableOrders($order) * * @param string $order * @return bool - * @since 2.0.0 */ public function isOrderCurrent($order) { @@ -404,7 +372,6 @@ public function isOrderCurrent($order) * * @param array $params Query parameters * @return string - * @since 2.0.0 */ public function getPagerUrl($params = []) { @@ -419,7 +386,6 @@ public function getPagerUrl($params = []) /** * @param array $params * @return string - * @since 2.0.0 */ public function getPagerEncodedUrl($params = []) { @@ -430,7 +396,6 @@ public function getPagerEncodedUrl($params = []) * Retrieve current View mode * * @return string - * @since 2.0.0 */ public function getCurrentMode() { @@ -453,7 +418,6 @@ public function getCurrentMode() * * @param string $mode * @return bool - * @since 2.0.0 */ public function isModeActive($mode) { @@ -464,7 +428,6 @@ public function isModeActive($mode) * Retrieve available view modes * * @return array - * @since 2.0.0 */ public function getModes() { @@ -479,7 +442,6 @@ public function getModes() * * @param array $modes * @return $this - * @since 2.0.0 */ public function setModes($modes) { @@ -494,7 +456,6 @@ public function setModes($modes) * Disable view switcher * * @return \Magento\Catalog\Block\Product\ProductList\Toolbar - * @since 2.0.0 */ public function disableViewSwitcher() { @@ -506,7 +467,6 @@ public function disableViewSwitcher() * Enable view switcher * * @return \Magento\Catalog\Block\Product\ProductList\Toolbar - * @since 2.0.0 */ public function enableViewSwitcher() { @@ -518,7 +478,6 @@ public function enableViewSwitcher() * Is a enabled view switcher * * @return bool - * @since 2.0.0 */ public function isEnabledViewSwitcher() { @@ -529,7 +488,6 @@ public function isEnabledViewSwitcher() * Disable Expanded * * @return \Magento\Catalog\Block\Product\ProductList\Toolbar - * @since 2.0.0 */ public function disableExpanded() { @@ -541,7 +499,6 @@ public function disableExpanded() * Enable Expanded * * @return \Magento\Catalog\Block\Product\ProductList\Toolbar - * @since 2.0.0 */ public function enableExpanded() { @@ -553,7 +510,6 @@ public function enableExpanded() * Check is Expanded * * @return bool - * @since 2.0.0 */ public function isExpanded() { @@ -564,7 +520,6 @@ public function isExpanded() * Retrieve default per page values * * @return string (comma separated) - * @since 2.0.0 */ public function getDefaultPerPageValue() { @@ -580,7 +535,6 @@ public function getDefaultPerPageValue() * Retrieve available limits for current view mode * * @return array - * @since 2.0.0 */ public function getAvailableLimit() { @@ -591,7 +545,6 @@ public function getAvailableLimit() * Get specified products limit display per page * * @return string - * @since 2.0.0 */ public function getLimit() { @@ -623,7 +576,6 @@ public function getLimit() /** * @param int $limit * @return bool - * @since 2.0.0 */ public function isLimitCurrent($limit) { @@ -632,7 +584,6 @@ public function isLimitCurrent($limit) /** * @return int - * @since 2.0.0 */ public function getFirstNum() { @@ -642,7 +593,6 @@ public function getFirstNum() /** * @return int - * @since 2.0.0 */ public function getLastNum() { @@ -652,7 +602,6 @@ public function getLastNum() /** * @return int - * @since 2.0.0 */ public function getTotalNum() { @@ -661,7 +610,6 @@ public function getTotalNum() /** * @return bool - * @since 2.0.0 */ public function isFirstPage() { @@ -670,7 +618,6 @@ public function isFirstPage() /** * @return int - * @since 2.0.0 */ public function getLastPageNum() { @@ -681,7 +628,6 @@ public function getLastPageNum() * Render pagination HTML * * @return string - * @since 2.0.0 */ public function getPagerHtml() { @@ -724,7 +670,6 @@ public function getPagerHtml() * * @param array $customOptions Optional parameter for passing custom selectors from template * @return string - * @since 2.0.0 */ public function getWidgetOptionsJson(array $customOptions = []) { @@ -748,7 +693,6 @@ public function getWidgetOptionsJson(array $customOptions = []) * Get order field * * @return null|string - * @since 2.0.0 */ protected function getOrderField() { @@ -762,7 +706,6 @@ protected function getOrderField() * Load Available Orders * * @return $this - * @since 2.0.0 */ private function loadAvailableOrders() { diff --git a/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php b/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php index 401d75375cc43..ccf6a41cb95f5 100644 --- a/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php +++ b/app/code/Magento/Catalog/Block/Product/ProductList/Upsell.php @@ -16,31 +16,26 @@ * * @api * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface { /** * @var int - * @since 2.0.0 */ protected $_columnCount = 4; /** * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $_items; /** * @var Collection - * @since 2.0.0 */ protected $_itemCollection; /** * @var array - * @since 2.0.0 */ protected $_itemLimits = []; @@ -48,7 +43,6 @@ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \ * Checkout session * * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -56,7 +50,6 @@ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \ * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -64,13 +57,11 @@ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \ * Checkout cart * * @var \Magento\Checkout\Model\ResourceModel\Cart - * @since 2.0.0 */ protected $_checkoutCart; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -81,7 +72,6 @@ class Upsell extends \Magento\Catalog\Block\Product\AbstractProduct implements \ * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Framework\Module\Manager $moduleManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -103,7 +93,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareData() { @@ -134,7 +123,6 @@ protected function _prepareData() /** * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -144,7 +132,6 @@ protected function _beforeToHtml() /** * @return Collection - * @since 2.0.0 */ public function getItemCollection() { @@ -160,7 +147,6 @@ public function getItemCollection() /** * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getItems() { @@ -172,7 +158,6 @@ public function getItems() /** * @return float - * @since 2.0.0 */ public function getRowCount() { @@ -182,7 +167,6 @@ public function getRowCount() /** * @param string $columns * @return $this - * @since 2.0.0 */ public function setColumnCount($columns) { @@ -194,7 +178,6 @@ public function setColumnCount($columns) /** * @return int - * @since 2.0.0 */ public function getColumnCount() { @@ -203,7 +186,6 @@ public function getColumnCount() /** * @return void - * @since 2.0.0 */ public function resetItemsIterator() { @@ -213,7 +195,6 @@ public function resetItemsIterator() /** * @return mixed - * @since 2.0.0 */ public function getIterableItem() { @@ -229,7 +210,6 @@ public function getIterableItem() * @param string $type * @param int $limit * @return \Magento\Catalog\Block\Product\ProductList\Upsell - * @since 2.0.0 */ public function setItemLimit($type, $limit) { @@ -242,7 +222,6 @@ public function setItemLimit($type, $limit) /** * @param string $type * @return array|int - * @since 2.0.0 */ public function getItemLimit($type = '') { @@ -260,7 +239,6 @@ public function getItemLimit($type = '') * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Block/Product/ReviewRenderer/DefaultProvider.php b/app/code/Magento/Catalog/Block/Product/ReviewRenderer/DefaultProvider.php index 1654e875e247b..241d6b3f247c9 100644 --- a/app/code/Magento/Catalog/Block/Product/ReviewRenderer/DefaultProvider.php +++ b/app/code/Magento/Catalog/Block/Product/ReviewRenderer/DefaultProvider.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Block\Product\ReviewRenderer\DefaultProvider * - * @since 2.0.0 */ class DefaultProvider implements ReviewRendererInterface { @@ -23,7 +22,6 @@ class DefaultProvider implements ReviewRendererInterface * @param string $templateType * @param bool $displayIfNoReviews * @return string - * @since 2.0.0 */ public function getReviewsSummaryHtml( \Magento\Catalog\Model\Product $product, diff --git a/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php b/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php index 9efe201d33dc0..6fc118d97cb32 100644 --- a/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php +++ b/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Block\Product\ReviewRendererInterface * - * @since 2.0.0 */ interface ReviewRendererInterface { @@ -24,7 +23,6 @@ interface ReviewRendererInterface * @param string $templateType * @param bool $displayIfNoReviews * @return string - * @since 2.0.0 */ public function getReviewsSummaryHtml( \Magento\Catalog\Model\Product $product, diff --git a/app/code/Magento/Catalog/Block/Product/TemplateSelector.php b/app/code/Magento/Catalog/Block/Product/TemplateSelector.php index 4e5f8111d4d5c..415dd0d9e9b95 100644 --- a/app/code/Magento/Catalog/Block/Product/TemplateSelector.php +++ b/app/code/Magento/Catalog/Block/Product/TemplateSelector.php @@ -9,7 +9,6 @@ * Product gallery * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class TemplateSelector extends \Magento\Framework\View\Element\Template { @@ -17,7 +16,6 @@ class TemplateSelector extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -25,7 +23,6 @@ class TemplateSelector extends \Magento\Framework\View\Element\Template * Set collection factory * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $_setColFactory; @@ -33,7 +30,6 @@ class TemplateSelector extends \Magento\Framework\View\Element\Template * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -43,7 +39,6 @@ class TemplateSelector extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Registry $registry * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -63,7 +58,6 @@ public function __construct( * * @param string $labelPart * @return array - * @since 2.0.0 */ public function getSuggestedTemplates($labelPart) { diff --git a/app/code/Magento/Catalog/Block/Product/View.php b/app/code/Magento/Catalog/Block/Product/View.php index ef5a51e4291fa..aaac3787d0332 100644 --- a/app/code/Magento/Catalog/Block/Product/View.php +++ b/app/code/Magento/Catalog/Block/Product/View.php @@ -12,7 +12,6 @@ * Product View block * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class View extends AbstractProduct implements \Magento\Framework\DataObject\IdentityInterface { @@ -20,56 +19,47 @@ class View extends AbstractProduct implements \Magento\Framework\DataObject\Iden * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $priceCurrency; /** * @var \Magento\Framework\Url\EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; /** * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_productHelper; /** * @var \Magento\Catalog\Model\ProductTypes\ConfigInterface - * @since 2.0.0 */ protected $productTypeConfig; /** * @var \Magento\Framework\Locale\FormatInterface - * @since 2.0.0 */ protected $_localeFormat; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -87,7 +77,6 @@ class View extends AbstractProduct implements \Magento\Framework\DataObject\Iden * @param array $data * @codingStandardsIgnoreStart * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -123,8 +112,7 @@ public function __construct( * Return wishlist widget options * * @return array - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ public function getWishlistOptions() { @@ -135,7 +123,6 @@ public function getWishlistOptions() * Add meta information from product to head block * * @return \Magento\Catalog\Block\Product\View - * @since 2.0.0 */ protected function _prepareLayout() { @@ -181,7 +168,6 @@ protected function _prepareLayout() * Retrieve current product model * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -196,7 +182,6 @@ public function getProduct() * Check if product can be emailed to friend * * @return bool - * @since 2.0.0 */ public function canEmailToFriend() { @@ -209,7 +194,6 @@ public function canEmailToFriend() * @param \Magento\Catalog\Model\Product $product * @param array $additional * @return string - * @since 2.0.0 */ public function getAddToCartUrl($product, $additional = []) { @@ -233,7 +217,6 @@ public function getAddToCartUrl($product, $additional = []) * price calculation depending on product options * * @return string - * @since 2.0.0 */ public function getJsonConfig() { @@ -289,7 +272,6 @@ public function getJsonConfig() * Return true if product has options * * @return bool - * @since 2.0.0 */ public function hasOptions() { @@ -303,7 +285,6 @@ public function hasOptions() * Check if product has required options * * @return bool - * @since 2.0.0 */ public function hasRequiredOptions() { @@ -317,7 +298,6 @@ public function hasRequiredOptions() * instantly. * * @return bool - * @since 2.0.0 */ public function isStartCustomization() { @@ -330,7 +310,6 @@ public function isStartCustomization() * * @param null|\Magento\Catalog\Model\Product $product * @return int|float - * @since 2.0.0 */ public function getProductDefaultQty($product = null) { @@ -352,7 +331,6 @@ public function getProductDefaultQty($product = null) * Get container name, where product options should be displayed * * @return string - * @since 2.0.0 */ public function getOptionsContainer() { @@ -363,7 +341,6 @@ public function getOptionsContainer() * Check whether quantity field should be rendered * * @return bool - * @since 2.0.0 */ public function shouldRenderQuantity() { @@ -374,7 +351,6 @@ public function shouldRenderQuantity() * Get Validation Rules for Quantity field * * @return array - * @since 2.0.0 */ public function getQuantityValidators() { @@ -387,7 +363,6 @@ public function getQuantityValidators() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -403,7 +378,6 @@ public function getIdentities() * Retrieve customer data object * * @return int - * @since 2.0.0 */ protected function getCustomerId() { diff --git a/app/code/Magento/Catalog/Block/Product/View/AbstractView.php b/app/code/Magento/Catalog/Block/Product/View/AbstractView.php index 4645c11f9b361..b89db5092227e 100644 --- a/app/code/Magento/Catalog/Block/Product/View/AbstractView.php +++ b/app/code/Magento/Catalog/Block/Product/View/AbstractView.php @@ -10,13 +10,11 @@ * * @api * @deprecated 2.2.0 - * @since 2.0.0 */ abstract class AbstractView extends \Magento\Catalog\Block\Product\AbstractProduct { /** * @var \Magento\Framework\Stdlib\ArrayUtils - * @since 2.0.0 */ protected $arrayUtils; @@ -24,7 +22,6 @@ abstract class AbstractView extends \Magento\Catalog\Block\Product\AbstractProdu * @param \Magento\Catalog\Block\Product\Context $context * @param \Magento\Framework\Stdlib\ArrayUtils $arrayUtils * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Retrieve product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -60,7 +56,6 @@ public function getProduct() * @param string $prefix * @param bool $forceSetAll * @return array - * @since 2.0.0 */ public function decorateArray($array, $prefix = 'decorated_', $forceSetAll = false) { 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 eddc8df0af25b..9e52d822ba360 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.2.0 + * @since 2.1.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.2.0 + * @since 2.1.1 */ public function getPostDataParams() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Additional.php b/app/code/Magento/Catalog/Block/Product/View/Additional.php index 0c96a68ecab25..598854a3e6bfe 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Additional.php +++ b/app/code/Magento/Catalog/Block/Product/View/Additional.php @@ -13,25 +13,21 @@ /** * @api - * @since 2.0.0 */ class Additional extends \Magento\Framework\View\Element\Template { /** * @var array - * @since 2.0.0 */ protected $_list; /** * @var string - * @since 2.0.0 */ protected $_template = 'product/view/additional.phtml'; /** * @return array - * @since 2.0.0 */ public function getChildHtmlList() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Attributes.php b/app/code/Magento/Catalog/Block/Product/View/Attributes.php index 385152619b334..52039e23e0335 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Attributes.php +++ b/app/code/Magento/Catalog/Block/Product/View/Attributes.php @@ -17,13 +17,11 @@ /** * @api - * @since 2.0.0 */ class Attributes extends \Magento\Framework\View\Element\Template { /** * @var Product - * @since 2.0.0 */ protected $_product = null; @@ -31,13 +29,11 @@ class Attributes extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; @@ -46,7 +42,6 @@ class Attributes extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Registry $registry * @param PriceCurrencyInterface $priceCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -61,7 +56,6 @@ public function __construct( /** * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -78,7 +72,6 @@ public function getProduct() * @param array $excludeAttr * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function getAdditionalData(array $excludeAttr = []) { diff --git a/app/code/Magento/Catalog/Block/Product/View/BaseImage.php b/app/code/Magento/Catalog/Block/Product/View/BaseImage.php index 35d69e9f58cb8..75a0228e1785f 100644 --- a/app/code/Magento/Catalog/Block/Product/View/BaseImage.php +++ b/app/code/Magento/Catalog/Block/Product/View/BaseImage.php @@ -9,7 +9,6 @@ * Simple product data view * * @author Magento Core Team - * @since 2.0.0 */ class BaseImage extends \Magento\Catalog\Block\Product\View\AbstractView { diff --git a/app/code/Magento/Catalog/Block/Product/View/Description.php b/app/code/Magento/Catalog/Block/Product/View/Description.php index dac69d4ceaed7..194f3a706eb54 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Description.php +++ b/app/code/Magento/Catalog/Block/Product/View/Description.php @@ -15,13 +15,11 @@ /** * @api - * @since 2.0.0 */ class Description extends \Magento\Framework\View\Element\Template { /** * @var Product - * @since 2.0.0 */ protected $_product = null; @@ -29,7 +27,6 @@ class Description extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -37,7 +34,6 @@ class Description extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -50,7 +46,6 @@ public function __construct( /** * @return Product - * @since 2.0.0 */ public function getProduct() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Gallery.php b/app/code/Magento/Catalog/Block/Product/View/Gallery.php index fd7b6fd67c412..dad8c51c7d4f2 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Gallery.php +++ b/app/code/Magento/Catalog/Block/Product/View/Gallery.php @@ -17,19 +17,16 @@ /** * @api - * @since 2.0.0 */ class Gallery extends \Magento\Catalog\Block\Product\View\AbstractView { /** * @var \Magento\Framework\Config\View - * @since 2.0.0 */ protected $configView; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $jsonEncoder; @@ -38,7 +35,6 @@ class Gallery extends \Magento\Catalog\Block\Product\View\AbstractView * @param \Magento\Framework\Stdlib\ArrayUtils $arrayUtils * @param EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -54,7 +50,6 @@ public function __construct( * Retrieve collection of gallery images * * @return Collection - * @since 2.0.0 */ public function getGalleryImages() { @@ -91,7 +86,6 @@ public function getGalleryImages() * Return magnifier options * * @return string - * @since 2.0.0 */ public function getMagnifier() { @@ -102,7 +96,6 @@ public function getMagnifier() * Return breakpoints options * * @return string - * @since 2.0.0 */ public function getBreakpoints() { @@ -113,7 +106,6 @@ public function getBreakpoints() * Retrieve product images in JSON format * * @return string - * @since 2.0.0 */ public function getGalleryImagesJson() { @@ -150,7 +142,6 @@ public function getGalleryImagesJson() * * @param null|\Magento\Framework\DataObject $image * @return string - * @since 2.0.0 */ public function getGalleryUrl($image = null) { @@ -166,7 +157,6 @@ public function getGalleryUrl($image = null) * * @param \Magento\Framework\DataObject $image * @return bool - * @since 2.0.0 */ public function isMainImage($image) { @@ -179,7 +169,6 @@ public function isMainImage($image) * @param string $attributeName * @param string $default * @return string - * @since 2.0.0 */ public function getImageAttribute($imageId, $attributeName, $default = null) { @@ -192,7 +181,6 @@ public function getImageAttribute($imageId, $attributeName, $default = null) * Retrieve config view * * @return \Magento\Framework\Config\View - * @since 2.0.0 */ private function getConfigView() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options.php b/app/code/Magento/Catalog/Block/Product/View/Options.php index b834c084f5f39..1858f79be03cc 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options.php @@ -16,13 +16,11 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Options extends \Magento\Framework\View\Element\Template { /** * @var Product - * @since 2.0.0 */ protected $_product; @@ -30,7 +28,6 @@ class Options extends \Magento\Framework\View\Element\Template * Product option * * @var \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ protected $_option; @@ -38,7 +35,6 @@ class Options extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_registry = null; @@ -46,25 +42,21 @@ class Options extends \Magento\Framework\View\Element\Template * Catalog product * * @var Product - * @since 2.0.0 */ protected $_catalogProduct; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; /** * @var \Magento\Framework\Pricing\Helper\Data - * @since 2.0.0 */ protected $pricingHelper; /** * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData; @@ -77,7 +69,6 @@ class Options extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Stdlib\ArrayUtils $arrayUtils * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -103,7 +94,6 @@ public function __construct( * * @return Product * @throws \LogicExceptions - * @since 2.0.0 */ public function getProduct() { @@ -122,7 +112,6 @@ public function getProduct() * * @param Product $product * @return \Magento\Catalog\Block\Product\View\Options - * @since 2.0.0 */ public function setProduct(Product $product = null) { @@ -133,7 +122,6 @@ public function setProduct(Product $product = null) /** * @param string $type * @return string - * @since 2.0.0 */ public function getGroupOfOption($type) { @@ -146,7 +134,6 @@ public function getGroupOfOption($type) * Get product options * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -155,7 +142,6 @@ public function getOptions() /** * @return bool - * @since 2.0.0 */ public function hasOptions() { @@ -170,7 +156,6 @@ public function hasOptions() * * @param \Magento\Catalog\Model\Product\Option\Value|\Magento\Catalog\Model\Product\Option $option * @return array - * @since 2.0.0 */ protected function _getPriceConfiguration($option) { @@ -218,7 +203,6 @@ protected function _getPriceConfiguration($option) * Get json representation of * * @return string - * @since 2.0.0 */ public function getJsonConfig() { @@ -256,7 +240,6 @@ public function getJsonConfig() * * @param \Magento\Catalog\Model\Product\Option $option * @return string - * @since 2.0.0 */ public function getOptionHtml(\Magento\Catalog\Model\Product\Option $option) { @@ -275,7 +258,6 @@ public function getOptionHtml(\Magento\Catalog\Model\Product\Option $option) * @param string $prefix * @param bool $forceSetAll * @return array - * @since 2.0.0 */ public function decorateArray($array, $prefix = 'decorated_', $forceSetAll = false) { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php b/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php index 081c88bc9ec4a..f1972cf7a1d06 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php @@ -15,7 +15,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template { @@ -23,7 +22,6 @@ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template * Product object * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -31,19 +29,16 @@ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template * Product option object * * @var \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ protected $_option; /** * @var \Magento\Framework\Pricing\Helper\Data - * @since 2.0.0 */ protected $pricingHelper; /** * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogHelper; @@ -52,7 +47,6 @@ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Pricing\Helper\Data $pricingHelper * @param \Magento\Catalog\Helper\Data $catalogData, * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -70,7 +64,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Block\Product\View\Options\AbstractOptions - * @since 2.0.0 */ public function setProduct(\Magento\Catalog\Model\Product $product = null) { @@ -82,7 +75,6 @@ public function setProduct(\Magento\Catalog\Model\Product $product = null) * Retrieve Product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -94,7 +86,6 @@ public function getProduct() * * @param \Magento\Catalog\Model\Product\Option $option * @return \Magento\Catalog\Block\Product\View\Options\AbstractOptions - * @since 2.0.0 */ public function setOption(\Magento\Catalog\Model\Product\Option $option) { @@ -106,7 +97,6 @@ public function setOption(\Magento\Catalog\Model\Product\Option $option) * Get option * * @return \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ public function getOption() { @@ -115,7 +105,6 @@ public function getOption() /** * @return string - * @since 2.0.0 */ public function getFormatedPrice() { @@ -136,7 +125,6 @@ public function getFormatedPrice() * @param array $value * @param bool $flag * @return string - * @since 2.0.0 */ protected function _formatPrice($value, $flag = true) { @@ -174,7 +162,6 @@ protected function _formatPrice($value, $flag = true) * @param float $price * @param bool $includingTax * @return float - * @since 2.0.0 */ public function getPrice($price, $includingTax = null) { @@ -191,7 +178,6 @@ public function getPrice($price, $includingTax = null) * * @param float $price * @return float - * @since 2.0.0 */ public function getCurrencyPrice($price) { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php index 2683240eeccbf..04434b12c9f64 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php @@ -9,7 +9,6 @@ * Product options text type block * * @api - * @since 2.0.0 */ class Date extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { @@ -17,7 +16,6 @@ class Date extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * Fill date and time options with leading zeros or not * * @var boolean - * @since 2.0.0 */ protected $_fillLeadingZeros = true; @@ -25,7 +23,6 @@ class Date extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * Catalog product option type date * * @var \Magento\Catalog\Model\Product\Option\Type\Date - * @since 2.0.0 */ protected $_catalogProductOptionTypeDate; @@ -35,7 +32,6 @@ class Date extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * @param \Magento\Catalog\Helper\Data $catalogData * @param \Magento\Catalog\Model\Product\Option\Type\Date $catalogProductOptionTypeDate * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -52,7 +48,6 @@ public function __construct( * Use JS calendar settings * * @return boolean - * @since 2.0.0 */ public function useCalendar() { @@ -63,7 +58,6 @@ public function useCalendar() * Date input * * @return string Formatted Html - * @since 2.0.0 */ public function getDateHtml() { @@ -78,7 +72,6 @@ public function getDateHtml() * JS Calendar html * * @return string Formatted Html - * @since 2.0.0 */ public function getCalendarDateHtml() { @@ -116,7 +109,6 @@ public function getCalendarDateHtml() * Date (dd/mm/yyyy) html drop-downs * * @return string Formatted Html - * @since 2.0.0 */ public function getDropDownsDateHtml() { @@ -139,7 +131,6 @@ public function getDropDownsDateHtml() * Time (hh:mm am/pm) html drop-downs * * @return string Formatted Html - * @since 2.0.0 */ public function getTimeHtml() { @@ -170,7 +161,6 @@ public function getTimeHtml() * @param int $to End position * @param int|null $value Value selected * @return string Formatted Html - * @since 2.0.0 */ protected function _getSelectFromToHtml($name, $from, $to, $value = null) { @@ -187,7 +177,6 @@ protected function _getSelectFromToHtml($name, $from, $to, $value = null) * @param string $name Id/name of html select element * @param int|null $value * @return mixed - * @since 2.0.0 */ protected function _getHtmlSelect($name, $value = null) { @@ -235,7 +224,6 @@ protected function _getHtmlSelect($name, $value = null) * * @param int $value * @return string|int - * @since 2.0.0 */ protected function _getValueWithLeadingZeros($value) { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php index 11f6674762b1e..25669891832ae 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/DefaultType.php @@ -9,7 +9,6 @@ * Product options default type block * * @api - * @since 2.0.0 */ class DefaultType extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php index 38afe2b138859..1473f8cd99ef7 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/File.php @@ -9,7 +9,6 @@ * Product options text type block * * @api - * @since 2.0.0 */ class File extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { @@ -17,7 +16,6 @@ class File extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * Returns info of file * * @return string - * @since 2.0.0 */ public function getFileInfo() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php index 435deea6041e9..3abe9df41dc5b 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Select.php @@ -9,7 +9,6 @@ * Product options text type block * * @api - * @since 2.0.0 */ class Select extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { @@ -20,7 +19,6 @@ class Select extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getValuesHtml() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php index 94b0027d981d7..8c2f836e37ed4 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php +++ b/app/code/Magento/Catalog/Block/Product/View/Options/Type/Text.php @@ -9,7 +9,6 @@ * Product options text type block * * @api - * @since 2.0.0 */ class Text extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions { @@ -17,7 +16,6 @@ class Text extends \Magento\Catalog\Block\Product\View\Options\AbstractOptions * Returns default value to show in text input * * @return string - * @since 2.0.0 */ public function getDefaultValue() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Price.php b/app/code/Magento/Catalog/Block/Product/View/Price.php index b5a973ea34dd4..88acd2454d041 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Price.php +++ b/app/code/Magento/Catalog/Block/Product/View/Price.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Block\Product\View\Price * - * @since 2.0.0 */ class Price extends \Magento\Framework\View\Element\Template { @@ -20,7 +19,6 @@ class Price extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -28,7 +26,6 @@ class Price extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -41,7 +38,6 @@ public function __construct( /** * @return array|float - * @since 2.0.0 */ public function getPrice() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Tabs.php b/app/code/Magento/Catalog/Block/Product/View/Tabs.php index 41558e5bbf50c..ac154f93e7fa6 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Tabs.php +++ b/app/code/Magento/Catalog/Block/Product/View/Tabs.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Block\Product\View\Tabs * - * @since 2.0.0 */ class Tabs extends \Magento\Framework\View\Element\Template { @@ -20,7 +19,6 @@ class Tabs extends \Magento\Framework\View\Element\Template * Configured tabs * * @var array - * @since 2.0.0 */ protected $_tabs = []; @@ -33,7 +31,6 @@ class Tabs extends \Magento\Framework\View\Element\Template * @param string $template * @param string $header * @return void - * @since 2.0.0 */ public function addTab($alias, $title, $block, $template, $header = null) { @@ -50,7 +47,6 @@ public function addTab($alias, $title, $block, $template, $header = null) * Return configured tabs * * @return array - * @since 2.0.0 */ public function getTabs() { diff --git a/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php b/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php index cfbab7be5c0a0..0bb565938136a 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php +++ b/app/code/Magento/Catalog/Block/Product/View/Type/Simple.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Simple extends \Magento\Catalog\Block\Product\View\AbstractView { diff --git a/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php b/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php index d41d4a5d5e22f..d1c89a80e3892 100644 --- a/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php +++ b/app/code/Magento/Catalog/Block/Product/View/Type/Virtual.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Virtual extends \Magento\Catalog\Block\Product\View\AbstractView { diff --git a/app/code/Magento/Catalog/Block/Product/Widget/Html/Pager.php b/app/code/Magento/Catalog/Block/Product/Widget/Html/Pager.php index d83d79e57be36..65a57e9c1d4ed 100644 --- a/app/code/Magento/Catalog/Block/Product/Widget/Html/Pager.php +++ b/app/code/Magento/Catalog/Block/Product/Widget/Html/Pager.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Block\Product\Widget\Html\Pager * - * @since 2.0.0 */ class Pager extends \Magento\Theme\Block\Html\Pager { @@ -24,7 +23,6 @@ class Pager extends \Magento\Theme\Block\Html\Pager * Size of collection which may has a manual limitation * * @var int - * @since 2.0.0 */ protected $_collectionSize; @@ -32,7 +30,6 @@ class Pager extends \Magento\Theme\Block\Html\Pager * Current page * * @var int - * @since 2.0.0 */ protected $_currentPage; @@ -40,7 +37,6 @@ class Pager extends \Magento\Theme\Block\Html\Pager * Last page * * @var int - * @since 2.0.0 */ protected $_lastPage; @@ -50,7 +46,6 @@ class Pager extends \Magento\Theme\Block\Html\Pager * It may be limited by manual * * @return int - * @since 2.0.0 */ public function getCollectionSize() { @@ -69,7 +64,6 @@ public function getCollectionSize() * If current page is grate then total count of page current page will be equals total count of page * * @return int - * @since 2.0.0 */ public function getCurrentPage() { @@ -90,7 +84,6 @@ public function getCurrentPage() * Return items count per page * * @return int - * @since 2.0.0 */ public function getLimit() { @@ -111,7 +104,6 @@ public function getLimit() * * @param \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection $collection * @return \Magento\Catalog\Block\Product\Widget\Html\Pager - * @since 2.0.0 */ public function setCollection($collection) { @@ -131,7 +123,6 @@ public function setCollection($collection) * Return position number in collection for first item on current page * * @return int - * @since 2.0.0 */ public function getFirstNum() { @@ -142,7 +133,6 @@ public function getFirstNum() * Return position number in collection for last item on current page * * @return int - * @since 2.0.0 */ public function getLastNum() { @@ -156,7 +146,6 @@ public function getLastNum() * It may be limited by manual * * @return int - * @since 2.0.0 */ public function getTotalNum() { @@ -168,7 +157,6 @@ public function getTotalNum() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getLastPageNum() { @@ -185,7 +173,6 @@ public function getLastPageNum() * Checks if current page is the first page * * @return bool - * @since 2.0.0 */ public function isFirstPage() { @@ -196,7 +183,6 @@ public function isFirstPage() * Checks if current page is the last page * * @return bool - * @since 2.0.0 */ public function isLastPage() { @@ -207,7 +193,6 @@ public function isLastPage() * Return array of pages * * @return array - * @since 2.0.0 */ public function getPages() { @@ -235,7 +220,6 @@ public function getPages() * Retrieve url for previous page * * @return string - * @since 2.0.0 */ public function getPreviousPageUrl() { @@ -246,7 +230,6 @@ public function getPreviousPageUrl() * Retrieve url for next page * * @return string - * @since 2.0.0 */ public function getNextPageUrl() { @@ -257,7 +240,6 @@ public function getNextPageUrl() * Retrieve url for last page * * @return string - * @since 2.0.0 */ public function getLastPageUrl() { @@ -268,7 +250,6 @@ public function getLastPageUrl() * Initialize frame data, such as frame start, frame start etc. * * @return \Magento\Catalog\Block\Product\Widget\Html\Pager - * @since 2.0.0 */ protected function _initFrame() { diff --git a/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php b/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php index 6f96eed6bcd83..5d942626a0370 100644 --- a/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php +++ b/app/code/Magento/Catalog/Block/Product/Widget/NewWidget.php @@ -7,7 +7,6 @@ /** * New products widget - * @since 2.0.0 */ class NewWidget extends \Magento\Catalog\Block\Product\NewProduct implements \Magento\Widget\Block\BlockInterface { @@ -42,7 +41,6 @@ class NewWidget extends \Magento\Catalog\Block\Product\NewProduct implements \Ma * Instance of pager block * * @var \Magento\Catalog\Block\Product\Widget\Html\Pager - * @since 2.0.0 */ protected $_pager; @@ -86,7 +84,6 @@ public function __construct( * Product collection initialize process * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection|Object|\Magento\Framework\Data\Collection - * @since 2.0.0 */ protected function _getProductCollection() { @@ -107,7 +104,6 @@ protected function _getProductCollection() * Prepare collection for recent product list * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection|Object|\Magento\Framework\Data\Collection - * @since 2.0.0 */ protected function _getRecentlyAddedProductsCollection() { @@ -127,7 +123,6 @@ protected function _getRecentlyAddedProductsCollection() * Get number of current page based on query value * * @return int - * @since 2.0.0 */ public function getCurrentPage() { @@ -138,7 +133,6 @@ public function getCurrentPage() * Get key pieces for caching block content * * @return array - * @since 2.0.0 */ public function getCacheKeyInfo() { @@ -157,7 +151,6 @@ public function getCacheKeyInfo() * Retrieve display type for products * * @return string - * @since 2.0.0 */ public function getDisplayType() { @@ -171,7 +164,6 @@ public function getDisplayType() * Retrieve how many products should be displayed * * @return int - * @since 2.0.0 */ public function getProductsCount() { @@ -185,7 +177,6 @@ public function getProductsCount() * Retrieve how many products should be displayed * * @return int - * @since 2.0.0 */ public function getProductsPerPage() { @@ -199,7 +190,6 @@ public function getProductsPerPage() * Return flag whether pager need to be shown or not * * @return bool - * @since 2.0.0 */ public function showPager() { @@ -213,7 +203,6 @@ public function showPager() * Retrieve how many products should be displayed on page * * @return int - * @since 2.0.0 */ protected function getPageSize() { @@ -224,7 +213,6 @@ protected function getPageSize() * Render pagination HTML * * @return string - * @since 2.0.0 */ public function getPagerHtml() { @@ -259,7 +247,6 @@ public function getPagerHtml() * @param array $arguments * @return string * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getProductPriceHtml( \Magento\Catalog\Model\Product $product, diff --git a/app/code/Magento/Catalog/Block/Rss/Category.php b/app/code/Magento/Catalog/Block/Rss/Category.php index e849203d5e16e..fbfd494c336e6 100644 --- a/app/code/Magento/Catalog/Block/Rss/Category.php +++ b/app/code/Magento/Catalog/Block/Rss/Category.php @@ -13,49 +13,41 @@ * Class Category * @package Magento\Catalog\Block\Rss * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Category extends \Magento\Framework\View\Element\AbstractBlock implements DataProviderInterface { /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Catalog\Model\Rss\Category - * @since 2.0.0 */ protected $rssModel; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -69,7 +61,6 @@ class Category extends \Magento\Framework\View\Element\AbstractBlock implements * @param CategoryRepositoryInterface $categoryRepository * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -93,7 +84,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -108,7 +98,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRssData() { @@ -168,7 +157,6 @@ public function getRssData() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ protected function renderPriceHtml(\Magento\Catalog\Model\Product $product) { @@ -200,7 +188,6 @@ protected function renderPriceHtml(\Magento\Catalog\Model\Product $product) /** * @return int - * @since 2.0.0 */ protected function getStoreId() { @@ -213,7 +200,6 @@ protected function getStoreId() /** * @return int - * @since 2.0.0 */ public function getCacheLifetime() { @@ -222,7 +208,6 @@ public function getCacheLifetime() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAllowed() { @@ -234,7 +219,6 @@ public function isAllowed() /** * @return array - * @since 2.0.0 */ public function getFeeds() { @@ -274,7 +258,6 @@ public function getFeeds() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAuthRequired() { diff --git a/app/code/Magento/Catalog/Block/Rss/Product/NewProducts.php b/app/code/Magento/Catalog/Block/Rss/Product/NewProducts.php index c676962dfa442..20c4bef0845d6 100644 --- a/app/code/Magento/Catalog/Block/Rss/Product/NewProducts.php +++ b/app/code/Magento/Catalog/Block/Rss/Product/NewProducts.php @@ -10,31 +10,26 @@ /** * Class NewProducts * @package Magento\Catalog\Block\Rss\Product - * @since 2.0.0 */ class NewProducts extends \Magento\Framework\View\Element\AbstractBlock implements DataProviderInterface { /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Catalog\Model\Rss\Product\NewProducts - * @since 2.0.0 */ protected $rssModel; /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -44,7 +39,6 @@ class NewProducts extends \Magento\Framework\View\Element\AbstractBlock implemen * @param \Magento\Catalog\Model\Rss\Product\NewProducts $rssModel * @param \Magento\Framework\App\Rss\UrlBuilderInterface $rssUrlBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -62,7 +56,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -72,7 +65,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAllowed() { @@ -81,7 +73,6 @@ public function isAllowed() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRssData() { @@ -142,7 +133,6 @@ public function getRssData() /** * @return int - * @since 2.0.0 */ protected function getStoreId() { @@ -158,7 +148,6 @@ protected function getStoreId() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ protected function renderPriceHtml(\Magento\Catalog\Model\Product $product) { @@ -189,7 +178,6 @@ protected function renderPriceHtml(\Magento\Catalog\Model\Product $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCacheLifetime() { @@ -198,7 +186,6 @@ public function getCacheLifetime() /** * @return array - * @since 2.0.0 */ public function getFeeds() { @@ -213,7 +200,6 @@ public function getFeeds() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAuthRequired() { diff --git a/app/code/Magento/Catalog/Block/Rss/Product/Special.php b/app/code/Magento/Catalog/Block/Rss/Product/Special.php index c7dacd9588c15..c61bee4417cbc 100644 --- a/app/code/Magento/Catalog/Block/Rss/Product/Special.php +++ b/app/code/Magento/Catalog/Block/Rss/Product/Special.php @@ -12,61 +12,51 @@ * Class Special * @package Magento\Catalog\Block\Rss\Product * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Special extends \Magento\Framework\View\Element\AbstractBlock implements DataProviderInterface { /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Catalog\Helper\Output - * @since 2.0.0 */ protected $outputHelper; /** * @var \Magento\Catalog\Model\Rss\Product\Special - * @since 2.0.0 */ protected $rssModel; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\App\Rss\UrlBuilderInterface - * @since 2.0.0 */ protected $rssUrlBuilder; /** * @var \Magento\Msrp\Helper\Data - * @since 2.0.0 */ protected $msrpHelper; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ private $localeResolver; @@ -82,7 +72,6 @@ class Special extends \Magento\Framework\View\Element\AbstractBlock implements D * @param \Magento\Framework\Locale\ResolverInterface $localeResolver * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -110,7 +99,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -120,7 +108,6 @@ protected function _construct() /** * @return string - * @since 2.0.0 */ public function getRssData() { @@ -171,7 +158,6 @@ public function getRssData() /** * @param \Magento\Catalog\Model\Product $item * @return array - * @since 2.0.0 */ protected function getEntryData(\Magento\Catalog\Model\Product $item) { @@ -221,7 +207,6 @@ protected function getEntryData(\Magento\Catalog\Model\Product $item) * Get store id * * @return int - * @since 2.0.0 */ protected function getStoreId() { @@ -236,7 +221,6 @@ protected function getStoreId() * Get customer group id * * @return int - * @since 2.0.0 */ protected function getCustomerGroupId() { @@ -251,7 +235,6 @@ protected function getCustomerGroupId() * Check if RSS feed allowed * * @return mixed - * @since 2.0.0 */ public function isAllowed() { @@ -263,7 +246,6 @@ public function isAllowed() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCacheLifetime() { @@ -272,7 +254,6 @@ public function getCacheLifetime() /** * @return array - * @since 2.0.0 */ public function getFeeds() { @@ -286,7 +267,6 @@ public function getFeeds() /** * {@inheritdoc} - * @since 2.0.0 */ public function isAuthRequired() { diff --git a/app/code/Magento/Catalog/Block/ShortcutButtons.php b/app/code/Magento/Catalog/Block/ShortcutButtons.php index b8ff47e92121f..50e6841229901 100644 --- a/app/code/Magento/Catalog/Block/ShortcutButtons.php +++ b/app/code/Magento/Catalog/Block/ShortcutButtons.php @@ -13,7 +13,6 @@ * Accepts shortcuts on shortcut_buttons_container event and render shortcuts using custom order * * @api - * @since 2.0.0 */ class ShortcutButtons extends Template { @@ -26,21 +25,16 @@ class ShortcutButtons extends Template /**#@-*/ - /** - * @var array - * @since 2.0.0 - */ + /**#@-*/ protected $_shortcuts = []; /** * @var bool - * @since 2.0.0 */ protected $_isCatalogProduct; /** * @var null|string - * @since 2.0.0 */ protected $_orPosition; @@ -49,7 +43,6 @@ class ShortcutButtons extends Template * @param bool $isCatalogProduct * @param null|string $orPosition * @param array $data - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -67,7 +60,6 @@ public function __construct( * * @param Template $block * @return void - * @since 2.0.0 */ public function addShortcut(Template $block) { @@ -79,7 +71,6 @@ public function addShortcut(Template $block) /** * Dispatch shortcuts container event * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -98,7 +89,6 @@ protected function _beforeToHtml() * Render all shortcuts * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Block/ShortcutInterface.php b/app/code/Magento/Catalog/Block/ShortcutInterface.php index 644ddf602cf68..96bed4053f7cc 100644 --- a/app/code/Magento/Catalog/Block/ShortcutInterface.php +++ b/app/code/Magento/Catalog/Block/ShortcutInterface.php @@ -9,7 +9,6 @@ * Shortcut block interface * * @api - * @since 2.0.0 */ interface ShortcutInterface { @@ -17,7 +16,6 @@ interface ShortcutInterface * Get shortcut alias * * @return string - * @since 2.0.0 */ public function getAlias(); } diff --git a/app/code/Magento/Catalog/Block/Widget/Link.php b/app/code/Magento/Catalog/Block/Widget/Link.php index 05dd47488bd3f..d0e3a410b8f4a 100644 --- a/app/code/Magento/Catalog/Block/Widget/Link.php +++ b/app/code/Magento/Catalog/Block/Widget/Link.php @@ -18,14 +18,12 @@ /** * Class \Magento\Catalog\Block\Widget\Link * - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento\Widget\Block\BlockInterface { /** * Entity model name which must be used to retrieve entity specific data. * @var null|\Magento\Catalog\Model\ResourceModel\AbstractResource - * @since 2.0.0 */ protected $_entityResource = null; @@ -33,7 +31,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Prepared href attribute * * @var string - * @since 2.0.0 */ protected $_href; @@ -41,7 +38,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Prepared anchor text * * @var string - * @since 2.0.0 */ protected $_anchorText; @@ -49,7 +45,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Url finder for category * * @var UrlFinderInterface - * @since 2.0.0 */ protected $urlFinder; @@ -58,7 +53,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * @param UrlFinderInterface $urlFinder * @param \Magento\Catalog\Model\ResourceModel\AbstractResource $entityResource * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -78,7 +72,6 @@ public function __construct( * @throws \RuntimeException * @return string|false * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getHref() { @@ -119,7 +112,6 @@ public function getHref() * @param string $idPath * @throws \RuntimeException * @return array - * @since 2.0.0 */ protected function parseIdPath($idPath) { @@ -136,7 +128,6 @@ protected function parseIdPath($idPath) * If anchor text was not specified get entity name from DB. * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -166,7 +157,6 @@ public function getLabel() * or return empty string if url can't be prepared * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php b/app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php index 3a44728c93b62..bcfb034835eae 100644 --- a/app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php +++ b/app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php @@ -8,31 +8,26 @@ /** * Class \Magento\Catalog\Console\Command\ImagesResizeCommand * - * @since 2.0.0 */ class ImagesResizeCommand extends \Symfony\Component\Console\Command\Command { /** * @var \Magento\Framework\App\State - * @since 2.0.0 */ protected $appState; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $productCollectionFactory; /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Catalog\Model\Product\Image\CacheFactory - * @since 2.0.0 */ protected $imageCacheFactory; @@ -41,7 +36,6 @@ class ImagesResizeCommand extends \Symfony\Component\Console\Command\Command * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository * @param \Magento\Catalog\Model\Product\Image\CacheFactory $imageCacheFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\State $appState, @@ -58,7 +52,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -68,7 +61,6 @@ protected function configure() /** * {@inheritdoc} - * @since 2.0.0 */ protected function execute( \Symfony\Component\Console\Input\InputInterface $input, diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category.php index ad62233dd06fb..53e18faf9ddd4 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category.php @@ -7,7 +7,6 @@ /** * Catalog category controller - * @since 2.0.0 */ abstract class Category extends \Magento\Backend\App\Action { @@ -30,7 +29,6 @@ abstract class Category extends \Magento\Backend\App\Action * * @param bool $getRootInstead * @return \Magento\Catalog\Model\Category|false - * @since 2.0.0 */ protected function _initCategory($getRootInstead = false) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Add.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Add.php index 8638d38ab3c03..08cdedcfededc 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Add.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Add.php @@ -10,7 +10,6 @@ * Class Add Category * * @package Magento\Catalog\Controller\Adminhtml\Category - * @since 2.0.0 */ class Add extends \Magento\Catalog\Controller\Adminhtml\Category { @@ -18,7 +17,6 @@ class Add extends \Magento\Catalog\Controller\Adminhtml\Category * Forward factory for result * * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -27,7 +25,6 @@ class Add extends \Magento\Catalog\Controller\Adminhtml\Category * * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -41,7 +38,6 @@ public function __construct( * Add new category form * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/CategoriesJson.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/CategoriesJson.php index 7cc55129585c7..06bb64b30e55b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/CategoriesJson.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/CategoriesJson.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\CategoriesJson * - * @since 2.0.0 */ class CategoriesJson extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class CategoriesJson extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -45,7 +41,6 @@ public function __construct( * Get tree node (Ajax version) * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Delete.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Delete.php index 23e442babad17..4ff6eb0c8f18b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Delete.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Delete.php @@ -9,20 +9,17 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Catalog\Api\CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Delete category action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php index 1fc581795bdf9..de43d788608b4 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Edit.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -36,7 +33,6 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -54,7 +50,6 @@ public function __construct( * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Grid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Grid.php index 5256c81231a57..b55fd50b0e564 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Grid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Grid.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class Grid extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -46,7 +42,6 @@ public function __construct( * Display list of products related to current category * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Index.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Index.php index 3b0761c9360f3..e663ebcacf11e 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Index.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Index * - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Catalog categories index action * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Move.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Move.php index eb1c02507682a..4882dc1da933b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Move.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Move.php @@ -9,25 +9,21 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Move * - * @since 2.0.0 */ class Move extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Psr\Log\LoggerInterface $logger - * @since 2.0.0 */ protected $logger; @@ -36,7 +32,6 @@ class Move extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory, * @param \Psr\Log\LoggerInterface $logger - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -54,7 +49,6 @@ public function __construct( * Move category action * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/RefreshPath.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/RefreshPath.php index 710dc79cce712..327c9d3cbf603 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/RefreshPath.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/RefreshPath.php @@ -9,20 +9,17 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\RefreshPath * - * @since 2.0.0 */ class RefreshPath extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Build response for refresh input element 'path' in form * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.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 1ebf9da7cf729..78595d5e6600a 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Save.php @@ -12,25 +12,21 @@ * Class Save * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -51,7 +47,7 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Category /** * @var StoreManagerInterface - * @since 2.1.0 + * @since 2.0.12 */ private $storeManager; @@ -70,7 +66,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param StoreManagerInterface $storeManager * @param \Magento\Eav\Model\Config $eavConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -95,7 +90,6 @@ public function __construct( * @deprecated 2.2.0 * @param array $rawData * @return array - * @since 2.0.0 */ protected function _filterCategoryPostData(array $rawData) { @@ -121,7 +115,6 @@ protected function _filterCategoryPostData(array $rawData) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/SuggestCategories.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/SuggestCategories.php index 9189d90a8d9c4..55782a4d64452 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/SuggestCategories.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/SuggestCategories.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\SuggestCategories * - * @since 2.0.0 */ class SuggestCategories extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class SuggestCategories extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -45,7 +41,6 @@ public function __construct( * Category list suggestion based on already entered symbols * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Tree.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Tree.php index 00c49a0951998..bf3a9c365ed00 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Tree.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Tree.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Tree * - * @since 2.0.0 */ class Tree extends \Magento\Catalog\Controller\Adminhtml\Category { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class Tree extends \Magento\Catalog\Controller\Adminhtml\Category * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -46,7 +42,6 @@ public function __construct( * Retrieve category tree * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget.php index 6ff949e99e4d2..991f7617ea3d2 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget.php @@ -11,20 +11,17 @@ * Catalog category widgets controller for CMS WYSIWYG * * @author Magento Core Team - * @since 2.0.0 */ abstract class Widget extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return BlockInterface - * @since 2.0.0 */ protected function _getCategoryTreeBlock() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/CategoriesJson.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/CategoriesJson.php index 2ab9adea27da9..ae8f5ae12f278 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/CategoriesJson.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/CategoriesJson.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Widget\CategoriesJson * - * @since 2.0.0 */ class CategoriesJson extends \Magento\Catalog\Controller\Adminhtml\Category\Widget { @@ -17,13 +16,11 @@ class CategoriesJson extends \Magento\Catalog\Controller\Adminhtml\Category\Widg * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -32,7 +29,6 @@ class CategoriesJson extends \Magento\Catalog\Controller\Adminhtml\Category\Widg * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Categories tree node (Ajax version) * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/Chooser.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/Chooser.php index 83a760a227cc0..4a9db262afb29 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/Chooser.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Widget/Chooser.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\Catalog\Controller\Adminhtml\Category\Widget { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -23,7 +21,6 @@ class Chooser extends \Magento\Catalog\Controller\Adminhtml\Category\Widget * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Chooser Source action * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Wysiwyg.php b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Wysiwyg.php index db7ee74d8637b..f58a9343841e2 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Category/Wysiwyg.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Category/Wysiwyg.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Category\Wysiwyg * - * @since 2.0.0 */ class Wysiwyg extends \Magento\Catalog\Controller\Adminhtml\Product\Wysiwyg { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product.php index 5599ae86aff6d..a8882c5640324 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product.php @@ -10,7 +10,6 @@ /** * Catalog product controller * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ abstract class Product extends \Magento\Backend\App\Action { @@ -23,14 +22,12 @@ abstract class Product extends \Magento\Backend\App\Action /** * @var Product\Builder - * @since 2.0.0 */ protected $productBuilder; /** * @param Action\Context $context * @param Product\Builder $productBuilder - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AbstractProductGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AbstractProductGrid.php index 67b222322f579..278950720cc89 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AbstractProductGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AbstractProductGrid.php @@ -13,13 +13,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\AbstractProductGrid * - * @since 2.0.0 */ abstract class AbstractProductGrid extends Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -27,7 +25,6 @@ abstract class AbstractProductGrid extends Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute.php index aa40d3fc76495..6958b6671d054 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute.php @@ -12,7 +12,6 @@ /** * Adminhtml catalog product action attribute update controller - * @since 2.0.0 */ abstract class Attribute extends Action { @@ -25,14 +24,12 @@ abstract class Attribute extends Action /** * @var \Magento\Catalog\Helper\Product\Edit\Action\Attribute - * @since 2.0.0 */ protected $attributeHelper; /** * @param Action\Context $context * @param \Magento\Catalog\Helper\Product\Edit\Action\Attribute $attributeHelper - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -46,7 +43,6 @@ public function __construct( * Validate selection of products for mass update * * @return boolean - * @since 2.0.0 */ protected function _validateProducts() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Edit.php index 4b6c26038bd19..e59f32e32a4d0 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Edit.php @@ -12,13 +12,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -26,13 +24,11 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribut * MassActions filter * * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -42,7 +38,6 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribut * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -59,7 +54,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Save.php index 873235632d129..82496446aef9f 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Save.php @@ -11,19 +11,16 @@ /** * Class Save * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute { /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $_productPriceIndexerProcessor; @@ -31,13 +28,11 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribut * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_catalogProduct; /** * @var \Magento\CatalogInventory\Api\Data\StockItemInterfaceFactory - * @since 2.0.0 */ protected $stockItemFactory; @@ -45,13 +40,11 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribut * Stock Indexer * * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $_stockIndexerProcessor; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -64,7 +57,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribut * @param \Magento\Catalog\Helper\Product $catalogProduct * @param \Magento\CatalogInventory\Api\Data\StockItemInterfaceFactory $stockItemFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -92,7 +84,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Validate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Validate.php index 22d5953182c84..011692155cd5a 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Validate.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute\Validate * - * @since 2.0.0 */ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attribute { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -30,7 +27,6 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Action\Attr * @param \Magento\Catalog\Helper\Product\Edit\Action\Attribute $attributeHelper * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Attributes validation action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.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 718eefb035c00..af44fab9d69af 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AddAttributeToTemplate.php @@ -23,13 +23,11 @@ * Class AddAttributeToTemplate * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AddAttributeToTemplate extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -89,7 +87,6 @@ class AddAttributeToTemplate extends \Magento\Catalog\Controller\Adminhtml\Produ * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Eav\Api\Data\AttributeGroupInterfaceFactory|null $attributeGroupFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -107,7 +104,6 @@ public function __construct( * Add attribute to attribute set * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsPriceGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsPriceGrid.php index 33554b9a571b3..ef441084b36df 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsPriceGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsPriceGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\AlertsPriceGrid * - * @since 2.0.0 */ class AlertsPriceGrid extends AbstractProductGrid { @@ -17,7 +16,6 @@ class AlertsPriceGrid extends AbstractProductGrid * Get alerts price grid * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsStockGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsStockGrid.php index c93d76dfc231a..80b58182f8f62 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsStockGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/AlertsStockGrid.php @@ -14,13 +14,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\AlertsStockGrid * - * @since 2.0.0 */ class AlertsStockGrid extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -30,7 +28,6 @@ class AlertsStockGrid extends \Magento\Catalog\Controller\Adminhtml\Product * @param Action\Context $context * @param Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -45,7 +42,6 @@ public function __construct( * Get alerts stock grid * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute.php index e91c99340ec0b..a8a66cb6af2f8 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute.php @@ -15,7 +15,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute * - * @since 2.0.0 */ abstract class Attribute extends \Magento\Backend\App\Action { @@ -28,13 +27,11 @@ abstract class Attribute extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Cache\FrontendInterface - * @since 2.0.0 */ protected $_attributeLabelCache; /** * @var string - * @since 2.0.0 */ protected $_entityTypeId; @@ -42,13 +39,11 @@ abstract class Attribute extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -59,7 +54,6 @@ abstract class Attribute extends \Magento\Backend\App\Action * @param \Magento\Framework\Cache\FrontendInterface $attributeLabelCache * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -78,7 +72,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function dispatch(\Magento\Framework\App\RequestInterface $request) { @@ -93,7 +86,6 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request) /** * @param \Magento\Framework\Phrase|null $title * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ protected function createActionPage($title = null) { @@ -124,7 +116,6 @@ protected function createActionPage($title = null) * * @param string $label * @return string - * @since 2.0.0 */ protected function generateCode($label) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Delete.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Delete.php index 5e67e08b80da9..436c6dee05f3b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Delete.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Delete.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Edit.php index 685c71ee943f2..4df1dcc72fad5 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Edit.php @@ -9,14 +9,12 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { /** * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Index.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Index.php index 2f95fbd75266d..843e40b07ae4a 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Index.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute\Index * - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/NewAction.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/NewAction.php index dd5b9b1a73e64..04a1ce5af068c 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/NewAction.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/NewAction.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -25,7 +23,6 @@ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -40,7 +37,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { 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 21670c4e86c17..e252cef138696 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php @@ -14,43 +14,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { /** * @var \Magento\Catalog\Model\Product\AttributeSet\BuildFactory - * @since 2.0.0 */ protected $buildFactory; /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filterManager; /** * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $productHelper; /** * @var \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory - * @since 2.0.0 */ protected $attributeFactory; /** * @var \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype\ValidatorFactory - * @since 2.0.0 */ protected $validatorFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group\CollectionFactory - * @since 2.0.0 */ protected $groupCollectionFactory; @@ -73,7 +66,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute * @param \Magento\Catalog\Helper\Product $productHelper * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -103,7 +95,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { 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 179b88744cf48..30b1ca7755ecb 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Attribute\Validate * - * @since 2.0.0 */ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute { @@ -19,19 +18,17 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $multipleAttributeList; @@ -45,7 +42,6 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product\Attribute * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param array $multipleAttributeList - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -66,7 +62,6 @@ public function __construct( * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { @@ -131,7 +126,7 @@ public function execute() * @param array $optionsValues * @param array $deletedOptions * @return bool - * @since 2.2.0 + * @since 2.1.3 */ private function isUniqueAdminValues(array $optionsValues, array $deletedOptions) { @@ -166,7 +161,7 @@ private function setMessageToResponse($response, $messages) * @param DataObject $response * @param array|null $options * @return $this - * @since 2.2.0 + * @since 2.1.3 */ private function checkUniqueOption(DataObject $response, array $options = null) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php index 522ae9c26b0b0..ce582a49625e3 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php @@ -15,31 +15,26 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Builder * - * @since 2.0.0 */ class Builder { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $logger; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var \Magento\Cms\Model\Wysiwyg\Config - * @since 2.0.0 */ protected $wysiwygConfig; @@ -57,7 +52,6 @@ class Builder * @param Registry $registry * @param WysiwygModel\Config $wysiwygConfig * @param StoreFactory|null $storeFactory - * @since 2.0.0 */ public function __construct( ProductFactory $productFactory, @@ -79,7 +73,6 @@ public function __construct( * * @param RequestInterface $request * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function build(RequestInterface $request) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Categories.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Categories.php index b13f8c747dc3a..c07de4e3fd35f 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Categories.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Categories.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Categories * - * @since 2.0.0 */ class Categories extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Categories extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get categories fieldset block * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Crosssell.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Crosssell.php index a6874ec5eb129..b86726bc7e67d 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Crosssell.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Crosssell.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Crosssell * - * @since 2.0.0 */ class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class Crosssell extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get crosssell products grid and serializer block * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/CrosssellGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/CrosssellGrid.php index 5ba0aec4dff05..ee160b85b1476 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/CrosssellGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/CrosssellGrid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\CrosssellGrid * - * @since 2.0.0 */ class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class CrosssellGrid extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get crosssell products grid * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/CustomOptions.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/CustomOptions.php index d49541bf0b6e1..a44321e71c73f 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/CustomOptions.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/CustomOptions.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\CustomOptions * - * @since 2.0.0 */ class CustomOptions extends \Magento\Catalog\Controller\Adminhtml\Product { @@ -20,13 +19,11 @@ class CustomOptions extends \Magento\Catalog\Controller\Adminhtml\Product * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -35,7 +32,6 @@ class CustomOptions extends \Magento\Catalog\Controller\Adminhtml\Product * @param Builder $productBuilder * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -52,7 +48,6 @@ public function __construct( * Show custom options in JSON format for specified products * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Datafeeds/Index.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Datafeeds/Index.php index d3cffeb0f59e5..bef724a5c4a82 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Datafeeds/Index.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Datafeeds/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Datafeeds\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\App\Action { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Duplicate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Duplicate.php index 6247149b865f4..4209dae56abef 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Duplicate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Duplicate.php @@ -12,13 +12,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Duplicate * - * @since 2.0.0 */ class Duplicate extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Catalog\Model\Product\Copier - * @since 2.0.0 */ protected $productCopier; @@ -26,7 +24,6 @@ class Duplicate extends \Magento\Catalog\Controller\Adminhtml\Product * @param Action\Context $context * @param Builder $productBuilder * @param \Magento\Catalog\Model\Product\Copier $productCopier - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -41,7 +38,6 @@ public function __construct( * Create product duplicate * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Edit.php index de5742b3f0ec5..a4967309c3d67 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Edit.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product { @@ -17,13 +16,11 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product * Array of actions which can be processed without secret key validation * * @var array - * @since 2.0.0 */ protected $_publicActions = ['edit']; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -31,7 +28,6 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -46,7 +42,6 @@ public function __construct( * Product edit form * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php index eda728e8c6a76..c0c819d931da1 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Gallery\Upload * - * @since 2.0.0 */ class Upload extends \Magento\Backend\App\Action { @@ -24,14 +23,12 @@ class Upload extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -43,7 +40,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Grid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Grid.php index 12713abe0b12d..33ff75176dee0 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Grid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Grid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Grid extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Product grid for AJAX request * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/GridOnly.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/GridOnly.php index 056b47f39ac39..04ef63ba63c4a 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/GridOnly.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/GridOnly.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\GridOnly * - * @since 2.0.0 */ class GridOnly extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -30,7 +27,6 @@ class GridOnly extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Get specified tab grid * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Group/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Group/Save.php index 879aa51b9cef5..919a3041af3a8 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Group/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Group/Save.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Group\Save * - * @since 2.0.0 */ class Save extends \Magento\Backend\App\Action { @@ -22,7 +21,6 @@ class Save extends \Magento\Backend\App\Action /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Index.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Index.php index 9da6340aff8a1..cfdfa1c3ee66e 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Index.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Index * - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Index extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Product list page * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { 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 f5e68154ae278..f7458fb13b229 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php @@ -16,38 +16,32 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Helper { /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var StockDataFilter - * @since 2.0.0 */ protected $stockFilter; /** * @var \Magento\Backend\Helper\Js - * @since 2.0.0 */ protected $jsHelper; /** * @var \Magento\Framework\Stdlib\DateTime\Filter\Date * @deprecated 2.1.0 - * @since 2.0.0 */ protected $dateFilter; @@ -71,7 +65,6 @@ class Helper /** * @var ProductLinks - * @since 2.0.0 */ protected $productLinks; @@ -107,7 +100,6 @@ class Helper * @param \Magento\Catalog\Api\ProductRepositoryInterface|null $productRepository * @param \Magento\Catalog\Model\Product\LinkTypeProvider|null $linkTypeProvider * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -233,7 +225,6 @@ public function initializeFromData(\Magento\Catalog\Model\Product $product, arra * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function initialize(\Magento\Catalog\Model\Product $product) { @@ -321,7 +312,6 @@ protected function normalize(array $productData) * @param array $productOptions product options * @param array $overwriteOptions default value options * @return array - * @since 2.0.0 */ public function mergeProductOptions($productOptions, $overwriteOptions) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerFactory.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerFactory.php index aafaf0b539447..6a658c7b67b97 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerFactory.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerFactory.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerFactory * - * @since 2.0.0 */ class HandlerFactory { @@ -16,13 +15,11 @@ class HandlerFactory * Object manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $arguments * @return object * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($instance, array $arguments = []) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php index ea4edb72aadcb..002f2a3886ae9 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php @@ -8,14 +8,12 @@ /** * Interface \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerInterface * - * @since 2.0.0 */ interface HandlerInterface { /** * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ public function handle(\Magento\Catalog\Model\Product $product); } diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Handler/Composite.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Handler/Composite.php index bf42559a06cc7..15076c1410257 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Handler/Composite.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Handler/Composite.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\Plugin\Handler\Composite * - * @since 2.0.0 */ class Composite implements HandlerInterface { @@ -20,14 +19,12 @@ class Composite implements HandlerInterface * Array of handler interface objects * * @var HandlerInterface[] - * @since 2.0.0 */ protected $handlers; /** * @param HandlerFactory $factory * @param array $handlers - * @since 2.0.0 */ public function __construct(HandlerFactory $factory, array $handlers = []) { @@ -41,7 +38,6 @@ public function __construct(HandlerFactory $factory, array $handlers = []) * * @param Product $product * @return void - * @since 2.0.0 */ public function handle(Product $product) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php index d662416f8487a..f7e69bc72ea18 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php @@ -10,7 +10,6 @@ /** * Class StockDataFilter - * @since 2.0.0 */ class StockDataFilter { @@ -21,20 +20,17 @@ class StockDataFilter /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @param ScopeConfigInterface $scopeConfig * @param StockConfigurationInterface $stockConfiguration - * @since 2.0.0 */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -50,7 +46,6 @@ public function __construct( * @param array $stockData * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function filter(array $stockData) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassDelete.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassDelete.php index 8f22890d7c48b..28be9ce05e096 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassDelete.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassDelete.php @@ -15,7 +15,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\MassDelete * - * @since 2.0.0 */ class MassDelete extends \Magento\Catalog\Controller\Adminhtml\Product { @@ -23,13 +22,11 @@ class MassDelete extends \Magento\Catalog\Controller\Adminhtml\Product * Massactions filter * * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -38,7 +35,6 @@ class MassDelete extends \Magento\Catalog\Controller\Adminhtml\Product * @param Builder $productBuilder * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -53,7 +49,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php index ee0e6fb6c9de6..ec5eb9de3fe35 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php @@ -14,13 +14,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class MassStatus extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $_productPriceIndexerProcessor; @@ -28,13 +26,11 @@ class MassStatus extends \Magento\Catalog\Controller\Adminhtml\Product * MassActions filter * * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -44,7 +40,6 @@ class MassStatus extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $productPriceIndexerProcessor * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -66,7 +61,6 @@ public function __construct( * @param int $status * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function _validateMassStatus(array $productIds, $status) { @@ -83,7 +77,6 @@ public function _validateMassStatus(array $productIds, $status) * Update product(s) status action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php index 978a3740548cd..09aaaf719ba80 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php @@ -13,26 +13,22 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var Initialization\StockDataFilter * @deprecated 2.1.0 - * @since 2.0.0 */ protected $stockFilter; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -42,7 +38,6 @@ class NewAction extends \Magento\Catalog\Controller\Adminhtml\Product * @param Initialization\StockDataFilter $stockFilter * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -61,7 +56,6 @@ public function __construct( * Create new product page * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Options.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Options.php index fb0a6fc067190..e025643e687a3 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Options.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Options.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Options * - * @since 2.0.0 */ class Options extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class Options extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get options fieldset block * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/OptionsImportGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/OptionsImportGrid.php index 6b9437a7c388c..0ed2801149503 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/OptionsImportGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/OptionsImportGrid.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\OptionsImportGrid * - * @since 2.0.0 */ class OptionsImportGrid extends AbstractProductGrid { @@ -17,7 +16,6 @@ class OptionsImportGrid extends AbstractProductGrid * Show product grid for custom options import popup * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Related.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Related.php index a08af81451abd..0239892da377f 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Related.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Related.php @@ -10,13 +10,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Related * - * @since 2.0.0 */ class Related extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -24,7 +22,6 @@ class Related extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -37,7 +34,6 @@ public function __construct( /** * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/RelatedGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/RelatedGrid.php index 04aab223200a6..27959a2503185 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/RelatedGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/RelatedGrid.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\RelatedGrid * - * @since 2.0.0 */ class RelatedGrid extends Related { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php index bdd5e92b13bc8..93d5d92a40a14 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php @@ -14,25 +14,21 @@ /** * Class Save * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var Initialization\Helper - * @since 2.0.0 */ protected $initializationHelper; /** * @var \Magento\Catalog\Model\Product\Copier - * @since 2.0.0 */ protected $productCopier; /** * @var \Magento\Catalog\Model\Product\TypeTransitionManager - * @since 2.0.0 */ protected $productTypeManager; @@ -44,7 +40,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -69,7 +64,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Catalog\Model\Product\Copier $productCopier * @param \Magento\Catalog\Model\Product\TypeTransitionManager $productTypeManager * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -92,7 +86,6 @@ public function __construct( * @return \Magento\Backend\Model\View\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { @@ -198,7 +191,6 @@ public function execute() * @param array $postData * @param int $productId * @return void - * @since 2.0.0 */ private function handleImageRemoveError($postData, $productId) { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set.php index f1460478dd221..5231bdd340650 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set.php @@ -9,7 +9,6 @@ * Adminhtml entity sets controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class Set extends \Magento\Backend\App\Action { @@ -24,14 +23,12 @@ abstract class Set extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Backend\App\Action\Context $context, \Magen * Define in register catalog_product entity type code as entityType * * @return void - * @since 2.0.0 */ protected function _setTypeId() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Add.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Add.php index c447dbf2ca37d..c578879f45a21 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Add.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Add.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\Add * - * @since 2.0.0 */ class Add extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Add extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Delete.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Delete.php index cd5dd005f7a91..fc2ad7dff8847 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Delete.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Delete.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Eav\Api\AttributeSetRepositoryInterface - * @since 2.0.0 */ protected $attributeSetRepository; @@ -23,7 +21,6 @@ class Delete extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Eav\Api\AttributeSetRepositoryInterface $attributeSetRepository - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Edit.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Edit.php index 8795ca966d3a0..85272af34697c 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Edit.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Edit.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Edit extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Index.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Index.php index e777eb41f0568..efd10e087b844 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Index.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\Index * - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Index extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Save.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Save.php index d4516407cfc1e..a0f8ba0817b39 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Save.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/Save.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\Save * - * @since 2.0.0 */ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -30,7 +27,6 @@ class Save extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Retrieve catalog product entity type id * * @return int - * @since 2.0.0 */ protected function _getEntityTypeId() { @@ -65,7 +60,6 @@ protected function _getEntityTypeId() * * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/SetGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/SetGrid.php index 111fb4818ddfb..9151c7ab0ca4c 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/SetGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Set/SetGrid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Set\SetGrid * - * @since 2.0.0 */ class SetGrid extends \Magento\Catalog\Controller\Adminhtml\Product\Set { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class SetGrid extends \Magento\Catalog\Controller\Adminhtml\Product\Set * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/ShowUpdateResult.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/ShowUpdateResult.php index fe6421c125800..082bbe1e8c0a2 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/ShowUpdateResult.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/ShowUpdateResult.php @@ -13,13 +13,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\ShowUpdateResult * - * @since 2.0.0 */ class ShowUpdateResult extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Catalog\Helper\Product\Composite - * @since 2.0.0 */ protected $productCompositeHelper; @@ -27,7 +25,6 @@ class ShowUpdateResult extends \Magento\Catalog\Controller\Adminhtml\Product * @param Context $context * @param Builder $productBuilder * @param Composite $productCompositeHelper - * @since 2.0.0 */ public function __construct( Context $context, @@ -43,7 +40,6 @@ public function __construct( * in Wishlist and Cart controllers. * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributeSets.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributeSets.php index 5e8db6457be9a..6f3c23da12485 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributeSets.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributeSets.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\SuggestAttributeSets * - * @since 2.0.0 */ class SuggestAttributeSets extends \Magento\Backend\App\Action { @@ -22,13 +21,11 @@ class SuggestAttributeSets extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Catalog\Model\Product\AttributeSet\SuggestedSet - * @since 2.0.0 */ protected $suggestedSet; @@ -36,7 +33,6 @@ class SuggestAttributeSets extends \Magento\Backend\App\Action * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Catalog\Model\Product\AttributeSet\SuggestedSet $suggestedSet - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -52,7 +48,6 @@ public function __construct( * Action for attribute set selector * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributes.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributes.php index 134e3c359b32b..60a4742f8ac38 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributes.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/SuggestAttributes.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\SuggestAttributes * - * @since 2.0.0 */ class SuggestAttributes extends \Magento\Backend\App\Action { @@ -22,13 +21,11 @@ class SuggestAttributes extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -36,7 +33,6 @@ class SuggestAttributes extends \Magento\Backend\App\Action * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -52,7 +48,6 @@ public function __construct( * Search for attributes by part of attribute's label in admin store * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Upsell.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Upsell.php index 01f62e609558d..5a3dc6c654b6b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Upsell.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Upsell.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Upsell * - * @since 2.0.0 */ class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class Upsell extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get upsell products grid and serializer block * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/UpsellGrid.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/UpsellGrid.php index 08fcc47c1607e..cd5acf682aa1b 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/UpsellGrid.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/UpsellGrid.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\UpsellGrid * - * @since 2.0.0 */ class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class UpsellGrid extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Get upsell products grid * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php index e37108bb896fc..6b1c33876415a 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Validate.php @@ -15,7 +15,6 @@ * Product validate * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product { @@ -23,31 +22,26 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product * @var \Magento\Framework\Stdlib\DateTime\Filter\Date * * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_dateFilter; /** * @var \Magento\Catalog\Model\Product\Validator - * @since 2.0.0 */ protected $productValidator; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; @@ -71,7 +65,6 @@ class Validate extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory * @param \Magento\Catalog\Model\ProductFactory $productFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -96,7 +89,6 @@ public function __construct( * @return \Magento\Framework\Controller\Result\Json * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget/Chooser.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget/Chooser.php index 9406cf0c93008..30244e862e174 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget/Chooser.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget/Chooser.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -29,7 +26,6 @@ class Chooser extends \Magento\Backend\App\Action * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -45,7 +41,6 @@ public function __construct( * Chooser Source action * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Wysiwyg.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Wysiwyg.php index 4aa343cd35eac..c4dbe918c51db 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Wysiwyg.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Wysiwyg.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Controller\Adminhtml\Product\Wysiwyg * - * @since 2.0.0 */ class Wysiwyg extends \Magento\Catalog\Controller\Adminhtml\Product { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -30,7 +27,6 @@ class Wysiwyg extends \Magento\Catalog\Controller\Adminhtml\Product * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * WYSIWYG editor action for ajax request * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Category/View.php b/app/code/Magento/Catalog/Controller/Category/View.php index d9068e8310177..a72f764a5f1f6 100644 --- a/app/code/Magento/Catalog/Controller/Category/View.php +++ b/app/code/Magento/Catalog/Controller/Category/View.php @@ -13,7 +13,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class View extends \Magento\Framework\App\Action\Action { @@ -21,7 +20,6 @@ class View extends \Magento\Framework\App\Action\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -29,7 +27,6 @@ class View extends \Magento\Framework\App\Action\Action * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; @@ -37,31 +34,26 @@ class View extends \Magento\Framework\App\Action\Action * Catalog design * * @var \Magento\Catalog\Model\Design - * @since 2.0.0 */ protected $_catalogDesign; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -69,13 +61,11 @@ class View extends \Magento\Framework\App\Action\Action * Catalog Layer Resolver * * @var Resolver - * @since 2.0.0 */ private $layerResolver; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -93,7 +83,6 @@ class View extends \Magento\Framework\App\Action\Action * @param Resolver $layerResolver * @param CategoryRepositoryInterface $categoryRepository * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -123,7 +112,6 @@ public function __construct( * Initialize requested category object * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ protected function _initCategory() { @@ -161,7 +149,6 @@ protected function _initCategory() * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Index/Index.php b/app/code/Magento/Catalog/Controller/Index/Index.php index d17f42fa3b003..b05aa1871e7df 100644 --- a/app/code/Magento/Catalog/Controller/Index/Index.php +++ b/app/code/Magento/Catalog/Controller/Index/Index.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Controller\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { @@ -16,7 +15,6 @@ class Index extends \Magento\Framework\App\Action\Action * Index action * * @return $this - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product.php b/app/code/Magento/Catalog/Controller/Product.php index 7f758f6f42569..862137ec820a4 100644 --- a/app/code/Magento/Catalog/Controller/Product.php +++ b/app/code/Magento/Catalog/Controller/Product.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Controller\Product * - * @since 2.0.0 */ abstract class Product extends \Magento\Framework\App\Action\Action implements ViewInterface { @@ -21,7 +20,6 @@ abstract class Product extends \Magento\Framework\App\Action\Action implements V * Initialize requested product object * * @return ModelProduct - * @since 2.0.0 */ protected function _initProduct() { diff --git a/app/code/Magento/Catalog/Controller/Product/Compare.php b/app/code/Magento/Catalog/Controller/Product/Compare.php index 7f5f56080cfd7..1ee146e5aaa70 100644 --- a/app/code/Magento/Catalog/Controller/Product/Compare.php +++ b/app/code/Magento/Catalog/Controller/Product/Compare.php @@ -14,7 +14,6 @@ * * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Compare extends \Magento\Framework\App\Action\Action { @@ -22,7 +21,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Customer id * * @var null|int - * @since 2.0.0 */ protected $_customerId = null; @@ -30,7 +28,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; @@ -38,7 +35,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Catalog product compare list * * @var \Magento\Catalog\Model\Product\Compare\ListCompare - * @since 2.0.0 */ protected $_catalogProductCompareList; @@ -46,7 +42,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Customer visitor * * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $_customerVisitor; @@ -54,7 +49,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; @@ -62,7 +56,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Item collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\CollectionFactory - * @since 2.0.0 */ protected $_itemCollectionFactory; @@ -70,31 +63,26 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * Compare item factory * * @var \Magento\Catalog\Model\Product\Compare\ItemFactory - * @since 2.0.0 */ protected $_compareItemFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -113,7 +101,6 @@ abstract class Compare extends \Magento\Framework\App\Action\Action * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param ProductRepositoryInterface $productRepository * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -146,7 +133,6 @@ public function __construct( * * @param int $customerId * @return $this - * @since 2.0.0 */ public function setCustomerId($customerId) { diff --git a/app/code/Magento/Catalog/Controller/Product/Compare/Add.php b/app/code/Magento/Catalog/Controller/Product/Compare/Add.php index 0397300074c26..42bd4f355c7ec 100644 --- a/app/code/Magento/Catalog/Controller/Product/Compare/Add.php +++ b/app/code/Magento/Catalog/Controller/Product/Compare/Add.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Controller\Product\Compare\Add * - * @since 2.0.0 */ class Add extends \Magento\Catalog\Controller\Product\Compare { @@ -19,7 +18,6 @@ class Add extends \Magento\Catalog\Controller\Product\Compare * Add item to compare list * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/Compare/Clear.php b/app/code/Magento/Catalog/Controller/Product/Compare/Clear.php index f7f5565635712..f23b95e2d0eff 100644 --- a/app/code/Magento/Catalog/Controller/Product/Compare/Clear.php +++ b/app/code/Magento/Catalog/Controller/Product/Compare/Clear.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Controller\Product\Compare\Clear * - * @since 2.0.0 */ class Clear extends \Magento\Catalog\Controller\Product\Compare { @@ -19,7 +18,6 @@ class Clear extends \Magento\Catalog\Controller\Product\Compare * Remove all items from comparison list * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/Compare/Index.php b/app/code/Magento/Catalog/Controller/Product/Compare/Index.php index f3646a776b614..3eba058318a7d 100644 --- a/app/code/Magento/Catalog/Controller/Product/Compare/Index.php +++ b/app/code/Magento/Catalog/Controller/Product/Compare/Index.php @@ -12,13 +12,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Index extends \Magento\Catalog\Controller\Product\Compare { /** * @var \Magento\Framework\Url\DecoderInterface - * @since 2.0.0 */ protected $urlDecoder; @@ -37,7 +35,6 @@ class Index extends \Magento\Catalog\Controller\Product\Compare * @param \Magento\Framework\Url\DecoderInterface $urlDecoder * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -73,7 +70,6 @@ public function __construct( * Compare index action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/Compare/Remove.php b/app/code/Magento/Catalog/Controller/Product/Compare/Remove.php index 4b7f6dbff0abf..3acf290b47efa 100644 --- a/app/code/Magento/Catalog/Controller/Product/Compare/Remove.php +++ b/app/code/Magento/Catalog/Controller/Product/Compare/Remove.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Controller\Product\Compare\Remove * - * @since 2.0.0 */ class Remove extends \Magento\Catalog\Controller\Product\Compare { @@ -19,7 +18,6 @@ class Remove extends \Magento\Catalog\Controller\Product\Compare * Remove item from compare list * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/Gallery.php b/app/code/Magento/Catalog/Controller/Product/Gallery.php index cae148f93197e..d028f7e3ee0f6 100644 --- a/app/code/Magento/Catalog/Controller/Product/Gallery.php +++ b/app/code/Magento/Catalog/Controller/Product/Gallery.php @@ -13,19 +13,16 @@ /** * Class \Magento\Catalog\Controller\Product\Gallery * - * @since 2.0.0 */ class Gallery extends \Magento\Catalog\Controller\Product { /** * @var Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -35,7 +32,6 @@ class Gallery extends \Magento\Catalog\Controller\Product * @param Context $context * @param Result\ForwardFactory $resultForwardFactory * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -51,7 +47,6 @@ public function __construct( * View product gallery action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/View.php b/app/code/Magento/Catalog/Controller/Product/View.php index 50ce78a00b117..ba4fd44239411 100644 --- a/app/code/Magento/Catalog/Controller/Product/View.php +++ b/app/code/Magento/Catalog/Controller/Product/View.php @@ -12,25 +12,21 @@ /** * Class \Magento\Catalog\Controller\Product\View * - * @since 2.0.0 */ class View extends \Magento\Catalog\Controller\Product { /** * @var \Magento\Catalog\Helper\Product\View - * @since 2.0.0 */ protected $viewHelper; /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -41,7 +37,6 @@ class View extends \Magento\Catalog\Controller\Product * @param \Magento\Catalog\Helper\Product\View $viewHelper * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -59,7 +54,6 @@ public function __construct( * Redirect if product failed to load * * @return \Magento\Framework\Controller\Result\Redirect|\Magento\Framework\Controller\Result\Forward - * @since 2.0.0 */ protected function noProductRedirect() { @@ -78,7 +72,6 @@ protected function noProductRedirect() * Product view action * * @return \Magento\Framework\Controller\Result\Forward|\Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php b/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php index 01b71e748cb9b..8741eb41053da 100644 --- a/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php +++ b/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php @@ -12,7 +12,6 @@ /** * Interface \Magento\Catalog\Controller\Product\View\ViewInterface * - * @since 2.0.0 */ interface ViewInterface { diff --git a/app/code/Magento/Catalog/Cron/DeleteAbandonedStoreFlatTables.php b/app/code/Magento/Catalog/Cron/DeleteAbandonedStoreFlatTables.php index 2d16a6f00441c..ef72c7d048c59 100644 --- a/app/code/Magento/Catalog/Cron/DeleteAbandonedStoreFlatTables.php +++ b/app/code/Magento/Catalog/Cron/DeleteAbandonedStoreFlatTables.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Cron\DeleteAbandonedStoreFlatTables * - * @since 2.0.0 */ class DeleteAbandonedStoreFlatTables { /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ private $indexer; /** * @param \Magento\Catalog\Helper\Product\Flat\Indexer $indexer - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Product\Flat\Indexer $indexer @@ -32,7 +29,6 @@ public function __construct( * Delete all product flat tables for not existing stores * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php b/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php index 2332c785852a1..8db874e04ece6 100644 --- a/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php +++ b/app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php @@ -14,25 +14,25 @@ /** * 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.2.0 + * @since 2.1.3 */ class DeleteOutdatedPriceValues { /** * @var ResourceConnection - * @since 2.2.0 + * @since 2.1.3 */ private $resource; /** * @var AttributeRepository - * @since 2.2.0 + * @since 2.1.3 */ private $attributeRepository; /** * @var ScopeConfig - * @since 2.2.0 + * @since 2.1.3 */ private $scopeConfig; @@ -40,7 +40,7 @@ class DeleteOutdatedPriceValues * @param ResourceConnection $resource * @param AttributeRepository $attributeRepository * @param ScopeConfig $scopeConfig - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ResourceConnection $resource, @@ -56,7 +56,7 @@ public function __construct( * Delete all price values for non-admin stores if PRICE_SCOPE is global * * @return void - * @since 2.2.0 + * @since 2.1.3 */ public function execute() { diff --git a/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php b/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php index a52766f798e4f..08c869282837c 100644 --- a/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php +++ b/app/code/Magento/Catalog/Cron/RefreshSpecialPrices.php @@ -13,49 +13,41 @@ /** * Class \Magento\Catalog\Cron\RefreshSpecialPrices * - * @since 2.0.0 */ class RefreshSpecialPrices { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var Resource - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $_dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $_processor; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; @@ -72,7 +64,6 @@ class RefreshSpecialPrices * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $processor - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -94,7 +85,6 @@ public function __construct( * Retrieve write connection instance * * @return bool|\Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected function _getConnection() { @@ -108,7 +98,6 @@ protected function _getConnection() * Add products to changes list with price which depends on date * * @return void - * @since 2.0.0 */ public function execute() { @@ -149,7 +138,6 @@ public function execute() * @param string $attrCode * @param \Zend_Db_Expr $attrConditionValue * @return void - * @since 2.0.0 */ protected function _refreshSpecialPriceByStore($storeId, $attrCode, $attrConditionValue) { diff --git a/app/code/Magento/Catalog/CustomerData/CompareProducts.php b/app/code/Magento/Catalog/CustomerData/CompareProducts.php index 94734f93ff638..1657ee6b9e88c 100644 --- a/app/code/Magento/Catalog/CustomerData/CompareProducts.php +++ b/app/code/Magento/Catalog/CustomerData/CompareProducts.php @@ -10,19 +10,16 @@ /** * Class \Magento\Catalog\CustomerData\CompareProducts * - * @since 2.0.0 */ class CompareProducts implements SectionSourceInterface { /** * @var \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ protected $helper; /** * @var \Magento\Catalog\Model\Product\Url - * @since 2.0.0 */ protected $productUrl; @@ -30,7 +27,6 @@ class CompareProducts implements SectionSourceInterface * @param \Magento\Catalog\Helper\Product\Compare $helper * @param \Magento\Catalog\Model\Product\Url $productUrl * @param \Magento\Catalog\Helper\Output $outputHelper - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Product\Compare $helper, @@ -44,7 +40,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getSectionData() { @@ -59,7 +54,6 @@ public function getSectionData() /** * @return array - * @since 2.0.0 */ protected function getItems() { diff --git a/app/code/Magento/Catalog/Helper/Catalog.php b/app/code/Magento/Catalog/Helper/Catalog.php index c64a75de2fc0e..83535fa19e969 100644 --- a/app/code/Magento/Catalog/Helper/Catalog.php +++ b/app/code/Magento/Catalog/Helper/Catalog.php @@ -9,7 +9,6 @@ * Adminhtml Catalog helper * * @author Magento Core Team - * @since 2.0.0 */ class Catalog extends \Magento\Framework\App\Helper\AbstractHelper { @@ -17,7 +16,6 @@ class Catalog extends \Magento\Framework\App\Helper\AbstractHelper * Attribute Tab block name for product edit * * @var string - * @since 2.0.0 */ protected $_attributeTabBlock = null; @@ -25,7 +23,6 @@ class Catalog extends \Magento\Framework\App\Helper\AbstractHelper * Attribute Tab block name for category edit * * @var string - * @since 2.0.0 */ protected $_categoryAttributeTabBlock; @@ -33,7 +30,6 @@ class Catalog extends \Magento\Framework\App\Helper\AbstractHelper * Retrieve Attribute Tab Block Name for Product Edit * * @return string - * @since 2.0.0 */ public function getAttributeTabBlock() { @@ -45,7 +41,6 @@ public function getAttributeTabBlock() * * @param string $attributeTabBlock * @return $this - * @since 2.0.0 */ public function setAttributeTabBlock($attributeTabBlock) { @@ -57,7 +52,6 @@ public function setAttributeTabBlock($attributeTabBlock) * Retrieve Attribute Tab Block Name for Category Edit * * @return string - * @since 2.0.0 */ public function getCategoryAttributeTabBlock() { @@ -69,7 +63,6 @@ public function getCategoryAttributeTabBlock() * * @param string $attributeTabBlock * @return $this - * @since 2.0.0 */ public function setCategoryAttributeTabBlock($attributeTabBlock) { diff --git a/app/code/Magento/Catalog/Helper/Category.php b/app/code/Magento/Catalog/Helper/Category.php index 778a6ecebdaaa..ae42acf4b196e 100644 --- a/app/code/Magento/Catalog/Helper/Category.php +++ b/app/code/Magento/Catalog/Helper/Category.php @@ -15,7 +15,6 @@ * Catalog category helper * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Category extends AbstractHelper { @@ -27,7 +26,6 @@ class Category extends AbstractHelper * Store categories cache * * @var array - * @since 2.0.0 */ protected $_storeCategories = []; @@ -35,7 +33,6 @@ class Category extends AbstractHelper * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -43,7 +40,6 @@ class Category extends AbstractHelper * Category factory * * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $_categoryFactory; @@ -51,13 +47,11 @@ class Category extends AbstractHelper * Lib data collection factory * * @var \Magento\Framework\Data\CollectionFactory - * @since 2.0.0 */ protected $_dataCollectionFactory; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -67,7 +61,6 @@ class Category extends AbstractHelper * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Data\CollectionFactory $dataCollectionFactory * @param CategoryRepositoryInterface $categoryRepository - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -91,7 +84,6 @@ public function __construct( * @param bool $toLoad * @return \Magento\Framework\Data\Tree\Node\Collection or * \Magento\Catalog\Model\ResourceModel\Category\Collection or array - * @since 2.0.0 */ public function getStoreCategories($sorted = false, $asCollection = false, $toLoad = true) { @@ -131,7 +123,6 @@ public function getStoreCategories($sorted = false, $asCollection = false, $toLo * * @param ModelCategory $category * @return string - * @since 2.0.0 */ public function getCategoryUrl($category) { @@ -146,7 +137,6 @@ public function getCategoryUrl($category) * * @param ModelCategory|int $category * @return bool - * @since 2.0.0 */ public function canShow($category) { @@ -177,7 +167,6 @@ public function canShow($category) * * @param null|string|bool|int|Store $store * @return bool - * @since 2.0.0 */ public function canUseCanonicalTag($store = null) { diff --git a/app/code/Magento/Catalog/Helper/Data.php b/app/code/Magento/Catalog/Helper/Data.php index 60063b7aabf1b..8bc45dab06033 100644 --- a/app/code/Magento/Catalog/Helper/Data.php +++ b/app/code/Magento/Catalog/Helper/Data.php @@ -20,7 +20,6 @@ * * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -51,7 +50,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Breadcrumb Path cache * * @var array - * @since 2.0.0 */ protected $_categoryPath; @@ -59,7 +57,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Currently selected store ID if applicable * * @var int - * @since 2.0.0 */ protected $_storeId; @@ -67,7 +64,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -75,7 +71,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Catalog product * * @var Product - * @since 2.0.0 */ protected $_catalogProduct; @@ -83,19 +78,16 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Catalog category * * @var Category - * @since 2.0.0 */ protected $_catalogCategory; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var string - * @since 2.0.0 */ protected $_templateFilterModel; @@ -103,7 +95,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; @@ -111,7 +102,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -119,7 +109,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Template filter factory * * @var \Magento\Catalog\Model\Template\Filter\Factory - * @since 2.0.0 */ protected $_templateFilterFactory; @@ -127,7 +116,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Tax class key factory * * @var \Magento\Tax\Api\Data\TaxClassKeyInterfaceFactory - * @since 2.0.0 */ protected $_taxClassKeyFactory; @@ -135,7 +123,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Tax helper * * @var \Magento\Tax\Model\Config - * @since 2.0.0 */ protected $_taxConfig; @@ -143,7 +130,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Quote details factory * * @var \Magento\Tax\Api\Data\QuoteDetailsInterfaceFactory - * @since 2.0.0 */ protected $_quoteDetailsFactory; @@ -151,13 +137,11 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Quote details item factory * * @var \Magento\Tax\Api\Data\QuoteDetailsItemInterfaceFactory - * @since 2.0.0 */ protected $_quoteDetailsItemFactory; /** * @var CustomerSession - * @since 2.0.0 */ protected $_customerSession; @@ -165,7 +149,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Tax calculation service interface * * @var \Magento\Tax\Api\TaxCalculationInterface - * @since 2.0.0 */ protected $_taxCalculationService; @@ -173,37 +156,31 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Price currency * * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.0.0 */ protected $customerGroupRepository; /** * @var \Magento\Customer\Api\Data\AddressInterfaceFactory - * @since 2.0.0 */ protected $addressFactory; /** * @var \Magento\Customer\Api\Data\RegionInterfaceFactory - * @since 2.0.0 */ protected $regionFactory; @@ -230,7 +207,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Customer\Api\Data\AddressInterfaceFactory $addressFactory * @param \Magento\Customer\Api\Data\RegionInterfaceFactory $regionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -283,7 +259,6 @@ public function __construct( * * @param int $store * @return $this - * @since 2.0.0 */ public function setStoreId($store) { @@ -296,7 +271,6 @@ public function setStoreId($store) * and creating array of categories|product paths for breadcrumbs * * @return array - * @since 2.0.0 */ public function getBreadcrumbPath() { @@ -334,7 +308,6 @@ public function getBreadcrumbPath() * * @param int $categoryId * @return bool - * @since 2.0.0 */ protected function _isCategoryLink($categoryId) { @@ -351,7 +324,6 @@ protected function _isCategoryLink($categoryId) * Return current category object * * @return \Magento\Catalog\Model\Category|null - * @since 2.0.0 */ public function getCategory() { @@ -362,7 +334,6 @@ public function getCategory() * Retrieve current Product object * * @return \Magento\Catalog\Model\Product|null - * @since 2.0.0 */ public function getProduct() { @@ -373,7 +344,6 @@ public function getProduct() * Retrieve Visitor/Customer Last Viewed URL * * @return string - * @since 2.0.0 */ public function getLastViewedUrl() { @@ -412,7 +382,6 @@ public function getLastViewedUrl() * @param string $sku * @param int $length * @return string[] - * @since 2.0.0 */ public function splitSku($sku, $length = 30) { @@ -423,7 +392,6 @@ public function splitSku($sku, $length = 30) * Retrieve attribute hidden fields * * @return array - * @since 2.0.0 */ public function getAttributeHiddenFields() { @@ -438,7 +406,6 @@ public function getAttributeHiddenFields() * Retrieve Catalog Price Scope * * @return int - * @since 2.0.0 */ public function getPriceScope() { @@ -452,7 +419,6 @@ public function getPriceScope() * Is Global Price * * @return bool - * @since 2.0.0 */ public function isPriceGlobal() { @@ -463,7 +429,6 @@ public function isPriceGlobal() * Check if the store is configured to use static URLs for media * * @return bool - * @since 2.0.0 */ public function isUsingStaticUrlsAllowed() { @@ -478,7 +443,6 @@ public function isUsingStaticUrlsAllowed() * Check if the parsing of URL directives is allowed for the catalog * * @return bool - * @since 2.0.0 */ public function isUrlDirectivesParsingAllowed() { @@ -493,7 +457,6 @@ public function isUrlDirectivesParsingAllowed() * Retrieve template processor for catalog content * * @return \Magento\Framework\Filter\Template - * @since 2.0.0 */ public function getPageTemplateProcessor() { @@ -504,7 +467,6 @@ public function getPageTemplateProcessor() * Whether to display items count for each filter option * @param int $storeId Store view ID * @return bool - * @since 2.0.0 */ public function shouldDisplayProductCountOnLayer($storeId = null) { @@ -518,7 +480,6 @@ public function shouldDisplayProductCountOnLayer($storeId = null) /** * @param array $taxAddress * @return \Magento\Customer\Api\Data\AddressInterface|null - * @since 2.0.0 */ private function convertDefaultTaxAddress(array $taxAddress = null) { @@ -552,7 +513,6 @@ private function convertDefaultTaxAddress(array $taxAddress = null) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getTaxPrice( $product, diff --git a/app/code/Magento/Catalog/Helper/Image.php b/app/code/Magento/Catalog/Helper/Image.php index b3a67f6811f1b..37ffc27ef92a0 100644 --- a/app/code/Magento/Catalog/Helper/Image.php +++ b/app/code/Magento/Catalog/Helper/Image.php @@ -12,7 +12,6 @@ * * @api * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class Image extends AbstractHelper { @@ -25,7 +24,6 @@ class Image extends AbstractHelper * Current model * * @var \Magento\Catalog\Model\Product\Image - * @since 2.0.0 */ protected $_model; @@ -33,7 +31,6 @@ class Image extends AbstractHelper * Scheduled for resize image * * @var bool - * @since 2.0.0 */ protected $_scheduleResize = true; @@ -41,7 +38,6 @@ class Image extends AbstractHelper * Scheduled for rotate image * * @var bool - * @since 2.0.0 */ protected $_scheduleRotate = false; @@ -49,7 +45,6 @@ class Image extends AbstractHelper * Angle * * @var int - * @since 2.0.0 */ protected $_angle; @@ -57,7 +52,6 @@ class Image extends AbstractHelper * Watermark file name * * @var string - * @since 2.0.0 */ protected $_watermark; @@ -65,7 +59,6 @@ class Image extends AbstractHelper * Watermark Position * * @var string - * @since 2.0.0 */ protected $_watermarkPosition; @@ -73,7 +66,6 @@ class Image extends AbstractHelper * Watermark Size * * @var string - * @since 2.0.0 */ protected $_watermarkSize; @@ -81,7 +73,6 @@ class Image extends AbstractHelper * Watermark Image opacity * * @var int - * @since 2.0.0 */ protected $_watermarkImageOpacity; @@ -89,7 +80,6 @@ class Image extends AbstractHelper * Current Product * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -97,7 +87,6 @@ class Image extends AbstractHelper * Image File * * @var string - * @since 2.0.0 */ protected $_imageFile; @@ -105,13 +94,11 @@ class Image extends AbstractHelper * Image Placeholder * * @var string - * @since 2.0.0 */ protected $_placeholder; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; @@ -119,19 +106,16 @@ class Image extends AbstractHelper * Product image factory * * @var \Magento\Catalog\Model\Product\ImageFactory - * @since 2.0.0 */ protected $_productImageFactory; /** * @var \Magento\Framework\View\ConfigInterface - * @since 2.0.0 */ protected $viewConfig; /** * @var \Magento\Framework\Config\View - * @since 2.0.0 */ protected $configView; @@ -139,7 +123,6 @@ class Image extends AbstractHelper * Image configuration attributes * * @var array - * @since 2.0.0 */ protected $attributes = []; @@ -155,7 +138,6 @@ class Image extends AbstractHelper * @param \Magento\Framework\View\Asset\Repository $assetRepo * @param \Magento\Framework\View\ConfigInterface $viewConfig * @param \Magento\Catalog\Model\View\Asset\PlaceholderFactory $placeholderFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -177,7 +159,6 @@ public function __construct( * Reset all previous data * * @return $this - * @since 2.0.0 */ protected function _reset() { @@ -201,7 +182,6 @@ protected function _reset() * @param string $imageId * @param array $attributes * @return $this - * @since 2.0.0 */ public function init($product, $imageId, $attributes = []) { @@ -223,7 +203,6 @@ public function init($product, $imageId, $attributes = []) * Set image properties * * @return $this - * @since 2.0.0 */ protected function setImageProperties() { @@ -268,7 +247,6 @@ protected function setImageProperties() * Set watermark properties * * @return $this - * @since 2.0.0 */ protected function setWatermarkProperties() { @@ -307,7 +285,6 @@ protected function setWatermarkProperties() * @param int $width * @param int $height * @return $this - * @since 2.0.0 */ public function resize($width, $height = null) { @@ -321,7 +298,6 @@ public function resize($width, $height = null) * * @param int $quality * @return $this - * @since 2.0.0 */ public function setQuality($quality) { @@ -337,7 +313,6 @@ public function setQuality($quality) * @see \Magento\Catalog\Model\Product\Image * @param bool $flag * @return $this - * @since 2.0.0 */ public function keepAspectRatio($flag) { @@ -356,7 +331,6 @@ public function keepAspectRatio($flag) * @param bool $flag * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function keepFrame($flag) { @@ -375,7 +349,6 @@ public function keepFrame($flag) * @param bool $flag * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function keepTransparency($flag) { @@ -390,7 +363,6 @@ public function keepTransparency($flag) * * @param bool $flag * @return $this - * @since 2.0.0 */ public function constrainOnly($flag) { @@ -407,7 +379,6 @@ public function constrainOnly($flag) * @see \Magento\Catalog\Model\Product\Image * @param array $colorRGB * @return $this - * @since 2.0.0 */ public function backgroundColor($colorRGB) { @@ -424,7 +395,6 @@ public function backgroundColor($colorRGB) * * @param int $angle * @return $this - * @since 2.0.0 */ public function rotate($angle) { @@ -443,7 +413,6 @@ public function rotate($angle) * @param string $size * @param int $imageOpacity * @return $this - * @since 2.0.0 */ public function watermark($fileName, $position, $size = null, $imageOpacity = null) { @@ -464,7 +433,6 @@ public function watermark($fileName, $position, $size = null, $imageOpacity = nu * * @param string $fileName * @return void - * @since 2.0.0 */ public function placeholder($fileName) { @@ -479,7 +447,6 @@ public function placeholder($fileName) * * @deprecated 2.2.0 Returns only default placeholder. * Does not take into account custom placeholders set in Configuration. - * @since 2.0.0 */ public function getPlaceholder($placeholder = null) { @@ -497,7 +464,6 @@ public function getPlaceholder($placeholder = null) * * @return $this * @throws \Exception - * @since 2.0.0 */ protected function applyScheduledActions() { @@ -522,7 +488,6 @@ protected function applyScheduledActions() * Initialize base image file * * @return $this - * @since 2.0.0 */ protected function initBaseFile() { @@ -542,7 +507,6 @@ protected function initBaseFile() * Check if scheduled actions is allowed * * @return bool - * @since 2.0.0 */ protected function isScheduledActionsAllowed() { @@ -557,7 +521,6 @@ protected function isScheduledActionsAllowed() * Retrieve image URL * * @return string - * @since 2.0.0 */ public function getUrl() { @@ -571,7 +534,6 @@ public function getUrl() /** * @return $this - * @since 2.0.0 */ public function save() { @@ -583,7 +545,6 @@ public function save() * Return resized product image information * * @return array - * @since 2.0.0 */ public function getResizedImageInfo() { @@ -594,7 +555,6 @@ public function getResizedImageInfo() /** * @param null|string $placeholder * @return string - * @since 2.0.0 */ public function getDefaultPlaceholderUrl($placeholder = null) { @@ -616,7 +576,6 @@ public function getDefaultPlaceholderUrl($placeholder = null) * Get current Image model * * @return \Magento\Catalog\Model\Product\Image - * @since 2.0.0 */ protected function _getModel() { @@ -631,7 +590,6 @@ protected function _getModel() * * @param int $angle * @return $this - * @since 2.0.0 */ protected function setAngle($angle) { @@ -643,7 +601,6 @@ protected function setAngle($angle) * Get Rotation Angle * * @return int - * @since 2.0.0 */ protected function getAngle() { @@ -655,7 +612,6 @@ protected function getAngle() * * @param string $watermark * @return $this - * @since 2.0.0 */ protected function setWatermark($watermark) { @@ -668,7 +624,6 @@ protected function setWatermark($watermark) * Get watermark file name * * @return string - * @since 2.0.0 */ protected function getWatermark() { @@ -680,7 +635,6 @@ protected function getWatermark() * * @param string $position * @return $this - * @since 2.0.0 */ protected function setWatermarkPosition($position) { @@ -693,7 +647,6 @@ protected function setWatermarkPosition($position) * Get watermark position * * @return string - * @since 2.0.0 */ protected function getWatermarkPosition() { @@ -706,7 +659,6 @@ protected function getWatermarkPosition() * * @param string $size * @return $this - * @since 2.0.0 */ public function setWatermarkSize($size) { @@ -719,7 +671,6 @@ public function setWatermarkSize($size) * Get watermark size * * @return string - * @since 2.0.0 */ protected function getWatermarkSize() { @@ -731,7 +682,6 @@ protected function getWatermarkSize() * * @param int $imageOpacity * @return $this - * @since 2.0.0 */ public function setWatermarkImageOpacity($imageOpacity) { @@ -744,7 +694,6 @@ public function setWatermarkImageOpacity($imageOpacity) * Get watermark image opacity * * @return int - * @since 2.0.0 */ protected function getWatermarkImageOpacity() { @@ -760,7 +709,6 @@ protected function getWatermarkImageOpacity() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ protected function setProduct($product) { @@ -772,7 +720,6 @@ protected function setProduct($product) * Get current Product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected function getProduct() { @@ -784,7 +731,6 @@ protected function getProduct() * * @param string $file * @return $this - * @since 2.0.0 */ public function setImageFile($file) { @@ -796,7 +742,6 @@ public function setImageFile($file) * Get Image file * * @return string - * @since 2.0.0 */ protected function getImageFile() { @@ -808,7 +753,6 @@ protected function getImageFile() * * @param string $string * @return array|bool - * @since 2.0.0 */ protected function parseSize($string) { @@ -823,7 +767,6 @@ protected function parseSize($string) * Retrieve original image width * * @return int|null - * @since 2.0.0 */ public function getOriginalWidth() { @@ -834,7 +777,6 @@ public function getOriginalWidth() * Retrieve original image height * * @return int|null - * @since 2.0.0 */ public function getOriginalHeight() { @@ -846,7 +788,6 @@ public function getOriginalHeight() * 0 - width, 1 - height * * @return int[] - * @since 2.0.0 */ public function getOriginalSizeArray() { @@ -857,7 +798,6 @@ public function getOriginalSizeArray() * Retrieve config view * * @return \Magento\Framework\Config\View - * @since 2.0.0 */ protected function getConfigView() { @@ -871,7 +811,6 @@ protected function getConfigView() * Retrieve image type * * @return string - * @since 2.0.0 */ public function getType() { @@ -882,7 +821,6 @@ public function getType() * Retrieve image width * * @return string - * @since 2.0.0 */ public function getWidth() { @@ -893,7 +831,6 @@ public function getWidth() * Retrieve image height * * @return string - * @since 2.0.0 */ public function getHeight() { @@ -904,7 +841,6 @@ public function getHeight() * Retrieve image frame flag * * @return false|string - * @since 2.0.0 */ public function getFrame() { @@ -920,7 +856,6 @@ public function getFrame() * * @param string $name * @return string - * @since 2.0.0 */ protected function getAttribute($name) { @@ -931,7 +866,6 @@ protected function getAttribute($name) * Return image label * * @return string - * @since 2.0.0 */ public function getLabel() { diff --git a/app/code/Magento/Catalog/Helper/Output.php b/app/code/Magento/Catalog/Helper/Output.php index a5311d8365404..a5139aa0eaa24 100644 --- a/app/code/Magento/Catalog/Helper/Output.php +++ b/app/code/Magento/Catalog/Helper/Output.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Helper\Output * - * @since 2.0.0 */ class Output extends \Magento\Framework\App\Helper\AbstractHelper { @@ -20,7 +19,6 @@ class Output extends \Magento\Framework\App\Helper\AbstractHelper * Array of existing handlers * * @var array - * @since 2.0.0 */ protected $_handlers; @@ -28,7 +26,6 @@ class Output extends \Magento\Framework\App\Helper\AbstractHelper * Template processor instance * * @var Template - * @since 2.0.0 */ protected $_templateProcessor = null; @@ -36,7 +33,6 @@ class Output extends \Magento\Framework\App\Helper\AbstractHelper * Catalog data * * @var Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -44,13 +40,11 @@ class Output extends \Magento\Framework\App\Helper\AbstractHelper * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper; @@ -59,7 +53,6 @@ class Output extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Eav\Model\Config $eavConfig * @param Data $catalogData * @param \Magento\Framework\Escaper $escaper - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -75,7 +68,6 @@ public function __construct( /** * @return Template - * @since 2.0.0 */ protected function _getTemplateProcessor() { @@ -92,7 +84,6 @@ protected function _getTemplateProcessor() * @param string $method * @param object $handler * @return $this - * @since 2.0.0 */ public function addHandler($method, $handler) { @@ -114,7 +105,6 @@ public function addHandler($method, $handler) * * @param string $method * @return array - * @since 2.0.0 */ public function getHandlers($method) { @@ -129,7 +119,6 @@ public function getHandlers($method) * @param mixed $result * @param array $params * @return mixed - * @since 2.0.0 */ public function process($method, $result, $params) { @@ -149,7 +138,6 @@ public function process($method, $result, $params) * @param string $attributeName * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function productAttribute($product, $attributeHtml, $attributeName) { @@ -189,7 +177,6 @@ public function productAttribute($product, $attributeHtml, $attributeName) * @param string $attributeHtml * @param string $attributeName * @return string - * @since 2.0.0 */ public function categoryAttribute($category, $attributeHtml, $attributeName) { diff --git a/app/code/Magento/Catalog/Helper/Product.php b/app/code/Magento/Catalog/Helper/Product.php index 908edd9e4e787..c0d5d1d9e4503 100644 --- a/app/code/Magento/Catalog/Helper/Product.php +++ b/app/code/Magento/Catalog/Helper/Product.php @@ -14,7 +14,6 @@ /** * Catalog category helper * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Product extends \Magento\Framework\Url\Helper\Data { @@ -28,25 +27,21 @@ class Product extends \Magento\Framework\Url\Helper\Data * Flag that shows if Magento has to check product to be saleable (enabled and/or inStock) * * @var boolean - * @since 2.0.0 */ protected $_skipSaleableCheck = false; /** * @var array - * @since 2.0.0 */ protected $_statuses; /** * @var mixed - * @since 2.0.0 */ protected $_priceBlock; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; @@ -54,13 +49,11 @@ class Product extends \Magento\Framework\Url\Helper\Data * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\Catalog\Model\Attribute\Config - * @since 2.0.0 */ protected $_attributeConfig; @@ -68,7 +61,6 @@ class Product extends \Magento\Framework\Url\Helper\Data * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; @@ -76,7 +68,6 @@ class Product extends \Magento\Framework\Url\Helper\Data * Invalidate product category indexer params * * @var array - * @since 2.0.0 */ protected $_reindexProductCategoryIndexerData; @@ -84,25 +75,21 @@ class Product extends \Magento\Framework\Url\Helper\Data * Invalidate price indexer params * * @var array - * @since 2.0.0 */ protected $_reindexPriceIndexerData; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -118,7 +105,6 @@ class Product extends \Magento\Framework\Url\Helper\Data * @param ProductRepositoryInterface $productRepository * @param CategoryRepositoryInterface $categoryRepository * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -149,7 +135,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product|array $data * @return bool - * @since 2.0.0 */ public function isDataForPriceIndexerWasChanged($data) { @@ -179,7 +164,6 @@ public function isDataForPriceIndexerWasChanged($data) * * @param \Magento\Catalog\Model\Product $data * @return bool - * @since 2.0.0 */ public function isDataForProductCategoryIndexerWasChanged(\Magento\Catalog\Model\Product $data) { @@ -196,7 +180,6 @@ public function isDataForProductCategoryIndexerWasChanged(\Magento\Catalog\Model * * @param int|ModelProduct $product * @return string|bool - * @since 2.0.0 */ public function getProductUrl($product) { @@ -213,7 +196,6 @@ public function getProductUrl($product) * * @param ModelProduct $product * @return float - * @since 2.0.0 */ public function getPrice($product) { @@ -225,7 +207,6 @@ public function getPrice($product) * * @param ModelProduct $product * @return float - * @since 2.0.0 */ public function getFinalPrice($product) { @@ -237,7 +218,6 @@ public function getFinalPrice($product) * * @param ModelProduct|\Magento\Framework\DataObject $product * @return string|bool - * @since 2.0.0 */ public function getImageUrl($product) { @@ -256,7 +236,6 @@ public function getImageUrl($product) * * @param ModelProduct|\Magento\Framework\DataObject $product * @return string|bool - * @since 2.0.0 */ public function getSmallImageUrl($product) { @@ -275,7 +254,6 @@ public function getSmallImageUrl($product) * * @param ModelProduct|\Magento\Framework\DataObject $product * @return string|bool - * @since 2.0.0 */ public function getThumbnailUrl($product) { @@ -292,7 +270,6 @@ public function getThumbnailUrl($product) /** * @param ModelProduct $product * @return string - * @since 2.0.0 */ public function getEmailToFriendUrl($product) { @@ -306,7 +283,6 @@ public function getEmailToFriendUrl($product) /** * @return array - * @since 2.0.0 */ public function getStatuses() { @@ -324,7 +300,6 @@ public function getStatuses() * @param string $where * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function canShow($product, $where = 'catalog') { @@ -347,7 +322,6 @@ public function canShow($product, $where = 'catalog') * * @param null|string|bool|int|Store $store * @return bool - * @since 2.0.0 */ public function canUseCanonicalTag($store = null) { @@ -365,7 +339,6 @@ public function canUseCanonicalTag($store = null) * * @param string $inputType * @return array - * @since 2.0.0 */ public function getAttributeInputTypes($inputType = null) { @@ -392,7 +365,6 @@ public function getAttributeInputTypes($inputType = null) * * @param string $inputType * @return string|null - * @since 2.0.0 */ public function getAttributeBackendModelByInputType($inputType) { @@ -408,7 +380,6 @@ public function getAttributeBackendModelByInputType($inputType) * * @param string $inputType * @return string|null - * @since 2.0.0 */ public function getAttributeSourceModelByInputType($inputType) { @@ -432,7 +403,6 @@ public function getAttributeSourceModelByInputType($inputType) * @return bool|ModelProduct * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function initProduct($productId, $controller, $params = null) { @@ -511,7 +481,6 @@ public function initProduct($productId, $controller, $params = null) * @param ModelProduct $product * @param \Magento\Framework\DataObject $buyRequest * @return Product - * @since 2.0.0 */ public function prepareProductOptions($product, $buyRequest) { @@ -535,7 +504,6 @@ public function prepareProductOptions($product, $buyRequest) * @param \Magento\Framework\DataObject|array $buyRequest * @param \Magento\Framework\DataObject|array $params * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function addParamsToBuyRequest($buyRequest, $params) { @@ -577,7 +545,6 @@ public function addParamsToBuyRequest($buyRequest, $params) * * @param bool $skipSaleableCheck * @return Product - * @since 2.0.0 */ public function setSkipSaleableCheck($skipSaleableCheck = false) { @@ -590,7 +557,6 @@ public function setSkipSaleableCheck($skipSaleableCheck = false) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getSkipSaleableCheck() { @@ -601,7 +567,6 @@ public function getSkipSaleableCheck() * Get masks for auto generation of fields * * @return mixed - * @since 2.0.0 */ public function getFieldsAutogenerationMasks() { @@ -612,7 +577,6 @@ public function getFieldsAutogenerationMasks() * Retrieve list of attributes that allowed for autogeneration * * @return array - * @since 2.0.0 */ public function getAttributesAllowedForAutogeneration() { diff --git a/app/code/Magento/Catalog/Helper/Product/Compare.php b/app/code/Magento/Catalog/Helper/Product/Compare.php index 7787ebb57e6d9..06ba9fb62c081 100644 --- a/app/code/Magento/Catalog/Helper/Product/Compare.php +++ b/app/code/Magento/Catalog/Helper/Product/Compare.php @@ -14,7 +14,6 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Compare extends \Magento\Framework\Url\Helper\Data { @@ -22,7 +21,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Product Compare Items Collection * * @var Collection - * @since 2.0.0 */ protected $_itemCollection; @@ -30,7 +28,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Product Comapare Items Collection has items flag * * @var bool - * @since 2.0.0 */ protected $_hasItems; @@ -38,7 +35,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Allow used Flat catalog product for product compare items collection * * @var bool - * @since 2.0.0 */ protected $_allowUsedFlat = true; @@ -46,7 +42,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Customer id * * @var null|int - * @since 2.0.0 */ protected $_customerId = null; @@ -54,7 +49,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; @@ -62,7 +56,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; @@ -70,7 +63,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Customer visitor * * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $_customerVisitor; @@ -78,7 +70,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -86,31 +77,26 @@ class Compare extends \Magento\Framework\Url\Helper\Data * Product compare item collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\CollectionFactory - * @since 2.0.0 */ protected $_itemCollectionFactory; /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $_formKey; /** * @var \Magento\Wishlist\Helper\Data - * @since 2.0.0 */ protected $_wishlistHelper; /** * @var \Magento\Framework\Data\Helper\PostHelper - * @since 2.0.0 */ protected $postHelper; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $_storeManager; @@ -126,7 +112,6 @@ class Compare extends \Magento\Framework\Url\Helper\Data * @param \Magento\Wishlist\Helper\Data $wishlistHelper * @param \Magento\Framework\Data\Helper\PostHelper $postHelper * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -156,7 +141,6 @@ public function __construct( * Retrieve compare list url * * @return string - * @since 2.0.0 */ public function getListUrl() { @@ -178,7 +162,6 @@ public function getListUrl() * * @param Product $product * @return string - * @since 2.0.0 */ public function getPostDataParams($product) { @@ -189,7 +172,6 @@ public function getPostDataParams($product) * Retrieve url for adding product to compare list * * @return string - * @since 2.0.0 */ public function getAddUrl() { @@ -201,7 +183,6 @@ public function getAddUrl() * * @param Product $product * @return string - * @since 2.0.0 */ public function getAddToWishlistParams($product) { @@ -219,7 +200,6 @@ public function getAddToWishlistParams($product) * * @param Product $product * @return string - * @since 2.0.0 */ public function getAddToCartUrl($product) { @@ -237,7 +217,6 @@ public function getAddToCartUrl($product) * Retrieve remove item from compare list url * * @return string - * @since 2.0.0 */ public function getRemoveUrl() { @@ -249,7 +228,6 @@ public function getRemoveUrl() * * @param Product $product * @return string - * @since 2.0.0 */ public function getPostDataRemove($product) { @@ -266,7 +244,6 @@ public function getPostDataRemove($product) * Retrieve clear compare list url * * @return string - * @since 2.0.0 */ public function getClearListUrl() { @@ -277,7 +254,6 @@ public function getClearListUrl() * Get parameters to clear compare list * * @return string - * @since 2.0.0 */ public function getPostDataClearList() { @@ -293,7 +269,6 @@ public function getPostDataClearList() * Retrieve compare list items collection * * @return Collection - * @since 2.0.0 */ public function getItemCollection() { @@ -330,7 +305,6 @@ public function getItemCollection() * * @param bool $logout * @return $this - * @since 2.0.0 */ public function calculate($logout = false) { @@ -359,7 +333,6 @@ public function calculate($logout = false) * Retrieve count of items in compare list * * @return int - * @since 2.0.0 */ public function getItemCount() { @@ -374,7 +347,6 @@ public function getItemCount() * Check has items * * @return bool - * @since 2.0.0 */ public function hasItems() { @@ -386,7 +358,6 @@ public function hasItems() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setAllowUsedFlat($flag) { @@ -399,7 +370,6 @@ public function setAllowUsedFlat($flag) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getAllowUsedFlat() { @@ -411,7 +381,6 @@ public function getAllowUsedFlat() * * @param int $id * @return $this - * @since 2.0.0 */ public function setCustomerId($id) { diff --git a/app/code/Magento/Catalog/Helper/Product/Composite.php b/app/code/Magento/Catalog/Helper/Product/Composite.php index a9c169974b2e6..cd58cd9c74143 100644 --- a/app/code/Magento/Catalog/Helper/Product/Composite.php +++ b/app/code/Magento/Catalog/Helper/Product/Composite.php @@ -21,7 +21,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Composite extends \Magento\Framework\App\Helper\AbstractHelper { @@ -29,7 +28,6 @@ class Composite extends \Magento\Framework\App\Helper\AbstractHelper * Core registry * * @var Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -37,25 +35,21 @@ class Composite extends \Magento\Framework\App\Helper\AbstractHelper * Catalog product * * @var Product - * @since 2.0.0 */ protected $_catalogProduct = null; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -66,7 +60,6 @@ class Composite extends \Magento\Framework\App\Helper\AbstractHelper * @param Registry $coreRegistry * @param LayoutFactory $resultLayoutFactory * @param ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( Context $context, @@ -88,7 +81,6 @@ public function __construct( * Init layout of product configuration update result * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ protected function _initUpdateResultLayout() { @@ -103,7 +95,6 @@ protected function _initUpdateResultLayout() * * @param \Magento\Framework\DataObject $updateResult * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function renderUpdateResult(\Magento\Framework\DataObject $updateResult) { @@ -120,7 +111,6 @@ public function renderUpdateResult(\Magento\Framework\DataObject $updateResult) * @param bool $isOk * @param string $productType * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ protected function _initConfigureResultLayout($isOk, $productType) { @@ -143,7 +133,6 @@ protected function _initConfigureResultLayout($isOk, $productType) * * @param \Magento\Framework\DataObject $configureResult * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function renderConfigureResult(\Magento\Framework\DataObject $configureResult) { diff --git a/app/code/Magento/Catalog/Helper/Product/Configuration.php b/app/code/Magento/Catalog/Helper/Product/Configuration.php index 44e5befcdc836..a88a27f1e7fbe 100644 --- a/app/code/Magento/Catalog/Helper/Product/Configuration.php +++ b/app/code/Magento/Catalog/Helper/Product/Configuration.php @@ -14,7 +14,6 @@ * Helper for fetching properties by product configurational item * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Configuration extends AbstractHelper implements ConfigurationInterface { @@ -22,7 +21,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Filter manager * * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filter; @@ -30,7 +28,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Product option factory * * @var \Magento\Catalog\Model\Product\OptionFactory - * @since 2.0.0 */ protected $_productOptionFactory; @@ -38,7 +35,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -54,7 +50,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface * @param \Magento\Framework\Filter\FilterManager $filter * @param \Magento\Framework\Stdlib\StringUtils $string * @param Json $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -75,7 +70,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item * @return array - * @since 2.0.0 */ public function getCustomOptions(\Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item) { @@ -133,7 +127,6 @@ public function getCustomOptions(\Magento\Catalog\Model\Product\Configuration\It * * @param \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item * @return array - * @since 2.0.0 */ public function getOptions(\Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item) { @@ -165,7 +158,6 @@ public function getOptions(\Magento\Catalog\Model\Product\Configuration\Item\Ite * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getFormattedOptionValue($optionValue, $params = null) { diff --git a/app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php b/app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php index 9fec82a3764d5..df20c3060f14f 100644 --- a/app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php +++ b/app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php @@ -10,7 +10,6 @@ * Interface for product configuration helpers * * @api - * @since 2.0.0 */ interface ConfigurationInterface { @@ -19,7 +18,6 @@ interface ConfigurationInterface * * @param \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item * @return array - * @since 2.0.0 */ public function getOptions(\Magento\Catalog\Model\Product\Configuration\Item\ItemInterface $item); } diff --git a/app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php b/app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php index c37475d5431a3..ba1288fb61137 100644 --- a/app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php +++ b/app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php @@ -7,32 +7,27 @@ /** * @api - * @since 2.0.0 */ class ConfigurationPool { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @var \Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface[] - * @since 2.0.0 */ private $_instances = []; /** * @var array - * @since 2.0.0 */ private $instancesByType = []; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param array $instancesByType - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, array $instancesByType) { @@ -44,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $className * @return \Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface * @throws \LogicException - * @since 2.0.0 */ public function get($className) { @@ -67,7 +61,6 @@ public function get($className) /** * @param string $productType * @return Configuration\ConfigurationInterface - * @since 2.0.0 */ public function getByProductType($productType) { diff --git a/app/code/Magento/Catalog/Helper/Product/Edit/Action/Attribute.php b/app/code/Magento/Catalog/Helper/Product/Edit/Action/Attribute.php index 2e24cf5b7aeaa..2c1bacdb99e12 100644 --- a/app/code/Magento/Catalog/Helper/Product/Edit/Action/Attribute.php +++ b/app/code/Magento/Catalog/Helper/Product/Edit/Action/Attribute.php @@ -12,7 +12,6 @@ /** * Class Attribute * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Attribute extends \Magento\Backend\Helper\Data { @@ -20,7 +19,6 @@ class Attribute extends \Magento\Backend\Helper\Data * Selected products for mass-update * * @var \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected $_products; @@ -28,7 +26,6 @@ class Attribute extends \Magento\Backend\Helper\Data * Array of same attributes for selected products * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection - * @since 2.0.0 */ protected $_attributes; @@ -36,31 +33,26 @@ class Attribute extends \Magento\Backend\Helper\Data * Excluded from batch update attribute codes * * @var string[] - * @since 2.0.0 */ protected $_excludedAttributes = ['url_key']; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productsFactory; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -77,7 +69,6 @@ class Attribute extends \Magento\Backend\Helper\Data * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productsFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -104,7 +95,6 @@ public function __construct( * Product collection didn't load * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getProducts() { @@ -131,7 +121,6 @@ public function getProducts() * @param array $productIds * * @return void - * @since 2.0.0 */ public function setProductIds($productIds) { @@ -142,7 +131,6 @@ public function setProductIds($productIds) * Return array of selected product ids from post or session * * @return array|null - * @since 2.0.0 */ public function getProductIds() { @@ -153,7 +141,6 @@ public function getProductIds() * Return selected store id from request * * @return integer - * @since 2.0.0 */ public function getSelectedStoreId() { @@ -164,7 +151,6 @@ public function getSelectedStoreId() * Return array of attribute sets by selected products * * @return array - * @since 2.0.0 */ public function getProductsSetIds() { @@ -175,7 +161,6 @@ public function getProductsSetIds() * Return collection of same attributes for selected products without unique * * @return \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection - * @since 2.0.0 */ public function getAttributes() { @@ -210,7 +195,6 @@ public function getAttributes() /** * @param int $storeId * @return int - * @since 2.0.0 */ public function getStoreWebsiteId($storeId) { diff --git a/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php b/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php index 50efb02bf4a5d..f139d41566bbb 100644 --- a/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php +++ b/app/code/Magento/Catalog/Helper/Product/Flat/Indexer.php @@ -13,7 +13,6 @@ * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper { @@ -31,13 +30,11 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * Resource instance * * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @var array - * @since 2.0.0 */ protected $_columns; @@ -45,7 +42,6 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * List of indexes uses in flat product table * * @var null|array - * @since 2.0.0 */ protected $_indexes; @@ -53,7 +49,6 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * Retrieve catalog product flat columns array in old format (used before MMDB support) * * @return array - * @since 2.0.0 */ protected $_attributes; @@ -61,7 +56,6 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * Required system attributes for preload * * @var array - * @since 2.0.0 */ protected $_systemAttributes = ['status', 'required_options', 'tax_class_id', 'weight']; @@ -69,37 +63,31 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * EAV Config instance * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Catalog\Model\Attribute\Config - * @since 2.0.0 */ protected $_attributeConfig; /** * @var array - * @since 2.0.0 */ protected $_attributeCodes; /** * @var int - * @since 2.0.0 */ protected $_entityTypeId; /** * @var \Magento\Catalog\Model\ResourceModel\Config - * @since 2.0.0 */ protected $_catalogConfig; /** * @var array - * @since 2.0.0 */ protected $_flatAttributeGroups = []; @@ -107,37 +95,31 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * Config factory * * @var \Magento\Catalog\Model\ResourceModel\ConfigFactory - * @since 2.0.0 */ protected $_configFactory; /** * @var \Magento\Eav\Model\Entity\AttributeFactory - * @since 2.0.0 */ protected $_attributeFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var bool - * @since 2.0.0 */ protected $_addFilterableAttrs; /** * @var bool - * @since 2.0.0 */ protected $_addChildData; /** * @var \Magento\Framework\Mview\View\Changelog - * @since 2.0.0 */ protected $_changelog; @@ -154,7 +136,6 @@ class Indexer extends \Magento\Framework\App\Helper\AbstractHelper * @param bool $addChildData * @param array $flatAttributeGroups * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -186,7 +167,6 @@ public function __construct( * Retrieve catalog product flat columns array in DDL format * * @return array - * @since 2.0.0 */ public function getFlatColumnsDdlDefinition() { @@ -242,7 +222,6 @@ public function getFlatColumnsDdlDefinition() * Check whether filterable attributes should be added * * @return bool - * @since 2.0.0 */ public function isAddFilterableAttributes() { @@ -253,7 +232,6 @@ public function isAddFilterableAttributes() * Check whether child data should be added * * @return bool - * @since 2.0.0 */ public function isAddChildData() { @@ -264,7 +242,6 @@ public function isAddChildData() * Retrieve catalog product flat table columns array * * @return array - * @since 2.0.0 */ public function getFlatColumns() { @@ -289,7 +266,6 @@ public function getFlatColumns() * Retrieve entity type * * @return string - * @since 2.0.0 */ public function getEntityType() { @@ -300,7 +276,6 @@ public function getEntityType() * Retrieve Catalog Entity Type Id * * @return int - * @since 2.0.0 */ public function getEntityTypeId() { @@ -314,7 +289,6 @@ public function getEntityTypeId() * Retrieve attribute objects for flat * * @return array - * @since 2.0.0 */ public function getAttributes() { @@ -348,7 +322,6 @@ public function getAttributes() * Retrieve attribute codes using for flat * * @return array - * @since 2.0.0 */ public function getAttributeCodes() { @@ -401,7 +374,6 @@ public function getAttributeCodes() * Retrieve catalog product flat table indexes array * * @return array - * @since 2.0.0 */ public function getFlatIndexes() { @@ -455,7 +427,6 @@ public function getFlatIndexes() * * @param array $attributes * @return array - * @since 2.0.0 */ public function getTablesStructure(array $attributes) { @@ -477,7 +448,6 @@ public function getTablesStructure(array $attributes) * * @param string|array $name * @return string - * @since 2.0.0 */ public function getTable($name) { @@ -489,7 +459,6 @@ public function getTable($name) * * @param int $storeId * @return string - * @since 2.0.0 */ public function getFlatTableName($storeId) { @@ -502,7 +471,6 @@ public function getFlatTableName($storeId) * @param string $attributeCode * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Eav\Model\Entity\Attribute - * @since 2.0.0 */ public function getAttribute($attributeCode) { @@ -524,7 +492,6 @@ public function getAttribute($attributeCode) * Delete all product flat tables for not existing stores * * @return void - * @since 2.0.0 */ public function deleteAbandonedStoreFlatTables() { diff --git a/app/code/Magento/Catalog/Helper/Product/ProductList.php b/app/code/Magento/Catalog/Helper/Product/ProductList.php index 3b2180ed90e97..37e1c0a1380e8 100644 --- a/app/code/Magento/Catalog/Helper/Product/ProductList.php +++ b/app/code/Magento/Catalog/Helper/Product/ProductList.php @@ -12,7 +12,6 @@ * Class ProductList * * @api - * @since 2.0.0 */ class ProductList { @@ -27,7 +26,6 @@ class ProductList const DEFAULT_SORT_DIRECTION = 'asc'; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; @@ -35,13 +33,11 @@ class ProductList * Default limits per page * * @var array - * @since 2.0.0 */ protected $_defaultAvailableLimit = [10 => 10,20 => 20,50 => 50]; /** * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig @@ -53,7 +49,6 @@ public function __construct( * Returns available mode for view * * @return array|null - * @since 2.0.0 */ public function getAvailableViewMode() { @@ -85,7 +80,6 @@ public function getAvailableViewMode() * * @param array $options * @return string - * @since 2.0.0 */ public function getDefaultViewMode($options = []) { @@ -99,7 +93,6 @@ public function getDefaultViewMode($options = []) * Get default sort field * * @return null|string - * @since 2.0.0 */ public function getDefaultSortField() { @@ -114,7 +107,6 @@ public function getDefaultSortField() * * @param string $mode * @return array - * @since 2.0.0 */ public function getAvailableLimit($mode) { @@ -143,7 +135,6 @@ public function getAvailableLimit($mode) * * @param string $viewMode * @return string (comma separated) - * @since 2.0.0 */ public function getDefaultLimitPerPageValue($viewMode) { diff --git a/app/code/Magento/Catalog/Helper/Product/View.php b/app/code/Magento/Catalog/Helper/Product/View.php index 5d8d5bcdd5fd7..46ac05168715b 100644 --- a/app/code/Magento/Catalog/Helper/Product/View.php +++ b/app/code/Magento/Catalog/Helper/Product/View.php @@ -13,7 +13,6 @@ /** * Catalog category helper * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class View extends \Magento\Framework\App\Helper\AbstractHelper { @@ -21,7 +20,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * List of catalog product session message groups * * @var array - * @since 2.0.0 */ protected $messageGroups; @@ -29,7 +27,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -37,7 +34,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_catalogProduct = null; @@ -45,7 +41,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * Catalog design * * @var \Magento\Catalog\Model\Design - * @since 2.0.0 */ protected $_catalogDesign; @@ -53,19 +48,16 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $_catalogSession; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; @@ -80,7 +72,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator $categoryUrlPathGenerator * @param array $messageGroups - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -111,7 +102,6 @@ public function __construct( * @return \Magento\Catalog\Helper\Product\View * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function initProductLayout(ResultPage $resultPage, $product, $params = null) { @@ -188,7 +178,6 @@ public function initProductLayout(ResultPage $resultPage, $product, $params = nu * @throws \Magento\Framework\Exception\LocalizedException * @throws \Magento\Framework\Exception\NoSuchEntityException * @return \Magento\Catalog\Helper\Product\View - * @since 2.0.0 */ public function prepareAndRender(ResultPage $resultPage, $productId, $controller, $params = null) { diff --git a/app/code/Magento/Catalog/Model/AbstractModel.php b/app/code/Magento/Catalog/Model/AbstractModel.php index 3f17d21a87fe0..252073024820f 100644 --- a/app/code/Magento/Catalog/Model/AbstractModel.php +++ b/app/code/Magento/Catalog/Model/AbstractModel.php @@ -12,7 +12,6 @@ * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @author Magento Core Team - * @since 2.0.0 */ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensibleModel { @@ -23,7 +22,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * value for store * * @var array|null - * @since 2.0.0 */ protected $_defaultValues; @@ -31,7 +29,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * This array contains codes of attributes which have value in current store * * @var array|null - * @since 2.0.0 */ protected $_storeValuesFlags; @@ -39,7 +36,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * Locked attributes * * @var array - * @since 2.0.0 */ protected $_lockedAttributes = []; @@ -47,7 +43,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * Is model deleteable * * @var boolean - * @since 2.0.0 */ protected $_isDeleteable = true; @@ -55,7 +50,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * Is model readonly * * @var boolean - * @since 2.0.0 */ protected $_isReadonly = false; @@ -63,7 +57,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -82,7 +75,6 @@ abstract class AbstractModel extends \Magento\Framework\Model\AbstractExtensible * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -111,7 +103,6 @@ public function __construct( * * @param string $attributeCode * @return $this - * @since 2.0.0 */ public function lockAttribute($attributeCode) { @@ -124,7 +115,6 @@ public function lockAttribute($attributeCode) * * @param string $attributeCode * @return $this - * @since 2.0.0 */ public function unlockAttribute($attributeCode) { @@ -139,7 +129,6 @@ public function unlockAttribute($attributeCode) * Unlock all attributes * * @return $this - * @since 2.0.0 */ public function unlockAttributes() { @@ -151,7 +140,6 @@ public function unlockAttributes() * Retrieve locked attributes * * @return array - * @since 2.0.0 */ public function getLockedAttributes() { @@ -162,7 +150,6 @@ public function getLockedAttributes() * Checks that model have locked attributes * * @return boolean - * @since 2.0.0 */ public function hasLockedAttributes() { @@ -174,7 +161,6 @@ public function hasLockedAttributes() * * @param mixed $attributeCode * @return boolean - * @since 2.0.0 */ public function isLockedAttribute($attributeCode) { @@ -194,7 +180,6 @@ public function isLockedAttribute($attributeCode) * @param string|array $key * @param mixed $value * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function setData($key, $value = null) { @@ -224,7 +209,6 @@ public function setData($key, $value = null) * * @param string $key * @return $this - * @since 2.0.0 */ public function unsetData($key = null) { @@ -239,7 +223,6 @@ public function unsetData($key = null) * Get collection instance * * @return \Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection - * @since 2.0.0 */ public function getResourceCollection() { @@ -254,7 +237,6 @@ public function getResourceCollection() * @param null|string|array $value * @param string $additionalAttributes * @return bool|\Magento\Catalog\Model\AbstractModel - * @since 2.0.0 */ public function loadByAttribute($attribute, $value, $additionalAttributes = '*') { @@ -278,7 +260,6 @@ public function loadByAttribute($attribute, $value, $additionalAttributes = '*') * Retrieve sore object * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { @@ -289,7 +270,6 @@ public function getStore() * Retrieve all store ids of object current website * * @return array - * @since 2.0.0 */ public function getWebsiteStoreIds() { @@ -306,7 +286,6 @@ public function getWebsiteStoreIds() * @return $this * * @deprecated 2.1.0 - * @since 2.0.0 */ public function setAttributeDefaultValue($attributeCode, $value) { @@ -338,7 +317,6 @@ private function getAttributeScopeOverriddenValue() * @return array|boolean * * @deprecated 2.1.0 - * @since 2.0.0 */ public function getAttributeDefaultValue($attributeCode) { @@ -361,7 +339,6 @@ public function getAttributeDefaultValue($attributeCode) * @return $this * * @deprecated 2.1.0 - * @since 2.0.0 */ public function setExistsStoreValueFlag($attributeCode) { @@ -377,7 +354,6 @@ public function setExistsStoreValueFlag($attributeCode) * @SuppressWarnings(PHPMD.BooleanGetMethodName) * * @deprecated 2.1.0 - * @since 2.0.0 */ public function getExistsStoreValueFlag($attributeCode) { @@ -401,7 +377,6 @@ public function getExistsStoreValueFlag($attributeCode) * Before save unlock attributes * * @return \Magento\Catalog\Model\AbstractModel - * @since 2.0.0 */ public function beforeSave() { @@ -413,7 +388,6 @@ public function beforeSave() * Checks model is deletable * * @return boolean - * @since 2.0.0 */ public function isDeleteable() { @@ -425,7 +399,6 @@ public function isDeleteable() * * @param boolean $value * @return $this - * @since 2.0.0 */ public function setIsDeleteable($value) { @@ -437,7 +410,6 @@ public function setIsDeleteable($value) * Checks model is deletable * * @return boolean - * @since 2.0.0 */ public function isReadonly() { @@ -449,7 +421,6 @@ public function isReadonly() * * @param boolean $value * @return $this - * @since 2.0.0 */ public function setIsReadonly($value) { diff --git a/app/code/Magento/Catalog/Model/Attribute/Backend/Customlayoutupdate.php b/app/code/Magento/Catalog/Model/Attribute/Backend/Customlayoutupdate.php index 6fe1b3e07d2b7..dac70a03909a4 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Backend/Customlayoutupdate.php +++ b/app/code/Magento/Catalog/Model/Attribute/Backend/Customlayoutupdate.php @@ -14,7 +14,6 @@ * @api * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Customlayoutupdate extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -22,7 +21,6 @@ class Customlayoutupdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Abs * Layout update validator factory * * @var ValidatorFactory - * @since 2.0.0 */ protected $_layoutUpdateValidatorFactory; @@ -30,7 +28,6 @@ class Customlayoutupdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Abs * Construct the custom layout update class * * @param ValidatorFactory $layoutUpdateValidatorFactory - * @since 2.0.0 */ public function __construct(ValidatorFactory $layoutUpdateValidatorFactory) { @@ -43,7 +40,6 @@ public function __construct(ValidatorFactory $layoutUpdateValidatorFactory) * @param \Magento\Framework\DataObject $object * @return bool * @throws Exception - * @since 2.0.0 */ public function validate($object) { diff --git a/app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php b/app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php index 5f0b0057d5358..f26851a317c72 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php +++ b/app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php @@ -12,7 +12,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Startdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Datetime { @@ -20,7 +19,6 @@ class Startdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Datetime * Date model * * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $_date; @@ -29,7 +27,6 @@ class Startdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Datetime * * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Framework\Stdlib\DateTime\DateTime $date - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -44,7 +41,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $object * @return string|bool - * @since 2.0.0 */ protected function _getValueForSave($object) { @@ -60,7 +56,6 @@ protected function _getValueForSave($object) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { @@ -81,7 +76,6 @@ public function beforeSave($object) * @param \Magento\Framework\DataObject $object * @throws \Magento\Eav\Model\Entity\Attribute\Exception * @return bool - * @since 2.0.0 */ public function validate($object) { diff --git a/app/code/Magento/Catalog/Model/Attribute/Config.php b/app/code/Magento/Catalog/Model/Attribute/Config.php index 4cdcce2eaa70c..455f4796425fb 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Config.php +++ b/app/code/Magento/Catalog/Model/Attribute/Config.php @@ -10,19 +10,16 @@ /** * Class \Magento\Catalog\Model\Attribute\Config * - * @since 2.0.0 */ class Config { /** * @var \Magento\Catalog\Model\Attribute\Config\Data - * @since 2.0.0 */ protected $_dataStorage; /** * @param \Magento\Catalog\Model\Attribute\Config\Data $dataStorage - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Attribute\Config\Data $dataStorage) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Catalog\Model\Attribute\Config\Data $dataSt * * @param string $groupName Name of an attribute group * @return array - * @since 2.0.0 */ public function getAttributeNames($groupName) { diff --git a/app/code/Magento/Catalog/Model/Attribute/Config/Converter.php b/app/code/Magento/Catalog/Model/Attribute/Config/Converter.php index c1144b88f0127..8b2d4583697b4 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Config/Converter.php +++ b/app/code/Magento/Catalog/Model/Attribute/Config/Converter.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\Attribute\Config\Converter * - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { @@ -19,7 +18,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * * @param \DOMDocument $source * @return array - * @since 2.0.0 */ public function convert($source) { diff --git a/app/code/Magento/Catalog/Model/Attribute/Config/Data.php b/app/code/Magento/Catalog/Model/Attribute/Config/Data.php index a1b3436eb844d..584b605eb85cf 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Config/Data.php +++ b/app/code/Magento/Catalog/Model/Attribute/Config/Data.php @@ -9,7 +9,6 @@ /** * Provides catalog attributes configuration - * @since 2.0.0 */ class Data extends \Magento\Framework\Config\Data { @@ -20,7 +19,6 @@ class Data extends \Magento\Framework\Config\Data * @param \Magento\Framework\Config\CacheInterface $cache * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Attribute\Config\Reader $reader, diff --git a/app/code/Magento/Catalog/Model/Attribute/Config/Reader.php b/app/code/Magento/Catalog/Model/Attribute/Config/Reader.php index 988c1fe1a589b..99aaf5fc8c2fa 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Config/Reader.php +++ b/app/code/Magento/Catalog/Model/Attribute/Config/Reader.php @@ -7,7 +7,6 @@ /** * Loads catalog attributes configuration from multiple XML files by merging them together - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -15,7 +14,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * List of id attributes for merge * * @var array - * @since 2.0.0 */ protected $_idAttributes = ['/config/group' => 'name', '/config/group/attribute' => 'name']; @@ -30,7 +28,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Catalog/Model/Attribute/Config/SchemaLocator.php b/app/code/Magento/Catalog/Model/Attribute/Config/SchemaLocator.php index a9d134ccd34e0..d80c34c0c3443 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Config/SchemaLocator.php +++ b/app/code/Magento/Catalog/Model/Attribute/Config/SchemaLocator.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Attribute\Config\SchemaLocator * - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -20,13 +19,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for both individual and merged configs * * @var string - * @since 2.0.0 */ private $_schema; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) /** * {@inheritdoc} - * @since 2.0.0 */ public function getSchema() { @@ -45,7 +41,6 @@ public function getSchema() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Catalog/Model/Attribute/LockValidatorComposite.php b/app/code/Magento/Catalog/Model/Attribute/LockValidatorComposite.php index c907c536dd4f5..66287c1ca8a8a 100644 --- a/app/code/Magento/Catalog/Model/Attribute/LockValidatorComposite.php +++ b/app/code/Magento/Catalog/Model/Attribute/LockValidatorComposite.php @@ -10,13 +10,11 @@ /** * Class \Magento\Catalog\Model\Attribute\LockValidatorComposite * - * @since 2.0.0 */ class LockValidatorComposite implements LockValidatorInterface { /** * @var LockValidatorInterface[] - * @since 2.0.0 */ protected $validators = []; @@ -24,7 +22,6 @@ class LockValidatorComposite implements LockValidatorInterface * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param array $validators * @throws \InvalidArgumentException - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, array $validators = []) { @@ -44,7 +41,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @throws \Magento\Framework\Exception\LocalizedException * * @return void - * @since 2.0.0 */ public function validate(\Magento\Framework\Model\AbstractModel $object, $attributeSet = null) { diff --git a/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php b/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php index 3d97e64e3a552..d259a4dcb3987 100644 --- a/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php +++ b/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php @@ -10,7 +10,6 @@ /** * Interface \Magento\Catalog\Model\Attribute\LockValidatorInterface * - * @since 2.0.0 */ interface LockValidatorInterface { @@ -22,7 +21,6 @@ interface LockValidatorInterface * @throws \Magento\Framework\Exception\LocalizedException * * @return void - * @since 2.0.0 */ public function validate(\Magento\Framework\Model\AbstractModel $object, $attributeSet = null); } diff --git a/app/code/Magento/Catalog/Model/Attribute/Source/Scopes.php b/app/code/Magento/Catalog/Model/Attribute/Source/Scopes.php index af90f15635d2a..64e8d9b3aa5aa 100644 --- a/app/code/Magento/Catalog/Model/Attribute/Source/Scopes.php +++ b/app/code/Magento/Catalog/Model/Attribute/Source/Scopes.php @@ -10,13 +10,11 @@ /** * Class \Magento\Catalog\Model\Attribute\Source\Scopes * - * @since 2.0.0 */ class Scopes implements \Magento\Framework\Data\OptionSourceInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Category.php b/app/code/Magento/Catalog/Model/Category.php index 995e6316cd830..a5349b59bdee9 100644 --- a/app/code/Magento/Catalog/Model/Category.php +++ b/app/code/Magento/Catalog/Model/Category.php @@ -34,7 +34,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Category extends \Magento\Catalog\Model\AbstractModel implements \Magento\Framework\DataObject\IdentityInterface, @@ -86,19 +85,13 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements const KEY_CHILDREN_DATA = 'children_data'; /**#@-*/ - /** - * Prefix of model events names - * - * @var string - * @since 2.0.0 - */ + /**#@-*/ protected $_eventPrefix = 'catalog_category'; /** * Parameter name in event * * @var string - * @since 2.0.0 */ protected $_eventObject = 'category'; @@ -106,7 +99,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Model cache tag for clear cache in after save and after delete * * @var string - * @since 2.0.0 */ protected $_cacheTag = self::CACHE_TAG; @@ -114,7 +106,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * URL Model instance * * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_url; @@ -123,7 +114,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * * @var \Magento\UrlRewrite\Model\UrlRewrite * @deprecated 2.2.0 since 2.2.0 - * @since 2.0.0 */ protected $_urlRewrite; @@ -131,7 +121,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Use flat resource model flag * * @var bool - * @since 2.0.0 */ protected $_useFlatResource = false; @@ -139,7 +128,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Category design attributes * * @var string[] - * @since 2.0.0 */ protected $_designAttributes = [ 'custom_design', @@ -154,7 +142,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Attributes are that part of interface * * @var array - * @since 2.0.0 */ protected $interfaceAttributes = [ 'id', @@ -174,7 +161,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Category tree model * * @var \Magento\Catalog\Model\ResourceModel\Category\Tree - * @since 2.0.0 */ protected $_treeModel = null; @@ -182,7 +168,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Core data * * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filter; @@ -190,7 +175,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -198,7 +182,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; @@ -206,7 +189,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Store collection factory * * @var \Magento\Store\Model\ResourceModel\Store\CollectionFactory - * @since 2.0.0 */ protected $_storeCollectionFactory; @@ -214,43 +196,36 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * Category tree factory * * @var \Magento\Catalog\Model\ResourceModel\Category\TreeFactory - * @since 2.0.0 */ protected $_categoryTreeFactory; /** * @var Indexer\Category\Flat\State - * @since 2.0.0 */ protected $flatState; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface - * @since 2.0.0 */ protected $urlFinder; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; /** * @var \Magento\Framework\Api\MetadataServiceInterface - * @since 2.0.0 */ protected $metadataService; @@ -277,7 +252,6 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -331,7 +305,6 @@ public function __construct( * Initialize resource mode * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -346,7 +319,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function getCustomAttributesCodes() { @@ -362,7 +334,6 @@ protected function getCustomAttributesCodes() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseFlatResource() { @@ -373,7 +344,6 @@ public function getUseFlatResource() * Retrieve URL instance * * @return \Magento\Framework\UrlInterface - * @since 2.0.0 */ public function getUrlInstance() { @@ -384,7 +354,6 @@ public function getUrlInstance() * Retrieve category tree model * * @return \Magento\Catalog\Model\ResourceModel\Category\Tree - * @since 2.0.0 */ public function getTreeModel() { @@ -395,7 +364,6 @@ public function getTreeModel() * Enter description here... * * @return \Magento\Catalog\Model\ResourceModel\Category\Tree - * @since 2.0.0 */ public function getTreeModelInstance() { @@ -409,7 +377,6 @@ public function getTreeModelInstance() * @param null|int $afterCategoryId category id after which we have put current category * @return $this * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function move($parentId, $afterCategoryId) { @@ -489,7 +456,6 @@ public function move($parentId, $afterCategoryId) * Retrieve default attribute set id * * @return int - * @since 2.0.0 */ public function getDefaultAttributeSetId() { @@ -500,7 +466,6 @@ public function getDefaultAttributeSetId() * Get category products collection * * @return \Magento\Framework\Data\Collection\AbstractDb - * @since 2.0.0 */ public function getProductCollection() { @@ -519,7 +484,6 @@ public function getProductCollection() * @return array * @todo Use with Flat Resource * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function getAttributes($noDesignAttributes = false) { @@ -543,7 +507,6 @@ public function getAttributes($noDesignAttributes = false) * array($productId => $position) * * @return array - * @since 2.0.0 */ public function getProductsPosition() { @@ -563,7 +526,6 @@ public function getProductsPosition() * Retrieve array of store ids for category * * @return array - * @since 2.0.0 */ public function getStoreIds() { @@ -609,7 +571,6 @@ public function getStoreIds() * If store id is underfined for category return current active store id * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -624,7 +585,6 @@ public function getStoreId() * * @param int|string $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -640,7 +600,6 @@ public function setStoreId($storeId) * Get category url * * @return string - * @since 2.0.0 */ public function getUrl() { @@ -675,7 +634,6 @@ public function getUrl() * Retrieve category id URL * * @return string - * @since 2.0.0 */ public function getCategoryIdUrl() { @@ -691,7 +649,6 @@ public function getCategoryIdUrl() * * @param string $str * @return string - * @since 2.0.0 */ public function formatUrlKey($str) { @@ -702,7 +659,6 @@ public function formatUrlKey($str) * @param string $attributeCode * @return bool|string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getImageUrl($attributeCode = 'image') { @@ -726,7 +682,6 @@ public function getImageUrl($attributeCode = 'image') * Get parent category object * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getParentCategory() { @@ -740,7 +695,6 @@ public function getParentCategory() * Get parent category identifier * * @return int - * @since 2.0.0 */ public function getParentId() { @@ -756,7 +710,6 @@ public function getParentId() * Get all parent categories ids * * @return array - * @since 2.0.0 */ public function getParentIds() { @@ -767,7 +720,6 @@ public function getParentIds() * Retrieve dates for custom design (from & to) * * @return array - * @since 2.0.0 */ public function getCustomDesignDate() { @@ -782,7 +734,6 @@ public function getCustomDesignDate() * Retrieve design attributes array * * @return array - * @since 2.0.0 */ public function getDesignAttributes() { @@ -798,7 +749,6 @@ public function getDesignAttributes() * * @param string $attributeCode * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute - * @since 2.0.0 */ private function _getAttribute($attributeCode) { @@ -815,7 +765,6 @@ private function _getAttribute($attributeCode) * * @param boolean $asArray return result as array instead of comma-separated list of IDs * @return array|string - * @since 2.0.0 */ public function getAllChildren($asArray = false) { @@ -831,7 +780,6 @@ public function getAllChildren($asArray = false) * Retrieve children ids comma separated * * @return string - * @since 2.0.0 */ public function getChildren() { @@ -843,7 +791,6 @@ public function getChildren() * Return comma separated string * * @return string - * @since 2.0.0 */ public function getPathInStore() { @@ -863,7 +810,6 @@ public function getPathInStore() * * @param int $id * @return bool - * @since 2.0.0 */ public function checkId($id) { @@ -875,7 +821,6 @@ public function checkId($id) * Result array contain id of current category because it is part of the path * * @return array - * @since 2.0.0 */ public function getPathIds() { @@ -891,7 +836,6 @@ public function getPathIds() * Retrieve level * * @return int - * @since 2.0.0 */ public function getLevel() { @@ -906,7 +850,6 @@ public function getLevel() * * @param array $ids * @return bool - * @since 2.0.0 */ public function verifyIds(array $ids) { @@ -917,7 +860,6 @@ public function verifyIds(array $ids) * Retrieve Is Category has children flag * * @return bool - * @since 2.0.0 */ public function hasChildren() { @@ -928,7 +870,6 @@ public function hasChildren() * Retrieve Request Path * * @return string - * @since 2.0.0 */ public function getRequestPath() { @@ -939,7 +880,6 @@ public function getRequestPath() * Retrieve Name data wrapper * * @return string - * @since 2.0.0 */ public function getName() { @@ -951,7 +891,6 @@ public function getName() * * @throws \Magento\Framework\Exception\LocalizedException * @return $this - * @since 2.0.0 */ public function beforeDelete() { @@ -965,7 +904,6 @@ public function beforeDelete() * Retrieve anchors above * * @return array - * @since 2.0.0 */ public function getAnchorsAbove() { @@ -996,7 +934,6 @@ public function getAnchorsAbove() * Retrieve count products of category * * @return int - * @since 2.0.0 */ public function getProductCount() { @@ -1014,7 +951,6 @@ public function getProductCount() * @param bool $asCollection * @param bool $toLoad * @return \Magento\Framework\Data\Tree\Node\Collection|\Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $asCollection = false, $toLoad = true) { @@ -1026,7 +962,6 @@ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $as * Return parent categories of current category * * @return \Magento\Framework\DataObject[]|\Magento\Catalog\Model\Category[] - * @since 2.0.0 */ public function getParentCategories() { @@ -1037,7 +972,6 @@ public function getParentCategories() * Return children categories of current category * * @return \Magento\Catalog\Model\ResourceModel\Category\Collection|\Magento\Catalog\Model\Category[] - * @since 2.0.0 */ public function getChildrenCategories() { @@ -1048,7 +982,6 @@ public function getChildrenCategories() * Return parent category of current category with own custom design settings * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getParentDesignCategory() { @@ -1059,7 +992,6 @@ public function getParentDesignCategory() * Check category is in Root Category list * * @return bool - * @since 2.0.0 */ public function isInRootCategoryList() { @@ -1071,7 +1003,6 @@ public function isInRootCategoryList() * Retrieve Available int Product Listing sort by * * @return null|array - * @since 2.0.0 */ public function getAvailableSortBy() { @@ -1090,7 +1021,6 @@ public function getAvailableSortBy() * code as key, value - name * * @return array - * @since 2.0.0 */ public function getAvailableSortByOptions() { @@ -1115,7 +1045,6 @@ public function getAvailableSortByOptions() * Retrieve Product Listing Default Sort By * * @return string - * @since 2.0.0 */ public function getDefaultSortBy() { @@ -1136,7 +1065,6 @@ public function getDefaultSortBy() * * @throws \Magento\Eav\Model\Entity\Attribute\Exception * @return true|array - * @since 2.0.0 */ public function validate() { @@ -1147,7 +1075,6 @@ public function validate() * Add reindexCallback * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function afterSave() { @@ -1160,7 +1087,6 @@ public function afterSave() * Init indexing process after category save * * @return void - * @since 2.0.0 */ public function reindex() { @@ -1182,7 +1108,6 @@ public function reindex() * Init indexing process after category delete * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -1194,7 +1119,6 @@ public function afterDeleteCommit() * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -1213,7 +1137,6 @@ public function getIdentities() /** * @codeCoverageIgnoreStart * @return string|null - * @since 2.0.0 */ public function getPath() { @@ -1222,7 +1145,6 @@ public function getPath() /** * @return int|null - * @since 2.0.0 */ public function getPosition() { @@ -1231,7 +1153,6 @@ public function getPosition() /** * @return int - * @since 2.0.0 */ public function getChildrenCount() { @@ -1240,7 +1161,6 @@ public function getChildrenCount() /** * @return string|null - * @since 2.0.0 */ public function getCreatedAt() { @@ -1249,7 +1169,6 @@ public function getCreatedAt() /** * @return string|null - * @since 2.0.0 */ public function getUpdatedAt() { @@ -1259,7 +1178,6 @@ public function getUpdatedAt() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsActive() { @@ -1268,7 +1186,6 @@ public function getIsActive() /** * @return int|null - * @since 2.0.0 */ public function getCategoryId() { @@ -1277,7 +1194,6 @@ public function getCategoryId() /** * @return string|null - * @since 2.0.0 */ public function getDisplayMode() { @@ -1286,7 +1202,6 @@ public function getDisplayMode() /** * @return bool|null - * @since 2.0.0 */ public function getIncludeInMenu() { @@ -1295,7 +1210,6 @@ public function getIncludeInMenu() /** * @return string|null - * @since 2.0.0 */ public function getUrlKey() { @@ -1304,7 +1218,6 @@ public function getUrlKey() /** * @return \Magento\Catalog\Api\Data\CategoryTreeInterface[]|null - * @since 2.0.0 */ public function getChildrenData() { @@ -1318,7 +1231,6 @@ public function getChildrenData() * * @return array * @todo refactor with converter for AbstractExtensibleModel - * @since 2.0.0 */ public function __toArray() { @@ -1345,7 +1257,6 @@ public function __toArray() * Convert Category model into flat array. * * @return array - * @since 2.0.0 */ public function toFlatArray() { @@ -1370,7 +1281,6 @@ public function toFlatArray() * * @param int $parentId * @return $this - * @since 2.0.0 */ public function setParentId($parentId) { @@ -1382,7 +1292,6 @@ public function setParentId($parentId) * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -1394,7 +1303,6 @@ public function setName($name) * * @param bool $isActive * @return $this - * @since 2.0.0 */ public function setIsActive($isActive) { @@ -1406,7 +1314,6 @@ public function setIsActive($isActive) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -1418,7 +1325,6 @@ public function setPosition($position) * * @param int $level * @return $this - * @since 2.0.0 */ public function setLevel($level) { @@ -1428,7 +1334,6 @@ public function setLevel($level) /** * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt) { @@ -1438,7 +1343,6 @@ public function setUpdatedAt($updatedAt) /** * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt) { @@ -1448,7 +1352,6 @@ public function setCreatedAt($createdAt) /** * @param string $path * @return $this - * @since 2.0.0 */ public function setPath($path) { @@ -1458,7 +1361,6 @@ public function setPath($path) /** * @param string[]|string $availableSortBy * @return $this - * @since 2.0.0 */ public function setAvailableSortBy($availableSortBy) { @@ -1468,7 +1370,6 @@ public function setAvailableSortBy($availableSortBy) /** * @param bool $includeInMenu * @return $this - * @since 2.0.0 */ public function setIncludeInMenu($includeInMenu) { @@ -1480,7 +1381,6 @@ public function setIncludeInMenu($includeInMenu) * * @param int $productCount * @return $this - * @since 2.0.0 */ public function setProductCount($productCount) { @@ -1490,7 +1390,6 @@ public function setProductCount($productCount) /** * @param \Magento\Catalog\Api\Data\CategoryTreeInterface[] $childrenData * @return $this - * @since 2.0.0 */ public function setChildrenData(array $childrenData = null) { @@ -1501,7 +1400,6 @@ public function setChildrenData(array $childrenData = null) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\CategoryExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -1513,7 +1411,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\CategoryExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\CategoryExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute.php b/app/code/Magento/Catalog/Model/Category/Attribute.php index 06d395d84b1a5..e950bf0ad1377 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute.php @@ -9,7 +9,6 @@ * Class Attribute * * @method \Magento\Eav\Api\Data\AttributeExtensionInterface getExtensionAttributes() - * @since 2.0.0 */ class Attribute extends \Magento\Catalog\Model\Entity\Attribute implements \Magento\Catalog\Api\Data\CategoryAttributeInterface @@ -27,7 +26,6 @@ class Attribute extends \Magento\Catalog\Model\Entity\Attribute implements * Return empty array if applied to all products * * @return string[] - * @since 2.0.0 */ public function getApplyTo() { @@ -46,7 +44,6 @@ public function getApplyTo() * * @param string []|string * @return $this - * @since 2.0.0 */ public function setApplyTo($applyTo) { @@ -59,7 +56,6 @@ public function setApplyTo($applyTo) /** * @codeCoverageIgnoreStart * {@inheritdoc} - * @since 2.0.0 */ public function getIsWysiwygEnabled() { @@ -71,7 +67,6 @@ public function getIsWysiwygEnabled() * * @param bool $isWysiwygEnabled * @return $this - * @since 2.0.0 */ public function setIsWysiwygEnabled($isWysiwygEnabled) { @@ -80,7 +75,6 @@ public function setIsWysiwygEnabled($isWysiwygEnabled) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsHtmlAllowedOnFront() { @@ -92,7 +86,6 @@ public function getIsHtmlAllowedOnFront() * * @param bool $isHtmlAllowedOnFront * @return $this - * @since 2.0.0 */ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront) { @@ -101,7 +94,6 @@ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront) /** * {@inheritdoc} - * @since 2.0.0 */ public function getUsedForSortBy() { @@ -113,7 +105,6 @@ public function getUsedForSortBy() * * @param bool $usedForSortBy * @return $this - * @since 2.0.0 */ public function setUsedForSortBy($usedForSortBy) { @@ -122,7 +113,6 @@ public function setUsedForSortBy($usedForSortBy) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterable() { @@ -134,7 +124,6 @@ public function getIsFilterable() * * @param bool $isFilterable * @return $this - * @since 2.0.0 */ public function setIsFilterable($isFilterable) { @@ -143,7 +132,6 @@ public function setIsFilterable($isFilterable) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterableInSearch() { @@ -152,7 +140,6 @@ public function getIsFilterableInSearch() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsUsedInGrid() { @@ -161,7 +148,6 @@ public function getIsUsedInGrid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleInGrid() { @@ -170,7 +156,6 @@ public function getIsVisibleInGrid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterableInGrid() { @@ -182,7 +167,6 @@ public function getIsFilterableInGrid() * * @param bool $isFilterableInSearch * @return $this - * @since 2.0.0 */ public function setIsFilterableInSearch($isFilterableInSearch) { @@ -191,7 +175,6 @@ public function setIsFilterableInSearch($isFilterableInSearch) /** * {@inheritdoc} - * @since 2.0.0 */ public function getPosition() { @@ -203,7 +186,6 @@ public function getPosition() * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -212,7 +194,6 @@ public function setPosition($position) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsSearchable() { @@ -224,7 +205,6 @@ public function getIsSearchable() * * @param string $isSearchable * @return $this - * @since 2.0.0 */ public function setIsSearchable($isSearchable) { @@ -233,7 +213,6 @@ public function setIsSearchable($isSearchable) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleInAdvancedSearch() { @@ -245,7 +224,6 @@ public function getIsVisibleInAdvancedSearch() * * @param string $isVisibleInAdvancedSearch * @return $this - * @since 2.0.0 */ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch) { @@ -254,7 +232,6 @@ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsComparable() { @@ -266,7 +243,6 @@ public function getIsComparable() * * @param string $isComparable * @return $this - * @since 2.0.0 */ public function setIsComparable($isComparable) { @@ -275,7 +251,6 @@ public function setIsComparable($isComparable) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsUsedForPromoRules() { @@ -287,7 +262,6 @@ public function getIsUsedForPromoRules() * * @param string $isUsedForPromoRules * @return $this - * @since 2.0.0 */ public function setIsUsedForPromoRules($isUsedForPromoRules) { @@ -296,7 +270,6 @@ public function setIsUsedForPromoRules($isUsedForPromoRules) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleOnFront() { @@ -308,7 +281,6 @@ public function getIsVisibleOnFront() * * @param string $isVisibleOnFront * @return $this - * @since 2.0.0 */ public function setIsVisibleOnFront($isVisibleOnFront) { @@ -317,7 +289,6 @@ public function setIsVisibleOnFront($isVisibleOnFront) /** * {@inheritdoc} - * @since 2.0.0 */ public function getUsedInProductListing() { @@ -329,7 +300,6 @@ public function getUsedInProductListing() * * @param string $usedInProductListing * @return $this - * @since 2.0.0 */ public function setUsedInProductListing($usedInProductListing) { @@ -338,7 +308,6 @@ public function setUsedInProductListing($usedInProductListing) /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisible() { @@ -350,7 +319,6 @@ public function getIsVisible() * * @param bool $isVisible * @return $this - * @since 2.0.0 */ public function setIsVisible($isVisible) { @@ -361,7 +329,6 @@ public function setIsVisible($isVisible) /** * {@inheritdoc} - * @since 2.0.0 */ public function getScope() { @@ -380,7 +347,6 @@ public function getScope() * * @param string $scope * @return $this - * @since 2.0.0 */ public function setScope($scope) { 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 aec961f4358df..80fe54c09685e 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php @@ -9,7 +9,6 @@ * Catalog category image attribute backend model * * @api - * @since 2.0.0 */ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -17,7 +16,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @var \Magento\MediaStorage\Model\File\UploaderFactory * * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_uploaderFactory; @@ -25,7 +23,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @var \Magento\Framework\Filesystem * * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_filesystem; @@ -33,7 +30,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @var \Magento\MediaStorage\Model\File\UploaderFactory * * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_fileUploaderFactory; @@ -41,7 +37,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @var \Psr\Log\LoggerInterface * * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_logger; @@ -61,7 +56,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\MediaStorage\Model\File\UploaderFactory $fileUploaderFactory - * @since 2.0.0 */ public function __construct( \Psr\Log\LoggerInterface $logger, @@ -146,7 +140,6 @@ private function isTmpFileAvailable($value) * * @param \Magento\Framework\DataObject $object * @return \Magento\Catalog\Model\Category\Attribute\Backend\Image - * @since 2.0.0 */ public function afterSave($object) { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Sortby.php b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Sortby.php index 9293169609c00..e5328e924655f 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Sortby.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Sortby.php @@ -11,7 +11,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -19,7 +18,6 @@ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -27,7 +25,6 @@ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Construct * * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validate($object) { @@ -93,7 +89,6 @@ public function validate($object) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { @@ -116,7 +111,6 @@ public function beforeSave($object) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function afterLoad($object) { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/OptionManagement.php b/app/code/Magento/Catalog/Model/Category/Attribute/OptionManagement.php index 147ddf2404ce3..3b132011be05b 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/OptionManagement.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/OptionManagement.php @@ -7,19 +7,16 @@ /** * Product options management class - * @since 2.0.0 */ class OptionManagement implements \Magento\Catalog\Api\CategoryAttributeOptionManagementInterface { /** * @var \Magento\Eav\Api\AttributeOptionManagementInterface - * @since 2.0.0 */ protected $eavOptionManagement; /** * @param \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement @@ -30,7 +27,6 @@ public function __construct( /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getItems($attributeCode) { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Layout.php b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Layout.php index 39215d496688f..1890ea0f7d99e 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Layout.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Layout.php @@ -9,19 +9,16 @@ * Catalog category landing page attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Layout extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * @var \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface - * @since 2.0.0 */ protected $pageLayoutBuilder; /** * @param \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder - * @since 2.0.0 */ public function __construct(\Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder) { @@ -30,7 +27,6 @@ public function __construct(\Magento\Framework\View\Model\PageLayout\Config\Buil /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Mode.php b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Mode.php index 403829dc7b9b9..6a6c228e63fd6 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Mode.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Mode.php @@ -9,14 +9,12 @@ * Catalog category landing page attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Mode extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Page.php b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Page.php index bd09a1219d63b..666a5f50678a9 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Page.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Page.php @@ -11,7 +11,6 @@ * Catalog category landing page attribute source * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { @@ -19,7 +18,6 @@ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Block collection factory * * @var CollectionFactory - * @since 2.0.0 */ protected $_blockCollectionFactory; @@ -27,7 +25,6 @@ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Construct * * @param CollectionFactory $blockCollectionFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $blockCollectionFactory) { @@ -36,7 +33,6 @@ public function __construct(CollectionFactory $blockCollectionFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Sortby.php b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Sortby.php index 953e4666183a3..97bc00bc7dd64 100644 --- a/app/code/Magento/Catalog/Model/Category/Attribute/Source/Sortby.php +++ b/app/code/Magento/Catalog/Model/Category/Attribute/Source/Sortby.php @@ -9,7 +9,6 @@ * Catalog Category *_sort_by Attributes Source Model * * @author Magento Core Team - * @since 2.0.0 */ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { @@ -17,7 +16,6 @@ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -25,7 +23,6 @@ class Sortby extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Construct * * @param \Magento\Catalog\Model\Config $catalogConfig - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Config $catalogConfig) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Catalog\Model\Config $catalogConfig) * Retrieve Catalog Config Singleton * * @return \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected function _getCatalogConfig() { @@ -45,7 +41,6 @@ protected function _getCatalogConfig() /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Category/AttributeRepository.php b/app/code/Magento/Catalog/Model/Category/AttributeRepository.php index 211143207b03b..8e86ac20884b7 100644 --- a/app/code/Magento/Catalog/Model/Category/AttributeRepository.php +++ b/app/code/Magento/Catalog/Model/Category/AttributeRepository.php @@ -10,25 +10,21 @@ /** * Class \Magento\Catalog\Model\Category\AttributeRepository * - * @since 2.0.0 */ class AttributeRepository implements CategoryAttributeRepositoryInterface { /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.0.0 */ protected $filterBuilder; /** * @var \Magento\Eav\Api\AttributeRepositoryInterface - * @since 2.0.0 */ protected $eavAttributeRepository; @@ -37,7 +33,6 @@ class AttributeRepository implements CategoryAttributeRepositoryInterface * @param \Magento\Framework\Api\FilterBuilder $filterBuilder * @param \Magento\Eav\Api\AttributeRepositoryInterface $eavAttributeRepository * @param \Magento\Eav\Model\Config $eavConfig - * @since 2.0.0 */ public function __construct( \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder, @@ -53,7 +48,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) { @@ -65,7 +59,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr /** * {@inheritdoc} - * @since 2.0.0 */ public function get($attributeCode) { @@ -78,7 +71,6 @@ public function get($attributeCode) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataObjectClassName = null) { diff --git a/app/code/Magento/Catalog/Model/Category/Tree.php b/app/code/Magento/Catalog/Model/Category/Tree.php index 3332df2ea74dc..6080f74d5fa06 100644 --- a/app/code/Magento/Catalog/Model/Category/Tree.php +++ b/app/code/Magento/Catalog/Model/Category/Tree.php @@ -9,31 +9,26 @@ /** * Retrieve category data represented in tree structure - * @since 2.0.0 */ class Tree { /** * @var \Magento\Catalog\Model\ResourceModel\Category\Tree - * @since 2.0.0 */ protected $categoryTree; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ protected $categoryCollection; /** * @var \Magento\Catalog\Api\Data\CategoryTreeInterfaceFactory - * @since 2.0.0 */ protected $treeFactory; @@ -42,7 +37,6 @@ class Tree * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\ResourceModel\Category\Collection $categoryCollection * @param \Magento\Catalog\Api\Data\CategoryTreeInterfaceFactory $treeFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Category\Tree $categoryTree, @@ -59,7 +53,6 @@ public function __construct( /** * @param \Magento\Catalog\Model\Category|null $category * @return Node|null - * @since 2.0.0 */ public function getRootNode($category = null) { @@ -80,7 +73,6 @@ public function getRootNode($category = null) /** * @param \Magento\Catalog\Model\Category $category * @return Node - * @since 2.0.0 */ protected function getNode(\Magento\Catalog\Model\Category $category) { @@ -94,7 +86,6 @@ protected function getNode(\Magento\Catalog\Model\Category $category) /** * @return void - * @since 2.0.0 */ protected function prepareCollection() { @@ -117,7 +108,6 @@ protected function prepareCollection() * @param int $depth * @param int $currentLevel * @return \Magento\Catalog\Api\Data\CategoryTreeInterface - * @since 2.0.0 */ public function getTree($node, $depth = null, $currentLevel = 0) { @@ -141,7 +131,6 @@ public function getTree($node, $depth = null, $currentLevel = 0) * @param int $depth * @param int $currentLevel * @return \Magento\Catalog\Api\Data\CategoryTreeInterface[]|[] - * @since 2.0.0 */ protected function getChildren($node, $depth, $currentLevel) { diff --git a/app/code/Magento/Catalog/Model/CategoryLinkManagement.php b/app/code/Magento/Catalog/Model/CategoryLinkManagement.php index c5a5471bc5b56..cbb0a1b475462 100644 --- a/app/code/Magento/Catalog/Model/CategoryLinkManagement.php +++ b/app/code/Magento/Catalog/Model/CategoryLinkManagement.php @@ -8,13 +8,11 @@ /** * Class CategoryLinkManagement - * @since 2.0.0 */ class CategoryLinkManagement implements \Magento\Catalog\Api\CategoryLinkManagementInterface { /** * @var \Magento\Catalog\Api\CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -38,7 +36,6 @@ class CategoryLinkManagement implements \Magento\Catalog\Api\CategoryLinkManagem /** * @var \Magento\Catalog\Api\Data\CategoryProductLinkInterfaceFactory - * @since 2.0.0 */ protected $productLinkFactory; @@ -53,7 +50,6 @@ class CategoryLinkManagement implements \Magento\Catalog\Api\CategoryLinkManagem * * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository * @param \Magento\Catalog\Api\Data\CategoryProductLinkInterfaceFactory $productLinkFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository, @@ -65,7 +61,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getAssignedProducts($categoryId) { diff --git a/app/code/Magento/Catalog/Model/CategoryLinkRepository.php b/app/code/Magento/Catalog/Model/CategoryLinkRepository.php index 079dc5cf26926..816baa750cd6a 100644 --- a/app/code/Magento/Catalog/Model/CategoryLinkRepository.php +++ b/app/code/Magento/Catalog/Model/CategoryLinkRepository.php @@ -12,26 +12,22 @@ /** * Class \Magento\Catalog\Model\CategoryLinkRepository * - * @since 2.0.0 */ class CategoryLinkRepository implements \Magento\Catalog\Api\CategoryLinkRepositoryInterface { /** * @var CategoryRepository - * @since 2.0.0 */ protected $categoryRepository; /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository, @@ -43,7 +39,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $productLink) { @@ -70,7 +65,6 @@ public function save(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $pro /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $productLink) { @@ -79,7 +73,6 @@ public function delete(\Magento\Catalog\Api\Data\CategoryProductLinkInterface $p /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteByIds($categoryId, $sku) { diff --git a/app/code/Magento/Catalog/Model/CategoryManagement.php b/app/code/Magento/Catalog/Model/CategoryManagement.php index 79380983eaea0..9c815cdfa94bb 100644 --- a/app/code/Magento/Catalog/Model/CategoryManagement.php +++ b/app/code/Magento/Catalog/Model/CategoryManagement.php @@ -12,19 +12,16 @@ /** * Class \Magento\Catalog\Model\CategoryManagement * - * @since 2.0.0 */ class CategoryManagement implements \Magento\Catalog\Api\CategoryManagementInterface { /** * @var CategoryRepository - * @since 2.0.0 */ protected $categoryRepository; /** * @var \Magento\Catalog\Model\Category\Tree - * @since 2.0.0 */ protected $categoryTree; @@ -44,7 +41,6 @@ class CategoryManagement implements \Magento\Catalog\Api\CategoryManagementInter * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository * @param Category\Tree $categoryTree * @param \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoriesFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository, @@ -58,7 +54,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getTree($rootCategoryId = null, $depth = null) { @@ -114,7 +109,6 @@ private function getTopLevelCategory() /** * {@inheritdoc} - * @since 2.0.0 */ public function move($categoryId, $parentId, $afterId = null) { @@ -143,7 +137,6 @@ public function move($categoryId, $parentId, $afterId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCount() { diff --git a/app/code/Magento/Catalog/Model/CategoryProductLink.php b/app/code/Magento/Catalog/Model/CategoryProductLink.php index b682de4583548..fcd9d74cfcf77 100644 --- a/app/code/Magento/Catalog/Model/CategoryProductLink.php +++ b/app/code/Magento/Catalog/Model/CategoryProductLink.php @@ -8,7 +8,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class CategoryProductLink extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Catalog\Api\Data\CategoryProductLinkInterface @@ -23,7 +22,6 @@ class CategoryProductLink extends \Magento\Framework\Api\AbstractExtensibleObjec /** * {@inheritdoc} - * @since 2.0.0 */ public function getSku() { @@ -32,7 +30,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPosition() { @@ -41,7 +38,6 @@ public function getPosition() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCategoryId() { @@ -51,7 +47,6 @@ public function getCategoryId() /** * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -61,7 +56,6 @@ public function setSku($sku) /** * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -73,7 +67,6 @@ public function setPosition($position) * * @param string $categoryId * @return $this - * @since 2.0.0 */ public function setCategoryId($categoryId) { @@ -84,7 +77,6 @@ public function setCategoryId($categoryId) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -96,7 +88,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CategoryProductLinkExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/CategoryRepository.php b/app/code/Magento/Catalog/Model/CategoryRepository.php index 803ceccfd9cdc..9891026165712 100644 --- a/app/code/Magento/Catalog/Model/CategoryRepository.php +++ b/app/code/Magento/Catalog/Model/CategoryRepository.php @@ -14,31 +14,26 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CategoryRepository implements \Magento\Catalog\Api\CategoryRepositoryInterface { /** * @var Category[] - * @since 2.0.0 */ protected $instances = []; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Category - * @since 2.0.0 */ protected $categoryResource; @@ -58,7 +53,6 @@ class CategoryRepository implements \Magento\Catalog\Api\CategoryRepositoryInter * List of fields that can used config values in case when value does not defined directly * * @var array - * @since 2.0.0 */ protected $useConfigFields = ['available_sort_by', 'default_sort_by', 'filter_price_range']; @@ -66,7 +60,6 @@ class CategoryRepository implements \Magento\Catalog\Api\CategoryRepositoryInter * @param \Magento\Catalog\Model\CategoryFactory $categoryFactory * @param \Magento\Catalog\Model\ResourceModel\Category $categoryResource * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\CategoryFactory $categoryFactory, @@ -80,7 +73,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\CategoryInterface $category) { @@ -136,7 +128,6 @@ public function save(\Magento\Catalog\Api\Data\CategoryInterface $category) /** * {@inheritdoc} - * @since 2.0.0 */ public function get($categoryId, $storeId = null) { @@ -158,7 +149,6 @@ public function get($categoryId, $storeId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category) { @@ -180,7 +170,6 @@ public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteByIdentifier($categoryId) { @@ -194,7 +183,6 @@ public function deleteByIdentifier($categoryId) * @param Category $category * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function validateCategory(Category $category) { diff --git a/app/code/Magento/Catalog/Model/Config.php b/app/code/Magento/Catalog/Model/Config.php index 009a7e3dd9878..227821463b7f0 100644 --- a/app/code/Magento/Catalog/Model/Config.php +++ b/app/code/Magento/Catalog/Model/Config.php @@ -13,7 +13,6 @@ * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Config extends \Magento\Eav\Model\Config { @@ -21,31 +20,26 @@ class Config extends \Magento\Eav\Model\Config /** * @var mixed - * @since 2.0.0 */ protected $_attributeSetsById; /** * @var mixed - * @since 2.0.0 */ protected $_attributeSetsByName; /** * @var mixed - * @since 2.0.0 */ protected $_attributeGroupsById; /** * @var mixed - * @since 2.0.0 */ protected $_attributeGroupsByName; /** * @var mixed - * @since 2.0.0 */ protected $_productTypesById; @@ -53,7 +47,6 @@ class Config extends \Magento\Eav\Model\Config * Array of attributes codes needed for product load * * @var array - * @since 2.0.0 */ protected $_productAttributes; @@ -61,7 +54,6 @@ class Config extends \Magento\Eav\Model\Config * Product Attributes used in product listing * * @var array - * @since 2.0.0 */ protected $_usedInProductListing; @@ -69,13 +61,11 @@ class Config extends \Magento\Eav\Model\Config * Product Attributes For Sort By * * @var array - * @since 2.0.0 */ protected $_usedForSortBy; /** * @var int|float|string|null - * @since 2.0.0 */ protected $_storeId = null; @@ -83,7 +73,6 @@ class Config extends \Magento\Eav\Model\Config * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -91,7 +80,6 @@ class Config extends \Magento\Eav\Model\Config * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -99,7 +87,6 @@ class Config extends \Magento\Eav\Model\Config * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -107,7 +94,6 @@ class Config extends \Magento\Eav\Model\Config * Set collection factory * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $_setCollectionFactory; @@ -115,7 +101,6 @@ class Config extends \Magento\Eav\Model\Config * Group collection factory * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group\CollectionFactory - * @since 2.0.0 */ protected $_groupCollectionFactory; @@ -123,7 +108,6 @@ class Config extends \Magento\Eav\Model\Config * Product type factory * * @var \Magento\Catalog\Model\Product\TypeFactory - * @since 2.0.0 */ protected $_productTypeFactory; @@ -131,7 +115,6 @@ class Config extends \Magento\Eav\Model\Config * Config factory * * @var \Magento\Catalog\Model\ResourceModel\ConfigFactory - * @since 2.0.0 */ protected $_configFactory; @@ -153,7 +136,6 @@ class Config extends \Magento\Eav\Model\Config * @param SerializerInterface $serializer * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\CacheInterface $cache, @@ -192,7 +174,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -204,7 +185,6 @@ protected function _construct() * * @param integer $storeId * @return \Magento\Catalog\Model\Config - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -216,7 +196,6 @@ public function setStoreId($storeId) * Return store id, if is not set return current app store * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -228,7 +207,6 @@ public function getStoreId() /** * @return $this - * @since 2.0.0 */ public function loadAttributeSets() { @@ -253,7 +231,6 @@ public function loadAttributeSets() * @param string|int|float $entityTypeId * @param float|int $id * @return false|string - * @since 2.0.0 */ public function getAttributeSetName($entityTypeId, $id) { @@ -274,7 +251,6 @@ public function getAttributeSetName($entityTypeId, $id) * @param string|int|float $entityTypeId * @param string|null $name * @return false|string|int - * @since 2.0.0 */ public function getAttributeSetId($entityTypeId, $name = null) { @@ -294,7 +270,6 @@ public function getAttributeSetId($entityTypeId, $name = null) /** * @return $this - * @since 2.0.0 */ public function loadAttributeGroups() { @@ -319,7 +294,6 @@ public function loadAttributeGroups() * @param float|int|string $attributeSetId * @param float|int|string $id * @return bool|string - * @since 2.0.0 */ public function getAttributeGroupName($attributeSetId, $id) { @@ -341,7 +315,6 @@ public function getAttributeGroupName($attributeSetId, $id) * @param float|int|string $attributeSetId * @param string $name * @return bool|string|int|float - * @since 2.0.0 */ public function getAttributeGroupId($attributeSetId, $name) { @@ -362,7 +335,6 @@ public function getAttributeGroupId($attributeSetId, $name) /** * @return $this - * @since 2.0.0 */ public function loadProductTypes() { @@ -385,7 +357,6 @@ public function loadProductTypes() /** * @param string $name * @return false|string - * @since 2.0.0 */ public function getProductTypeId($name) { @@ -402,7 +373,6 @@ public function getProductTypeId($name) /** * @param float|int|string $id * @return false|string - * @since 2.0.0 */ public function getProductTypeName($id) { @@ -419,7 +389,6 @@ public function getProductTypeName($id) * @param \Magento\Framework\DataObject $source * @param string $value * @return null|mixed - * @since 2.0.0 */ public function getSourceOptionId($source, $value) { @@ -435,7 +404,6 @@ public function getSourceOptionId($source, $value) * Load Product attributes * * @return array - * @since 2.0.0 */ public function getProductAttributes() { @@ -449,7 +417,6 @@ public function getProductAttributes() * Retrieve resource model * * @return \Magento\Catalog\Model\ResourceModel\Config - * @since 2.0.0 */ protected function _getResource() { @@ -460,7 +427,6 @@ protected function _getResource() * Retrieve Attributes used in product listing * * @return array - * @since 2.0.0 */ public function getAttributesUsedInProductListing() { @@ -484,7 +450,6 @@ public function getAttributesUsedInProductListing() * Retrieve Attributes array used for sort by * * @return array - * @since 2.0.0 */ public function getAttributesUsedForSortBy() { @@ -506,7 +471,6 @@ public function getAttributesUsedForSortBy() * key = code, value = name * * @return array - * @since 2.0.0 */ public function getAttributeUsedForSortByArray() { @@ -524,7 +488,6 @@ public function getAttributeUsedForSortByArray() * * @param mixed $store * @return string - * @since 2.0.0 */ public function getProductListDefaultSortBy($store = null) { diff --git a/app/code/Magento/Catalog/Model/Config/Backend/Category.php b/app/code/Magento/Catalog/Model/Config/Backend/Category.php index 9d1b2ddf4e3d8..5ca94c9b034dc 100644 --- a/app/code/Magento/Catalog/Model/Config/Backend/Category.php +++ b/app/code/Magento/Catalog/Model/Config/Backend/Category.php @@ -9,7 +9,6 @@ * Config category field backend * * @author Magento Core Team - * @since 2.0.0 */ class Category extends \Magento\Framework\App\Config\Value { @@ -17,7 +16,6 @@ class Category extends \Magento\Framework\App\Config\Value * Catalog category * * @var \Magento\Catalog\Model\Category - * @since 2.0.0 */ protected $_catalogCategory; @@ -32,7 +30,6 @@ class Category extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -50,7 +47,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Catalog/Model/Config/CatalogClone/Media/Image.php b/app/code/Magento/Catalog/Model/Config/CatalogClone/Media/Image.php index 8a1ca4a727033..e2b0a91574021 100644 --- a/app/code/Magento/Catalog/Model/Config/CatalogClone/Media/Image.php +++ b/app/code/Magento/Catalog/Model/Config/CatalogClone/Media/Image.php @@ -9,7 +9,6 @@ * Clone model for media images related config fields * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Image extends \Magento\Framework\App\Config\Value { @@ -17,7 +16,6 @@ class Image extends \Magento\Framework\App\Config\Value * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -25,7 +23,6 @@ class Image extends \Magento\Framework\App\Config\Value * Attribute collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -39,7 +36,6 @@ class Image extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -61,7 +57,6 @@ public function __construct( * Get fields prefixes * * @return array - * @since 2.0.0 */ public function getPrefixes() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Category.php b/app/code/Magento/Catalog/Model/Config/Source/Category.php index 0d9e62596ef30..24d7cc0b67378 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Category.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Category.php @@ -9,7 +9,6 @@ * Config category source * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Category implements \Magento\Framework\Option\ArrayInterface { @@ -17,7 +16,6 @@ class Category implements \Magento\Framework\Option\ArrayInterface * Category collection factory * * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.0.0 */ protected $_categoryCollectionFactory; @@ -25,7 +23,6 @@ class Category implements \Magento\Framework\Option\ArrayInterface * Construct * * @param \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryCollectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryCollectionFactory @@ -38,7 +35,6 @@ public function __construct( * * @param bool $addEmpty * @return array - * @since 2.0.0 */ public function toOptionArray($addEmpty = true) { diff --git a/app/code/Magento/Catalog/Model/Config/Source/GridPerPage.php b/app/code/Magento/Catalog/Model/Config/Source/GridPerPage.php index 823ad8e3532b6..c3311b7399db3 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/GridPerPage.php +++ b/app/code/Magento/Catalog/Model/Config/Source/GridPerPage.php @@ -9,7 +9,6 @@ * Catalog products per page on Grid mode source * * @author Magento Core Team - * @since 2.0.0 */ class GridPerPage implements \Magento\Framework\Option\ArrayInterface { @@ -17,7 +16,6 @@ class GridPerPage implements \Magento\Framework\Option\ArrayInterface * Options * * @var array - * @since 2.0.0 */ protected $_options; @@ -25,7 +23,6 @@ class GridPerPage implements \Magento\Framework\Option\ArrayInterface * Constructor * * @param string $perPageValues - * @since 2.0.0 */ public function __construct($perPageValues) { @@ -34,7 +31,6 @@ public function __construct($perPageValues) /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/ListMode.php b/app/code/Magento/Catalog/Model/Config/Source/ListMode.php index 042951aedf52c..4da5d2b650965 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/ListMode.php +++ b/app/code/Magento/Catalog/Model/Config/Source/ListMode.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\ListMode * - * @since 2.0.0 */ class ListMode implements \Magento\Framework\Option\ArrayInterface { @@ -16,7 +15,6 @@ class ListMode implements \Magento\Framework\Option\ArrayInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/ListPerPage.php b/app/code/Magento/Catalog/Model/Config/Source/ListPerPage.php index 6a57c783ac0e4..ae6cc555a6955 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/ListPerPage.php +++ b/app/code/Magento/Catalog/Model/Config/Source/ListPerPage.php @@ -9,7 +9,6 @@ * Catalog products per page on List mode source * * @author Magento Core Team - * @since 2.0.0 */ class ListPerPage implements \Magento\Framework\Option\ArrayInterface { @@ -17,7 +16,6 @@ class ListPerPage implements \Magento\Framework\Option\ArrayInterface * Pager Options * * @var array - * @since 2.0.0 */ protected $_pagerOptions; @@ -25,7 +23,6 @@ class ListPerPage implements \Magento\Framework\Option\ArrayInterface * Constructor * * @param string $options - * @since 2.0.0 */ public function __construct($options) { @@ -34,7 +31,6 @@ public function __construct($options) /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/ListSort.php b/app/code/Magento/Catalog/Model/Config/Source/ListSort.php index 2e59184259779..80b859b01ed23 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/ListSort.php +++ b/app/code/Magento/Catalog/Model/Config/Source/ListSort.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\ListSort * - * @since 2.0.0 */ class ListSort implements \Magento\Framework\Option\ArrayInterface { @@ -22,7 +21,6 @@ class ListSort implements \Magento\Framework\Option\ArrayInterface * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -30,7 +28,6 @@ class ListSort implements \Magento\Framework\Option\ArrayInterface * Construct * * @param \Magento\Catalog\Model\Config $catalogConfig - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Config $catalogConfig) { @@ -41,7 +38,6 @@ public function __construct(\Magento\Catalog\Model\Config $catalogConfig) * Retrieve option values array * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -57,7 +53,6 @@ public function toOptionArray() * Retrieve Catalog Config Singleton * * @return \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected function _getCatalogConfig() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Price/Scope.php b/app/code/Magento/Catalog/Model/Config/Source/Price/Scope.php index 97df8e196f16b..cb55773e88211 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Price/Scope.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Price/Scope.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\Price\Scope * - * @since 2.0.0 */ class Scope implements \Magento\Framework\Option\ArrayInterface { @@ -16,7 +15,6 @@ class Scope implements \Magento\Framework\Option\ArrayInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Price/Step.php b/app/code/Magento/Catalog/Model/Config/Source/Price/Step.php index ac5bbffe33633..55822ee678398 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Price/Step.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Price/Step.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\Price\Step * - * @since 2.0.0 */ class Step implements ArrayInterface { @@ -19,7 +18,6 @@ class Step implements ArrayInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Price.php b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Price.php index 2c39036592117..2385bcfd035d4 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Price.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Price.php @@ -11,7 +11,6 @@ * Price types mode source * * @author Magento Core Team - * @since 2.0.0 */ class Price implements ProductPriceOptionsInterface { @@ -19,7 +18,6 @@ class Price implements ProductPriceOptionsInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Type.php b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Type.php index 01a9ec340b104..8f6e34ca81e3a 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Type.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Product/Options/Type.php @@ -7,7 +7,6 @@ /** * Product option types mode source - * @since 2.0.0 */ class Type implements \Magento\Framework\Option\ArrayInterface { @@ -15,7 +14,6 @@ class Type implements \Magento\Framework\Option\ArrayInterface * Product Option Config * * @var \Magento\Catalog\Model\ProductOptions\ConfigInterface - * @since 2.0.0 */ protected $_productOptionConfig; @@ -23,7 +21,6 @@ class Type implements \Magento\Framework\Option\ArrayInterface * Constructor * * @param \Magento\Catalog\Model\ProductOptions\ConfigInterface $productOptionConfig - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\ProductOptions\ConfigInterface $productOptionConfig) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Catalog\Model\ProductOptions\ConfigInterfac /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Product/Thumbnail.php b/app/code/Magento/Catalog/Model/Config/Source/Product/Thumbnail.php index d4e1c56f83a9a..4424baf350fa6 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Product/Thumbnail.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Product/Thumbnail.php @@ -8,7 +8,6 @@ /** * Catalog products per page on Grid mode source * - * @since 2.0.0 */ class Thumbnail implements \Magento\Framework\Option\ArrayInterface { @@ -20,7 +19,6 @@ class Thumbnail implements \Magento\Framework\Option\ArrayInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/TimeFormat.php b/app/code/Magento/Catalog/Model/Config/Source/TimeFormat.php index 2aa4d9a87d3b4..69bf1ae5e40e4 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/TimeFormat.php +++ b/app/code/Magento/Catalog/Model/Config/Source/TimeFormat.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\TimeFormat * - * @since 2.0.0 */ class TimeFormat implements \Magento\Framework\Option\ArrayInterface { @@ -16,7 +15,6 @@ class TimeFormat implements \Magento\Framework\Option\ArrayInterface * {@inheritdoc} * * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Config/Source/Watermark/Position.php b/app/code/Magento/Catalog/Model/Config/Source/Watermark/Position.php index fa96991df8e06..feb1f5a5dacf0 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/Watermark/Position.php +++ b/app/code/Magento/Catalog/Model/Config/Source/Watermark/Position.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Config\Source\Watermark\Position * - * @since 2.0.0 */ class Position implements \Magento\Framework\Option\ArrayInterface { @@ -23,7 +22,6 @@ class Position implements \Magento\Framework\Option\ArrayInterface * * @codeCoverageIgnore * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/CustomOptions/CustomOption.php b/app/code/Magento/Catalog/Model/CustomOptions/CustomOption.php index d2f1c7f74c3e4..ba1149b02dbb3 100644 --- a/app/code/Magento/Catalog/Model/CustomOptions/CustomOption.php +++ b/app/code/Magento/Catalog/Model/CustomOptions/CustomOption.php @@ -18,7 +18,6 @@ /** * Class \Magento\Catalog\Model\CustomOptions\CustomOption * - * @since 2.0.0 */ class CustomOption extends AbstractExtensibleModel implements CustomOptionInterface { @@ -31,7 +30,6 @@ class CustomOption extends AbstractExtensibleModel implements CustomOptionInterf * @param AbstractDb|null $resourceCollection * @param FileProcessor $fileProcessor * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -57,7 +55,6 @@ public function __construct( /** * @inheritDoc - * @since 2.0.0 */ public function getOptionId() { @@ -66,7 +63,6 @@ public function getOptionId() /** * @inheritDoc - * @since 2.0.0 */ public function setOptionId($value) { @@ -75,7 +71,6 @@ public function setOptionId($value) /** * @inheritDoc - * @since 2.0.0 */ public function getOptionValue() { @@ -94,7 +89,6 @@ public function getOptionValue() /** * @inheritDoc - * @since 2.0.0 */ public function setOptionValue($value) { @@ -103,7 +97,6 @@ public function setOptionValue($value) /** * @inheritDoc - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -112,7 +105,6 @@ public function getExtensionAttributes() /** * @inheritDoc - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\CustomOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php b/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php index ca52a3b45aa06..8364db4645aeb 100644 --- a/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php +++ b/app/code/Magento/Catalog/Model/CustomOptions/CustomOptionProcessor.php @@ -14,31 +14,26 @@ /** * Class \Magento\Catalog\Model\CustomOptions\CustomOptionProcessor * - * @since 2.0.0 */ class CustomOptionProcessor implements CartItemProcessorInterface { /** * @var \Magento\Framework\DataObject\Factory - * @since 2.0.0 */ protected $objectFactory; /** * @var \Magento\Quote\Model\Quote\ProductOptionFactory - * @since 2.0.0 */ protected $productOptionFactory; /** * @var \Magento\Quote\Api\Data\ProductOptionExtensionFactory - * @since 2.0.0 */ protected $extensionFactory; /** * @var \Magento\Catalog\Model\CustomOptions\CustomOptionFactory - * @since 2.0.0 */ protected $customOptionFactory; @@ -62,7 +57,6 @@ class CustomOptionProcessor implements CartItemProcessorInterface * @param ProductOptionExtensionFactory $extensionFactory * @param CustomOptionFactory $customOptionFactory * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\DataObject\Factory $objectFactory, @@ -81,7 +75,6 @@ public function __construct( /** * @inheritDoc - * @since 2.0.0 */ public function convertToBuyRequest(CartItemInterface $cartItem) { @@ -102,7 +95,6 @@ public function convertToBuyRequest(CartItemInterface $cartItem) /** * @inheritDoc - * @since 2.0.0 */ public function processOptions(CartItemInterface $cartItem) { @@ -130,7 +122,6 @@ public function processOptions(CartItemInterface $cartItem) * * @param CartItemInterface $cartItem * @return array - * @since 2.0.0 */ protected function getOptions(CartItemInterface $cartItem) { @@ -147,7 +138,6 @@ protected function getOptions(CartItemInterface $cartItem) * * @param array $options * @return null - * @since 2.0.0 */ protected function updateOptionsValues(array &$options) { diff --git a/app/code/Magento/Catalog/Model/Design.php b/app/code/Magento/Catalog/Model/Design.php index ea948cc683dcb..cd35560e90dce 100644 --- a/app/code/Magento/Catalog/Model/Design.php +++ b/app/code/Magento/Catalog/Model/Design.php @@ -11,7 +11,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Design extends \Magento\Framework\Model\AbstractModel { @@ -23,13 +22,11 @@ class Design extends \Magento\Framework\Model\AbstractModel * Design package instance * * @var \Magento\Framework\View\DesignInterface - * @since 2.0.0 */ protected $_design = null; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; @@ -41,7 +38,6 @@ class Design extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -62,7 +58,6 @@ public function __construct( * * @param string $design * @return $this - * @since 2.0.0 */ public function applyCustomDesign($design) { @@ -75,7 +70,6 @@ public function applyCustomDesign($design) * * @param \Magento\Catalog\Model\Category|\Magento\Catalog\Model\Product $object * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getDesignSettings($object) { @@ -106,7 +100,6 @@ public function getDesignSettings($object) * * @param \Magento\Catalog\Model\Category|\Magento\Catalog\Model\Product $object * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _extractSettings($object) { @@ -144,7 +137,6 @@ protected function _extractSettings($object) * @param \Magento\Framework\DataObject $categorySettings * @param \Magento\Framework\DataObject $productSettings * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _mergeSettings($categorySettings, $productSettings) { diff --git a/app/code/Magento/Catalog/Model/Entity/Attribute.php b/app/code/Magento/Catalog/Model/Entity/Attribute.php index 1ce41909d80f5..2506382045169 100644 --- a/app/code/Magento/Catalog/Model/Entity/Attribute.php +++ b/app/code/Magento/Catalog/Model/Entity/Attribute.php @@ -46,7 +46,6 @@ * @method \Magento\Catalog\Model\Entity\Attribute setIsUsedForPromoRules(int $value) * @method \Magento\Eav\Api\Data\AttributeExtensionInterface getExtensionAttributes() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\Entity\Attribute { @@ -54,7 +53,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute * Event Prefix * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_entity_attribute'; @@ -62,7 +60,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute * Event Object * * @var string - * @since 2.0.0 */ protected $_eventObject = 'attribute'; @@ -70,7 +67,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute /** * @var LockValidatorInterface - * @since 2.0.0 */ protected $attrLockValidator; @@ -96,7 +92,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -149,7 +144,6 @@ public function __construct( * * @return \Magento\Framework\Model\AbstractModel * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -167,7 +161,6 @@ public function beforeSave() * Processing object after save data * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php index 6e1810b3a6e56..22cb3c3264df5 100644 --- a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php +++ b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php @@ -9,7 +9,6 @@ * Entity/Attribute/Model - select product design options container from config * * @author Magento Core Team - * @since 2.0.0 */ class Container extends \Magento\Eav\Model\Entity\Attribute\Source\Config { @@ -18,7 +17,6 @@ class Container extends \Magento\Eav\Model\Entity\Attribute\Source\Config * * @param string|integer $value * @return string|false - * @since 2.0.0 */ public function getOptionText($value) { diff --git a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapper.php b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapper.php index f30c22302bf68..6de1721b26b59 100644 --- a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapper.php +++ b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapper.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapper * - * @since 2.0.0 */ class AttributeMapper implements AttributeMapperInterface { @@ -20,13 +19,11 @@ class AttributeMapper implements AttributeMapperInterface * Unassignable attributes * * @var array - * @since 2.0.0 */ protected $unassignableAttributes; /** * @param \Magento\Catalog\Model\Attribute\Config $attributeConfig - * @since 2.0.0 */ public function __construct(Attribute\Config $attributeConfig) { @@ -38,7 +35,6 @@ public function __construct(Attribute\Config $attributeConfig) * * @param \Magento\Eav\Model\Entity\Attribute $attribute * @return array - * @since 2.0.0 */ public function map(\Magento\Eav\Model\Entity\Attribute $attribute) { diff --git a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php index 960af691f26fd..35af7c4b4a4b8 100644 --- a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php +++ b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php @@ -12,7 +12,6 @@ /** * Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface * - * @since 2.0.0 */ interface AttributeMapperInterface { @@ -21,7 +20,6 @@ interface AttributeMapperInterface * * @param Attribute $attribute * @return array - * @since 2.0.0 */ public function map(Attribute $attribute); } diff --git a/app/code/Magento/Catalog/Model/Factory.php b/app/code/Magento/Catalog/Model/Factory.php index 136064102498b..8cc2e1f2798b4 100644 --- a/app/code/Magento/Catalog/Model/Factory.php +++ b/app/code/Magento/Catalog/Model/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Framework\Model\AbstractModel * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/ImageExtractor.php b/app/code/Magento/Catalog/Model/ImageExtractor.php index 2c4f93281481f..8df0155753ac4 100644 --- a/app/code/Magento/Catalog/Model/ImageExtractor.php +++ b/app/code/Magento/Catalog/Model/ImageExtractor.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\ImageExtractor * - * @since 2.0.0 */ class ImageExtractor implements \Magento\Framework\View\Xsd\Media\TypeDataExtractorInterface { @@ -21,7 +20,6 @@ class ImageExtractor implements \Magento\Framework\View\Xsd\Media\TypeDataExtrac * @param \DOMElement $mediaNode * @param string $mediaParentTag * @return array - * @since 2.0.0 */ public function process(\DOMElement $mediaNode, $mediaParentTag) { diff --git a/app/code/Magento/Catalog/Model/Indexer/AbstractFlatState.php b/app/code/Magento/Catalog/Model/Indexer/AbstractFlatState.php index bcbc6a8a24936..9f37b508adeed 100644 --- a/app/code/Magento/Catalog/Model/Indexer/AbstractFlatState.php +++ b/app/code/Magento/Catalog/Model/Indexer/AbstractFlatState.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractFlatState { @@ -25,19 +24,16 @@ abstract class AbstractFlatState /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var bool - * @since 2.0.0 */ protected $isAvailable; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -45,7 +41,6 @@ abstract class AbstractFlatState * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry * @param bool $isAvailable - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -61,7 +56,6 @@ public function __construct( * Check if Flat Index is enabled * * @return bool - * @since 2.0.0 */ public function isFlatEnabled() { @@ -72,7 +66,6 @@ public function isFlatEnabled() * Check if Flat Index is available for use * * @return bool - * @since 2.0.0 */ public function isAvailable() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php index 8200a6a4580be..7a1e4be468423 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat.php @@ -11,31 +11,27 @@ * Category flat indexer * * @api - * @since 2.0.0 */ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { /** * @var \Magento\Catalog\Model\Indexer\Category\Flat\Action\FullFactory - * @since 2.0.0 */ protected $fullActionFactory; /** * @var \Magento\Catalog\Model\Indexer\Category\Flat\Action\RowsFactory - * @since 2.0.0 */ protected $rowsActionFactory; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ private $cacheContext; @@ -43,7 +39,6 @@ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Frame * @param Flat\Action\FullFactory $fullActionFactory * @param Flat\Action\RowsFactory $rowsActionFactory * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct( Flat\Action\FullFactory $fullActionFactory, @@ -60,7 +55,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -82,7 +76,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -95,7 +88,6 @@ public function executeFull() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -107,7 +99,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -118,8 +109,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.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 c81cea0cf303d..582e1f0fbb871 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction * - * @since 2.0.0 */ class AbstractAction { @@ -27,19 +26,16 @@ class AbstractAction * Attribute codes * * @var array - * @since 2.0.0 */ protected $attributeCodes; /** * @var Resource - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -47,7 +43,6 @@ class AbstractAction * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $resourceHelper; @@ -55,13 +50,11 @@ class AbstractAction * Flat columns * * @var array - * @since 2.0.0 */ protected $columns = []; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -83,7 +76,6 @@ class AbstractAction * @param ResourceConnection $resource * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -102,7 +94,6 @@ public function __construct( * * @param string $tableName * @return string - * @since 2.0.0 */ protected function addTemporaryTableSuffix($tableName) { @@ -113,7 +104,6 @@ protected function addTemporaryTableSuffix($tableName) * Retrieve list of columns for flat structure * * @return array - * @since 2.0.0 */ public function getColumns() { @@ -125,7 +115,6 @@ public function getColumns() * * @param integer $storeId * @return string - * @since 2.0.0 */ public function getMainStoreTable($storeId = \Magento\Store\Model\Store::DEFAULT_STORE_ID) { @@ -144,7 +133,6 @@ public function getMainStoreTable($storeId = \Magento\Store\Model\Store::DEFAULT * * @param string $tableName * @return \Magento\Framework\DB\Ddl\Table - * @since 2.0.0 */ protected function getFlatTableStructure($tableName) { @@ -204,7 +192,6 @@ protected function getFlatTableStructure($tableName) * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function getStaticColumns() { @@ -279,7 +266,6 @@ protected function getStaticColumns() * Return array of eav columns, skip attribute with static type * * @return array - * @since 2.0.0 */ protected function getEavColumns() { @@ -345,7 +331,6 @@ protected function getEavColumns() * Return array of attribute codes for entity type 'catalog_category' * * @return array - * @since 2.0.0 */ protected function getAttributes() { @@ -382,7 +367,6 @@ protected function getAttributes() * @param array $entityIds * @param integer $storeId * @return array - * @since 2.0.0 */ protected function getAttributeValues($entityIds, $storeId) { @@ -417,7 +401,6 @@ protected function getAttributeValues($entityIds, $storeId) * @param array $entityIds * @param integer $storeId * @return array - * @since 2.0.0 */ protected function getAttributeTypeValues($type, $entityIds, $storeId) { @@ -464,7 +447,6 @@ protected function getAttributeTypeValues($type, $entityIds, $storeId) * * @param array $data * @return array - * @since 2.0.0 */ protected function prepareValuesToInsert($data) { @@ -484,7 +466,6 @@ protected function prepareValuesToInsert($data) * * @param string $name * @return string - * @since 2.0.0 */ protected function getTableName($name) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Full.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Full.php index abf3bd1662198..8409491458bdc 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Full.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Full.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\Action\Full * - * @since 2.0.0 */ class Full extends \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction { @@ -21,7 +20,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction * Whether table changes are allowed * * @var bool - * @since 2.0.0 */ protected $allowTableChanges = true; @@ -30,7 +28,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction * * @param string $tableName * @return string - * @since 2.0.0 */ protected function addOldTableSuffix($tableName) { @@ -42,7 +39,6 @@ protected function addOldTableSuffix($tableName) * * @param \Magento\Store\Model\Store[] $stores * @return Full - * @since 2.0.0 */ protected function populateFlatTables(array $stores) { @@ -100,7 +96,6 @@ protected function populateFlatTables(array $stores) * * @param int $store * @return Full - * @since 2.0.0 */ protected function createTable($store) { @@ -118,7 +113,6 @@ protected function createTable($store) * * @param \Magento\Store\Model\Store[] $stores if empty, create tables for all stores of the application * @return Full - * @since 2.0.0 */ protected function createTables(array $stores = []) { @@ -141,7 +135,6 @@ protected function createTables(array $stores = []) * * @param \Magento\Store\Model\Store[] $stores * @return Full - * @since 2.0.0 */ protected function switchTables(array $stores = []) { @@ -178,7 +171,6 @@ protected function switchTables(array $stores = []) * Transactional rebuild flat data from eav * * @return Full - * @since 2.0.0 */ public function reindexAll() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Rows.php index 860314ab07aa1..0b19a74da12bf 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Rows.php @@ -11,13 +11,11 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\Action\Rows * - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction { /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -26,7 +24,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Flat\AbstractAction * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper * @param CategoryRepositoryInterface $categoryRepository - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -44,7 +41,6 @@ public function __construct( * @param \Magento\Store\Model\Store $store * @param bool $useTempTable * @return string - * @since 2.0.0 */ protected function getTableNameByStore(\Magento\Store\Model\Store $store, $useTempTable) { @@ -58,7 +54,6 @@ protected function getTableNameByStore(\Magento\Store\Model\Store $store, $useTe * @param int[] $entityIds * @param bool $useTempTable * @return Rows - * @since 2.0.0 */ public function reindex(array $entityIds = [], $useTempTable = false) { @@ -119,7 +114,6 @@ public function reindex(array $entityIds = [], $useTempTable = false) * @param \Magento\Store\Model\Store $store * @param bool $useTempTable * @return void - * @since 2.0.0 */ protected function deleteNonStoreCategories(\Magento\Store\Model\Store $store, $useTempTable) { @@ -154,7 +148,6 @@ protected function deleteNonStoreCategories(\Magento\Store\Model\Store $store, $ * @param int[] $ids * @param \Magento\Store\Model\Store $store * @return int[] - * @since 2.0.0 */ protected function filterIdsByStore(array $ids, $store) { 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 190e8ba2d0aae..1507cdc05ba1c 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 @@ -11,19 +11,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\Plugin\IndexerConfigData * - * @since 2.0.0 */ class IndexerConfigData { /** * @var State - * @since 2.0.0 */ protected $state; /** * @param State $state - * @since 2.0.0 */ public function __construct(State $state) { 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 b2452fe26ad18..d359d88bf41b9 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 @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\Plugin\StoreGroup * - * @since 2.0.0 */ class StoreGroup { @@ -25,20 +24,17 @@ class StoreGroup /** * @var IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var State - * @since 2.0.0 */ protected $state; /** * @param IndexerRegistry $indexerRegistry * @param State $state - * @since 2.0.0 */ public function __construct(IndexerRegistry $indexerRegistry, State $state) { @@ -51,7 +47,6 @@ public function __construct(IndexerRegistry $indexerRegistry, State $state) * * @param AbstractModel $group * @return bool - * @since 2.0.0 */ protected function validate(AbstractModel $group) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreView.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreView.php index 257a33523cdd2..34e9e5849041d 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreView.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/Plugin/StoreView.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Flat\Plugin\StoreView * - * @since 2.0.0 */ class StoreView extends StoreGroup { @@ -17,7 +16,6 @@ class StoreView extends StoreGroup * * @param \Magento\Framework\Model\AbstractModel $store * @return bool - * @since 2.0.0 */ protected function validate(\Magento\Framework\Model\AbstractModel $store) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/State.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/State.php index c1c6ffac91e8c..af4d3ea24c12e 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/State.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/State.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/System/Config/Mode.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/System/Config/Mode.php index 6229a837017fc..b4c6febef0a98 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/System/Config/Mode.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/System/Config/Mode.php @@ -7,19 +7,16 @@ /** * Flat category on/off backend - * @since 2.0.0 */ class Mode extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Indexer\Model\Indexer\State - * @since 2.0.0 */ protected $indexerState; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -33,7 +30,6 @@ class Mode extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -55,7 +51,6 @@ public function __construct( * Set after commit callback * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -67,7 +62,6 @@ public function afterSave() * Process flat enabled mode change * * @return void - * @since 2.0.0 */ public function processValue() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product.php index f16873bea156f..fd115c427d31c 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product.php @@ -11,7 +11,6 @@ * Category product indexer * * @api - * @since 2.0.0 */ class Product implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { @@ -22,25 +21,22 @@ class Product implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fr /** * @var Product\Action\FullFactory - * @since 2.0.0 */ protected $fullActionFactory; /** * @var Product\Action\RowsFactory - * @since 2.0.0 */ protected $rowsActionFactory; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ protected $cacheContext; @@ -48,7 +44,6 @@ class Product implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fr * @param Product\Action\FullFactory $fullActionFactory * @param Product\Action\RowsFactory $rowsActionFactory * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct( Product\Action\FullFactory $fullActionFactory, @@ -65,7 +60,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -78,7 +72,7 @@ public function execute($ids) * * @param int[] $ids * @return void - * @since 2.1.0 + * @since 2.0.11 */ protected function registerEntities($ids) { @@ -89,7 +83,6 @@ protected function registerEntities($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -101,7 +94,7 @@ public function executeFull() * Add tags to cache context * * @return void - * @since 2.1.0 + * @since 2.0.11 */ protected function registerTags() { @@ -113,7 +106,6 @@ protected function registerTags() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -125,7 +117,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -137,7 +128,6 @@ public function executeRow($id) * * @param int[] $ids * @return $this - * @since 2.0.0 */ protected function executeAction($ids) { @@ -158,8 +148,8 @@ protected function executeAction($ids) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.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 326b5cdde94ca..1036889dfa969 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php @@ -18,7 +18,6 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractAction { @@ -46,7 +45,6 @@ abstract class AbstractAction * Cached non anchor categories select by store id * * @var \Magento\Framework\DB\Select[] - * @since 2.0.0 */ protected $nonAnchorSelects = []; @@ -54,7 +52,6 @@ abstract class AbstractAction * Cached anchor categories select by store id * * @var \Magento\Framework\DB\Select[] - * @since 2.0.0 */ protected $anchorSelects = []; @@ -62,7 +59,6 @@ abstract class AbstractAction * Cached all product select by store id * * @var \Magento\Framework\DB\Select[] - * @since 2.0.0 */ protected $productsSelects = []; @@ -70,25 +66,21 @@ abstract class AbstractAction * Category path by id * * @var string[] - * @since 2.0.0 */ protected $categoryPath = []; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $config; @@ -96,13 +88,11 @@ abstract class AbstractAction * Whether to use main or temporary index table * * @var bool - * @since 2.0.0 */ protected $useTempTable = true; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -129,7 +119,6 @@ abstract class AbstractAction * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\Config $config * @param QueryGenerator $queryGenerator - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -149,7 +138,6 @@ public function __construct( * Run full reindex * * @return $this - * @since 2.0.0 */ abstract public function execute(); @@ -157,7 +145,6 @@ abstract public function execute(); * Run reindexation * * @return void - * @since 2.0.0 */ protected function reindex() { @@ -175,7 +162,6 @@ protected function reindex() * * @param string|string[] $table * @return string - * @since 2.0.0 */ protected function getTable($table) { @@ -189,7 +175,6 @@ protected function getTable($table) * The name is switched between 'catalog_category_product_index' and 'catalog_category_product_index_replica' * * @return string - * @since 2.0.0 */ protected function getMainTable() { @@ -200,7 +185,6 @@ protected function getMainTable() * Return temporary index table name * * @return string - * @since 2.0.0 */ protected function getMainTmpTable() { @@ -214,7 +198,6 @@ protected function getMainTmpTable() * * @param int $categoryId * @return string - * @since 2.0.0 */ protected function getPathFromCategoryId($categoryId) { @@ -237,7 +220,6 @@ protected function getPathFromCategoryId($categoryId) * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -332,7 +314,6 @@ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $stor * Check whether select ranging is needed * * @return bool - * @since 2.0.0 */ protected function isRangingNeeded() { @@ -346,7 +327,6 @@ protected function isRangingNeeded() * @param string $field * @param int $range * @return \Magento\Framework\DB\Select[] - * @since 2.0.0 */ protected function prepareSelectsByRange( \Magento\Framework\DB\Select $select, @@ -375,7 +355,6 @@ protected function prepareSelectsByRange( * * @param \Magento\Store\Model\Store $store * @return void - * @since 2.0.0 */ protected function reindexNonAnchorCategories(\Magento\Store\Model\Store $store) { @@ -397,7 +376,6 @@ protected function reindexNonAnchorCategories(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ protected function hasAnchorSelect(\Magento\Store\Model\Store $store) { @@ -410,7 +388,6 @@ protected function hasAnchorSelect(\Magento\Store\Model\Store $store) * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function createAnchorSelect(\Magento\Store\Model\Store $store) { @@ -611,7 +588,6 @@ protected function fillTempCategoryTreeIndex($temporaryName) * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -626,7 +602,6 @@ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return void - * @since 2.0.0 */ protected function reindexAnchorCategories(\Magento\Store\Model\Store $store) { @@ -649,7 +624,6 @@ protected function reindexAnchorCategories(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getAllProducts(\Magento\Store\Model\Store $store) { @@ -743,7 +717,6 @@ protected function getAllProducts(\Magento\Store\Model\Store $store) * Check whether indexation of root category is needed * * @return bool - * @since 2.0.0 */ protected function isIndexRootCategoryNeeded() { @@ -755,7 +728,6 @@ protected function isIndexRootCategoryNeeded() * * @param \Magento\Store\Model\Store $store * @return void - * @since 2.0.0 */ protected function reindexRootCategory(\Magento\Store\Model\Store $store) { 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 c2366bd1ba1e3..ea89f88772f2a 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 @@ -14,7 +14,6 @@ * * @package Magento\Catalog\Model\Indexer\Category\Product\Action * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Full extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractAction { @@ -98,7 +97,6 @@ public function __construct( * Refresh entities index * * @return $this - * @since 2.0.0 */ public function execute() { @@ -111,7 +109,6 @@ public function execute() * Return select for remove unnecessary data * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getSelectUnnecessaryData() { @@ -136,7 +133,6 @@ protected function getSelectUnnecessaryData() * Remove unnecessary data * * @return void - * @since 2.0.0 */ protected function removeUnnecessaryData() { @@ -149,7 +145,6 @@ protected function removeUnnecessaryData() * Publish data from tmp to index * * @return void - * @since 2.0.0 */ protected function publishData() { @@ -171,7 +166,6 @@ protected function publishData() * Clear all index data * * @return void - * @since 2.0.0 */ protected function clearTmpData() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Rows.php index 1ff0d9c981ad6..ad931fb848fc7 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Rows.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Product\Action\Rows * - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractAction { @@ -16,7 +15,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * Limitation by categories * * @var int[] - * @since 2.0.0 */ protected $limitationByCategories; @@ -26,7 +24,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * @param int[] $entityIds * @param bool $useTempTable * @return $this - * @since 2.0.0 */ public function execute(array $entityIds = [], $useTempTable = false) { @@ -44,7 +41,6 @@ public function execute(array $entityIds = [], $useTempTable = false) * Return array of all category root IDs + tree root ID * * @return int[] - * @since 2.0.0 */ protected function getRootCategoryIds() { @@ -61,7 +57,6 @@ protected function getRootCategoryIds() * Remove index entries before reindexation * * @return void - * @since 2.0.0 */ protected function removeEntries() { @@ -74,7 +69,6 @@ protected function removeEntries() * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -87,7 +81,6 @@ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $stor * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -99,7 +92,6 @@ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) * Check whether select ranging is needed * * @return bool - * @since 2.0.0 */ protected function isRangingNeeded() { @@ -110,7 +102,6 @@ protected function isRangingNeeded() * Check whether indexation of root category is needed * * @return bool - * @since 2.0.0 */ protected function isIndexRootCategoryNeeded() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/RowsFactory.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/RowsFactory.php index 24344d1de19a7..db10f9ff23072 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/RowsFactory.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/RowsFactory.php @@ -7,7 +7,6 @@ /** * Factory class for \Magento\Catalog\Model\Indexer\Category\Product\Action\Rows - * @since 2.0.0 */ class RowsFactory { @@ -15,7 +14,6 @@ class RowsFactory * Object Manager instance * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -23,7 +21,6 @@ class RowsFactory * Instance name to create * * @var string - * @since 2.0.0 */ protected $instanceName; @@ -32,7 +29,6 @@ class RowsFactory * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -48,7 +44,6 @@ public function __construct( * @param array $data * @throws \InvalidArgumentException * @return \Magento\Catalog\Model\Indexer\Category\Product\AbstractAction - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/MviewState.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/MviewState.php index 4717d781c6e69..75dc8c79682f9 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/MviewState.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/MviewState.php @@ -13,19 +13,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Product\Plugin\MviewState * - * @since 2.0.0 */ class MviewState { /** * @var \Magento\Framework\Mview\View\StateInterface - * @since 2.0.0 */ protected $state; /** * @var \Magento\Framework\Mview\View\ChangelogInterface - * @since 2.0.0 */ protected $changelog; @@ -33,7 +30,6 @@ class MviewState * Related indexers IDs * * @var int[] - * @since 2.0.0 */ protected $viewIds = [ \Magento\Catalog\Model\Indexer\Category\Product::INDEXER_ID, @@ -43,7 +39,6 @@ class MviewState /** * @param \Magento\Framework\Mview\View\StateInterface $state * @param \Magento\Framework\Mview\View\ChangelogInterface $changelog - * @since 2.0.0 */ public function __construct( \Magento\Framework\Mview\View\StateInterface $state, @@ -58,7 +53,6 @@ public function __construct( * * @param \Magento\Framework\Mview\View\StateInterface $state * @return \Magento\Framework\Mview\View\StateInterface - * @since 2.0.0 */ public function afterSetStatus(\Magento\Framework\Mview\View\StateInterface $state) { 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 49529b8a00d96..c6196226f5aab 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 @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Product\Plugin\StoreGroup * - * @since 2.0.0 */ class StoreGroup { @@ -25,13 +24,11 @@ class StoreGroup /** * @var IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @param IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct(IndexerRegistry $indexerRegistry) { @@ -77,7 +74,6 @@ public function afterSave(AbstractDb $subject, AbstractDb $objectResource) * * @param AbstractModel $group * @return bool - * @since 2.0.0 */ protected function validate(AbstractModel $group) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreView.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreView.php index 4b5de2ed67232..896987a3f26d3 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreView.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/StoreView.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Category\Product\Plugin\StoreView * - * @since 2.0.0 */ class StoreView extends StoreGroup { @@ -17,7 +16,6 @@ class StoreView extends StoreGroup * * @param \Magento\Framework\Model\AbstractModel $store * @return bool - * @since 2.0.0 */ protected function validate(\Magento\Framework\Model\AbstractModel $store) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Processor.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Processor.php index 5d8fb9bd60f87..9bdb503c46bf0 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/Processor.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/Processor.php @@ -9,7 +9,6 @@ * Category product link indexer * * @api - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Category.php b/app/code/Magento/Catalog/Model/Indexer/Product/Category.php index 3573ceed2adbd..c7ccbc996ed71 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Category.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Category.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Category extends \Magento\Catalog\Model\Indexer\Category\Product { @@ -20,7 +19,6 @@ class Category extends \Magento\Catalog\Model\Indexer\Category\Product * @param \Magento\Catalog\Model\Indexer\Category\Product\Action\FullFactory $fullActionFactory * @param Category\Action\RowsFactory $rowsActionFactory * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Indexer\Category\Product\Action\FullFactory $fullActionFactory, @@ -34,7 +32,7 @@ public function __construct( * Add tags to cache context * * @return void - * @since 2.1.0 + * @since 2.0.11 */ protected function registerTags() { @@ -51,7 +49,7 @@ protected function registerTags() * * @param int[] $ids * @return void - * @since 2.1.0 + * @since 2.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 9eb2e104b0d36..848dab5204e95 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 @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Category\Action\Rows * - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractAction { @@ -20,7 +19,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * Limitation by products * * @var int[] - * @since 2.0.0 */ protected $limitationByProducts; @@ -36,7 +34,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio * @param int[] $entityIds * @param bool $useTempTable * @return $this - * @since 2.0.0 */ public function execute(array $entityIds = [], $useTempTable = false) { @@ -90,7 +87,6 @@ private function registerCategories($entityIds) * Remove index entries before reindexation * * @return void - * @since 2.0.0 */ protected function removeEntries() { @@ -105,7 +101,6 @@ protected function removeEntries() * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -118,7 +113,6 @@ protected function getNonAnchorCategoriesSelect(\Magento\Store\Model\Store $stor * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) { @@ -131,7 +125,6 @@ protected function getAnchorCategoriesSelect(\Magento\Store\Model\Store $store) * * @param \Magento\Store\Model\Store $store * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function getAllProducts(\Magento\Store\Model\Store $store) { @@ -143,7 +136,6 @@ protected function getAllProducts(\Magento\Store\Model\Store $store) * Check whether select ranging is needed * * @return bool - * @since 2.0.0 */ protected function isRangingNeeded() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/RowsFactory.php b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/RowsFactory.php index 7ba6137256e96..433aba652d361 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/RowsFactory.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/RowsFactory.php @@ -7,7 +7,6 @@ /** * Factory class for \Magento\Catalog\Model\Indexer\Product\Category\Action\Rows - * @since 2.0.0 */ class RowsFactory extends \Magento\Catalog\Model\Indexer\Category\Product\Action\RowsFactory { @@ -16,7 +15,6 @@ class RowsFactory extends \Magento\Catalog\Model\Indexer\Category\Product\Action * * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $instanceName - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Processor.php b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Processor.php index 1f0327e25e020..49421c8041e7f 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Category/Processor.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Category/Processor.php @@ -9,7 +9,6 @@ * Product category link indexer * * @api - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php index cdd2b9495c5ca..10455c8af940d 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav.php @@ -10,31 +10,27 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Eav * - * @since 2.0.0 */ class Eav implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Action\Row - * @since 2.0.0 */ protected $_productEavIndexerRow; /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Action\Rows - * @since 2.0.0 */ protected $_productEavIndexerRows; /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Action\Full - * @since 2.0.0 */ protected $_productEavIndexerFull; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ private $cacheContext; @@ -42,7 +38,6 @@ class Eav implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framew * @param Eav\Action\Row $productEavIndexerRow * @param Eav\Action\Rows $productEavIndexerRows * @param Eav\Action\Full $productEavIndexerFull - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Indexer\Product\Eav\Action\Row $productEavIndexerRow, @@ -59,7 +54,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -71,7 +65,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -89,7 +82,6 @@ public function executeFull() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -101,7 +93,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -112,8 +103,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.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 77bb2c2d7a097..a44adef593f98 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/AbstractAction.php @@ -7,7 +7,6 @@ /** * Abstract action reindex class - * @since 2.0.0 */ abstract class AbstractAction { @@ -15,19 +14,16 @@ abstract class AbstractAction * EAV Indexers by type * * @var array - * @since 2.0.0 */ protected $_types; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\SourceFactory - * @since 2.0.0 */ protected $_eavSourceFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\DecimalFactory - * @since 2.0.0 */ protected $_eavDecimalFactory; @@ -35,7 +31,6 @@ abstract class AbstractAction * AbstractAction constructor. * @param \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\DecimalFactory $eavDecimalFactory * @param \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\SourceFactory $eavSourceFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\DecimalFactory $eavDecimalFactory, @@ -50,7 +45,6 @@ public function __construct( * * @param array|int $ids * @return void - * @since 2.0.0 */ abstract public function execute($ids); @@ -58,7 +52,6 @@ abstract public function execute($ids); * Retrieve array of EAV type indexers * * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\AbstractEav[] - * @since 2.0.0 */ public function getIndexers() { @@ -78,7 +71,6 @@ public function getIndexers() * @param string $type * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\AbstractEav * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getIndexer($type) { @@ -95,7 +87,6 @@ public function getIndexer($type) * @param null|array|int $ids * @throws \Exception * @return void - * @since 2.0.0 */ public function reindex($ids = null) { 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 6f8e32eb80a93..9fae4d9865301 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 @@ -9,7 +9,6 @@ /** * Class Full reindex action - * @since 2.0.0 */ class Full extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction { @@ -76,7 +75,6 @@ public function __construct( * @return void * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute($ids = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Row.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Row.php index 51ec980a6a257..74d7edde92c01 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Row.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Row.php @@ -7,7 +7,6 @@ /** * Class Row reindex action - * @since 2.0.0 */ class Row extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction { @@ -18,7 +17,6 @@ class Row extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction * @return void * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($id = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Rows.php index 542725f190187..3595756abb5b0 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Action/Rows.php @@ -7,7 +7,6 @@ /** * Class Rows reindex action for mass actions - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction { @@ -18,7 +17,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Product\Eav\AbstractAction * @return void * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($ids) { 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 e65cf84f57918..d337fe8ce679d 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 @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Eav\Plugin\AttributeSet * - * @since 2.0.0 */ class AttributeSet { @@ -31,13 +30,11 @@ class AttributeSet /** * @var Processor - * @since 2.0.0 */ private $_indexerEavProcessor; /** * @var AttributeSet\IndexableAttributeFilter - * @since 2.0.0 */ private $_attributeFilter; @@ -47,7 +44,6 @@ class AttributeSet * @param Processor $indexerEavProcessor * @param AttributeSet\IndexableAttributeFilter $filter * @param SetFactory $attributeSetFactory - * @since 2.0.0 */ public function __construct( Processor $indexerEavProcessor, diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet/IndexableAttributeFilter.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet/IndexableAttributeFilter.php index aacafbd2b455a..026bdcb3c23a8 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet/IndexableAttributeFilter.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/AttributeSet/IndexableAttributeFilter.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Eav\Plugin\AttributeSet\IndexableAttributeFilter * - * @since 2.0.0 */ class IndexableAttributeFilter { /** * @var \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory - * @since 2.0.0 */ protected $_attributeFactory; /** * @param \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Catalog\Model\ResourceModel\Eav\AttributeFa * * @param \Magento\Eav\Model\Entity\Attribute\Set $set * @return array - * @since 2.0.0 */ public function filter(\Magento\Eav\Model\Entity\Attribute\Set $set) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/StoreView.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/StoreView.php index 4403e8ea99213..4b80b3ff9b29d 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/StoreView.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Plugin/StoreView.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Eav\Plugin\StoreView * - * @since 2.0.0 */ class StoreView { @@ -16,13 +15,11 @@ class StoreView * Product attribute indexer processor * * @var \Magento\Catalog\Model\Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_indexerEavProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Eav\Processor $indexerEavProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor $indexerEavProcessor) { @@ -37,7 +34,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave( \Magento\Store\Model\ResourceModel\Store $subject, diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Processor.php b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Processor.php index aae9351a27c13..a94d523fe3bac 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Processor.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Eav/Processor.php @@ -9,7 +9,6 @@ * EAV attribute indexer in catalog * * @api - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php index 2bdedade31f12..b617a681aeb24 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat.php @@ -10,31 +10,27 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Flat * - * @since 2.0.0 */ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Action\Row - * @since 2.0.0 */ protected $_productFlatIndexerRow; /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Action\Rows - * @since 2.0.0 */ protected $_productFlatIndexerRows; /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Action\Full - * @since 2.0.0 */ protected $_productFlatIndexerFull; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ private $cacheContext; @@ -42,7 +38,6 @@ class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Frame * @param Flat\Action\Row $productFlatIndexerRow * @param Flat\Action\Rows $productFlatIndexerRows * @param Flat\Action\Full $productFlatIndexerFull - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Indexer\Product\Flat\Action\Row $productFlatIndexerRow, @@ -59,7 +54,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -71,7 +65,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -89,7 +82,6 @@ public function executeFull() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -101,7 +93,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -112,8 +103,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.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 a2c1736609cde..d4abc8ab6661e 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/AbstractAction.php @@ -12,7 +12,6 @@ /** * Abstract action reindex class * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractAction { @@ -20,7 +19,6 @@ abstract class AbstractAction * Suffix for value field on composite attributes * * @var string - * @since 2.0.0 */ protected $_valueFieldSuffix = '_value'; @@ -28,31 +26,26 @@ abstract class AbstractAction * Suffix for drop table (uses on flat table rename) * * @var string - * @since 2.0.0 */ protected $_tableDropSuffix = '_drop_indexer'; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productIndexerHelper; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_productType; @@ -60,7 +53,6 @@ abstract class AbstractAction * Existing flat tables flags pool * * @var array - * @since 2.0.0 */ protected $_flatTablesExist = []; @@ -68,19 +60,16 @@ abstract class AbstractAction * List of product types available in installation * * @var array - * @since 2.0.0 */ protected $_productTypes = []; /** * @var TableBuilder - * @since 2.0.0 */ protected $_tableBuilder; /** * @var FlatTableBuilder - * @since 2.0.0 */ protected $_flatTableBuilder; @@ -97,7 +86,6 @@ abstract class AbstractAction * @param \Magento\Catalog\Model\Product\Type $productType * @param TableBuilder $tableBuilder * @param FlatTableBuilder $flatTableBuilder - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -120,7 +108,6 @@ public function __construct( * * @param array|int $ids * @return \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction - * @since 2.0.0 */ abstract public function execute($ids); @@ -129,7 +116,6 @@ abstract public function execute($ids); * * @param string $tableName * @return string - * @since 2.0.0 */ protected function _getTemporaryTableName($tableName) { @@ -143,7 +129,6 @@ protected function _getTemporaryTableName($tableName) * @param int|string $storeId * @return void * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _cleanOnFailure(array $tablesList, $storeId) { @@ -161,7 +146,6 @@ protected function _cleanOnFailure(array $tablesList, $storeId) * @param array $changedIds * @return void * @throws \Exception - * @since 2.0.0 */ protected function _reindex($storeId, array $changedIds = []) { @@ -190,7 +174,6 @@ protected function _reindex($storeId, array $changedIds = []) * as key - type code, value - instance model * * @return array - * @since 2.0.0 */ protected function _getProductTypeInstances() { @@ -212,7 +195,6 @@ protected function _getProductTypeInstances() * @param int|array $productIds Update child product(s) only * @return \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _updateRelationProducts($storeId, $productIds = null) { @@ -272,7 +254,6 @@ protected function _updateRelationProducts($storeId, $productIds = null) * * @param int $storeId * @return \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction - * @since 2.0.0 */ protected function _cleanRelationProducts($storeId) { @@ -341,7 +322,6 @@ protected function _cleanRelationProducts($storeId) * * @param int $storeId * @return bool - * @since 2.0.0 */ protected function _isFlatTableExists($storeId) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Eraser.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Eraser.php index f2f422a51dc6e..bb4b459c526a4 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Eraser.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Eraser.php @@ -12,25 +12,21 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Flat\Action\Eraser * - * @since 2.0.0 */ class Eraser { /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $productIndexerHelper; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -38,7 +34,6 @@ class Eraser * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Catalog\Helper\Product\Flat\Indexer $productHelper * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -56,7 +51,6 @@ public function __construct( * @param array $ids * @param int $storeId * @return void - * @since 2.0.0 */ public function removeDeletedProducts(array &$ids, $storeId) { @@ -85,7 +79,6 @@ public function removeDeletedProducts(array &$ids, $storeId) * @param int|array $productId * @param null|int $storeId * @return void - * @since 2.0.0 */ public function deleteProductsFromStore($productId, $storeId = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Full.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Full.php index a52cdd7d6bf0c..4f0fe9ec29581 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Full.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Full.php @@ -8,7 +8,6 @@ /** * Class Full reindex action * - * @since 2.0.0 */ class Full extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction { @@ -21,7 +20,6 @@ class Full extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction * @throws \Magento\Framework\Exception\LocalizedException * @throws \Exception * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute($ids = null) { 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 d3fa253feeb11..7e20919e6cce2 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 @@ -12,7 +12,6 @@ /** * Class Indexer - * @since 2.0.0 */ class Indexer { @@ -29,20 +28,17 @@ class Indexer /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productIndexerHelper; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; /** * @param ResourceConnection $resource * @param \Magento\Catalog\Helper\Product\Flat\Indexer $productHelper - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -61,7 +57,6 @@ public function __construct( * @return \Magento\Catalog\Model\Indexer\Product\Flat * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function write($storeId, $productId, $valueFieldSuffix = '') { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Row.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Row.php index efb89186a0485..b5dbdb68606ff 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Row.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Row.php @@ -10,19 +10,16 @@ /** * Class Row reindex action - * @since 2.0.0 */ class Row extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction { /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Action\Indexer - * @since 2.0.0 */ protected $flatItemWriter; /** * @var Eraser - * @since 2.0.0 */ protected $flatItemEraser; @@ -35,7 +32,6 @@ class Row extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction * @param FlatTableBuilder $flatTableBuilder * @param Indexer $flatItemWriter * @param Eraser $flatItemEraser - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -65,7 +61,6 @@ public function __construct( * @param int|null $id * @return \Magento\Catalog\Model\Indexer\Product\Flat\Action\Row * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($id = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows.php index 7f962d62806e3..7b2a6272c7052 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows.php @@ -11,13 +11,11 @@ /** * Class Rows reindex action for mass actions * - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction { /** * @var Eraser - * @since 2.0.0 */ protected $flatItemEraser; @@ -29,7 +27,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction * @param TableBuilder $tableBuilder * @param FlatTableBuilder $flatTableBuilder * @param Eraser $flatItemEraser - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -58,7 +55,6 @@ public function __construct( * * @return \Magento\Catalog\Model\Indexer\Product\Flat\Action\Rows * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($ids) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows/TableData.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows/TableData.php index b54878fdf9768..54f06463dc8a1 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows/TableData.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Rows/TableData.php @@ -9,32 +9,27 @@ /** * Class TableData - * @since 2.0.0 */ class TableData implements \Magento\Catalog\Model\Indexer\Product\Flat\TableDataInterface { /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productIndexerHelper; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @param \Magento\Framework\App\ResourceConnection $resource * @param \Magento\Catalog\Helper\Product\Flat\Indexer $productIndexerHelper - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ResourceConnection $resource, @@ -51,7 +46,6 @@ public function __construct( * @param string $flatDropName * @param string $temporaryFlatTableName * @return void - * @since 2.0.0 */ public function move($flatTable, $flatDropName, $temporaryFlatTableName) { 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 20f13eb2c79e8..08089d5437e94 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php @@ -12,7 +12,6 @@ /** * Class FlatTableBuilder * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class FlatTableBuilder { @@ -29,31 +28,26 @@ class FlatTableBuilder /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productIndexerHelper; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface $config - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var TableDataInterface - * @since 2.0.0 */ protected $_tableData; @@ -69,7 +63,6 @@ class FlatTableBuilder * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param TableDataInterface $tableData - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Product\Flat\Indexer $productIndexerHelper, @@ -95,7 +88,6 @@ public function __construct( * @param string $tableDropSuffix * @param bool $fillTmpTables * @return void - * @since 2.0.0 */ public function build($storeId, $changedIds, $valueFieldSuffix, $tableDropSuffix, $fillTmpTables) { @@ -126,7 +118,6 @@ public function build($storeId, $changedIds, $valueFieldSuffix, $tableDropSuffix * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _createTemporaryFlatTable($storeId) { @@ -216,7 +207,6 @@ protected function _createTemporaryFlatTable($storeId) * @param int|string $storeId * @param string $valueFieldSuffix * @return void - * @since 2.0.0 */ protected function _fillTemporaryFlatTable(array $tables, $storeId, $valueFieldSuffix) { @@ -311,7 +301,6 @@ protected function _fillTemporaryFlatTable(array $tables, $storeId, $valueFieldS * @param int|string $storeId * @param string $valueFieldSuffix * @return void - * @since 2.0.0 */ protected function _updateTemporaryTableByStoreValues( array $tables, @@ -375,7 +364,6 @@ protected function _updateTemporaryTableByStoreValues( * * @param string $tableName * @return string - * @since 2.0.0 */ protected function _getTemporaryTableName($tableName) { 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 8103b85bf758f..c58dd58333c3e 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 @@ -11,7 +11,6 @@ /** * Plugin for Magento\Indexer\Model\Config\Data - * @since 2.0.0 */ class IndexerConfigData { @@ -23,7 +22,6 @@ class IndexerConfigData /** * @param ProductFlatIndexerState $state - * @since 2.0.0 */ public function __construct(ProductFlatIndexerState $state) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/Store.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/Store.php index f6aa4a8bfa964..33c9144de1137 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/Store.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/Store.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Flat\Plugin\Store * - * @since 2.0.0 */ class Store { @@ -19,13 +18,11 @@ class Store * Product flat indexer processor * * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor) { @@ -40,7 +37,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processo * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave(\Magento\Store\Model\ResourceModel\Store $subject, \Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/StoreGroup.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/StoreGroup.php index 6bb1ac404e35c..25918bd1453d8 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/StoreGroup.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Plugin/StoreGroup.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Flat\Plugin\StoreGroup * - * @since 2.0.0 */ class StoreGroup { @@ -19,13 +18,11 @@ class StoreGroup * Product flat indexer processor * * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor) { @@ -40,7 +37,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processo * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave(\Magento\Store\Model\ResourceModel\Group $subject, \Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Processor.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Processor.php index ac7302a56aa34..9189cb4c16d46 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Processor.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/Processor.php @@ -9,7 +9,6 @@ * Catalog flat indexer * * @api - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { @@ -20,14 +19,12 @@ class Processor extends \Magento\Framework\Indexer\AbstractProcessor /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\State - * @since 2.0.0 */ protected $_state; /** * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry * @param State $state - * @since 2.0.0 */ public function __construct( \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, @@ -43,7 +40,6 @@ public function __construct( * @param int $id * @param bool $forceReindex * @return void - * @since 2.0.0 */ public function reindexRow($id, $forceReindex = false) { @@ -59,7 +55,6 @@ public function reindexRow($id, $forceReindex = false) * @param int[] $ids * @param bool $forceReindex * @return void - * @since 2.0.0 */ public function reindexList($ids, $forceReindex = false) { @@ -73,7 +68,6 @@ public function reindexList($ids, $forceReindex = false) * Run full reindex * * @return void - * @since 2.0.0 */ public function reindexAll() { @@ -87,7 +81,6 @@ public function reindexAll() * Mark Product flat indexer as invalid * * @return void - * @since 2.0.0 */ public function markIndexerAsInvalid() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php index 7bc7deb06abe8..f0f044b1d0e76 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/State.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState { @@ -23,7 +22,6 @@ class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productFlatIndexerHelper; @@ -32,7 +30,6 @@ class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry * @param \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper * @param bool $isAvailable - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -46,7 +43,6 @@ public function __construct( /** * @return \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ public function getFlatIndexerHelper() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/System/Config/Mode.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/System/Config/Mode.php index 0bde470168d94..985c5a53a8dd9 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/System/Config/Mode.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/System/Config/Mode.php @@ -7,19 +7,16 @@ /** * Flat product on/off backend - * @since 2.0.0 */ class Mode extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @var \Magento\Indexer\Model\Indexer\State - * @since 2.0.0 */ protected $indexerState; @@ -33,7 +30,6 @@ class Mode extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -55,7 +51,6 @@ public function __construct( * Set after commit callback * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -67,7 +62,6 @@ public function afterSave() * Process flat enabled mode change * * @return void - * @since 2.0.0 */ public function processValue() { 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 226d7394d6deb..91ab1d0915ea7 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,13 @@ /** * Class Builder - * @since 2.2.0 + * @since 2.1.4 */ class Builder implements BuilderInterface { /** * @var \Magento\Framework\DB\Ddl\Table - * @since 2.2.0 + * @since 2.1.4 */ private $tableInstance; @@ -22,7 +22,7 @@ class Builder implements BuilderInterface * * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param string $tableName - * @since 2.2.0 + * @since 2.1.4 */ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $connection, $tableName) { @@ -31,7 +31,7 @@ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $conn /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.4 */ public function addColumn($name, $type, $size = null, $options = [], $comment = null) { @@ -41,7 +41,7 @@ public function addColumn($name, $type, $size = null, $options = [], $comment = /** * @inheritdoc - * @since 2.2.0 + * @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 86e94f1687c87..f0bd3b1348828 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.2.0 + * @since 2.1.4 */ interface BuilderInterface { @@ -33,13 +33,13 @@ interface BuilderInterface * @param string $comment column description * @return $this * @throws \Zend_Db_Exception - * @since 2.2.0 + * @since 2.1.4 */ public function addColumn($name, $type, $size = null, $options = [], $comment = null); /** * @return \Magento\Framework\DB\Ddl\Table - * @since 2.2.0 + * @since 2.1.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 1a25e4b96d571..b63e83c1d3382 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php @@ -10,19 +10,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Flat\TableBuilder * - * @since 2.0.0 */ class TableBuilder { /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productIndexerHelper; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; @@ -40,7 +37,7 @@ class TableBuilder /** * @var BuilderInterfaceFactory - * @since 2.2.0 + * @since 2.1.4 */ private $tableBuilderFactory; @@ -48,7 +45,6 @@ class TableBuilder * Check whether builder was executed * * @var bool - * @since 2.0.0 */ protected $_isExecuted = false; @@ -58,7 +54,6 @@ class TableBuilder * @param \Magento\Catalog\Helper\Product\Flat\Indexer $productIndexerHelper * @param \Magento\Framework\App\ResourceConnection $resource * @param BuilderInterfaceFactory|null $tableBuilderFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Product\Flat\Indexer $productIndexerHelper, @@ -79,7 +74,6 @@ public function __construct( * @param array $changedIds * @param string $valueFieldSuffix * @return void - * @since 2.0.0 */ public function build($storeId, $changedIds, $valueFieldSuffix) { @@ -141,7 +135,6 @@ public function build($storeId, $changedIds, $valueFieldSuffix) * @param string $valueFieldSuffix * * @return array - * @since 2.0.0 */ protected function _createTemporaryTable($tableName, array $columns, $valueFieldSuffix) { @@ -213,7 +206,6 @@ protected function _createTemporaryTable($tableName, array $columns, $valueField * * @param string $tableName * @return string - * @since 2.0.0 */ protected function _getTemporaryTableName($tableName) { @@ -227,7 +219,6 @@ protected function _getTemporaryTableName($tableName) * @param array $columns * @param array $changedIds * @return void - * @since 2.0.0 */ protected function _fillTemporaryEntityTable($tableName, array $columns, array $changedIds = []) { @@ -256,7 +247,6 @@ protected function _fillTemporaryEntityTable($tableName, array $columns, array $ * @param string $tableName * @param string $columnName * @return void - * @since 2.0.0 */ protected function _addPrimaryKeyToTable($tableName, $columnName = 'entity_id') { @@ -277,7 +267,6 @@ protected function _addPrimaryKeyToTable($tableName, $columnName = 'entity_id') * @param string $valueFieldSuffix * @param int $storeId * @return void - * @since 2.0.0 */ protected function _fillTemporaryTable( $tableName, diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableData.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableData.php index f0d90ee58efee..81cacc4660d6c 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableData.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableData.php @@ -9,25 +9,21 @@ /** * Class TableData - * @since 2.0.0 */ class TableData implements TableDataInterface { /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\ResourceConnection $resource) { @@ -41,7 +37,6 @@ public function __construct(\Magento\Framework\App\ResourceConnection $resource) * @param string $flatDropName * @param string $temporaryFlatTableName * @return void - * @since 2.0.0 */ public function move($flatTable, $flatDropName, $temporaryFlatTableName) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php index 200aa8e24554a..59ba258dc129a 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php @@ -7,7 +7,6 @@ /** * Interface TableDataInterface - * @since 2.0.0 */ interface TableDataInterface { @@ -18,7 +17,6 @@ interface TableDataInterface * @param string $flatDropName * @param string $temporaryFlatTableName * @return void - * @since 2.0.0 */ public function move($flatTable, $flatDropName, $temporaryFlatTableName); } diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price.php index 369ea0436ce73..25bda35762d53 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price.php @@ -10,31 +10,27 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Price * - * @since 2.0.0 */ class Price implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Action\Row - * @since 2.0.0 */ protected $_productPriceIndexerRow; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Action\Rows - * @since 2.0.0 */ protected $_productPriceIndexerRows; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Action\Full - * @since 2.0.0 */ protected $_productPriceIndexerFull; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ private $cacheContext; @@ -42,7 +38,6 @@ class Price implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fram * @param Price\Action\Row $productPriceIndexerRow * @param Price\Action\Rows $productPriceIndexerRows * @param Price\Action\Full $productPriceIndexerFull - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Indexer\Product\Price\Action\Row $productPriceIndexerRow, @@ -59,7 +54,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -71,7 +65,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -89,7 +82,6 @@ public function executeFull() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -101,7 +93,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -112,8 +103,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.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 fea22d2fb1ff9..b44ea5ec79ec4 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/AbstractAction.php @@ -9,7 +9,6 @@ * Abstract action reindex class * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractAction { @@ -17,13 +16,11 @@ abstract class AbstractAction * Default Product Type Price indexer resource model * * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice - * @since 2.0.0 */ protected $_defaultIndexerResource; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; @@ -31,13 +28,11 @@ abstract class AbstractAction * Core config model * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -45,25 +40,21 @@ abstract class AbstractAction * Currency factory * * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $_dateTime; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_catalogProductType; @@ -71,13 +62,11 @@ abstract class AbstractAction * Indexer price factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\Factory - * @since 2.0.0 */ protected $_indexerPriceFactory; /** * @var array|null - * @since 2.0.0 */ protected $_indexers; @@ -96,7 +85,6 @@ abstract class AbstractAction * @param \Magento\Catalog\Model\Product\Type $catalogProductType * @param \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\Factory $indexerPriceFactory * @param \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice $defaultIndexerResource - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $config, @@ -124,7 +112,6 @@ public function __construct( * * @param array|int $ids * @return void - * @since 2.0.0 */ abstract public function execute($ids); @@ -133,7 +120,6 @@ abstract public function execute($ids); * * @param array $processIds * @return \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction - * @since 2.0.0 */ protected function _syncData(array $processIds = []) { @@ -165,7 +151,6 @@ protected function _syncData(array $processIds = []) * Prepare website current dates table * * @return \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction - * @since 2.0.0 */ protected function _prepareWebsiteDateTable() { @@ -228,7 +213,6 @@ protected function _prepareWebsiteDateTable() * * @param int|array $entityIds the entity ids limitation * @return \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction - * @since 2.0.0 */ protected function _prepareTierPriceIndex($entityIds = null) { @@ -325,7 +309,6 @@ protected function _prepareTierPriceIndex($entityIds = null) * Retrieve price indexers per product type * * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\PriceInterface[] - * @since 2.0.0 */ public function getTypeIndexers() { @@ -358,7 +341,6 @@ public function getTypeIndexers() * @param string $productTypeId * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\PriceInterface * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function _getIndexer($productTypeId) { @@ -376,7 +358,6 @@ protected function _getIndexer($productTypeId) * @param string $destTable * @param null|string $where * @return void - * @since 2.0.0 */ protected function _insertFromTable($sourceTable, $destTable, $where = null) { @@ -400,7 +381,6 @@ protected function _insertFromTable($sourceTable, $destTable, $where = null) * * @param string $table * @return void - * @since 2.0.0 */ protected function _emptyTable($table) { @@ -413,7 +393,6 @@ protected function _emptyTable($table) * @param array $changedIds * @return array Affected ids * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _reindexRows($changedIds = []) { @@ -489,7 +468,6 @@ protected function _reindexRows($changedIds = []) * @param null|array $parentIds * @param array $excludeIds * @return \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction - * @since 2.0.0 */ protected function _copyRelationIndexData($parentIds, $excludeIds = null) { 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 f15c7963fda9d..1c86ac7cfe6c5 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 @@ -10,7 +10,6 @@ /** * Class Full reindex action * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Full extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction { @@ -100,7 +99,6 @@ public function __construct( * @return void * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute($ids = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Row.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Row.php index 6d947575ed01f..6af794bc00c78 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Row.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Row.php @@ -8,7 +8,6 @@ /** * Class Row reindex action * - * @since 2.0.0 */ class Row extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction { @@ -19,7 +18,6 @@ class Row extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction * @return void * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($id = null) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Rows.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Rows.php index 7493a98c8fa49..27b50eea883b0 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Rows.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Rows.php @@ -8,7 +8,6 @@ /** * Class Rows reindex action for mass actions * - * @since 2.0.0 */ class Rows extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction { @@ -19,7 +18,6 @@ class Rows extends \Magento\Catalog\Model\Indexer\Product\Price\AbstractAction * @return void * @throws \Magento\Framework\Exception\InputException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute($ids) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/AbstractPlugin.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/AbstractPlugin.php index 8ad9cc4a25fbe..dacbc5ec81473 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/AbstractPlugin.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/AbstractPlugin.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Price\Plugin\AbstractPlugin * - * @since 2.0.0 */ abstract class AbstractPlugin { /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct(\Magento\Framework\Indexer\IndexerRegistry $indexerRegistry) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\Indexer\IndexerRegistry $indexerR * Invalidate indexer * * @return void - * @since 2.0.0 */ protected function invalidateIndexer() { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/CustomerGroup.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/CustomerGroup.php index 0fea2013a746c..9c421e0a19ea1 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/CustomerGroup.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/CustomerGroup.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Price\Plugin\CustomerGroup * - * @since 2.0.0 */ class CustomerGroup extends AbstractPlugin { @@ -21,7 +20,6 @@ class CustomerGroup extends AbstractPlugin * @param string $result * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterSave(GroupRepositoryInterface $subject, $result) { @@ -36,7 +34,6 @@ public function afterSave(GroupRepositoryInterface $subject, $result) * @param string $result * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete(GroupRepositoryInterface $subject, $result) { @@ -51,7 +48,6 @@ public function afterDelete(GroupRepositoryInterface $subject, $result) * @param string $result * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDeleteById(GroupRepositoryInterface $subject, $result) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/Website.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/Website.php index 41ee1a2638b4e..e88bb8ff836ba 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/Website.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Plugin/Website.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Model\Indexer\Product\Price\Plugin\Website * - * @since 2.0.0 */ class Website { /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $_processor; /** * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $processor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Price\Processor $processor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Price\Process * @return \Magento\Store\Model\ResourceModel\Website * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete(\Magento\Store\Model\ResourceModel\Website $subject, $result) { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Processor.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Processor.php index 7a1fb197f4e6f..ae91320743ccd 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/Processor.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/Processor.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Price/System/Config/PriceScope.php b/app/code/Magento/Catalog/Model/Indexer/Product/Price/System/Config/PriceScope.php index 5bebde72706fd..1b0bdcc1b4f6c 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Price/System/Config/PriceScope.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Price/System/Config/PriceScope.php @@ -7,13 +7,11 @@ /** * Price scope backend model - * @since 2.0.0 */ class PriceScope extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -26,7 +24,6 @@ class PriceScope extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -46,7 +43,6 @@ public function __construct( * Set after commit callback * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -58,7 +54,6 @@ public function afterSave() * Process product price scope change * * @return void - * @since 2.0.0 */ public function processValue() { diff --git a/app/code/Magento/Catalog/Model/Layer.php b/app/code/Magento/Catalog/Model/Layer.php index 9ca610a06e80e..53ff52dc971f1 100644 --- a/app/code/Magento/Catalog/Model/Layer.php +++ b/app/code/Magento/Catalog/Model/Layer.php @@ -15,7 +15,6 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Layer extends \Magento\Framework\DataObject { @@ -23,7 +22,6 @@ class Layer extends \Magento\Framework\DataObject * Product collections array * * @var array - * @since 2.0.0 */ protected $_productCollections = []; @@ -31,7 +29,6 @@ class Layer extends \Magento\Framework\DataObject * Key which can be used for load/save aggregation data * * @var string - * @since 2.0.0 */ protected $_stateKey = null; @@ -39,7 +36,6 @@ class Layer extends \Magento\Framework\DataObject * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry = null; @@ -47,7 +43,6 @@ class Layer extends \Magento\Framework\DataObject * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -55,7 +50,6 @@ class Layer extends \Magento\Framework\DataObject * Catalog product * * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.0.0 */ protected $_catalogProduct; @@ -63,7 +57,6 @@ class Layer extends \Magento\Framework\DataObject * Attribute collection factory * * @var AttributeCollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -71,31 +64,26 @@ class Layer extends \Magento\Framework\DataObject * Layer state factory * * @var \Magento\Catalog\Model\Layer\StateFactory - * @since 2.0.0 */ protected $_layerStateFactory; /** * @var \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface - * @since 2.0.0 */ protected $collectionProvider; /** * @var \Magento\Catalog\Model\Layer\Category\StateKey - * @since 2.0.0 */ protected $stateKeyGenerator; /** * @var \Magento\Catalog\Model\Layer\Category\CollectionFilter - * @since 2.0.0 */ protected $collectionFilter; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -108,7 +96,6 @@ class Layer extends \Magento\Framework\DataObject * @param \Magento\Framework\Registry $registry * @param CategoryRepositoryInterface $categoryRepository * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\ContextInterface $context, @@ -136,7 +123,6 @@ public function __construct( * Get layer state key * * @return string - * @since 2.0.0 */ public function getStateKey() { @@ -150,7 +136,6 @@ public function getStateKey() * Retrieve current layer product collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getProductCollection() { @@ -170,7 +155,6 @@ public function getProductCollection() * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function prepareProductCollection($collection) { @@ -186,7 +170,6 @@ public function prepareProductCollection($collection) * about existing intexes * * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function apply() { @@ -206,7 +189,6 @@ public function apply() * If no category found in registry, the root will be taken * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getCurrentCategory() { @@ -230,7 +212,6 @@ public function getCurrentCategory() * @param mixed $category * @return \Magento\Catalog\Model\Layer * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function setCurrentCategory($category) { @@ -261,7 +242,6 @@ public function setCurrentCategory($category) * Retrieve current store model * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getCurrentStore() { @@ -272,7 +252,6 @@ public function getCurrentStore() * Retrieve layer state object * * @return \Magento\Catalog\Model\Layer\State - * @since 2.0.0 */ public function getState() { diff --git a/app/code/Magento/Catalog/Model/Layer/AvailabilityFlagInterface.php b/app/code/Magento/Catalog/Model/Layer/AvailabilityFlagInterface.php index f1688fc83b0cd..597932bf897a4 100644 --- a/app/code/Magento/Catalog/Model/Layer/AvailabilityFlagInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/AvailabilityFlagInterface.php @@ -8,7 +8,6 @@ /** * @api - * @since 2.0.0 */ interface AvailabilityFlagInterface { @@ -18,7 +17,6 @@ interface AvailabilityFlagInterface * @param \Magento\Catalog\Model\Layer $layer * @param array $filters * @return bool - * @since 2.0.0 */ public function isEnabled($layer, array $filters = []); } diff --git a/app/code/Magento/Catalog/Model/Layer/Category.php b/app/code/Magento/Catalog/Model/Layer/Category.php index e1ef3a7039dab..9c61144d9c705 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category.php +++ b/app/code/Magento/Catalog/Model/Layer/Category.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Layer\Category * - * @since 2.0.0 */ class Category extends \Magento\Catalog\Model\Layer { @@ -25,7 +24,6 @@ class Category extends \Magento\Catalog\Model\Layer * @param \Magento\Framework\Registry $registry * @param CategoryRepositoryInterface $categoryRepository * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, diff --git a/app/code/Magento/Catalog/Model/Layer/Category/AvailabilityFlag.php b/app/code/Magento/Catalog/Model/Layer/Category/AvailabilityFlag.php index 865ddc1f5dc7e..01f9233cad80b 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category/AvailabilityFlag.php +++ b/app/code/Magento/Catalog/Model/Layer/Category/AvailabilityFlag.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Layer\Category\AvailabilityFlag * - * @since 2.0.0 */ class AvailabilityFlag implements AvailabilityFlagInterface { @@ -22,7 +21,6 @@ class AvailabilityFlag implements AvailabilityFlagInterface * @param \Magento\Catalog\Model\Layer $layer * @param array $filters * @return bool - * @since 2.0.0 */ public function isEnabled($layer, array $filters = []) { @@ -32,7 +30,6 @@ public function isEnabled($layer, array $filters = []) /** * @param array $filters * @return bool - * @since 2.0.0 */ protected function canShowOptions($filters) { diff --git a/app/code/Magento/Catalog/Model/Layer/Category/CollectionFilter.php b/app/code/Magento/Catalog/Model/Layer/Category/CollectionFilter.php index 579e2a9bb2e60..f27ae538cecfa 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category/CollectionFilter.php +++ b/app/code/Magento/Catalog/Model/Layer/Category/CollectionFilter.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Layer\Category\CollectionFilter * - * @since 2.0.0 */ class CollectionFilter implements CollectionFilterInterface { @@ -20,7 +19,6 @@ class CollectionFilter implements CollectionFilterInterface * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $productVisibility; @@ -28,7 +26,6 @@ class CollectionFilter implements CollectionFilterInterface * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $catalogConfig; @@ -37,7 +34,6 @@ class CollectionFilter implements CollectionFilterInterface * * @param \Magento\Catalog\Model\Product\Visibility $productVisibility * @param \Magento\Catalog\Model\Config $catalogConfig - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Visibility $productVisibility, @@ -53,7 +49,6 @@ public function __construct( * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param \Magento\Catalog\Model\Category $category * @return void - * @since 2.0.0 */ public function filter( $collection, diff --git a/app/code/Magento/Catalog/Model/Layer/Category/FilterableAttributeList.php b/app/code/Magento/Catalog/Model/Layer/Category/FilterableAttributeList.php index a1e0cc2a72155..f2d60f41c66ab 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category/FilterableAttributeList.php +++ b/app/code/Magento/Catalog/Model/Layer/Category/FilterableAttributeList.php @@ -12,19 +12,16 @@ /** * Class \Magento\Catalog\Model\Layer\Category\FilterableAttributeList * - * @since 2.0.0 */ class FilterableAttributeList implements FilterableAttributeListInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -33,7 +30,6 @@ class FilterableAttributeList implements FilterableAttributeListInterface * * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory, @@ -47,7 +43,6 @@ public function __construct( * Retrieve list of filterable attributes * * @return array|\Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getList() { @@ -67,7 +62,6 @@ public function getList() * * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection $collection * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected function _prepareAttributeCollection($collection) { diff --git a/app/code/Magento/Catalog/Model/Layer/Category/ItemCollectionProvider.php b/app/code/Magento/Catalog/Model/Layer/Category/ItemCollectionProvider.php index 3fea217ac13f0..d82fcfc19d1a1 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category/ItemCollectionProvider.php +++ b/app/code/Magento/Catalog/Model/Layer/Category/ItemCollectionProvider.php @@ -11,14 +11,12 @@ /** * Class \Magento\Catalog\Model\Layer\Category\ItemCollectionProvider * - * @since 2.0.0 */ class ItemCollectionProvider implements ItemCollectionProviderInterface { /** * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getCollection(\Magento\Catalog\Model\Category $category) { diff --git a/app/code/Magento/Catalog/Model/Layer/Category/StateKey.php b/app/code/Magento/Catalog/Model/Layer/Category/StateKey.php index cbcd5d2e4b130..15f150f4f7de2 100644 --- a/app/code/Magento/Catalog/Model/Layer/Category/StateKey.php +++ b/app/code/Magento/Catalog/Model/Layer/Category/StateKey.php @@ -12,26 +12,22 @@ /** * Class \Magento\Catalog\Model\Layer\Category\StateKey * - * @since 2.0.0 */ class StateKey implements StateKeyInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Customer\Model\Session $customerSession - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -46,7 +42,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Category $category * @return string - * @since 2.0.0 */ public function toString($category) { diff --git a/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php b/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php index 68dc303eb717a..0727a6d4d3c7b 100644 --- a/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Model\Layer\CollectionFilterInterface * - * @since 2.0.0 */ interface CollectionFilterInterface { @@ -19,7 +18,6 @@ interface CollectionFilterInterface * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param \Magento\Catalog\Model\Category $category * @return void - * @since 2.0.0 */ public function filter( $collection, diff --git a/app/code/Magento/Catalog/Model/Layer/Context.php b/app/code/Magento/Catalog/Model/Layer/Context.php index 83ff944183ddc..bc9c71f3fbd62 100644 --- a/app/code/Magento/Catalog/Model/Layer/Context.php +++ b/app/code/Magento/Catalog/Model/Layer/Context.php @@ -16,25 +16,21 @@ * * As Magento moves from inheritance-based APIs all such classes will be deprecated together with * the classes they were introduced for. - * @since 2.0.0 */ class Context implements ContextInterface { /** * @var ItemCollectionProviderInterface - * @since 2.0.0 */ protected $collectionProvider; /** * @var StateKeyInterface - * @since 2.0.0 */ protected $stateKey; /** * @var CollectionFilterInterface - * @since 2.0.0 */ protected $collectionFilter; @@ -42,7 +38,6 @@ class Context implements ContextInterface * @param ItemCollectionProviderInterface $collectionProvider * @param StateKeyInterface $stateKey * @param CollectionFilterInterface $collectionFilter - * @since 2.0.0 */ public function __construct( ItemCollectionProviderInterface $collectionProvider, @@ -56,7 +51,6 @@ public function __construct( /** * @return ItemCollectionProviderInterface - * @since 2.0.0 */ public function getCollectionProvider() { @@ -65,7 +59,6 @@ public function getCollectionProvider() /** * @return StateKeyInterface - * @since 2.0.0 */ public function getStateKey() { @@ -74,7 +67,6 @@ public function getStateKey() /** * @return CollectionFilterInterface - * @since 2.0.0 */ public function getCollectionFilter() { diff --git a/app/code/Magento/Catalog/Model/Layer/ContextInterface.php b/app/code/Magento/Catalog/Model/Layer/ContextInterface.php index e137b17f6dfd7..00aec9db66f7a 100644 --- a/app/code/Magento/Catalog/Model/Layer/ContextInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/ContextInterface.php @@ -16,25 +16,21 @@ * * As Magento moves from inheritance-based APIs all such classes will be deprecated together with their * corresponding abstract classes. - * @since 2.0.0 */ interface ContextInterface { /** * @return ItemCollectionProviderInterface - * @since 2.0.0 */ public function getCollectionProvider(); /** * @return StateKeyInterface - * @since 2.0.0 */ public function getStateKey(); /** * @return CollectionFilterInterface - * @since 2.0.0 */ public function getCollectionFilter(); } diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php index 0c6d934eff60a..da9caa59b0980 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php @@ -9,7 +9,6 @@ * Layer category filter abstract model * * @api - * @since 2.0.0 */ abstract class AbstractFilter extends \Magento\Framework\DataObject implements FilterInterface { @@ -19,7 +18,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Request variable name with filter value * * @var string - * @since 2.0.0 */ protected $_requestVar; @@ -27,7 +25,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Array of filter items * * @var array - * @since 2.0.0 */ protected $_items; @@ -35,7 +32,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $_catalogLayer; @@ -43,7 +39,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -51,7 +46,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Filter item factory * * @var \Magento\Catalog\Model\Layer\Filter\ItemFactory - * @since 2.0.0 */ protected $_filterItemFactory; @@ -59,7 +53,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * Item Data Builder * * @var \Magento\Catalog\Model\Layer\Filter\Item\DataBuilder - * @since 2.0.0 */ protected $itemDataBuilder; @@ -72,7 +65,6 @@ abstract class AbstractFilter extends \Magento\Framework\DataObject implements F * @param \Magento\Catalog\Model\Layer\Filter\Item\DataBuilder $itemDataBuilder * @param array $data * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -96,7 +88,6 @@ public function __construct( * * @param string $varName * @return \Magento\Catalog\Model\Layer\Filter\AbstractFilter - * @since 2.0.0 */ public function setRequestVar($varName) { @@ -108,7 +99,6 @@ public function setRequestVar($varName) * Get request variable name which is used for apply filter * * @return string - * @since 2.0.0 */ public function getRequestVar() { @@ -119,7 +109,6 @@ public function getRequestVar() * Get filter value for reset current filter state * * @return mixed - * @since 2.0.0 */ public function getResetValue() { @@ -130,7 +119,6 @@ public function getResetValue() * Retrieve filter value for Clear All Items filter state * * @return mixed - * @since 2.0.0 */ public function getCleanValue() { @@ -143,7 +131,6 @@ public function getCleanValue() * @param \Magento\Framework\App\RequestInterface $request * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -154,7 +141,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * Get fiter items count * * @return int - * @since 2.0.0 */ public function getItemsCount() { @@ -165,7 +151,6 @@ public function getItemsCount() * Get all filter items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -180,7 +165,6 @@ public function getItems() * * @param array $items * @return $this - * @since 2.0.0 */ public function setItems(array $items) { @@ -201,7 +185,6 @@ public function setItems(array $items) * ) * * @return array - * @since 2.0.0 */ protected function _getItemsData() { @@ -212,7 +195,6 @@ protected function _getItemsData() * Initialize filter items * * @return \Magento\Catalog\Model\Layer\Filter\AbstractFilter - * @since 2.0.0 */ protected function _initItems() { @@ -229,7 +211,6 @@ protected function _initItems() * Retrieve layer object * * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function getLayer() { @@ -248,7 +229,6 @@ public function getLayer() * @param mixed $value * @param int $count * @return \Magento\Catalog\Model\Layer\Filter\Item - * @since 2.0.0 */ protected function _createItem($label, $value, $count = 0) { @@ -263,7 +243,6 @@ protected function _createItem($label, $value, $count = 0) * Get all product ids from from collection with applied filters * * @return array - * @since 2.0.0 */ protected function _getFilterEntityIds() { @@ -274,7 +253,6 @@ protected function _getFilterEntityIds() * Get product collection select object with applied filters * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getBaseCollectionSql() { @@ -286,7 +264,6 @@ protected function _getBaseCollectionSql() * * @param \Magento\Eav\Model\Entity\Attribute $attribute * @return \Magento\Catalog\Model\Layer\Filter\AbstractFilter - * @since 2.0.0 */ public function setAttributeModel($attribute) { @@ -300,7 +277,6 @@ public function setAttributeModel($attribute) * * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAttributeModel() { @@ -316,7 +292,6 @@ public function getAttributeModel() * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getName() { @@ -327,7 +302,6 @@ public function getName() * Retrieve current store id scope * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -343,7 +317,6 @@ public function getStoreId() * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -354,7 +327,6 @@ public function setStoreId($storeId) * Retrieve Website ID scope * * @return int - * @since 2.0.0 */ public function getWebsiteId() { @@ -370,7 +342,6 @@ public function getWebsiteId() * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId) { @@ -381,7 +352,6 @@ public function setWebsiteId($websiteId) * Clear current element link text, for example 'Clear Price' * * @return false|string - * @since 2.0.0 */ public function getClearLinkText() { @@ -394,7 +364,6 @@ public function getClearLinkText() * @param int $optionId * @throws \Magento\Framework\Exception\LocalizedException * @return string|bool - * @since 2.0.0 */ protected function getOptionText($optionId) { @@ -406,7 +375,6 @@ protected function getOptionText($optionId) * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return int - * @since 2.0.0 */ protected function getAttributeIsFilterable($attribute) { @@ -419,7 +387,6 @@ protected function getAttributeIsFilterable($attribute) * @param int $optionCount Count of search results with this option * @param int $totalSize Current search results count * @return bool - * @since 2.0.0 */ protected function isOptionReducesResults($optionCount, $totalSize) { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Attribute.php b/app/code/Magento/Catalog/Model/Layer/Filter/Attribute.php index 6c8abf957a295..12b44f5fcd124 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Attribute.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Attribute.php @@ -9,7 +9,6 @@ * Layer attribute filter * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Attribute extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter { @@ -17,7 +16,6 @@ class Attribute extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Resource instance * * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Attribute - * @since 2.0.0 */ protected $_resource; @@ -25,13 +23,11 @@ class Attribute extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var \Magento\Framework\Filter\StripTags - * @since 2.0.0 */ protected $tagFilter; @@ -44,7 +40,6 @@ class Attribute extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * @param \Magento\Framework\Stdlib\StringUtils $string * @param \Magento\Framework\Filter\StripTags $tagFilter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -67,7 +62,6 @@ public function __construct( * Retrieve resource instance * * @return \Magento\Catalog\Model\ResourceModel\Layer\Filter\Attribute - * @since 2.0.0 */ protected function _getResource() { @@ -79,7 +73,6 @@ protected function _getResource() * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -101,7 +94,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * * @throws \Magento\Framework\Exception\LocalizedException * @return array - * @since 2.0.0 */ protected function _getItemsData() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Category.php b/app/code/Magento/Catalog/Model/Layer/Filter/Category.php index 1dafee30b7d2e..e0a002a968a09 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Category.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Category.php @@ -11,7 +11,6 @@ /** * Layer category filter - * @since 2.0.0 */ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter { @@ -19,7 +18,6 @@ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Active Category Id * * @var int - * @since 2.0.0 */ protected $_categoryId; @@ -27,7 +25,6 @@ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Applied Category * * @var \Magento\Catalog\Model\Category - * @since 2.0.0 */ protected $_appliedCategory; @@ -35,7 +32,6 @@ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Core data * * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper; @@ -43,13 +39,11 @@ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var CategoryDataProvider - * @since 2.0.0 */ private $dataProvider; @@ -63,7 +57,6 @@ class Category extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * @param \Magento\Framework\Escaper $escaper * @param CategoryFactory $categoryDataProviderFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -84,7 +77,6 @@ public function __construct( * Get filter value for reset current filter state * * @return mixed|null - * @since 2.0.0 */ public function getResetValue() { @@ -96,7 +88,6 @@ public function getResetValue() * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -120,7 +111,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * Get filter name * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getName() { @@ -131,7 +121,6 @@ public function getName() * Get data array for building category filter items * * @return array - * @since 2.0.0 */ protected function _getItemsData() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Category.php b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Category.php index 96e6f6ed2a342..f5336f0c540e4 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Category.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Category.php @@ -13,43 +13,36 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\DataProvider\Category * - * @since 2.0.0 */ class Category { /** * @var Registry - * @since 2.0.0 */ private $coreRegistry; /** * @var CategoryModel - * @since 2.0.0 */ private $category; /** * @var int - * @since 2.0.0 */ private $categoryId; /** * @var bool - * @since 2.0.0 */ private $isApplied = false; /** * @var Layer - * @since 2.0.0 */ private $layer; /** * @var CategoryModelFactory - * @since 2.0.0 */ private $categoryFactory; @@ -58,7 +51,6 @@ class Category * @param CategoryModelFactory $categoryFactory * @param Layer $layer * @internal param $data - * @since 2.0.0 */ public function __construct( Registry $coreRegistry, @@ -74,7 +66,6 @@ public function __construct( * Validate category for using as filter * * @return mixed - * @since 2.0.0 */ public function isValid() { @@ -96,7 +87,6 @@ public function isValid() /** * @param int $categoryId * @return $this - * @since 2.0.0 */ public function setCategoryId($categoryId) { @@ -109,7 +99,6 @@ public function setCategoryId($categoryId) /** * @return boolean - * @since 2.0.0 */ private function isApplied() { @@ -120,7 +109,6 @@ private function isApplied() * Get selected category object * * @return CategoryModel - * @since 2.0.0 */ public function getCategory() { @@ -153,7 +141,6 @@ public function getCategory() * Get filter value for reset current filter state * * @return mixed|null - * @since 2.0.0 */ public function getResetValue() { @@ -176,7 +163,6 @@ public function getResetValue() /** * @return Layer - * @since 2.0.0 */ private function getLayer() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Decimal.php b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Decimal.php index 4775120abf330..159f1a4e835ce 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Decimal.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Decimal.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\DataProvider\Decimal * - * @since 2.0.0 */ class Decimal { @@ -18,37 +17,31 @@ class Decimal /** * @var int - * @since 2.0.0 */ private $max; /** * @var int - * @since 2.0.0 */ private $min; /** * @var int - * @since 2.0.0 */ private $range; /** * @var array - * @since 2.0.0 */ private $rangeItemsCount = []; /** * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal - * @since 2.0.0 */ private $resource; /** * @param \Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal $resource - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal $resource) { @@ -58,7 +51,6 @@ public function __construct(\Magento\Catalog\Model\ResourceModel\Layer\Filter\De /** * @param FilterInterface $filter * @return int - * @since 2.0.0 */ public function getRange(FilterInterface $filter) { @@ -80,7 +72,6 @@ public function getRange(FilterInterface $filter) /** * @param int $range * @return void - * @since 2.0.0 */ public function setRange($range) { @@ -92,7 +83,6 @@ public function setRange($range) * * @param FilterInterface $filter * @return float - * @since 2.0.0 */ public function getMaxValue(FilterInterface $filter) { @@ -108,7 +98,6 @@ public function getMaxValue(FilterInterface $filter) * * @param FilterInterface $filter * @return float - * @since 2.0.0 */ public function getMinValue(FilterInterface $filter) { @@ -125,7 +114,6 @@ public function getMinValue(FilterInterface $filter) * @param int $range * @param FilterInterface $filter * @return mixed - * @since 2.0.0 */ public function getRangeItemCounts($range, FilterInterface $filter) { @@ -141,7 +129,6 @@ public function getRangeItemCounts($range, FilterInterface $filter) /** * @return \Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal - * @since 2.0.0 */ public function getResource() { @@ -151,7 +138,6 @@ public function getResource() /** * @param FilterInterface $filter * @return mixed - * @since 2.0.0 */ private function loadValues(FilterInterface $filter) { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Price.php b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Price.php index ed575dc40a1a1..d7d855331fc24 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Price.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/DataProvider/Price.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\DataProvider\Price * - * @since 2.0.0 */ class Price { @@ -46,55 +45,46 @@ class Price /** * @var Layer - * @since 2.0.0 */ private $layer; /** * @var int - * @since 2.0.0 */ private $maxPrice; /** * @var array - * @since 2.0.0 */ private $rangeItemCounts = []; /** * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ private $resource; /** * @var Registry - * @since 2.0.0 */ private $coreRegistry; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var int - * @since 2.0.0 */ private $priceRange; /** * @var array - * @since 2.0.0 */ private $priorIntervals; /** * @var int[] - * @since 2.0.0 */ private $interval = []; @@ -103,7 +93,6 @@ class Price * @param Registry $coreRegistry * @param ScopeConfigInterface $scopeConfig * @param \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource - * @since 2.0.0 */ public function __construct( Layer $layer, @@ -119,7 +108,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getInterval() { @@ -129,7 +117,6 @@ public function getInterval() /** * @param array $interval * @return void - * @since 2.0.0 */ public function setInterval($interval) { @@ -138,7 +125,6 @@ public function setInterval($interval) /** * @return mixed - * @since 2.0.0 */ public function getRangeCalculationValue() { @@ -150,7 +136,6 @@ public function getRangeCalculationValue() /** * @return mixed - * @since 2.0.0 */ public function getRangeStepValue() { @@ -162,7 +147,6 @@ public function getRangeStepValue() /** * @return mixed - * @since 2.0.0 */ public function getOnePriceIntervalValue() { @@ -176,7 +160,6 @@ public function getOnePriceIntervalValue() * Get interval division limit * * @return int - * @since 2.0.0 */ public function getIntervalDivisionLimitValue() { @@ -190,7 +173,6 @@ public function getIntervalDivisionLimitValue() * Get maximum number of intervals * * @return mixed - * @since 2.0.0 */ public function getRangeMaxIntervalsValue() { @@ -202,7 +184,6 @@ public function getRangeMaxIntervalsValue() /** * @return Layer - * @since 2.0.0 */ public function getLayer() { @@ -213,7 +194,6 @@ public function getLayer() * Get price range for building filter steps * * @return int - * @since 2.0.0 */ public function getPriceRange() { @@ -254,7 +234,6 @@ public function getPriceRange() * * @param int $range * @return int - * @since 2.0.0 */ public function getRangeItemCounts($range) { @@ -285,7 +264,6 @@ public function getRangeItemCounts($range) * Get maximum price from layer products set * * @return float - * @since 2.0.0 */ public function getMaxPrice() { @@ -304,7 +282,6 @@ public function getMaxPrice() /** * @param string $filterParams * @return array - * @since 2.0.0 */ public function getPriorFilters($filterParams) { @@ -328,7 +305,6 @@ public function getPriorFilters($filterParams) * * @param string $filter * @return array|bool - * @since 2.0.0 */ public function validateFilter($filter) { @@ -349,7 +325,6 @@ public function validateFilter($filter) * Get filter value for reset current filter state * * @return null|string - * @since 2.0.0 */ public function getResetValue() { @@ -368,7 +343,6 @@ public function getResetValue() /** * @return array - * @since 2.0.0 */ public function getPriorIntervals() { @@ -378,7 +352,6 @@ public function getPriorIntervals() /** * @param array $priorInterval * @return void - * @since 2.0.0 */ public function setPriorIntervals($priorInterval) { @@ -387,7 +360,6 @@ public function setPriorIntervals($priorInterval) /** * @return \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ public function getResource() { @@ -396,7 +368,6 @@ public function getResource() /** * @return string - * @since 2.0.0 */ public function getAdditionalRequestData() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Decimal.php b/app/code/Magento/Catalog/Model/Layer/Filter/Decimal.php index 0a6b11ea5bb67..dac2632ff6db8 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Decimal.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Decimal.php @@ -7,7 +7,6 @@ /** * Catalog Layer Decimal Attribute Filter Model - * @since 2.0.0 */ class Decimal extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter { @@ -15,19 +14,16 @@ class Decimal extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Resource instance * * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var DataProvider\Decimal - * @since 2.0.0 */ private $dataProvider; @@ -39,7 +35,6 @@ class Decimal extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * @param \Magento\Catalog\Model\ResourceModel\Layer\Filter\DecimalFactory $filterDecimalFactory * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -61,7 +56,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -101,7 +95,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * @param int $range * @param float $value * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _renderItemLabel($range, $value) { @@ -114,7 +107,6 @@ protected function _renderItemLabel($range, $value) * Retrieve data for build decimal filter items * * @return array - * @since 2.0.0 */ protected function _getItemsData() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmFactory.php b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmFactory.php index a19dab3d1c0cb..823bd6a781a0b 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmFactory.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmFactory.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory * - * @since 2.0.0 */ class AlgorithmFactory { @@ -31,19 +30,16 @@ class AlgorithmFactory * Object Manager * * @var ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var array - * @since 2.0.0 */ private $algorithms; @@ -53,7 +49,6 @@ class AlgorithmFactory * @param ObjectManagerInterface $objectManager * @param ScopeConfigInterface $scopeConfig * @param array $algorithms - * @since 2.0.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -71,7 +66,6 @@ public function __construct( * @param array $data * @return AlgorithmInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmInterface.php b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmInterface.php index 49fc939ac214b..8ac3cfeebd269 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/AlgorithmInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface AlgorithmInterface { @@ -15,7 +14,6 @@ interface AlgorithmInterface * @param int[] $intervals * @param string $additionalRequestData * @return array - * @since 2.0.0 */ public function getItemsData(array $intervals = [], $additionalRequestData = ''); } diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Auto.php b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Auto.php index 105472c50b483..33e957e1d53de 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Auto.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Auto.php @@ -15,7 +15,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Auto implements AlgorithmInterface { @@ -23,43 +22,36 @@ class Auto implements AlgorithmInterface /** * @var Algorithm - * @since 2.0.0 */ private $algorithm; /** * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ private $layer; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var Render - * @since 2.0.0 */ private $render; /** * @var Registry - * @since 2.0.0 */ private $coreRegistry; /** * @var Range - * @since 2.0.0 */ private $range; /** * @var Price - * @since 2.0.0 */ private $resource; @@ -71,7 +63,6 @@ class Auto implements AlgorithmInterface * @param Registry $coreRegistry * @param Price $resource * @param Range $range - * @since 2.0.0 */ public function __construct( Algorithm $algorithm, @@ -93,7 +84,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItemsData(array $intervals = [], $additionalRequestData = '') { @@ -112,7 +102,6 @@ public function getItemsData(array $intervals = [], $additionalRequestData = '') /** * @return number - * @since 2.0.0 */ private function getRange() { @@ -131,7 +120,6 @@ private function getRange() * Get maximum price from layer products set * * @return float - * @since 2.0.0 */ public function getMaxPriceInt() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Improved.php b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Improved.php index c7a8e1b8603c2..2995b9bfac0fc 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Improved.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Improved.php @@ -15,7 +15,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Dynamic\Improved * - * @since 2.0.0 */ class Improved implements AlgorithmInterface { @@ -23,31 +22,26 @@ class Improved implements AlgorithmInterface /** * @var Algorithm - * @since 2.0.0 */ private $algorithm; /** * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ private $layer; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var Render - * @since 2.0.0 */ private $render; /** * @var IntervalFactory - * @since 2.0.0 */ private $intervalFactory; @@ -57,7 +51,6 @@ class Improved implements AlgorithmInterface * @param ScopeConfigInterface $scopeConfig * @param Render $render * @param IntervalFactory $intervalFactory - * @since 2.0.0 */ public function __construct( Algorithm $algorithm, @@ -75,7 +68,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItemsData(array $intervals = [], $additionalRequestData = '') { @@ -115,7 +107,6 @@ public function getItemsData(array $intervals = [], $additionalRequestData = '') * Get interval division limit * * @return int - * @since 2.0.0 */ private function getIntervalDivisionLimit() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Manual.php b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Manual.php index 3665102846dcd..cc39cd7aa9aad 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Manual.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Dynamic/Manual.php @@ -17,7 +17,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Dynamic\Manual * - * @since 2.0.0 */ class Manual implements AlgorithmInterface { @@ -31,7 +30,6 @@ class Manual implements AlgorithmInterface * @param Registry $coreRegistry * @param Price $resource * @param Range $range - * @since 2.0.0 */ public function __construct( Algorithm $algorithm, @@ -56,7 +54,6 @@ public function __construct( * @param string $additionalRequestData * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getItemsData(array $intervals = [], $additionalRequestData = '') { @@ -77,7 +74,6 @@ public function getItemsData(array $intervals = [], $additionalRequestData = '') /** * @param array $items * @return array - * @since 2.0.0 */ private function processRange($items) { @@ -100,7 +96,6 @@ private function processRange($items) * Get maximum number of intervals * * @return int - * @since 2.0.0 */ public function getMaxIntervalsNumber() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Factory.php b/app/code/Magento/Catalog/Model/Layer/Filter/Factory.php index a8e841bb2794f..684f0378d34e9 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Factory.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Catalog\Model\Layer\Filter\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/FilterInterface.php b/app/code/Magento/Catalog/Model/Layer/Filter/FilterInterface.php index 7229e82e1c8c2..76e49da6a5e12 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/FilterInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/FilterInterface.php @@ -9,7 +9,6 @@ * Layer filter interface * * @api - * @since 2.0.0 */ interface FilterInterface { @@ -18,7 +17,6 @@ interface FilterInterface * * @param string $varName * @return \Magento\Catalog\Model\Layer\Filter\FilterInterface - * @since 2.0.0 */ public function setRequestVar($varName); @@ -26,7 +24,6 @@ public function setRequestVar($varName); * Get request variable name which is used for apply filter * * @return string - * @since 2.0.0 */ public function getRequestVar(); @@ -34,7 +31,6 @@ public function getRequestVar(); * Get filter value for reset current filter state * * @return mixed - * @since 2.0.0 */ public function getResetValue(); @@ -42,7 +38,6 @@ public function getResetValue(); * Retrieve filter value for Clear All Items filter state * * @return mixed - * @since 2.0.0 */ public function getCleanValue(); @@ -51,7 +46,6 @@ public function getCleanValue(); * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request); @@ -59,7 +53,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request); * Get filter items count * * @return int - * @since 2.0.0 */ public function getItemsCount(); @@ -67,7 +60,6 @@ public function getItemsCount(); * Get all filter items * * @return array - * @since 2.0.0 */ public function getItems(); @@ -76,7 +68,6 @@ public function getItems(); * * @param array $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); @@ -84,7 +75,6 @@ public function setItems(array $items); * Retrieve layer object * * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function getLayer(); @@ -93,7 +83,6 @@ public function getLayer(); * * @param \Magento\Eav\Model\Entity\Attribute $attribute * @return \Magento\Catalog\Model\Layer\Filter\FilterInterface - * @since 2.0.0 */ public function setAttributeModel($attribute); @@ -102,7 +91,6 @@ public function setAttributeModel($attribute); * * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAttributeModel(); @@ -111,7 +99,6 @@ public function getAttributeModel(); * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getName(); @@ -119,7 +106,6 @@ public function getName(); * Retrieve current store id scope * * @return int - * @since 2.0.0 */ public function getStoreId(); @@ -128,7 +114,6 @@ public function getStoreId(); * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId); @@ -136,7 +121,6 @@ public function setStoreId($storeId); * Retrieve Website ID scope * * @return int - * @since 2.0.0 */ public function getWebsiteId(); @@ -145,7 +129,6 @@ public function getWebsiteId(); * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId); @@ -153,7 +136,6 @@ public function setWebsiteId($websiteId); * Clear current element link text, for example 'Clear Price' * * @return false|string - * @since 2.0.0 */ public function getClearLinkText(); } diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Item.php b/app/code/Magento/Catalog/Model/Layer/Filter/Item.php index f40c451630579..cdf95ba3d9695 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Item.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Item.php @@ -16,7 +16,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Item * - * @since 2.0.0 */ class Item extends \Magento\Framework\DataObject { @@ -24,7 +23,6 @@ class Item extends \Magento\Framework\DataObject * Url * * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_url; @@ -32,7 +30,6 @@ class Item extends \Magento\Framework\DataObject * Html pager block * * @var \Magento\Theme\Block\Html\Pager - * @since 2.0.0 */ protected $_htmlPagerBlock; @@ -42,7 +39,6 @@ class Item extends \Magento\Framework\DataObject * @param \Magento\Framework\UrlInterface $url * @param \Magento\Theme\Block\Html\Pager $htmlPagerBlock * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\UrlInterface $url, @@ -59,7 +55,6 @@ public function __construct( * * @return \Magento\Catalog\Model\Layer\Filter\AbstractFilter * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getFilter() { @@ -76,7 +71,6 @@ public function getFilter() * Get filter item url * * @return string - * @since 2.0.0 */ public function getUrl() { @@ -92,7 +86,6 @@ public function getUrl() * Get url for remove item from filter * * @return string - * @since 2.0.0 */ public function getRemoveUrl() { @@ -108,7 +101,6 @@ public function getRemoveUrl() * Get url for "clear" link * * @return false|string - * @since 2.0.0 */ public function getClearLinkUrl() { @@ -130,7 +122,6 @@ public function getClearLinkUrl() * Get item filter name * * @return string - * @since 2.0.0 */ public function getName() { @@ -141,7 +132,6 @@ public function getName() * Get item value as string * * @return string - * @since 2.0.0 */ public function getValueString() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Item/DataBuilder.php b/app/code/Magento/Catalog/Model/Layer/Filter/Item/DataBuilder.php index 70bdc477d0afe..cfb0e23209120 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Item/DataBuilder.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Item/DataBuilder.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Item\DataBuilder * - * @since 2.0.0 */ class DataBuilder { @@ -27,7 +26,6 @@ class DataBuilder * ) * * @return array - * @since 2.0.0 */ protected $_itemsData = []; @@ -38,7 +36,6 @@ class DataBuilder * @param string $label * @param int $count * @return void - * @since 2.0.0 */ public function addItemData($label, $value, $count) { @@ -53,7 +50,6 @@ public function addItemData($label, $value, $count) * Get Items Data * * @return array - * @since 2.0.0 */ public function build() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Price.php b/app/code/Magento/Catalog/Model/Layer/Filter/Price.php index 2de9cc4dbbbd4..ec5e2bff81ab3 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Price.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Price.php @@ -12,7 +12,6 @@ * Layer price filter * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter { @@ -20,7 +19,6 @@ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Resource instance * * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ protected $_resource; @@ -28,7 +26,6 @@ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -36,7 +33,6 @@ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Catalog layer filter price algorithm * * @var \Magento\Framework\Search\Dynamic\Algorithm - * @since 2.0.0 */ protected $_priceAlgorithm; @@ -44,31 +40,26 @@ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var Dynamic\AlgorithmFactory - * @since 2.0.0 */ private $algorithmFactory; /** * @var \Magento\Catalog\Model\Layer\Filter\DataProvider\Price - * @since 2.0.0 */ private $dataProvider; @@ -85,7 +76,6 @@ class Price extends \Magento\Catalog\Model\Layer\Filter\AbstractFilter * @param DataProvider\PriceFactory $dataProviderFactory * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -115,7 +105,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -157,7 +146,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * Retrieve active customer group id * * @return int - * @since 2.0.0 */ public function getCustomerGroupId() { @@ -174,7 +162,6 @@ public function getCustomerGroupId() * * @param int $customerGroupId * @return $this - * @since 2.0.0 */ public function setCustomerGroupId($customerGroupId) { @@ -185,7 +172,6 @@ public function setCustomerGroupId($customerGroupId) * Retrieve active currency rate for filter * * @return float - * @since 2.0.0 */ public function getCurrencyRate() { @@ -206,7 +192,6 @@ public function getCurrencyRate() * * @param float $rate * @return $this - * @since 2.0.0 */ public function setCurrencyRate($rate) { @@ -217,7 +202,6 @@ public function setCurrencyRate($rate) * Get filter value for reset current filter state * * @return null|string - * @since 2.0.0 */ public function getResetValue() { @@ -228,7 +212,6 @@ public function getResetValue() * Get 'clear price' link text * * @return \Magento\Framework\Phrase|bool - * @since 2.0.0 */ public function getClearLinkText() { @@ -246,7 +229,6 @@ public function getClearLinkText() * @param float|string $fromPrice * @param float|string $toPrice * @return float|\Magento\Framework\Phrase - * @since 2.0.0 */ protected function _renderRangeLabel($fromPrice, $toPrice) { @@ -269,7 +251,6 @@ protected function _renderRangeLabel($fromPrice, $toPrice) * Get additional request param data * * @return string - * @since 2.0.0 */ protected function _getAdditionalRequestData() { @@ -290,7 +271,6 @@ protected function _getAdditionalRequestData() * Get data for build price filter items * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getItemsData() { @@ -303,7 +283,6 @@ protected function _getItemsData() * Apply price range filter to collection * * @return $this - * @since 2.0.0 */ protected function _applyPriceRange() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Price/Range.php b/app/code/Magento/Catalog/Model/Layer/Filter/Price/Range.php index f173828e9fc4e..8f3d2adf19075 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Price/Range.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Price/Range.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class Range { @@ -20,19 +19,16 @@ class Range /** * @var Registry - * @since 2.0.0 */ private $registry; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var Resolver - * @since 2.0.0 */ private $layerResolver; @@ -41,7 +37,6 @@ class Range * @param ScopeConfigInterface $scopeConfig * @param Resolver $layerResolver * @internal param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct(Registry $registry, ScopeConfigInterface $scopeConfig, Resolver $layerResolver) { @@ -52,7 +47,6 @@ public function __construct(Registry $registry, ScopeConfigInterface $scopeConfi /** * @return array - * @since 2.0.0 */ public function getPriceRange() { @@ -64,7 +58,6 @@ public function getPriceRange() /** * @return float - * @since 2.0.0 */ public function getConfigRangeStep() { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Price/Render.php b/app/code/Magento/Catalog/Model/Layer/Filter/Price/Render.php index f8eea85b1b864..842ee7c8a4f82 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Price/Render.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Price/Render.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Layer\Filter\Price\Render * - * @since 2.0.0 */ class Render { @@ -21,19 +20,16 @@ class Render /** * @var PriceCurrencyInterface - * @since 2.0.0 */ private $priceCurrency; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var DataBuilder - * @since 2.0.0 */ private $itemDataBuilder; @@ -41,7 +37,6 @@ class Render * @param PriceCurrencyInterface $priceCurrency * @param ScopeConfigInterface $scopeConfig * @param DataBuilder $itemDataBuilder - * @since 2.0.0 */ public function __construct( PriceCurrencyInterface $priceCurrency, @@ -59,7 +54,6 @@ public function __construct( * @param float|string $fromPrice * @param float|string $toPrice * @return float|\Magento\Framework\Phrase - * @since 2.0.0 */ public function renderRangeLabel($fromPrice, $toPrice) { @@ -85,7 +79,6 @@ public function renderRangeLabel($fromPrice, $toPrice) * @param int $range * @param int[] $dbRanges * @return array - * @since 2.0.0 */ public function renderRangeData($range, $dbRanges) { diff --git a/app/code/Magento/Catalog/Model/Layer/FilterList.php b/app/code/Magento/Catalog/Model/Layer/FilterList.php index 0dd867f7631fa..428a01650e2c1 100644 --- a/app/code/Magento/Catalog/Model/Layer/FilterList.php +++ b/app/code/Magento/Catalog/Model/Layer/FilterList.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Model\Layer\FilterList * - * @since 2.0.0 */ class FilterList { @@ -22,19 +21,16 @@ class FilterList * Filter factory * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var FilterableAttributeListInterface - * @since 2.0.0 */ protected $filterableAttributes; /** * @var string[] - * @since 2.0.0 */ protected $filterTypes = [ self::CATEGORY_FILTER => \Magento\Catalog\Model\Layer\Filter\Category::class, @@ -45,7 +41,6 @@ class FilterList /** * @var \Magento\Catalog\Model\Layer\Filter\AbstractFilter[] - * @since 2.0.0 */ protected $filters = []; @@ -53,7 +48,6 @@ class FilterList * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param FilterableAttributeListInterface $filterableAttributes * @param array $filters - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -72,7 +66,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Layer $layer * @return array|Filter\AbstractFilter[] - * @since 2.0.0 */ public function getFilters(\Magento\Catalog\Model\Layer $layer) { @@ -93,7 +86,6 @@ public function getFilters(\Magento\Catalog\Model\Layer $layer) * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @param \Magento\Catalog\Model\Layer $layer * @return \Magento\Catalog\Model\Layer\Filter\AbstractFilter - * @since 2.0.0 */ protected function createAttributeFilter( \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute, @@ -113,7 +105,6 @@ protected function createAttributeFilter( * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return string - * @since 2.0.0 */ protected function getAttributeFilterClass(\Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute) { diff --git a/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php b/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php index e09c8adac04bc..547e57a909b57 100644 --- a/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Model\Layer\FilterableAttributeListInterface * - * @since 2.0.0 */ interface FilterableAttributeListInterface { @@ -17,7 +16,6 @@ interface FilterableAttributeListInterface * Retrieve list of filterable attributes * * @return array|\Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getList(); } diff --git a/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php b/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php index 5c3f2ccbf6b12..68f21c88a2d03 100644 --- a/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php @@ -10,14 +10,12 @@ /** * Interface \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface * - * @since 2.0.0 */ interface ItemCollectionProviderInterface { /** * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getCollection(\Magento\Catalog\Model\Category $category); } diff --git a/app/code/Magento/Catalog/Model/Layer/Resolver.php b/app/code/Magento/Catalog/Model/Layer/Resolver.php index 56ddc80487342..fe1a8ac8d4e2b 100644 --- a/app/code/Magento/Catalog/Model/Layer/Resolver.php +++ b/app/code/Magento/Catalog/Model/Layer/Resolver.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Model\Layer\Resolver * - * @since 2.0.0 */ class Resolver { @@ -20,7 +19,6 @@ class Resolver * Catalog view layer models list * * @var array - * @since 2.0.0 */ protected $layersPool; @@ -28,20 +26,17 @@ class Resolver * Filter factory * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $layer = null; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param array $layersPool - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -56,7 +51,6 @@ public function __construct( * * @param string $layerType * @return void - * @since 2.0.0 */ public function create($layerType) { @@ -73,7 +67,6 @@ public function create($layerType) * Get current Catalog Layer * * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ public function get() { diff --git a/app/code/Magento/Catalog/Model/Layer/Search.php b/app/code/Magento/Catalog/Model/Layer/Search.php index de657ecc70723..57fce5922c410 100644 --- a/app/code/Magento/Catalog/Model/Layer/Search.php +++ b/app/code/Magento/Catalog/Model/Layer/Search.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Layer\Search * - * @since 2.0.0 */ class Search extends \Magento\Catalog\Model\Layer { @@ -27,7 +26,6 @@ class Search extends \Magento\Catalog\Model\Layer * @param \Magento\Framework\Registry $registry * @param CategoryRepositoryInterface $categoryRepository * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, diff --git a/app/code/Magento/Catalog/Model/Layer/Search/CollectionFilter.php b/app/code/Magento/Catalog/Model/Layer/Search/CollectionFilter.php index 96979b5b00f36..0d07d253bc351 100644 --- a/app/code/Magento/Catalog/Model/Layer/Search/CollectionFilter.php +++ b/app/code/Magento/Catalog/Model/Layer/Search/CollectionFilter.php @@ -14,25 +14,21 @@ /** * Class \Magento\Catalog\Model\Layer\Search\CollectionFilter * - * @since 2.0.0 */ class CollectionFilter implements CollectionFilterInterface { /** * @var Config - * @since 2.0.0 */ protected $catalogConfig; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var Visibility - * @since 2.0.0 */ protected $productVisibility; @@ -40,7 +36,6 @@ class CollectionFilter implements CollectionFilterInterface * @param Config $catalogConfig * @param StoreManagerInterface $storeManager * @param Visibility $productVisibility - * @since 2.0.0 */ public function __construct( Config $catalogConfig, @@ -59,7 +54,6 @@ public function __construct( * @param \Magento\Catalog\Model\Category $category * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function filter( $collection, diff --git a/app/code/Magento/Catalog/Model/Layer/Search/Filter/Attribute.php b/app/code/Magento/Catalog/Model/Layer/Search/Filter/Attribute.php index 28575c987a9b0..2f6e9ea37e652 100644 --- a/app/code/Magento/Catalog/Model/Layer/Search/Filter/Attribute.php +++ b/app/code/Magento/Catalog/Model/Layer/Search/Filter/Attribute.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\Layer\Search\Filter\Attribute * - * @since 2.0.0 */ class Attribute extends \Magento\Catalog\Model\Layer\Filter\Attribute { @@ -22,7 +21,6 @@ class Attribute extends \Magento\Catalog\Model\Layer\Filter\Attribute * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return int - * @since 2.0.0 */ protected function getAttributeIsFilterable($attribute) { diff --git a/app/code/Magento/Catalog/Model/Layer/Search/FilterableAttributeList.php b/app/code/Magento/Catalog/Model/Layer/Search/FilterableAttributeList.php index b3a5847a28f7e..ca68d99e50181 100644 --- a/app/code/Magento/Catalog/Model/Layer/Search/FilterableAttributeList.php +++ b/app/code/Magento/Catalog/Model/Layer/Search/FilterableAttributeList.php @@ -9,14 +9,12 @@ /** * Class \Magento\Catalog\Model\Layer\Search\FilterableAttributeList * - * @since 2.0.0 */ class FilterableAttributeList extends \Magento\Catalog\Model\Layer\Category\FilterableAttributeList { /** * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection $collection * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected function _prepareAttributeCollection($collection) { diff --git a/app/code/Magento/Catalog/Model/Layer/Search/ItemCollectionProvider.php b/app/code/Magento/Catalog/Model/Layer/Search/ItemCollectionProvider.php index 105b4f809edb5..8f885eb686069 100644 --- a/app/code/Magento/Catalog/Model/Layer/Search/ItemCollectionProvider.php +++ b/app/code/Magento/Catalog/Model/Layer/Search/ItemCollectionProvider.php @@ -11,19 +11,16 @@ /** * Class \Magento\Catalog\Model\Layer\Search\ItemCollectionProvider * - * @since 2.0.0 */ class ItemCollectionProvider implements ItemCollectionProviderInterface { /** * @var CollectionFactory - * @since 2.0.0 */ private $collectionFactory; /** * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $collectionFactory) { @@ -33,7 +30,6 @@ public function __construct(CollectionFactory $collectionFactory) /** * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getCollection(\Magento\Catalog\Model\Category $category) { diff --git a/app/code/Magento/Catalog/Model/Layer/State.php b/app/code/Magento/Catalog/Model/Layer/State.php index 3a4890e44579f..c143ac1786b60 100644 --- a/app/code/Magento/Catalog/Model/Layer/State.php +++ b/app/code/Magento/Catalog/Model/Layer/State.php @@ -14,7 +14,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class State extends DataObject { @@ -23,7 +22,6 @@ class State extends DataObject * * @param Item $filter * @return $this - * @since 2.0.0 */ public function addFilter($filter) { @@ -39,7 +37,6 @@ public function addFilter($filter) * @param Item[] $filters * @return $this * @throws LocalizedException - * @since 2.0.0 */ public function setFilters($filters) { @@ -54,7 +51,6 @@ public function setFilters($filters) * Get applied to layer filter items * * @return Item[] - * @since 2.0.0 */ public function getFilters() { diff --git a/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php b/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php index e88dd160cae64..4d43f836af4ce 100644 --- a/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Model\Layer\StateKeyInterface * - * @since 2.0.0 */ interface StateKeyInterface { @@ -18,7 +17,6 @@ interface StateKeyInterface * * @param \Magento\Catalog\Model\Category $category * @return string - * @since 2.0.0 */ public function toString($category); } diff --git a/app/code/Magento/Catalog/Model/Layout/DepersonalizePlugin.php b/app/code/Magento/Catalog/Model/Layout/DepersonalizePlugin.php index 10d7b94f67e30..50ef65520c87d 100644 --- a/app/code/Magento/Catalog/Model/Layout/DepersonalizePlugin.php +++ b/app/code/Magento/Catalog/Model/Layout/DepersonalizePlugin.php @@ -11,13 +11,11 @@ /** * Class DepersonalizePlugin - * @since 2.0.0 */ class DepersonalizePlugin { /** * @var DepersonalizeChecker - * @since 2.0.0 */ protected $depersonalizeChecker; @@ -25,14 +23,12 @@ class DepersonalizePlugin * Catalog session * * @var \Magento\Catalog\Model\Session - * @since 2.0.0 */ protected $catalogSession; /** * @param DepersonalizeChecker $depersonalizeChecker * @param \Magento\Catalog\Model\Session $catalogSession - * @since 2.0.0 */ public function __construct( DepersonalizeChecker $depersonalizeChecker, @@ -48,7 +44,6 @@ public function __construct( * @param \Magento\Framework\View\LayoutInterface $subject * @param \Magento\Framework\View\LayoutInterface $result * @return \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ public function afterGenerateXml(\Magento\Framework\View\LayoutInterface $subject, $result) { diff --git a/app/code/Magento/Catalog/Model/Plugin/Log.php b/app/code/Magento/Catalog/Model/Plugin/Log.php index 474b75bd20949..e728bc402b7fb 100644 --- a/app/code/Magento/Catalog/Model/Plugin/Log.php +++ b/app/code/Magento/Catalog/Model/Plugin/Log.php @@ -10,19 +10,16 @@ /** * Class \Magento\Catalog\Model\Plugin\Log * - * @since 2.0.0 */ class Log { /** * @var \Magento\Catalog\Model\Product\Compare\Item - * @since 2.0.0 */ protected $_productCompareItem; /** * @param \Magento\Catalog\Model\Product\Compare\Item $productCompareItem - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Product\Compare\Item $productCompareItem) { @@ -38,7 +35,6 @@ public function __construct(\Magento\Catalog\Model\Product\Compare\Item $product * * @return \Magento\Customer\Model\ResourceModel\Visitor * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterClean(\Magento\Customer\Model\ResourceModel\Visitor $subject, $logResourceModel) { diff --git a/app/code/Magento/Catalog/Model/Plugin/ProductRepository/TransactionWrapper.php b/app/code/Magento/Catalog/Model/Plugin/ProductRepository/TransactionWrapper.php index 2a75a6c90bfe4..5f6469c378024 100644 --- a/app/code/Magento/Catalog/Model/Plugin/ProductRepository/TransactionWrapper.php +++ b/app/code/Magento/Catalog/Model/Plugin/ProductRepository/TransactionWrapper.php @@ -10,19 +10,16 @@ /** * Class \Magento\Catalog\Model\Plugin\ProductRepository\TransactionWrapper * - * @since 2.0.0 */ class TransactionWrapper { /** * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.0.0 */ protected $resourceModel; /** * @param \Magento\Catalog\Model\ResourceModel\Product $resourceModel - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product $resourceModel @@ -38,7 +35,6 @@ public function __construct( * @return \Magento\Catalog\Api\Data\ProductInterface * @throws \Exception * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundSave( \Magento\Catalog\Api\ProductRepositoryInterface $subject, @@ -65,7 +61,6 @@ public function aroundSave( * @return bool * @throws \Exception * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundDelete( \Magento\Catalog\Api\ProductRepositoryInterface $subject, @@ -91,7 +86,6 @@ public function aroundDelete( * @return bool * @throws \Exception * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundDeleteById( \Magento\Catalog\Api\ProductRepositoryInterface $subject, diff --git a/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php b/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php index 67050d7799954..2c40bdb9da1ee 100644 --- a/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php +++ b/app/code/Magento/Catalog/Model/Plugin/QuoteItemProductOption.php @@ -11,7 +11,6 @@ /** * Plugin for Magento\Quote\Model\Quote\Item\ToOrderItem - * @since 2.0.0 */ class QuoteItemProductOption { diff --git a/app/code/Magento/Catalog/Model/Plugin/ShowOutOfStockConfig.php b/app/code/Magento/Catalog/Model/Plugin/ShowOutOfStockConfig.php index 3e0c45bbe8a9a..668e138a0e69f 100644 --- a/app/code/Magento/Catalog/Model/Plugin/ShowOutOfStockConfig.php +++ b/app/code/Magento/Catalog/Model/Plugin/ShowOutOfStockConfig.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Model\Plugin\ShowOutOfStockConfig * - * @since 2.0.0 */ class ShowOutOfStockConfig { /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_eavIndexerProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Eav\Processor $eavIndexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor $eavIndexerProcessor) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor * @param mixed $result * * @return mixed - * @since 2.0.0 */ public function afterSave(\Magento\Framework\App\Config\Value $subject, $result) { diff --git a/app/code/Magento/Catalog/Model/Product.php b/app/code/Magento/Catalog/Model/Product.php index 21008187b6284..c454b3cb8c6fa 100644 --- a/app/code/Magento/Catalog/Model/Product.php +++ b/app/code/Magento/Catalog/Model/Product.php @@ -37,7 +37,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Product extends \Magento\Catalog\Model\AbstractModel implements IdentityInterface, @@ -73,25 +72,21 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements /** * @var string - * @since 2.0.0 */ protected $_cacheTag = self::CACHE_TAG; /** * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_product'; /** * @var string - * @since 2.0.0 */ protected $_eventObject = 'product'; /** * @var bool - * @since 2.0.0 */ protected $_canAffectOptions = false; @@ -99,7 +94,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product type singleton instance * * @var \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.0 */ protected $_typeInstance = null; @@ -107,7 +101,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product link instance * * @var Product\Link - * @since 2.0.0 */ protected $_linkInstance; @@ -115,7 +108,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product object customization (not stored in DB) * * @var array - * @since 2.0.0 */ protected $_customOptions = []; @@ -123,19 +115,16 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product Url Instance * * @var Product\Url - * @since 2.0.0 */ protected $_urlModel = null; /** * @var string - * @since 2.0.0 */ protected static $_url; /** * @var array - * @since 2.0.0 */ protected $_errors = []; @@ -143,7 +132,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product option factory * * @var Product\OptionFactory - * @since 2.0.0 */ protected $optionFactory; @@ -151,13 +139,11 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Product option * * @var Product\Option - * @since 2.0.0 */ protected $optionInstance; /** * @var array - * @since 2.0.0 */ protected $_links = null; @@ -165,7 +151,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Flag for available duplicate function * * @var boolean - * @since 2.0.0 */ protected $_isDuplicable = true; @@ -173,7 +158,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Flag for get Price function * * @var boolean - * @since 2.0.0 */ protected $_calculatePrice = true; @@ -181,19 +165,16 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_catalogProduct = null; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @var \Magento\Framework\Data\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -201,7 +182,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Catalog product type * * @var Product\Type - * @since 2.0.0 */ protected $_catalogProductType; @@ -209,7 +189,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Catalog product media config * * @var Product\Media\Config - * @since 2.0.0 */ protected $_catalogProductMediaConfig; @@ -217,7 +196,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Catalog product status * * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $_catalogProductStatus; @@ -225,7 +203,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Catalog product visibility * * @var Product\Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -233,7 +210,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Stock item factory * * @var \Magento\CatalogInventory\Api\Data\StockItemInterfaceFactory - * @since 2.0.0 */ protected $_stockItemFactory; @@ -241,7 +217,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Item option factory * * @var \Magento\Catalog\Model\Product\Configuration\Item\OptionFactory - * @since 2.0.0 */ protected $_itemOptionFactory; @@ -249,43 +224,36 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Filesystem facade * * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $_productPriceIndexerProcessor; /** * @var Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_productEavIndexerProcessor; /** * @var \Magento\Framework\Pricing\PriceInfo\Base - * @since 2.0.0 */ protected $_priceInfo; /** * @var CategoryRepository - * @since 2.0.0 */ protected $categoryRepository; @@ -293,62 +261,52 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Instance of category collection. * * @var \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ protected $categoryCollection; /** * @var Product\Image\CacheFactory - * @since 2.0.0 */ protected $imageCacheFactory; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.0.0 */ protected $metadataService; /** * @param \Magento\Catalog\Model\ProductLink\CollectionProvider - * @since 2.0.0 */ protected $entityCollectionProvider; /** * @param \Magento\Catalog\Model\Product\LinkTypeProvider - * @since 2.0.0 */ protected $linkProvider; /** * @param \Magento\Catalog\Api\Data\ProductLinkInterfaceFactory - * @since 2.0.0 */ protected $productLinkFactory; /** * @param \Magento\Catalog\Api\Data\ProductLinkExtensionFactory - * @since 2.0.0 */ protected $productLinkExtensionFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var int - * @since 2.0.0 */ protected $_productIdCached; /** * List of attributes in ProductInterface * @var array - * @since 2.0.0 */ protected $interfaceAttributes = [ ProductInterface::SKU, @@ -367,7 +325,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $joinProcessor; @@ -375,7 +332,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * Media converter pool * * @var Product\Attribute\Backend\Media\EntryConverterPool - * @since 2.0.0 */ protected $mediaGalleryEntryConverterPool; @@ -431,7 +387,6 @@ class Product extends \Magento\Catalog\Model\AbstractModel implements * * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -513,7 +468,6 @@ public function __construct( * Initialize resources * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -522,7 +476,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ protected function getCustomAttributesCodes() { @@ -537,7 +490,6 @@ protected function getCustomAttributesCodes() * Retrieve Store Id * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -551,7 +503,6 @@ public function getStoreId() * Get collection instance * * @return object - * @since 2.0.0 */ public function getResourceCollection() { @@ -564,7 +515,6 @@ public function getResourceCollection() * Get product url model * * @return Product\Url - * @since 2.0.0 */ public function getUrlModel() { @@ -577,7 +527,6 @@ public function getUrlModel() * @todo implement full validation process with errors returning which are ignoring now * * @return array - * @since 2.0.0 */ public function validate() { @@ -592,7 +541,6 @@ public function validate() * * @return string * @codeCoverageIgnoreStart - * @since 2.0.0 */ public function getName() { @@ -605,7 +553,6 @@ public function getName() * Get product price through type instance * * @return float - * @since 2.0.0 */ public function getPrice() { @@ -622,7 +569,6 @@ public function getPrice() * @see \Magento\Catalog\Model\Product\Visibility * * @return int - * @since 2.0.0 */ public function getVisibility() { @@ -633,7 +579,6 @@ public function getVisibility() * Get product attribute set id * * @return int - * @since 2.0.0 */ public function getAttributeSetId() { @@ -644,7 +589,6 @@ public function getAttributeSetId() * Get product creation date * * @return string - * @since 2.0.0 */ public function getCreatedAt() { @@ -655,7 +599,6 @@ public function getCreatedAt() * Get previous product update date * * @return string - * @since 2.0.0 */ public function getUpdatedAt() { @@ -667,7 +610,6 @@ public function getUpdatedAt() * * @param bool $calculate * @return void - * @since 2.0.0 */ public function setPriceCalculation($calculate = true) { @@ -678,7 +620,6 @@ public function setPriceCalculation($calculate = true) * Get product type identifier * * @return array|string - * @since 2.0.0 */ public function getTypeId() { @@ -691,7 +632,6 @@ public function getTypeId() * Get product status * * @return int - * @since 2.0.0 */ public function getStatus() { @@ -704,7 +644,6 @@ public function getStatus() * Type instance implements product type depended logic and is a singleton shared by all products of the same type. * * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.0 */ public function getTypeInstance() { @@ -719,7 +658,6 @@ public function getTypeInstance() * * @param \Magento\Catalog\Model\Product\Type\AbstractType|null $instance Product type instance * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function setTypeInstance($instance) { @@ -731,7 +669,6 @@ public function setTypeInstance($instance) * Retrieve link instance * * @return Product\Link - * @since 2.0.0 */ public function getLinkInstance() { @@ -743,7 +680,6 @@ public function getLinkInstance() * * @param string $sku * @return integer - * @since 2.0.0 */ public function getIdBySku($sku) { @@ -754,7 +690,6 @@ public function getIdBySku($sku) * Retrieve product category id * * @return int - * @since 2.0.0 */ public function getCategoryId() { @@ -769,7 +704,6 @@ public function getCategoryId() * Retrieve product category * * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getCategory() { @@ -785,7 +719,6 @@ public function getCategory() * Retrieve assigned category Ids * * @return array - * @since 2.0.0 */ public function getCategoryIds() { @@ -809,7 +742,6 @@ public function getCategoryIds() * Retrieve product categories * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getCategoryCollection() { @@ -826,7 +758,6 @@ public function getCategoryCollection() * * @param \Magento\Framework\Data\Collection $categoryCollection * @return $this - * @since 2.0.0 */ protected function setCategoryCollection(\Magento\Framework\Data\Collection $categoryCollection) { @@ -838,7 +769,6 @@ protected function setCategoryCollection(\Magento\Framework\Data\Collection $cat * Retrieve product websites identifiers * * @return array - * @since 2.0.0 */ public function getWebsiteIds() { @@ -853,7 +783,6 @@ public function getWebsiteIds() * Get all sore ids where product is presented * * @return array - * @since 2.0.0 */ public function getStoreIds() { @@ -878,7 +807,6 @@ public function getStoreIds() * @param bool $skipSuper Not used * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute[] * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getAttributes($groupId = null, $skipSuper = false) { @@ -903,7 +831,6 @@ public function getAttributes($groupId = null, $skipSuper = false) * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function beforeSave() { @@ -972,7 +899,6 @@ public function beforeSave() * * @param bool $value * @return bool - * @since 2.0.0 */ public function canAffectOptions($value = null) { @@ -986,7 +912,6 @@ public function canAffectOptions($value = null) * Saving product type related data and init index * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function afterSave() { @@ -1020,7 +945,6 @@ public function afterSave() * * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty) { @@ -1035,7 +959,6 @@ public function setQty($qty) * Get quantity for product * * @return float - * @since 2.0.0 */ public function getQty() { @@ -1046,7 +969,6 @@ public function getQty() * Callback for entity reindex * * @return void - * @since 2.0.0 */ public function priceReindexCallback() { @@ -1059,7 +981,6 @@ public function priceReindexCallback() * Reindex callback for EAV indexer * * @return void - * @since 2.0.0 */ public function eavReindexCallback() { @@ -1072,7 +993,6 @@ public function eavReindexCallback() * Check if data was changed * * @return bool - * @since 2.0.0 */ public function isDataChanged() { @@ -1088,7 +1008,6 @@ public function isDataChanged() * Init indexing process after product save * * @return void - * @since 2.0.0 */ public function reindex() { @@ -1106,7 +1025,6 @@ public function reindex() * Register indexing event before delete product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function beforeDelete() { @@ -1118,7 +1036,6 @@ public function beforeDelete() * Init indexing process after product delete commit * * @return void - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -1131,7 +1048,6 @@ public function afterDeleteCommit() * Load product options if they exists * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -1146,7 +1062,6 @@ protected function _afterLoad() * Clear cache related with product id * * @return $this - * @since 2.0.0 */ public function cleanCache() { @@ -1158,7 +1073,6 @@ public function cleanCache() * Get product price model * * @return \Magento\Catalog\Model\Product\Type\Price - * @since 2.0.0 */ public function getPriceModel() { @@ -1169,7 +1083,6 @@ public function getPriceModel() * Get product Price Info object * * @return \Magento\Framework\Pricing\PriceInfo\Base - * @since 2.0.0 */ public function getPriceInfo() { @@ -1183,7 +1096,6 @@ public function getPriceInfo() * Gets list of product tier prices * * @return \Magento\Catalog\Api\Data\ProductTierPriceInterface[]|null - * @since 2.0.0 */ public function getTierPrices() { @@ -1195,7 +1107,6 @@ public function getTierPrices() * * @param \Magento\Catalog\Api\Data\ProductTierPriceInterface[] $tierPrices * @return $this - * @since 2.0.0 */ public function setTierPrices(array $tierPrices = null) { @@ -1208,7 +1119,6 @@ public function setTierPrices(array $tierPrices = null) * * @param float $qty * @return float|array - * @since 2.0.0 */ public function getTierPrice($qty = null) { @@ -1219,7 +1129,6 @@ public function getTierPrice($qty = null) * Get formatted by currency product price * * @return array || double - * @since 2.0.0 */ public function getFormatedPrice() { @@ -1235,7 +1144,6 @@ public function getFormatedPrice() * * @param float $price Price amount * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function setFinalPrice($price) { @@ -1248,7 +1156,6 @@ public function setFinalPrice($price) * * @param float $qty * @return float - * @since 2.0.0 */ public function getFinalPrice($qty = null) { @@ -1262,7 +1169,6 @@ public function getFinalPrice($qty = null) * Returns calculated final price * * @return float - * @since 2.0.0 */ public function getCalculatedFinalPrice() { @@ -1273,7 +1179,6 @@ public function getCalculatedFinalPrice() * Returns minimal price * * @return float - * @since 2.0.0 */ public function getMinimalPrice() { @@ -1284,7 +1189,6 @@ public function getMinimalPrice() * Returns special price * * @return float - * @since 2.0.0 */ public function getSpecialPrice() { @@ -1295,7 +1199,6 @@ public function getSpecialPrice() * Returns starting date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialFromDate() { @@ -1306,7 +1209,6 @@ public function getSpecialFromDate() * Returns end date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialToDate() { @@ -1317,7 +1219,6 @@ public function getSpecialToDate() * Retrieve array of related products * * @return array - * @since 2.0.0 */ public function getRelatedProducts() { @@ -1336,7 +1237,6 @@ public function getRelatedProducts() * Retrieve related products identifiers * * @return array - * @since 2.0.0 */ public function getRelatedProductIds() { @@ -1354,7 +1254,6 @@ public function getRelatedProductIds() * Retrieve collection related product * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ public function getRelatedProductCollection() { @@ -1367,7 +1266,6 @@ public function getRelatedProductCollection() * Retrieve collection related link * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Collection - * @since 2.0.0 */ public function getRelatedLinkCollection() { @@ -1383,7 +1281,6 @@ public function getRelatedLinkCollection() * Retrieve array of up sell products * * @return array - * @since 2.0.0 */ public function getUpSellProducts() { @@ -1401,7 +1298,6 @@ public function getUpSellProducts() * Retrieve up sell products identifiers * * @return array - * @since 2.0.0 */ public function getUpSellProductIds() { @@ -1419,7 +1315,6 @@ public function getUpSellProductIds() * Retrieve collection up sell product * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ public function getUpSellProductCollection() { @@ -1432,7 +1327,6 @@ public function getUpSellProductCollection() * Retrieve collection up sell link * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Collection - * @since 2.0.0 */ public function getUpSellLinkCollection() { @@ -1448,7 +1342,6 @@ public function getUpSellLinkCollection() * Retrieve array of cross sell products * * @return array - * @since 2.0.0 */ public function getCrossSellProducts() { @@ -1466,7 +1359,6 @@ public function getCrossSellProducts() * Retrieve cross sell products identifiers * * @return array - * @since 2.0.0 */ public function getCrossSellProductIds() { @@ -1484,7 +1376,6 @@ public function getCrossSellProductIds() * Retrieve collection cross sell product * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ public function getCrossSellProductCollection() { @@ -1497,7 +1388,6 @@ public function getCrossSellProductCollection() * Retrieve collection cross sell link * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Collection - * @since 2.0.0 */ public function getCrossSellLinkCollection() { @@ -1513,7 +1403,6 @@ public function getCrossSellLinkCollection() * Get product links info * * @return \Magento\Catalog\Api\Data\ProductLinkInterface[] - * @since 2.0.0 */ public function getProductLinks() { @@ -1528,7 +1417,6 @@ public function getProductLinks() * * @param \Magento\Catalog\Api\Data\ProductLinkInterface[] $links * @return $this - * @since 2.0.0 */ public function setProductLinks(array $links = null) { @@ -1545,7 +1433,6 @@ public function setProductLinks(array $links = null) * Retrieve attributes for media gallery * * @return array - * @since 2.0.0 */ public function getMediaAttributes() { @@ -1565,7 +1452,6 @@ public function getMediaAttributes() * Retrieve assoc array that contains media attribute values of the product * * @return array - * @since 2.0.0 */ public function getMediaAttributeValues() { @@ -1581,7 +1467,6 @@ public function getMediaAttributeValues() * Retrieve media gallery images * * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getMediaGalleryImages() { @@ -1634,7 +1519,6 @@ public function hasGalleryAttribute() * @param boolean $move if true, it will move source file * @param boolean $exclude mark image as disabled in product page view * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function addImageToMediaGallery($file, $mediaAttribute = null, $move = false, $exclude = true) { @@ -1655,7 +1539,6 @@ public function addImageToMediaGallery($file, $mediaAttribute = null, $move = fa * Retrieve product media config * * @return Product\Media\Config - * @since 2.0.0 */ public function getMediaConfig() { @@ -1666,7 +1549,6 @@ public function getMediaConfig() * Returns visible status IDs in catalog * * @return array - * @since 2.0.0 */ public function getVisibleInCatalogStatuses() { @@ -1677,7 +1559,6 @@ public function getVisibleInCatalogStatuses() * Retrieve visible statuses * * @return array - * @since 2.0.0 */ public function getVisibleStatuses() { @@ -1688,7 +1569,6 @@ public function getVisibleStatuses() * Check Product visible in catalog * * @return bool - * @since 2.0.0 */ public function isVisibleInCatalog() { @@ -1699,7 +1579,6 @@ public function isVisibleInCatalog() * Retrieve visible in site visibilities * * @return array - * @since 2.0.0 */ public function getVisibleInSiteVisibilities() { @@ -1710,7 +1589,6 @@ public function getVisibleInSiteVisibilities() * Check Product visible in site * * @return bool - * @since 2.0.0 */ public function isVisibleInSiteVisibility() { @@ -1721,7 +1599,6 @@ public function isVisibleInSiteVisibility() * Checks product can be duplicated * * @return boolean - * @since 2.0.0 */ public function isDuplicable() { @@ -1733,7 +1610,6 @@ public function isDuplicable() * * @param boolean $value * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function setIsDuplicable($value) { @@ -1745,7 +1621,6 @@ public function setIsDuplicable($value) * Check is product available for sale * * @return bool - * @since 2.0.0 */ public function isSalable() { @@ -1777,7 +1652,6 @@ public function isSalable() * Check whether the product type or stock allows to purchase the product * * @return bool - * @since 2.0.0 */ public function isAvailable() { @@ -1789,7 +1663,6 @@ public function isAvailable() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsSalable() { @@ -1809,7 +1682,6 @@ public function getIsSalable() * Data helper wrapper * * @return bool - * @since 2.0.0 */ public function isVirtual() { @@ -1820,7 +1692,6 @@ public function isVirtual() * Alias for isSalable() * * @return bool - * @since 2.0.0 */ public function isSaleable() { @@ -1831,7 +1702,6 @@ public function isSaleable() * Whether product available in stock * * @return bool - * @since 2.0.0 */ public function isInStock() { @@ -1843,7 +1713,6 @@ public function isInStock() * * @param string $attributeCode Code of the attribute * @return string - * @since 2.0.0 */ public function getAttributeText($attributeCode) { @@ -1856,7 +1725,6 @@ public function getAttributeText($attributeCode) * Returns array with dates for custom design * * @return array - * @since 2.0.0 */ public function getCustomDesignDate() { @@ -1872,7 +1740,6 @@ public function getCustomDesignDate() * * @param bool $useSid * @return string - * @since 2.0.0 */ public function getProductUrl($useSid = null) { @@ -1884,7 +1751,6 @@ public function getProductUrl($useSid = null) * * @param array $params the route params * @return string - * @since 2.0.0 */ public function getUrlInStore($params = []) { @@ -1896,7 +1762,6 @@ public function getUrlInStore($params = []) * * @param string $str URL * @return string - * @since 2.0.0 */ public function formatUrlKey($str) { @@ -1910,7 +1775,6 @@ public function formatUrlKey($str) * @param mixed $value New attribute value * @param int $store Store ID * @return void - * @since 2.0.0 */ public function addAttributeUpdate($code, $value, $store) { @@ -1930,7 +1794,6 @@ public function addAttributeUpdate($code, $value, $store) * * @param array $arrAttributes Attribute array * @return array - * @since 2.0.0 */ public function toArray(array $arrAttributes = []) { @@ -1948,7 +1811,6 @@ public function toArray(array $arrAttributes = []) * * @param array $data Array to form the object from * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function fromArray(array $data) { @@ -1973,7 +1835,6 @@ public function fromArray(array $data) * Returns request path * * @return string - * @since 2.0.0 */ public function getRequestPath() { @@ -1983,7 +1844,6 @@ public function getRequestPath() /** * Custom function for other modules * @return string - * @since 2.0.0 */ public function getGiftMessageAvailable() { @@ -1994,7 +1854,6 @@ public function getGiftMessageAvailable() * Check is product composite * * @return bool - * @since 2.0.0 */ public function isComposite() { @@ -2005,7 +1864,6 @@ public function isComposite() * Check if product can be configured * * @return bool - * @since 2.0.0 */ public function canConfigure() { @@ -2017,7 +1875,6 @@ public function canConfigure() * Retrieve sku through type instance * * @return string - * @since 2.0.0 */ public function getSku() { @@ -2028,7 +1885,6 @@ public function getSku() * Retrieve weight through type instance * * @return float - * @since 2.0.0 */ public function getWeight() { @@ -2039,7 +1895,6 @@ public function getWeight() * Retrieve option instance * * @return Product\Option - * @since 2.0.0 */ public function getOptionInstance() { @@ -2055,7 +1910,6 @@ public function getOptionInstance() * * @param Product\Option $option * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function addOption(Product\Option $option) { @@ -2071,7 +1925,6 @@ public function addOption(Product\Option $option) * * @param int $optionId * @return Product\Option|null - * @since 2.0.0 */ public function getOptionById($optionId) { @@ -2091,7 +1944,6 @@ public function getOptionById($optionId) * Retrieve options collection of product * * @return \Magento\Catalog\Model\ResourceModel\Product\Option\Collection - * @since 2.0.0 */ public function getProductOptionsCollection() { @@ -2102,7 +1954,6 @@ public function getProductOptionsCollection() * Get all options of product * * @return \Magento\Catalog\Api\Data\ProductCustomOptionInterface[]|null - * @since 2.0.0 */ public function getOptions() { @@ -2112,7 +1963,6 @@ public function getOptions() /** * @param \Magento\Catalog\Api\Data\ProductCustomOptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null) { @@ -2125,7 +1975,6 @@ public function setOptions(array $options = null) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsVirtual() { @@ -2139,7 +1988,6 @@ public function getIsVirtual() * @param mixed $value Value of the option * @param int|Product $product Product ID * @return $this - * @since 2.0.0 */ public function addCustomOption($code, $value, $product = null) { @@ -2156,7 +2004,6 @@ public function addCustomOption($code, $value, $product = null) * * @param array $options Array of options * @return void - * @since 2.0.0 */ public function setCustomOptions(array $options) { @@ -2167,7 +2014,6 @@ public function setCustomOptions(array $options) * Get all custom options of the product * * @return array - * @since 2.0.0 */ public function getCustomOptions() { @@ -2179,7 +2025,6 @@ public function getCustomOptions() * * @param string $code * @return array - * @since 2.0.0 */ public function getCustomOption($code) { @@ -2193,7 +2038,6 @@ public function getCustomOption($code) * Checks if there custom option for this product * * @return bool - * @since 2.0.0 */ public function hasCustomOptions() { @@ -2209,7 +2053,6 @@ public function hasCustomOptions() * * @param int $categoryId * @return bool - * @since 2.0.0 */ public function canBeShowInCategory($categoryId) { @@ -2220,7 +2063,6 @@ public function canBeShowInCategory($categoryId) * Retrieve category ids where product is available * * @return array - * @since 2.0.0 */ public function getAvailableInCategories() { @@ -2231,7 +2073,6 @@ public function getAvailableInCategories() * Retrieve default attribute set id * * @return int - * @since 2.0.0 */ public function getDefaultAttributeSetId() { @@ -2242,7 +2083,6 @@ public function getDefaultAttributeSetId() * Reset all model data * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function reset() { @@ -2255,7 +2095,6 @@ public function reset() * Get cache tags associated with object id * * @return string[] - * @since 2.0.0 */ public function getCacheIdTags() { @@ -2275,7 +2114,6 @@ public function getCacheIdTags() * * @param array $productIds * @return boolean|null - * @since 2.0.0 */ public function isProductsHasSku(array $productIds) { @@ -2296,7 +2134,6 @@ public function isProductsHasSku(array $productIds) * * @param \Magento\Framework\DataObject $buyRequest * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function processBuyRequest(\Magento\Framework\DataObject $buyRequest) { @@ -2329,7 +2166,6 @@ function ($value) { * Get preconfigured values from product * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getPreconfiguredValues() { @@ -2346,7 +2182,6 @@ public function getPreconfiguredValues() * To be sure that all product custom options does not has ID and has product instance * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function prepareCustomOptions() { @@ -2363,7 +2198,6 @@ public function prepareCustomOptions() * Clearing references on product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected function _clearReferences() { @@ -2375,7 +2209,6 @@ protected function _clearReferences() * Clearing product's data * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected function _clearData() { @@ -2398,7 +2231,6 @@ protected function _clearData() * Clearing references to product from product's options * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected function _clearOptionReferences() { @@ -2421,7 +2253,6 @@ protected function _clearOptionReferences() * * @param string|array $columns One or several columns * @return array - * @since 2.0.0 */ public function getProductEntitiesInfo($columns = null) { @@ -2432,7 +2263,6 @@ public function getProductEntitiesInfo($columns = null) * Checks whether product has disabled status * * @return bool - * @since 2.0.0 */ public function isDisabled() { @@ -2443,7 +2273,6 @@ public function isDisabled() * Sets product image from it's child if possible * * @return string - * @since 2.0.0 */ public function getImage() { @@ -2455,7 +2284,6 @@ public function getImage() * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -2504,7 +2332,6 @@ private function isStockStatusChanged() * Reload PriceInfo object * * @return \Magento\Framework\Pricing\PriceInfo\Base - * @since 2.0.0 */ public function reloadPriceInfo() { @@ -2519,7 +2346,6 @@ public function reloadPriceInfo() * * @return array * @todo refactor with converter for AbstractExtensibleModel - * @since 2.0.0 */ public function __toArray() { @@ -2546,7 +2372,6 @@ public function __toArray() * Convert Category model into flat array. * * @return array - * @since 2.0.0 */ public function toFlatArray() { @@ -2569,7 +2394,6 @@ public function toFlatArray() * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -2581,7 +2405,6 @@ public function setSku($sku) * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -2593,7 +2416,6 @@ public function setName($name) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -2605,7 +2427,6 @@ public function setStoreId($storeId) * * @param int $attributeSetId * @return $this - * @since 2.0.0 */ public function setAttributeSetId($attributeSetId) { @@ -2617,7 +2438,6 @@ public function setAttributeSetId($attributeSetId) * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price) { @@ -2629,7 +2449,6 @@ public function setPrice($price) * * @param int $status * @return $this - * @since 2.0.0 */ public function setStatus($status) { @@ -2641,7 +2460,6 @@ public function setStatus($status) * * @param int $visibility * @return $this - * @since 2.0.0 */ public function setVisibility($visibility) { @@ -2653,7 +2471,6 @@ public function setVisibility($visibility) * * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt) { @@ -2665,7 +2482,6 @@ public function setCreatedAt($createdAt) * * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt) { @@ -2677,7 +2493,6 @@ public function setUpdatedAt($updatedAt) * * @param float $weight * @return $this - * @since 2.0.0 */ public function setWeight($weight) { @@ -2689,7 +2504,6 @@ public function setWeight($weight) * * @param string $typeId * @return $this - * @since 2.0.0 */ public function setTypeId($typeId) { @@ -2703,7 +2517,6 @@ public function setTypeId($typeId) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductExtensionInterface - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -2721,7 +2534,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensionInterface $extensionAttributes) { @@ -2733,7 +2545,6 @@ public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductExtensio /** * @param array $mediaGallery * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface[] - * @since 2.0.0 */ protected function convertToMediaGalleryInterface(array $mediaGallery) { @@ -2750,7 +2561,6 @@ protected function convertToMediaGalleryInterface(array $mediaGallery) /** * @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface[]|null - * @since 2.0.0 */ public function getMediaGalleryEntries() { @@ -2766,7 +2576,6 @@ public function getMediaGalleryEntries() /** * @param ProductAttributeMediaGalleryEntryInterface[] $mediaGalleryEntries * @return $this - * @since 2.0.0 */ public function setMediaGalleryEntries(array $mediaGalleryEntries = null) { @@ -2837,7 +2646,7 @@ private function getMediaGalleryProcessor() * * @param array $productIds * @return $this - * @since 2.2.0 + * @since 2.1.2 */ public function setAssociatedProductIds(array $productIds) { diff --git a/app/code/Magento/Catalog/Model/Product/Action.php b/app/code/Magento/Catalog/Model/Product/Action.php index d8874a84b0344..34c50d5ee4ce7 100644 --- a/app/code/Magento/Catalog/Model/Product/Action.php +++ b/app/code/Magento/Catalog/Model/Product/Action.php @@ -14,7 +14,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Action extends \Magento\Framework\Model\AbstractModel { @@ -22,25 +21,21 @@ class Action extends \Magento\Framework\Model\AbstractModel * Product website factory * * @var \Magento\Catalog\Model\Product\WebsiteFactory - * @since 2.0.0 */ protected $_productWebsiteFactory; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_productEavIndexerProcessor; @@ -54,7 +49,6 @@ class Action extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -78,7 +72,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -89,7 +82,6 @@ protected function _construct() * Retrieve resource instance wrapper * * @return \Magento\Catalog\Model\ResourceModel\Product\Action - * @since 2.0.0 */ protected function _getResource() { @@ -103,7 +95,6 @@ protected function _getResource() * @param array $attrData * @param int $storeId * @return $this - * @since 2.0.0 */ public function updateAttributes($productIds, $attrData, $storeId) { @@ -134,7 +125,6 @@ public function updateAttributes($productIds, $attrData, $storeId) * @param array $attributesData * @return bool * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _hasIndexableAttributes($attributesData) { @@ -151,7 +141,6 @@ protected function _hasIndexableAttributes($attributesData) * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute|string $attribute * @return bool - * @since 2.0.0 */ protected function _attributeIsIndexable($attribute) { @@ -173,7 +162,6 @@ protected function _attributeIsIndexable($attribute) * @param array $websiteIds * @param string $type * @return void - * @since 2.0.0 */ public function updateWebsites($productIds, $websiteIds, $type) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Boolean.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Boolean.php index 03308a43a4c0f..c2108b0273bdb 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Boolean.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Boolean.php @@ -11,7 +11,6 @@ * Product attribute for enable/disable option * * @author Magento Core Team - * @since 2.0.0 */ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -20,7 +19,6 @@ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBacken * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Category.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Category.php index bca2c5009ddd4..b62301dece2f3 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Category.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Category.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Backend\Category * - * @since 2.0.0 */ class Category extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -23,7 +22,6 @@ class Category extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBacke * * @param \Magento\Catalog\Model\Product $object * @return $this - * @since 2.0.0 */ public function afterLoad($object) { 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 9482601790a2d..023f518211fed 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 @@ -17,7 +17,6 @@ * Catalog product abstract group price backend attribute model * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractGroupPrice extends Price { @@ -31,7 +30,6 @@ abstract class AbstractGroupPrice extends Price * Website currency codes and rates * * @var array - * @since 2.0.0 */ protected $_rates; @@ -40,7 +38,6 @@ abstract class AbstractGroupPrice extends Price * * @abstract * @return string - * @since 2.0.0 */ abstract protected function _getDuplicateErrorMessage(); @@ -48,13 +45,11 @@ abstract protected function _getDuplicateErrorMessage(); * Catalog product type * * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_catalogProductType; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; @@ -67,7 +62,6 @@ abstract protected function _getDuplicateErrorMessage(); * @param \Magento\Catalog\Model\Product\Type $catalogProductType * @param GroupManagementInterface $groupManagement * @param ScopeOverriddenValue|null $scopeOverriddenValue - * @since 2.0.0 */ public function __construct( \Magento\Directory\Model\CurrencyFactory $currencyFactory, @@ -95,7 +89,6 @@ public function __construct( * Retrieve websites currency rates and base currency codes * * @return array - * @since 2.0.0 */ protected function _getWebsiteCurrencyRates() { @@ -132,7 +125,6 @@ protected function _getWebsiteCurrencyRates() * Retrieve resource instance * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice - * @since 2.0.0 */ abstract protected function _getResource(); @@ -142,7 +134,6 @@ abstract protected function _getResource(); * @param array $objectArray * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getAdditionalUniqueFields($objectArray) { @@ -167,7 +158,6 @@ protected function getAdditionalFields($objectArray) * * @param \Magento\Catalog\Model\Product\Type\Price $priceObject * @return bool - * @since 2.0.0 */ protected function _isPriceFixed($priceObject) { @@ -182,7 +172,6 @@ protected function _isPriceFixed($priceObject) * @return \Magento\Framework\Phrase|bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validate($object) { @@ -283,7 +272,6 @@ protected function validatePrice(array $priceRow) * @param string $productTypeId * @param int $websiteId * @return array - * @since 2.0.0 */ public function preparePriceData(array $priceData, $productTypeId, $websiteId) { @@ -316,7 +304,6 @@ public function preparePriceData(array $priceData, $productTypeId, $websiteId) * * @param \Magento\Catalog\Model\Product $object * @return $this - * @since 2.0.0 */ public function afterLoad($object) { @@ -397,7 +384,6 @@ protected function modifyPriceData($object, $data) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function afterSave($object) { @@ -539,7 +525,6 @@ protected function updateValues(array $valuesToUpdate, array $oldValues) * * @param \Magento\Catalog\Model\Product $object * @return array - * @since 2.0.0 */ public function getAffectedFields($object) { @@ -561,7 +546,6 @@ public function getAffectedFields($object) * Get resource model instance * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\GroupPrice\AbstractGroupPrice - * @since 2.0.0 */ public function getResource() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterInterface.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterInterface.php index 34c1a1a945377..2d6e9d66ea6d7 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterInterface.php @@ -13,7 +13,6 @@ * Interface EntryConverterInterface. Create Media Gallery Entry and extract Entry data * * @api - * @since 2.0.0 */ interface EntryConverterInterface { @@ -21,7 +20,6 @@ interface EntryConverterInterface * Return Media Gallery Entry type * * @return string - * @since 2.0.0 */ public function getMediaEntryType(); @@ -31,7 +29,6 @@ public function getMediaEntryType(); * @param Product $product * @param array $rowData * @return ProductAttributeMediaGalleryEntryInterface[] - * @since 2.0.0 */ public function convertTo(Product $product, array $rowData); @@ -40,7 +37,6 @@ public function convertTo(Product $product, array $rowData); * * @param ProductAttributeMediaGalleryEntryInterface $entry * @return array - * @since 2.0.0 */ public function convertFrom(ProductAttributeMediaGalleryEntryInterface $entry); } diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterPool.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterPool.php index 817854f77bfc4..ee4f3af3f3a90 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterPool.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/EntryConverterPool.php @@ -10,19 +10,16 @@ * Class aggregate all Media Gallery Entry Converters * * @api - * @since 2.0.0 */ class EntryConverterPool { /** * @var EntryConverterInterface[] - * @since 2.0.0 */ private $mediaGalleryEntryConvertersCollection; /** * @param EntryConverterInterface[] $mediaGalleryEntryConvertersCollection - * @since 2.0.0 */ public function __construct(array $mediaGalleryEntryConvertersCollection) { @@ -42,7 +39,6 @@ public function __construct(array $mediaGalleryEntryConvertersCollection) * @param string $mediaType * @return EntryConverterInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getConverterByMediaType($mediaType) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/ImageEntryConverter.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/ImageEntryConverter.php index f0ae6f5969869..a8eff8d54a4c8 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/ImageEntryConverter.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/ImageEntryConverter.php @@ -12,7 +12,6 @@ /** * Converter for Image media gallery type - * @since 2.0.0 */ class ImageEntryConverter implements EntryConverterInterface { @@ -23,20 +22,17 @@ class ImageEntryConverter implements EntryConverterInterface /** * @var \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory - * @since 2.0.0 */ protected $mediaGalleryEntryFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @param \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory, @@ -48,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getMediaEntryType() { @@ -59,7 +54,6 @@ public function getMediaEntryType() * @param Product $product * @param array $rowData * @return ProductAttributeMediaGalleryEntryInterface $entry - * @since 2.0.0 */ public function convertTo(Product $product, array $rowData) { @@ -83,7 +77,6 @@ public function convertTo(Product $product, array $rowData) /** * @param ProductAttributeMediaGalleryEntryInterface $entry * @return array - * @since 2.0.0 */ public function convertFrom(ProductAttributeMediaGalleryEntryInterface $entry) { @@ -103,7 +96,6 @@ public function convertFrom(ProductAttributeMediaGalleryEntryInterface $entry) /** * @param ImageContentInterface $content * @return array - * @since 2.0.0 */ protected function convertFromMediaGalleryEntryContentInterface( ImageContentInterface $content = null 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 b42a840f8808c..a725087e7a6fe 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Price.php @@ -14,7 +14,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -22,7 +21,6 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Catalog helper * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_helper; @@ -30,7 +28,6 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -38,7 +35,6 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Currency factory * * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; @@ -46,13 +42,11 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Core config model * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Framework\Locale\FormatInterface - * @since 2.0.0 */ protected $localeFormat; @@ -69,7 +63,6 @@ class Price extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param \Magento\Framework\Locale\FormatInterface $localeFormat * @param ScopeOverriddenValue|null $scopeOverriddenValue - * @since 2.0.0 */ public function __construct( \Magento\Directory\Model\CurrencyFactory $currencyFactory, @@ -94,7 +87,6 @@ public function __construct( * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return $this - * @since 2.0.0 */ public function setAttribute($attribute) { @@ -108,7 +100,6 @@ public function setAttribute($attribute) * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return $this - * @since 2.0.0 */ public function setScope($attribute) { @@ -131,7 +122,6 @@ public function setScope($attribute) * * @param \Magento\Catalog\Model\Product $object * @return $this - * @since 2.0.0 */ public function afterSave($object) { @@ -176,7 +166,6 @@ private function isUseDefault($object) * @param \Magento\Catalog\Model\Product $object * @throws \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function validate($object) { @@ -199,7 +188,6 @@ public function validate($object) * * @param mixed $value * @return bool - * @since 2.0.0 */ protected function isPositiveOrZero($value) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php index 0d64a42fd3103..c314e173c9970 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php @@ -18,7 +18,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Backend\Sku * - * @since 2.0.0 */ class Sku extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -33,13 +32,11 @@ class Sku extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @param \Magento\Framework\Stdlib\StringUtils $string - * @since 2.0.0 */ public function __construct(\Magento\Framework\Stdlib\StringUtils $string) { @@ -53,7 +50,6 @@ public function __construct(\Magento\Framework\Stdlib\StringUtils $string) * @return bool * @throws \Magento\Framework\Exception\LocalizedException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validate($object) { @@ -76,7 +72,6 @@ public function validate($object) * * @param Product $object * @return void - * @since 2.0.0 */ protected function _generateUniqueSku($object) { @@ -102,7 +97,6 @@ protected function _generateUniqueSku($object) * * @param Product $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { @@ -116,7 +110,6 @@ public function beforeSave($object) * @param \Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute * @param Product $object * @return int - * @since 2.0.0 */ protected function _getLastSimilarAttributeValueIncrement($attribute, $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 9f515e1ddca32..17960a09b899d 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php @@ -14,7 +14,6 @@ * @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.0.0 */ class Stock extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -22,7 +21,6 @@ class Stock extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Stock Registry * * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; @@ -30,7 +28,6 @@ class Stock extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend * Construct * * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry @@ -43,7 +40,6 @@ public function __construct( * * @param Product $object * @return $this - * @since 2.0.0 */ public function afterLoad($object) { @@ -61,7 +57,6 @@ public function afterLoad($object) * @param Product $object * @throws \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function validate($object) { 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 0acc1cf82ea66..93975178e5df3 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php @@ -16,7 +16,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Backend\Tierprice * - * @since 2.0.0 */ class Tierprice extends \Magento\Catalog\Model\Product\Attribute\Backend\GroupPrice\AbstractGroupPrice { @@ -24,7 +23,6 @@ class Tierprice extends \Magento\Catalog\Model\Product\Attribute\Backend\GroupPr * Catalog product attribute backend tierprice * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice - * @since 2.0.0 */ protected $_productAttributeBackendTierprice; @@ -38,7 +36,6 @@ class Tierprice extends \Magento\Catalog\Model\Product\Attribute\Backend\GroupPr * @param \Magento\Customer\Api\GroupManagementInterface $groupManagement * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice $productAttributeTierprice * @param ScopeOverriddenValue|null $scopeOverriddenValue - * @since 2.0.0 */ public function __construct( \Magento\Directory\Model\CurrencyFactory $currencyFactory, @@ -68,7 +65,6 @@ public function __construct( * Retrieve resource instance * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice - * @since 2.0.0 */ protected function _getResource() { @@ -80,7 +76,6 @@ protected function _getResource() * * @param array $objectArray * @return array - * @since 2.0.0 */ protected function _getAdditionalUniqueFields($objectArray) { @@ -106,7 +101,6 @@ protected function getAdditionalFields($objectArray) * Error message when duplicates * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getDuplicateErrorMessage() { @@ -118,7 +112,6 @@ protected function _getDuplicateErrorMessage() * * @param \Magento\Catalog\Model\Product\Type\Price $priceObject * @return bool - * @since 2.0.0 */ protected function _isPriceFixed($priceObject) { @@ -129,7 +122,6 @@ protected function _isPriceFixed($priceObject) * By default attribute value is considered non-scalar that can be stored in a generic way * * @return bool - * @since 2.0.0 */ public function isScalar() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php index e81128e53073c..b79230d859096 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php @@ -14,20 +14,17 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Backend\Weight * - * @since 2.0.0 */ class Weight extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @var \Magento\Framework\Locale\FormatInterface - * @since 2.0.0 */ protected $localeFormat; /** * @param \Magento\Framework\Locale\FormatInterface $localeFormat - * @since 2.0.0 */ public function __construct( \Magento\Framework\Locale\FormatInterface $localeFormat @@ -41,7 +38,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product $object * @throws \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function validate($object) { @@ -60,7 +56,6 @@ public function validate($object) * * @param mixed $value * @return bool - * @since 2.0.0 */ protected function isPositiveOrZero($value) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/DefaultAttributes.php b/app/code/Magento/Catalog/Model/Product/Attribute/DefaultAttributes.php index 4dce41a99107f..fd71b10fb6207 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/DefaultAttributes.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/DefaultAttributes.php @@ -11,7 +11,6 @@ * Product default attributes provider * * @codeCoverageIgnore - * @since 2.0.0 */ class DefaultAttributes implements ProviderInterface { @@ -19,7 +18,6 @@ class DefaultAttributes implements ProviderInterface * Retrieve default entity static attributes * * @return string[] - * @since 2.0.0 */ public function getDefaultAttributes() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Frontend/Image.php b/app/code/Magento/Catalog/Model/Product/Attribute/Frontend/Image.php index 91af5eb643a5a..a0dfb2b4ee9b2 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Frontend/Image.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Frontend/Image.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Frontend\Image * - * @since 2.0.0 */ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFrontend { @@ -22,7 +21,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFronten * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -30,7 +28,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFronten * Construct * * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan * @param \Magento\Catalog\Model\Product $product * * @return string|false - * @since 2.0.0 */ public function getUrl($product) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Group.php b/app/code/Magento/Catalog/Model/Product/Attribute/Group.php index 2fb134a12baf7..dacef56de30d4 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Group.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Group.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Group * - * @since 2.0.0 */ class Group extends \Magento\Eav\Model\Entity\Attribute\Group { @@ -19,7 +18,6 @@ class Group extends \Magento\Eav\Model\Entity\Attribute\Group * Attribute collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -34,7 +32,6 @@ class Group extends \Magento\Eav\Model\Entity\Attribute\Group * @param \Magento\Framework\Model\ResourceModel\AbstractResource|null $resource * @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -64,7 +61,6 @@ public function __construct( * Check if group contains system attributes * * @return bool - * @since 2.0.0 */ public function hasSystemAttributes() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Management.php b/app/code/Magento/Catalog/Model/Product/Attribute/Management.php index bb566ba790c6c..e0c6bd83c89f6 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Management.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Management.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Management * - * @since 2.0.0 */ class Management implements \Magento\Catalog\Api\ProductAttributeManagementInterface { /** * @var \Magento\Eav\Api\AttributeManagementInterface - * @since 2.0.0 */ protected $eavAttributeManagement; /** * @param \Magento\Eav\Api\AttributeManagementInterface $eavAttributeManagement - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeManagementInterface $eavAttributeManagement @@ -31,7 +28,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function assign($attributeSetId, $attributeGroupId, $attributeCode, $sortOrder) { @@ -46,7 +42,6 @@ public function assign($attributeSetId, $attributeGroupId, $attributeCode, $sort /** * {@inheritdoc} - * @since 2.0.0 */ public function unassign($attributeSetId, $attributeCode) { @@ -55,7 +50,6 @@ public function unassign($attributeSetId, $attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributes($attributeSetId) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/OptionManagement.php b/app/code/Magento/Catalog/Model/Product/Attribute/OptionManagement.php index 030926e78932f..b8fbbef9400ea 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/OptionManagement.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/OptionManagement.php @@ -11,19 +11,16 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\OptionManagement * - * @since 2.0.0 */ class OptionManagement implements \Magento\Catalog\Api\ProductAttributeOptionManagementInterface { /** * @var \Magento\Eav\Api\AttributeOptionManagementInterface - * @since 2.0.0 */ protected $eavOptionManagement; /** * @param \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement @@ -33,7 +30,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems($attributeCode) { @@ -45,7 +41,6 @@ public function getItems($attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function add($attributeCode, $option) { @@ -58,7 +53,6 @@ public function add($attributeCode, $option) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete($attributeCode, $optionId) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Repository.php b/app/code/Magento/Catalog/Model/Product/Attribute/Repository.php index 8a1b854b4a5f6..270a2f229678b 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Repository.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Repository.php @@ -12,49 +12,41 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Repository implements \Magento\Catalog\Api\ProductAttributeRepositoryInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Attribute - * @since 2.0.0 */ protected $attributeResource; /** * @var \Magento\Eav\Model\AttributeRepository - * @since 2.0.0 */ protected $eavAttributeRepository; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; /** * @var \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype\ValidatorFactory - * @since 2.0.0 */ protected $inputtypeValidatorFactory; /** * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $productHelper; /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filterManager; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; @@ -66,7 +58,6 @@ class Repository implements \Magento\Catalog\Api\ProductAttributeRepositoryInter * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype\ValidatorFactory $validatorFactory * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Attribute $attributeResource, @@ -88,7 +79,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function get($attributeCode) { @@ -100,7 +90,6 @@ public function get($attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) { @@ -114,7 +103,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute) { @@ -214,7 +202,6 @@ public function save(\Magento\Catalog\Api\Data\ProductAttributeInterface $attrib /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductAttributeInterface $attribute) { @@ -224,7 +211,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductAttributeInterface $attr /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($attributeCode) { @@ -237,7 +223,6 @@ public function deleteById($attributeCode) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataObjectClassName = null) { @@ -249,7 +234,6 @@ public function getCustomAttributesMetadata($dataObjectClassName = null) * * @param string $label * @return string - * @since 2.0.0 */ protected function generateCode($label) { @@ -267,7 +251,6 @@ protected function generateCode($label) * @param string $code * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function validateCode($code) { @@ -283,7 +266,6 @@ protected function validateCode($code) * @param string $frontendInput * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function validateFrontendInput($frontendInput) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/SetManagement.php b/app/code/Magento/Catalog/Model/Product/Attribute/SetManagement.php index 76919424dea95..c3fac33de6169 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/SetManagement.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/SetManagement.php @@ -11,25 +11,21 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\SetManagement * - * @since 2.0.0 */ class SetManagement implements \Magento\Catalog\Api\AttributeSetManagementInterface { /** * @var \Magento\Eav\Api\AttributeSetManagementInterface - * @since 2.0.0 */ protected $attributeSetManagement; /** * @var \Magento\Eav\Api\AttributeSetRepositoryInterface - * @since 2.0.0 */ protected $attributeSetRepository; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; @@ -37,7 +33,6 @@ class SetManagement implements \Magento\Catalog\Api\AttributeSetManagementInterf * @param \Magento\Eav\Api\AttributeSetManagementInterface $attributeSetManagement * @param \Magento\Eav\Api\AttributeSetRepositoryInterface $attributeSetRepository * @param \Magento\Eav\Model\Config $eavConfig - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeSetManagementInterface $attributeSetManagement, @@ -51,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function create(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet, $skeletonId) { @@ -67,7 +61,6 @@ public function create(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet * @param int $skeletonId * @return void * @throws StateException - * @since 2.0.0 */ protected function validateSkeletonSet($skeletonId) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/SetRepository.php b/app/code/Magento/Catalog/Model/Product/Attribute/SetRepository.php index 62006240d86e3..e68b2d976413f 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/SetRepository.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/SetRepository.php @@ -11,31 +11,26 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\SetRepository * - * @since 2.0.0 */ class SetRepository implements \Magento\Catalog\Api\AttributeSetRepositoryInterface { /** * @var \Magento\Eav\Api\AttributeSetRepositoryInterface - * @since 2.0.0 */ protected $attributeSetRepository; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.0.0 */ protected $filterBuilder; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; @@ -44,7 +39,6 @@ class SetRepository implements \Magento\Catalog\Api\AttributeSetRepositoryInterf * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\Api\FilterBuilder $filterBuilder * @param \Magento\Eav\Model\Config $eavConfig - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeSetRepositoryInterface $attributeSetRepository, @@ -60,7 +54,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet) { @@ -70,7 +63,6 @@ public function save(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) { @@ -90,7 +82,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr /** * {@inheritdoc} - * @since 2.0.0 */ public function get($attributeSetId) { @@ -101,7 +92,6 @@ public function get($attributeSetId) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet) { @@ -111,7 +101,6 @@ public function delete(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($attributeSetId) { @@ -125,7 +114,6 @@ public function deleteById($attributeSetId) * @param \Magento\Eav\Api\Data\AttributeSetInterface $attributeSet * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function validate(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet) { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Boolean.php b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Boolean.php index bc83d2245930d..52d215d8d9ba8 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Boolean.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Boolean.php @@ -9,7 +9,6 @@ * Product attribute source model for enable/disable option * * @api - * @since 2.0.0 */ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Source\Boolean { @@ -22,7 +21,6 @@ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Source\Boolean * Retrieve all attribute options * * @return array - * @since 2.0.0 */ public function getAllOptions() { 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 7dc2bdb8858ac..2699636e02810 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Countryofmanufacture.php @@ -17,13 +17,11 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Source\Countryofmanufacture * - * @since 2.0.0 */ class Countryofmanufacture extends AbstractSource implements OptionSourceInterface { /** * @var \Magento\Framework\App\Cache\Type\Config - * @since 2.0.0 */ protected $_configCacheType; @@ -31,7 +29,6 @@ class Countryofmanufacture extends AbstractSource implements OptionSourceInterfa * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -39,7 +36,6 @@ class Countryofmanufacture extends AbstractSource implements OptionSourceInterfa * Country factory * * @var \Magento\Directory\Model\CountryFactory - * @since 2.0.0 */ protected $_countryFactory; @@ -55,7 +51,6 @@ class Countryofmanufacture extends AbstractSource implements OptionSourceInterfa * @param \Magento\Directory\Model\CountryFactory $countryFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\Cache\Type\Config $configCacheType - * @since 2.0.0 */ public function __construct( \Magento\Directory\Model\CountryFactory $countryFactory, @@ -71,7 +66,6 @@ public function __construct( * Get list of all available countries * * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Inputtype.php b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Inputtype.php index eb512aafdc646..f8a8496ff0559 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Inputtype.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Inputtype.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\Source\Inputtype * - * @since 2.0.0 */ class Inputtype extends \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype { @@ -22,7 +21,6 @@ class Inputtype extends \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputt * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -30,14 +28,12 @@ class Inputtype extends \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputt * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; /** * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct(\Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Framework\Registry $coreRegistry) { @@ -50,7 +46,6 @@ public function __construct(\Magento\Framework\Event\ManagerInterface $eventMana * * @return array * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Layout.php b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Layout.php index a1d0eb6c6d291..63b1444d1db07 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Layout.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Layout.php @@ -9,19 +9,16 @@ * Catalog product landing page attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Layout extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * @var \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface - * @since 2.0.0 */ protected $pageLayoutBuilder; /** * @param \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder - * @since 2.0.0 */ public function __construct(\Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder) { @@ -30,7 +27,6 @@ public function __construct(\Magento\Framework\View\Model\PageLayout\Config\Buil /** * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Status.php b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Status.php index f0801d12052c9..9f75caac275bb 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Source/Status.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Source/Status.php @@ -13,7 +13,6 @@ * Product status functionality model * * @api - * @since 2.0.0 */ class Status extends AbstractSource implements SourceInterface, OptionSourceInterface { @@ -30,7 +29,6 @@ class Status extends AbstractSource implements SourceInterface, OptionSourceInte * Retrieve Visible Status Ids * * @return int[] - * @since 2.0.0 */ public function getVisibleStatusIds() { @@ -42,7 +40,6 @@ public function getVisibleStatusIds() * Default Product Enable status * * @return int[] - * @since 2.0.0 */ public function getSaleableStatusIds() { @@ -53,7 +50,6 @@ public function getSaleableStatusIds() * Retrieve option array * * @return string[] - * @since 2.0.0 */ public static function getOptionArray() { @@ -64,7 +60,6 @@ public static function getOptionArray() * Retrieve option array with empty value * * @return string[] - * @since 2.0.0 */ public function getAllOptions() { @@ -82,7 +77,6 @@ public function getAllOptions() * * @param string $optionId * @return string - * @since 2.0.0 */ public function getOptionText($optionId) { @@ -97,7 +91,6 @@ public function getOptionText($optionId) * @param \Magento\Eav\Model\Entity\Collection\AbstractCollection $collection * @param string $dir direction * @return AbstractSource - * @since 2.0.0 */ public function addValueSortToCollection($collection, $dir = 'asc') { diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/Type.php b/app/code/Magento/Catalog/Model/Product/Attribute/Type.php index 5f68f2966e984..b7fba013b5002 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/Type.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/Type.php @@ -8,14 +8,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Catalog\Api\Data\ProductAttributeTypeInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue() { @@ -24,7 +22,6 @@ public function getValue() /** * {@inheritdoc} - * @since 2.0.0 */ public function getLabel() { @@ -36,7 +33,6 @@ public function getLabel() * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value) { @@ -48,7 +44,6 @@ public function setValue($value) * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -59,7 +54,6 @@ public function setLabel($label) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -71,7 +65,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductAttributeTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/Product/Attribute/TypesList.php b/app/code/Magento/Catalog/Model/Product/Attribute/TypesList.php index 4541f2b6bf77c..6e728df9defbb 100644 --- a/app/code/Magento/Catalog/Model/Product/Attribute/TypesList.php +++ b/app/code/Magento/Catalog/Model/Product/Attribute/TypesList.php @@ -9,25 +9,21 @@ /** * Class \Magento\Catalog\Model\Product\Attribute\TypesList * - * @since 2.0.0 */ class TypesList implements \Magento\Catalog\Api\ProductAttributeTypesListInterface { /** * @var \Magento\Catalog\Model\Product\Attribute\Source\InputtypeFactory - * @since 2.0.0 */ private $inputTypeFactory; /** * @var \Magento\Catalog\Api\Data\ProductAttributeTypeInterfaceFactory - * @since 2.0.0 */ private $attributeTypeFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ private $dataObjectHelper; @@ -35,7 +31,6 @@ class TypesList implements \Magento\Catalog\Api\ProductAttributeTypesListInterfa * @param Source\InputtypeFactory $inputTypeFactory * @param \Magento\Catalog\Api\Data\ProductAttributeTypeInterfaceFactory $attributeTypeFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Attribute\Source\InputtypeFactory $inputTypeFactory, @@ -49,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems() { diff --git a/app/code/Magento/Catalog/Model/Product/AttributeSet/Build.php b/app/code/Magento/Catalog/Model/Product/AttributeSet/Build.php index b6d721d8d7e2d..0b435a20daa46 100644 --- a/app/code/Magento/Catalog/Model/Product/AttributeSet/Build.php +++ b/app/code/Magento/Catalog/Model/Product/AttributeSet/Build.php @@ -10,37 +10,31 @@ /** * Class \Magento\Catalog\Model\Product\AttributeSet\Build * - * @since 2.0.0 */ class Build { /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $attributeSetFactory; /** * @var string - * @since 2.0.0 */ protected $name; /** * @var int - * @since 2.0.0 */ protected $entityTypeId; /** * @var int - * @since 2.0.0 */ protected $skeletonId; /** * @param \Magento\Eav\Model\Entity\Attribute\SetFactory $attributeSetFactory - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Attribute\SetFactory $attributeSetFactory @@ -51,7 +45,6 @@ public function __construct( /** * @param int $entityTypeId * @return $this - * @since 2.0.0 */ public function setEntityTypeId($entityTypeId) { @@ -62,7 +55,6 @@ public function setEntityTypeId($entityTypeId) /** * @param int $skeletonId * @return $this - * @since 2.0.0 */ public function setSkeletonId($skeletonId) { @@ -73,7 +65,6 @@ public function setSkeletonId($skeletonId) /** * @param string $setName * @return $this - * @since 2.0.0 */ public function setName($setName) { @@ -84,7 +75,6 @@ public function setName($setName) /** * @return \Magento\Eav\Model\Entity\Attribute\Set * @throws AlreadyExistsException - * @since 2.0.0 */ public function getAttributeSet() { @@ -106,7 +96,6 @@ public function getAttributeSet() /** * @trows \InvalidArgumentException * @return void - * @since 2.0.0 */ protected function validateParameters() { diff --git a/app/code/Magento/Catalog/Model/Product/AttributeSet/Options.php b/app/code/Magento/Catalog/Model/Product/AttributeSet/Options.php index a9b12470740e9..195d032345446 100644 --- a/app/code/Magento/Catalog/Model/Product/AttributeSet/Options.php +++ b/app/code/Magento/Catalog/Model/Product/AttributeSet/Options.php @@ -8,20 +8,17 @@ /** * Class \Magento\Catalog\Model\Product\AttributeSet\Options * - * @since 2.0.0 */ class Options implements \Magento\Framework\Data\OptionSourceInterface { /** * @var null|array - * @since 2.0.0 */ protected $options; /** * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $collectionFactory * @param \Magento\Catalog\Model\ResourceModel\Product $product - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $collectionFactory, @@ -33,7 +30,6 @@ public function __construct( /** * @return array|null - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Product/AttributeSet/SuggestedSet.php b/app/code/Magento/Catalog/Model/Product/AttributeSet/SuggestedSet.php index 7b4696107806d..985144f756206 100644 --- a/app/code/Magento/Catalog/Model/Product/AttributeSet/SuggestedSet.php +++ b/app/code/Magento/Catalog/Model/Product/AttributeSet/SuggestedSet.php @@ -7,7 +7,6 @@ /** * Suggested product attribute set - * @since 2.0.0 */ class SuggestedSet { @@ -15,7 +14,6 @@ class SuggestedSet * Set collection factory * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $attributeSetCollectionFactory; @@ -23,13 +21,11 @@ class SuggestedSet * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $resourceHelper; /** * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.0.0 */ protected $product; @@ -37,7 +33,6 @@ class SuggestedSet * @param \Magento\Catalog\Model\ResourceModel\Product $product * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attributeSetCollectionFactory * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product $product, @@ -54,7 +49,6 @@ public function __construct( * * @param string $labelPart * @return array - * @since 2.0.0 */ public function getSuggestedSets($labelPart) { diff --git a/app/code/Magento/Catalog/Model/Product/CartConfiguration.php b/app/code/Magento/Catalog/Model/Product/CartConfiguration.php index f5bb8c6496302..9b76cd4eabd95 100644 --- a/app/code/Magento/Catalog/Model/Product/CartConfiguration.php +++ b/app/code/Magento/Catalog/Model/Product/CartConfiguration.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\CartConfiguration * - * @since 2.0.0 */ class CartConfiguration { @@ -22,7 +21,6 @@ class CartConfiguration * @param \Magento\Catalog\Model\Product $product * @param array $config * @return bool - * @since 2.0.0 */ public function isProductConfigured(\Magento\Catalog\Model\Product $product, $config) { diff --git a/app/code/Magento/Catalog/Model/Product/CatalogPrice.php b/app/code/Magento/Catalog/Model/Product/CatalogPrice.php index 4bc8d4df4c390..a8519d1bcd52f 100644 --- a/app/code/Magento/Catalog/Model/Product/CatalogPrice.php +++ b/app/code/Magento/Catalog/Model/Product/CatalogPrice.php @@ -7,19 +7,16 @@ /** * Price model for external catalogs - * @since 2.0.0 */ class CatalogPrice implements CatalogPriceInterface { /** * @var CatalogPriceFactory - * @since 2.0.0 */ protected $priceModelFactory; /** * @var array catalog price models for different product types - * @since 2.0.0 */ protected $priceModelPool; @@ -27,7 +24,6 @@ class CatalogPrice implements CatalogPriceInterface * * @param CatalogPriceFactory $priceModelFactory * @param array $priceModelPool - * @since 2.0.0 */ public function __construct(CatalogPriceFactory $priceModelFactory, array $priceModelPool) { @@ -37,7 +33,6 @@ public function __construct(CatalogPriceFactory $priceModelFactory, array $price /** * {@inheritdoc} - * @since 2.0.0 */ public function getCatalogPrice( \Magento\Catalog\Model\Product $product, @@ -58,7 +53,6 @@ public function getCatalogPrice( * @param \Magento\Catalog\Model\Product $product * @return float * @throws \UnexpectedValueException - * @since 2.0.0 */ public function getCatalogRegularPrice(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/CatalogPriceFactory.php b/app/code/Magento/Catalog/Model/Product/CatalogPriceFactory.php index c36bdf594a067..563c407498f15 100644 --- a/app/code/Magento/Catalog/Model/Product/CatalogPriceFactory.php +++ b/app/code/Magento/Catalog/Model/Product/CatalogPriceFactory.php @@ -7,19 +7,16 @@ /** * Price model for external catalogs - * @since 2.0.0 */ class CatalogPriceFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $name * @return \Magento\Catalog\Model\Product\CatalogPriceInterface * @throws \UnexpectedValueException - * @since 2.0.0 */ public function create($name) { diff --git a/app/code/Magento/Catalog/Model/Product/CatalogPriceInterface.php b/app/code/Magento/Catalog/Model/Product/CatalogPriceInterface.php index d0e09be94e3e5..e9619a4833403 100644 --- a/app/code/Magento/Catalog/Model/Product/CatalogPriceInterface.php +++ b/app/code/Magento/Catalog/Model/Product/CatalogPriceInterface.php @@ -10,7 +10,6 @@ * Product price interface for external catalogs * * @api - * @since 2.0.0 */ interface CatalogPriceInterface { @@ -21,7 +20,6 @@ interface CatalogPriceInterface * @param null|\Magento\Store\Api\Data\StoreInterface $store Store view * @param bool $inclTax * @return null|float - * @since 2.0.0 */ public function getCatalogPrice( \Magento\Catalog\Model\Product $product, @@ -34,7 +32,6 @@ public function getCatalogPrice( * * @param \Magento\Catalog\Model\Product $product * @return float|null - * @since 2.0.0 */ public function getCatalogRegularPrice(\Magento\Catalog\Model\Product $product); } diff --git a/app/code/Magento/Catalog/Model/Product/Compare/Item.php b/app/code/Magento/Catalog/Model/Product/Compare/Item.php index 69d89440c5d32..9d8fa10ba9603 100644 --- a/app/code/Magento/Catalog/Model/Product/Compare/Item.php +++ b/app/code/Magento/Catalog/Model/Product/Compare/Item.php @@ -19,7 +19,6 @@ * @method \Magento\Catalog\Model\Product\Compare\Item setProductId(int $value) * @method int getStoreId() * @method \Magento\Catalog\Model\Product\Compare\Item setStoreId(int $value) - * @since 2.0.0 */ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Framework\DataObject\IdentityInterface { @@ -32,7 +31,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_compare_item'; @@ -42,7 +40,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * In observe method you can use $observer->getEvent()->getItem() in this case * * @var string - * @since 2.0.0 */ protected $_eventObject = 'item'; @@ -50,7 +47,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * Catalog product compare * * @var \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ protected $_catalogProductCompare = null; @@ -58,7 +54,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; @@ -66,7 +61,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * Customer visitor * * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $_customerVisitor; @@ -74,7 +68,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -88,7 +81,6 @@ class Item extends \Magento\Framework\Model\AbstractModel implements \Magento\Fr * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -112,7 +104,6 @@ public function __construct( * Initialize resourse model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -123,7 +114,6 @@ protected function _construct() * Retrieve Resource instance * * @return \Magento\Catalog\Model\ResourceModel\Product\Compare\Item - * @since 2.0.0 */ protected function _getResource() { @@ -134,7 +124,6 @@ protected function _getResource() * Set current store before save * * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -151,7 +140,6 @@ public function beforeSave() * * @param int $visitorId * @return $this - * @since 2.0.0 */ public function addVisitorId($visitorId) { @@ -164,7 +152,6 @@ public function addVisitorId($visitorId) * * @param Product|int $product * @return $this - * @since 2.0.0 */ public function loadByProduct($product) { @@ -177,7 +164,6 @@ public function loadByProduct($product) * * @param Product|int $product * @return $this - * @since 2.0.0 */ public function addProductData($product) { @@ -194,7 +180,6 @@ public function addProductData($product) * Retrieve data for save * * @return array - * @since 2.0.0 */ public function getDataForSave() { @@ -210,7 +195,6 @@ public function getDataForSave() * Customer login bind process * * @return $this - * @since 2.0.0 */ public function bindCustomerLogin() { @@ -226,7 +210,6 @@ public function bindCustomerLogin() * @param \Magento\Framework\Event\Observer $observer * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function bindCustomerLogout(\Magento\Framework\Event\Observer $observer = null) { @@ -240,7 +223,6 @@ public function bindCustomerLogout(\Magento\Framework\Event\Observer $observer = * Clean compare items * * @return $this - * @since 2.0.0 */ public function clean() { @@ -252,7 +234,6 @@ public function clean() * Retrieve Customer Id if loggined * * @return int - * @since 2.0.0 */ public function getCustomerId() { @@ -267,7 +248,6 @@ public function getCustomerId() * Retrieve Visitor Id * * @return int - * @since 2.0.0 */ public function getVisitorId() { @@ -282,7 +262,6 @@ public function getVisitorId() * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php b/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php index e97578be6925d..bb33749d25129 100644 --- a/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php +++ b/app/code/Magento/Catalog/Model/Product/Compare/ListCompare.php @@ -12,7 +12,6 @@ * * @api * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class ListCompare extends \Magento\Framework\DataObject { @@ -20,7 +19,6 @@ class ListCompare extends \Magento\Framework\DataObject * Customer visitor * * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $_customerVisitor; @@ -28,7 +26,6 @@ class ListCompare extends \Magento\Framework\DataObject * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; @@ -36,7 +33,6 @@ class ListCompare extends \Magento\Framework\DataObject * Catalog product compare item * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item - * @since 2.0.0 */ protected $_catalogProductCompareItem; @@ -44,7 +40,6 @@ class ListCompare extends \Magento\Framework\DataObject * Item collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item\CollectionFactory - * @since 2.0.0 */ protected $_itemCollectionFactory; @@ -52,7 +47,6 @@ class ListCompare extends \Magento\Framework\DataObject * Compare item factory * * @var \Magento\Catalog\Model\Product\Compare\ItemFactory - * @since 2.0.0 */ protected $_compareItemFactory; @@ -65,7 +59,6 @@ class ListCompare extends \Magento\Framework\DataObject * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Customer\Model\Visitor $customerVisitor * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Compare\ItemFactory $compareItemFactory, @@ -88,7 +81,6 @@ public function __construct( * * @param int|\Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function addProduct($product) { @@ -110,7 +102,6 @@ public function addProduct($product) * * @param string[] $productIds * @return $this - * @since 2.0.0 */ public function addProducts($productIds) { @@ -126,7 +117,6 @@ public function addProducts($productIds) * Retrieve Compare Items Collection * * @return Collection - * @since 2.0.0 */ public function getItemCollection() { @@ -138,7 +128,6 @@ public function getItemCollection() * * @param int|\Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function removeProduct($product) { @@ -159,7 +148,6 @@ public function removeProduct($product) * * @param \Magento\Catalog\Model\Product\Compare\Item $item * @return $this - * @since 2.0.0 */ protected function _addVisitorToItem($item) { @@ -177,7 +165,6 @@ protected function _addVisitorToItem($item) * @param int $customerId * @param int $visitorId * @return bool - * @since 2.0.0 */ public function hasItems($customerId, $visitorId) { diff --git a/app/code/Magento/Catalog/Model/Product/Condition.php b/app/code/Magento/Catalog/Model/Product/Condition.php index e1f70ae4bfa1c..c27569ce7b7c4 100644 --- a/app/code/Magento/Catalog/Model/Product/Condition.php +++ b/app/code/Magento/Catalog/Model/Product/Condition.php @@ -14,7 +14,6 @@ * @method Condition setPkFieldName(string $fieldName) * @method string|array getTable() * @method Condition setTable($table) - * @since 2.0.0 */ class Condition extends \Magento\Framework\DataObject implements Condition\ConditionInterface { @@ -22,7 +21,6 @@ class Condition extends \Magento\Framework\DataObject implements Condition\Condi * @param AbstractCollection $collection * * @return $this - * @since 2.0.0 */ public function applyToCollection($collection) { @@ -40,7 +38,6 @@ public function applyToCollection($collection) * @param AdapterInterface $dbAdapter * * @return Select|string - * @since 2.0.0 */ public function getIdsSelect($dbAdapter) { diff --git a/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php b/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php index ac50194f1d9d1..f1be3a1d4d599 100644 --- a/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php @@ -12,21 +12,18 @@ /** * Interface \Magento\Catalog\Model\Product\Condition\ConditionInterface * - * @since 2.0.0 */ interface ConditionInterface { /** * @param AbstractCollection $collection * @return $this - * @since 2.0.0 */ public function applyToCollection($collection); /** * @param AdapterInterface $dbAdapter * @return Select|string - * @since 2.0.0 */ public function getIdsSelect($dbAdapter); } diff --git a/app/code/Magento/Catalog/Model/Product/Configuration/Item/ItemInterface.php b/app/code/Magento/Catalog/Model/Product/Configuration/Item/ItemInterface.php index c682cf5d3578f..06937bf5cf23b 100644 --- a/app/code/Magento/Catalog/Model/Product/Configuration/Item/ItemInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Configuration/Item/ItemInterface.php @@ -10,7 +10,6 @@ * Product configurational item interface * * @api - * @since 2.0.0 */ interface ItemInterface { @@ -18,7 +17,6 @@ interface ItemInterface * Retrieve associated product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct(); @@ -27,7 +25,6 @@ public function getProduct(); * * @param string $code * @return \Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface - * @since 2.0.0 */ public function getOptionByCode($code); @@ -39,7 +36,6 @@ public function getOptionByCode($code); * - 'urlParams' - additional parameters for url (custom option id, or item id, for example) * * @return null|\Magento\Framework\DataObject - * @since 2.0.0 */ public function getFileDownloadParams(); } diff --git a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option.php b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option.php index dc9790b1c1d21..99083e989a548 100644 --- a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option.php +++ b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Product\Configuration\Item\Option * - * @since 2.0.0 */ class Option extends \Magento\Framework\DataObject implements \Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface @@ -23,7 +22,6 @@ class Option extends \Magento\Framework\DataObject implements * Returns value of this option * * @return mixed - * @since 2.0.0 */ public function getValue() { diff --git a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php index 3e4df122666e5..7baa2e0493207 100644 --- a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php @@ -14,7 +14,6 @@ /** * Interface \Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface * - * @since 2.0.0 */ interface OptionInterface { @@ -22,7 +21,6 @@ interface OptionInterface * Retrieve value associated with this option * * @return mixed - * @since 2.0.0 */ public function getValue(); } diff --git a/app/code/Magento/Catalog/Model/Product/Copier.php b/app/code/Magento/Catalog/Model/Product/Copier.php index 21f90f23fbc02..9e7739d86458d 100644 --- a/app/code/Magento/Catalog/Model/Product/Copier.php +++ b/app/code/Magento/Catalog/Model/Product/Copier.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Copier * - * @since 2.0.0 */ class Copier { @@ -24,13 +23,11 @@ class Copier /** * @var CopyConstructorInterface - * @since 2.0.0 */ protected $copyConstructor; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; @@ -43,7 +40,6 @@ class Copier /** * @param CopyConstructorInterface $copyConstructor * @param \Magento\Catalog\Model\ProductFactory $productFactory - * @since 2.0.0 */ public function __construct( CopyConstructorInterface $copyConstructor, @@ -58,7 +54,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function copy(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructor/Composite.php b/app/code/Magento/Catalog/Model/Product/CopyConstructor/Composite.php index 20e524f65d274..42a92017693eb 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructor/Composite.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructor/Composite.php @@ -12,20 +12,17 @@ * Performs duplication process by applying product type convertors * * @api - * @since 2.0.0 */ class Composite implements CopyConstructorInterface { /** * @var CopyConstructorInterface[] - * @since 2.0.0 */ protected $constructors; /** * @param CopyConstructorFactory $factory * @param string[] $constructors - * @since 2.0.0 */ public function __construct(CopyConstructorFactory $factory, array $constructors = []) { @@ -40,7 +37,6 @@ public function __construct(CopyConstructorFactory $factory, array $constructors * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructor/CrossSell.php b/app/code/Magento/Catalog/Model/Product/CopyConstructor/CrossSell.php index 439fb3d02720b..931d566e73f31 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructor/CrossSell.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructor/CrossSell.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Product\CopyConstructor\CrossSell * - * @since 2.0.0 */ class CrossSell implements \Magento\Catalog\Model\Product\CopyConstructorInterface { @@ -18,7 +17,6 @@ class CrossSell implements \Magento\Catalog\Model\Product\CopyConstructorInterfa * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructor/Related.php b/app/code/Magento/Catalog/Model/Product/CopyConstructor/Related.php index ca849d2e59701..d50802b5a5e06 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructor/Related.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructor/Related.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Product\CopyConstructor\Related * - * @since 2.0.0 */ class Related implements \Magento\Catalog\Model\Product\CopyConstructorInterface { @@ -18,7 +17,6 @@ class Related implements \Magento\Catalog\Model\Product\CopyConstructorInterface * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructor/UpSell.php b/app/code/Magento/Catalog/Model/Product/CopyConstructor/UpSell.php index 4d098023dc813..14e6c0a327179 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructor/UpSell.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructor/UpSell.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Product\CopyConstructor\UpSell * - * @since 2.0.0 */ class UpSell implements \Magento\Catalog\Model\Product\CopyConstructorInterface { @@ -18,7 +17,6 @@ class UpSell implements \Magento\Catalog\Model\Product\CopyConstructorInterface * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructorFactory.php b/app/code/Magento/Catalog/Model/Product/CopyConstructorFactory.php index fb4bc4a7b4ba9..898e242a36109 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructorFactory.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructorFactory.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Model\Product\CopyConstructorFactory * - * @since 2.0.0 */ class CopyConstructorFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $arguments * @return CopyConstructorInterface * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($instance, array $arguments = []) { diff --git a/app/code/Magento/Catalog/Model/Product/CopyConstructorInterface.php b/app/code/Magento/Catalog/Model/Product/CopyConstructorInterface.php index 56e24fd626dba..c0f03ff911557 100644 --- a/app/code/Magento/Catalog/Model/Product/CopyConstructorInterface.php +++ b/app/code/Magento/Catalog/Model/Product/CopyConstructorInterface.php @@ -9,7 +9,6 @@ * Contains duplication logic for variety of product types * * @api - * @since 2.0.0 */ interface CopyConstructorInterface { @@ -19,7 +18,6 @@ interface CopyConstructorInterface * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate); } diff --git a/app/code/Magento/Catalog/Model/Product/Edit/WeightResolver.php b/app/code/Magento/Catalog/Model/Product/Edit/WeightResolver.php index 03f3e0c7cf3db..2a1f54daefb65 100644 --- a/app/code/Magento/Catalog/Model/Product/Edit/WeightResolver.php +++ b/app/code/Magento/Catalog/Model/Product/Edit/WeightResolver.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Model\Product\Edit\WeightResolver * - * @since 2.0.0 */ class WeightResolver { @@ -26,7 +25,6 @@ class WeightResolver /** * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function resolveProductHasWeight(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/Exception.php b/app/code/Magento/Catalog/Model/Product/Exception.php index 7c61bd621c97a..bcd9ddb057ab8 100644 --- a/app/code/Magento/Catalog/Model/Product/Exception.php +++ b/app/code/Magento/Catalog/Model/Product/Exception.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Exception extends LocalizedException { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php b/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php index 5b43cf5c88103..799e91bacd4c5 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/CreateHandler.php @@ -71,7 +71,7 @@ class CreateHandler implements ExtensionInterface /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $mediaAttributeCodes; @@ -429,7 +429,7 @@ protected function copyImage($file) * Get Media Attribute Codes cached value * * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function getMediaAttributeCodes() { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/Entry.php b/app/code/Magento/Catalog/Model/Product/Gallery/Entry.php index 38a225eeedeea..6df27bbba60d5 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/Entry.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/Entry.php @@ -12,7 +12,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Entry extends AbstractExtensibleModel implements ProductAttributeMediaGalleryEntryInterface { @@ -20,7 +19,6 @@ class Entry extends AbstractExtensibleModel implements ProductAttributeMediaGall * Retrieve gallery entry ID * * @return int - * @since 2.0.0 */ public function getId() { @@ -31,7 +29,6 @@ public function getId() * Get media type * * @return string - * @since 2.0.0 */ public function getMediaType() { @@ -42,7 +39,6 @@ public function getMediaType() * Retrieve gallery entry alternative text * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -53,7 +49,6 @@ public function getLabel() * Retrieve gallery entry position (sort order) * * @return int - * @since 2.0.0 */ public function getPosition() { @@ -64,7 +59,6 @@ public function getPosition() * Check if gallery entry is hidden from product page * * @return bool - * @since 2.0.0 */ public function isDisabled() { @@ -75,7 +69,6 @@ public function isDisabled() * Retrieve gallery entry image types (thumbnail, image, small_image etc) * * @return string[] - * @since 2.0.0 */ public function getTypes() { @@ -86,7 +79,6 @@ public function getTypes() * Get file path * * @return string - * @since 2.0.0 */ public function getFile() { @@ -95,7 +87,6 @@ public function getFile() /** * @return \Magento\Framework\Api\Data\ImageContentInterface|null - * @since 2.0.0 */ public function getContent() { @@ -107,7 +98,6 @@ public function getContent() * * @param string $mediaType * @return $this - * @since 2.0.0 */ public function setMediaType($mediaType) { @@ -119,7 +109,6 @@ public function setMediaType($mediaType) * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -131,7 +120,6 @@ public function setLabel($label) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -143,7 +131,6 @@ public function setPosition($position) * * @param bool $disabled * @return $this - * @since 2.0.0 */ public function setDisabled($disabled) { @@ -155,7 +142,6 @@ public function setDisabled($disabled) * * @param string[] $types * @return $this - * @since 2.0.0 */ public function setTypes(array $types = null) { @@ -167,7 +153,6 @@ public function setTypes(array $types = null) * * @param string $file * @return $this - * @since 2.0.0 */ public function setFile($file) { @@ -179,7 +164,6 @@ public function setFile($file) * * @param $content \Magento\Framework\Api\Data\ImageContentInterface * @return $this - * @since 2.0.0 */ public function setContent($content) { @@ -190,7 +174,6 @@ public function setContent($content) * {@inheritdoc} * * @return ProductAttributeMediaGalleryEntryExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -202,7 +185,6 @@ public function getExtensionAttributes() * * @param ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(ProductAttributeMediaGalleryEntryExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/EntryResolver.php b/app/code/Magento/Catalog/Model/Product/Gallery/EntryResolver.php index 1996744259e93..5dec4aa8395a6 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/EntryResolver.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/EntryResolver.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Gallery\EntryResolver * - * @since 2.0.0 */ class EntryResolver { @@ -22,7 +21,6 @@ class EntryResolver * @param Product $product * @param int $entryId * @return string|null - * @since 2.0.0 */ public function getEntryFilePathById(Product $product, $entryId) { @@ -45,7 +43,6 @@ public function getEntryFilePathById(Product $product, $entryId) * @param Product $product * @param string $filePath * @return int|null - * @since 2.0.0 */ public function getEntryIdByFilePath(Product $product, $filePath) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/GalleryManagement.php b/app/code/Magento/Catalog/Model/Product/Gallery/GalleryManagement.php index 1f552a3b613f7..1b5f96baeaf9f 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/GalleryManagement.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/GalleryManagement.php @@ -15,19 +15,16 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class GalleryManagement implements \Magento\Catalog\Api\ProductAttributeMediaGalleryManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var ImageContentValidatorInterface - * @since 2.0.0 */ protected $contentValidator; @@ -36,7 +33,6 @@ class GalleryManagement implements \Magento\Catalog\Api\ProductAttributeMediaGal * @param ImageContentValidatorInterface $contentValidator * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -48,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function create($sku, ProductAttributeMediaGalleryEntryInterface $entry) { @@ -89,7 +84,6 @@ public function create($sku, ProductAttributeMediaGalleryEntryInterface $entry) /** * {@inheritdoc} - * @since 2.0.0 */ public function update($sku, ProductAttributeMediaGalleryEntryInterface $entry) { @@ -127,7 +121,6 @@ public function update($sku, ProductAttributeMediaGalleryEntryInterface $entry) /** * {@inheritdoc} - * @since 2.0.0 */ public function remove($sku, $entryId) { @@ -154,7 +147,6 @@ public function remove($sku, $entryId) /** * {@inheritdoc} - * @since 2.0.0 */ public function get($sku, $entryId) { @@ -176,7 +168,6 @@ public function get($sku, $entryId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($sku) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/MimeTypeExtensionMap.php b/app/code/Magento/Catalog/Model/Product/Gallery/MimeTypeExtensionMap.php index ce8a9fe1d1a9a..1782b2bb51c83 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/MimeTypeExtensionMap.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/MimeTypeExtensionMap.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Model\Product\Gallery\MimeTypeExtensionMap * - * @since 2.0.0 */ class MimeTypeExtensionMap { @@ -17,7 +16,6 @@ class MimeTypeExtensionMap * MIME type/extension map * * @var array - * @since 2.0.0 */ protected $mimeTypeExtensionMap = [ 'image/jpg' => 'jpg', @@ -29,7 +27,6 @@ class MimeTypeExtensionMap /** * @param string $mimeType * @return string - * @since 2.0.0 */ public function getMimeTypeExtension($mimeType) { diff --git a/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php b/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php index 7496962e1318e..297269e115b8d 100644 --- a/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php +++ b/app/code/Magento/Catalog/Model/Product/Gallery/ReadHandler.php @@ -76,7 +76,7 @@ public function execute($entity, $arguments = []) * @param Product $product * @param array $mediaEntries * @return void - * @since 2.2.0 + * @since 2.1.1 */ public function addMediaDataToProduct(Product $product, array $mediaEntries) { @@ -95,7 +95,7 @@ public function addMediaDataToProduct(Product $product, array $mediaEntries) /** * @param array $rawData * @return array - * @since 2.2.0 + * @since 2.1.1 */ private function substituteNullsWithDefaultValues(array $rawData) { @@ -131,7 +131,7 @@ public function getAttribute() * @param string $key * @param string[] &$image * @return string - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @since 2.1.0 */ protected function findDefaultValue($key, &$image) diff --git a/app/code/Magento/Catalog/Model/Product/Image.php b/app/code/Magento/Catalog/Model/Product/Image.php index a1fc5ff68bcba..f45edf4643596 100644 --- a/app/code/Magento/Catalog/Model/Product/Image.php +++ b/app/code/Magento/Catalog/Model/Product/Image.php @@ -16,19 +16,16 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Image extends \Magento\Framework\Model\AbstractModel { /** * @var int - * @since 2.0.0 */ protected $_width; /** * @var int - * @since 2.0.0 */ protected $_height; @@ -36,151 +33,126 @@ class Image extends \Magento\Framework\Model\AbstractModel * Default quality value (for JPEG images only). * * @var int - * @since 2.0.0 */ protected $_quality = 80; /** * @var bool - * @since 2.0.0 */ protected $_keepAspectRatio = true; /** * @var bool - * @since 2.0.0 */ protected $_keepFrame = true; /** * @var bool - * @since 2.0.0 */ protected $_keepTransparency = true; /** * @var bool - * @since 2.0.0 */ protected $_constrainOnly = true; /** * @var int[] - * @since 2.0.0 */ protected $_backgroundColor = [255, 255, 255]; /** * @var string - * @since 2.0.0 */ protected $_baseFile; /** * @var bool - * @since 2.0.0 */ protected $_isBaseFilePlaceholder; /** * @var string|bool - * @since 2.0.0 */ protected $_newFile; /** * @var MagentoImage - * @since 2.0.0 */ protected $_processor; /** * @var string - * @since 2.0.0 */ protected $_destinationSubdir; /** * @var int - * @since 2.0.0 */ protected $_angle; /** * @var string - * @since 2.0.0 */ protected $_watermarkFile; /** * @var int - * @since 2.0.0 */ protected $_watermarkPosition; /** * @var int - * @since 2.0.0 */ protected $_watermarkWidth; /** * @var int - * @since 2.0.0 */ protected $_watermarkHeight; /** * @var int - * @since 2.0.0 */ protected $_watermarkImageOpacity = 70; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_mediaDirectory; /** * @var \Magento\Framework\Image\Factory - * @since 2.0.0 */ protected $_imageFactory; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; /** * @var \Magento\Framework\View\FileSystem - * @since 2.0.0 */ protected $_viewFileSystem; /** * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $_coreFileStorageDatabase = null; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Catalog\Model\Product\Media\Config - * @since 2.0.0 */ protected $_catalogProductMediaConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -222,7 +194,6 @@ class Image extends \Magento\Framework\Model\AbstractModel * @param \Magento\Catalog\Model\View\Asset\PlaceholderFactory|null $viewAssetPlaceholderFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -259,7 +230,6 @@ public function __construct( /** * @param int $width * @return $this - * @since 2.0.0 */ public function setWidth($width) { @@ -269,7 +239,6 @@ public function setWidth($width) /** * @return int - * @since 2.0.0 */ public function getWidth() { @@ -279,7 +248,6 @@ public function getWidth() /** * @param int $height * @return $this - * @since 2.0.0 */ public function setHeight($height) { @@ -289,7 +257,6 @@ public function setHeight($height) /** * @return int - * @since 2.0.0 */ public function getHeight() { @@ -301,7 +268,6 @@ public function getHeight() * * @param int $quality * @return $this - * @since 2.0.0 */ public function setQuality($quality) { @@ -313,7 +279,6 @@ public function setQuality($quality) * Get image quality * * @return int - * @since 2.0.0 */ public function getQuality() { @@ -323,7 +288,6 @@ public function getQuality() /** * @param bool $keep * @return $this - * @since 2.0.0 */ public function setKeepAspectRatio($keep) { @@ -334,7 +298,6 @@ public function setKeepAspectRatio($keep) /** * @param bool $keep * @return $this - * @since 2.0.0 */ public function setKeepFrame($keep) { @@ -345,7 +308,6 @@ public function setKeepFrame($keep) /** * @param bool $keep * @return $this - * @since 2.0.0 */ public function setKeepTransparency($keep) { @@ -356,7 +318,6 @@ public function setKeepTransparency($keep) /** * @param bool $flag * @return $this - * @since 2.0.0 */ public function setConstrainOnly($flag) { @@ -367,7 +328,6 @@ public function setConstrainOnly($flag) /** * @param int[] $rgbArray * @return $this - * @since 2.0.0 */ public function setBackgroundColor(array $rgbArray) { @@ -378,7 +338,6 @@ public function setBackgroundColor(array $rgbArray) /** * @param string $size * @return $this - * @since 2.0.0 */ public function setSize($size) { @@ -402,7 +361,6 @@ public function setSize($size) /** * @param string|null $file * @return bool - * @since 2.0.0 */ protected function _checkMemory($file = null) { @@ -414,7 +372,6 @@ protected function _checkMemory($file = null) /** * @return string - * @since 2.0.0 */ protected function _getMemoryLimit() { @@ -438,7 +395,6 @@ protected function _getMemoryLimit() /** * @return int - * @since 2.0.0 */ protected function _getMemoryUsage() { @@ -452,7 +408,6 @@ protected function _getMemoryUsage() * @param string|null $file * @return float|int * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getNeedMemoryForFile($file = null) { @@ -488,7 +443,6 @@ protected function _getNeedMemoryForFile($file = null) * * @param int[] $rgbArray * @return string - * @since 2.0.0 */ protected function _rgbToString($rgbArray) { @@ -509,7 +463,6 @@ protected function _rgbToString($rgbArray) * @param string $file * @return $this * @throws \Exception - * @since 2.0.0 */ public function setBaseFile($file) { @@ -539,7 +492,6 @@ public function setBaseFile($file) /** * @return string - * @since 2.0.0 */ public function getBaseFile() { @@ -549,7 +501,6 @@ public function getBaseFile() /** * @deprecated 2.2.0 * @return bool|string - * @since 2.0.0 */ public function getNewFile() { @@ -560,7 +511,6 @@ public function getNewFile() * Retrieve 'true' if image is a base file placeholder * * @return bool - * @since 2.0.0 */ public function isBaseFilePlaceholder() { @@ -570,7 +520,6 @@ public function isBaseFilePlaceholder() /** * @param MagentoImage $processor * @return $this - * @since 2.0.0 */ public function setImageProcessor($processor) { @@ -580,7 +529,6 @@ public function setImageProcessor($processor) /** * @return MagentoImage - * @since 2.0.0 */ public function getImageProcessor() { @@ -600,7 +548,6 @@ public function getImageProcessor() /** * @see \Magento\Framework\Image\Adapter\AbstractAdapter * @return $this - * @since 2.0.0 */ public function resize() { @@ -614,7 +561,6 @@ public function resize() /** * @param int $angle * @return $this - * @since 2.0.0 */ public function rotate($angle) { @@ -630,7 +576,6 @@ public function rotate($angle) * * @param int $angle * @return $this - * @since 2.0.0 */ public function setAngle($angle) { @@ -650,7 +595,6 @@ public function setAngle($angle) * @param int $opacity * @return $this * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function setWatermark( $file, @@ -701,7 +645,6 @@ public function setWatermark( /** * @return $this - * @since 2.0.0 */ public function saveFile() { @@ -716,7 +659,6 @@ public function saveFile() /** * @return string - * @since 2.0.0 */ public function getUrl() { @@ -726,7 +668,6 @@ public function getUrl() /** * @param string $dir * @return $this - * @since 2.0.0 */ public function setDestinationSubdir($dir) { @@ -736,7 +677,6 @@ public function setDestinationSubdir($dir) /** * @return string - * @since 2.0.0 */ public function getDestinationSubdir() { @@ -745,7 +685,6 @@ public function getDestinationSubdir() /** * @return bool|void - * @since 2.0.0 */ public function isCached() { @@ -757,7 +696,6 @@ public function isCached() * * @param string $file * @return $this - * @since 2.0.0 */ public function setWatermarkFile($file) { @@ -769,7 +707,6 @@ public function setWatermarkFile($file) * Get watermark file name * * @return string - * @since 2.0.0 */ public function getWatermarkFile() { @@ -781,7 +718,6 @@ public function getWatermarkFile() * or false if file not found * * @return string | bool - * @since 2.0.0 */ protected function _getWatermarkFilePath() { @@ -816,7 +752,6 @@ protected function _getWatermarkFilePath() * * @param string $position * @return $this - * @since 2.0.0 */ public function setWatermarkPosition($position) { @@ -828,7 +763,6 @@ public function setWatermarkPosition($position) * Get watermark position * * @return string - * @since 2.0.0 */ public function getWatermarkPosition() { @@ -840,7 +774,6 @@ public function getWatermarkPosition() * * @param int $imageOpacity * @return $this - * @since 2.0.0 */ public function setWatermarkImageOpacity($imageOpacity) { @@ -852,7 +785,6 @@ public function setWatermarkImageOpacity($imageOpacity) * Get watermark image opacity * * @return int - * @since 2.0.0 */ public function getWatermarkImageOpacity() { @@ -864,7 +796,6 @@ public function getWatermarkImageOpacity() * * @param array $size * @return $this - * @since 2.0.0 */ public function setWatermarkSize($size) { @@ -879,7 +810,6 @@ public function setWatermarkSize($size) * * @param int $width * @return $this - * @since 2.0.0 */ public function setWatermarkWidth($width) { @@ -891,7 +821,6 @@ public function setWatermarkWidth($width) * Get watermark width * * @return int - * @since 2.0.0 */ public function getWatermarkWidth() { @@ -903,7 +832,6 @@ public function getWatermarkWidth() * * @param int $height * @return $this - * @since 2.0.0 */ public function setWatermarkHeight($height) { @@ -915,7 +843,6 @@ public function setWatermarkHeight($height) * Get watermark height * * @return string - * @since 2.0.0 */ public function getWatermarkHeight() { @@ -924,7 +851,6 @@ public function getWatermarkHeight() /** * @return void - * @since 2.0.0 */ public function clearCache() { @@ -940,7 +866,6 @@ public function clearCache() * * @param string $filename * @return bool - * @since 2.0.0 */ protected function _fileExists($filename) { @@ -957,7 +882,6 @@ protected function _fileExists($filename) * Return resized product image information * * @return array - * @since 2.0.0 */ public function getResizedImageInfo() { diff --git a/app/code/Magento/Catalog/Model/Product/Image/Cache.php b/app/code/Magento/Catalog/Model/Product/Image/Cache.php index 1d88f34354cd7..1bb650557d0a2 100644 --- a/app/code/Magento/Catalog/Model/Product/Image/Cache.php +++ b/app/code/Magento/Catalog/Model/Product/Image/Cache.php @@ -14,31 +14,26 @@ /** * Class \Magento\Catalog\Model\Product\Image\Cache * - * @since 2.0.0 */ class Cache { /** * @var ConfigInterface - * @since 2.0.0 */ protected $viewConfig; /** * @var ThemeCollection - * @since 2.0.0 */ protected $themeCollection; /** * @var ImageHelper - * @since 2.0.0 */ protected $imageHelper; /** * @var array - * @since 2.0.0 */ protected $data = []; @@ -46,7 +41,6 @@ class Cache * @param ConfigInterface $viewConfig * @param ThemeCollection $themeCollection * @param ImageHelper $imageHelper - * @since 2.0.0 */ public function __construct( ConfigInterface $viewConfig, @@ -64,7 +58,6 @@ public function __construct( * Collect data for 'Magento_Catalog' module from /etc/view.xml files. * * @return array - * @since 2.0.0 */ protected function getData() { @@ -89,7 +82,6 @@ protected function getData() * * @param Product $product * @return $this - * @since 2.0.0 */ public function generate(Product $product) { @@ -113,7 +105,6 @@ public function generate(Product $product) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function processImageData(Product $product, array $imageData, $file) { diff --git a/app/code/Magento/Catalog/Model/Product/Initialization/Helper/ProductLinks.php b/app/code/Magento/Catalog/Model/Product/Initialization/Helper/ProductLinks.php index 54ba8a8cd4f51..9e2f0cc35ba96 100644 --- a/app/code/Magento/Catalog/Model/Product/Initialization/Helper/ProductLinks.php +++ b/app/code/Magento/Catalog/Model/Product/Initialization/Helper/ProductLinks.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\Product\Initialization\Helper\ProductLinks * - * @since 2.0.0 */ class ProductLinks { @@ -19,7 +18,6 @@ class ProductLinks * @param array $links link data * @return \Magento\Catalog\Model\Product * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function initializeLinks(\Magento\Catalog\Model\Product $product, array $links) { diff --git a/app/code/Magento/Catalog/Model/Product/Link.php b/app/code/Magento/Catalog/Model/Product/Link.php index a7b8701642175..25e0bdca526cb 100644 --- a/app/code/Magento/Catalog/Model/Product/Link.php +++ b/app/code/Magento/Catalog/Model/Product/Link.php @@ -23,7 +23,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Link extends \Magento\Framework\Model\AbstractModel { @@ -35,7 +34,6 @@ class Link extends \Magento\Framework\Model\AbstractModel /** * @var mixed - * @since 2.0.0 */ protected $_attributes = null; @@ -43,7 +41,6 @@ class Link extends \Magento\Framework\Model\AbstractModel * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Link\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; @@ -51,7 +48,6 @@ class Link extends \Magento\Framework\Model\AbstractModel * Link collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Link\CollectionFactory - * @since 2.0.0 */ protected $_linkCollectionFactory; @@ -63,8 +59,7 @@ class Link extends \Magento\Framework\Model\AbstractModel /** * @var \Magento\CatalogInventory\Helper\Stock - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ protected $stockHelper; @@ -77,7 +72,6 @@ class Link extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -99,7 +93,6 @@ public function __construct( * Initialize resource * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -108,7 +101,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ public function useRelatedLinks() { @@ -118,7 +110,6 @@ public function useRelatedLinks() /** * @return $this - * @since 2.0.0 */ public function useUpSellLinks() { @@ -128,7 +119,6 @@ public function useUpSellLinks() /** * @return $this - * @since 2.0.0 */ public function useCrossSellLinks() { @@ -141,7 +131,6 @@ public function useCrossSellLinks() * * @param string $type * @return string - * @since 2.0.0 */ public function getAttributeTypeTable($type) { @@ -152,7 +141,6 @@ public function getAttributeTypeTable($type) * Retrieve linked product collection * * @return ProductCollection - * @since 2.0.0 */ public function getProductCollection() { @@ -164,7 +152,6 @@ public function getProductCollection() * Retrieve link collection * * @return Collection - * @since 2.0.0 */ public function getLinkCollection() { @@ -175,7 +162,6 @@ public function getLinkCollection() /** * @param int $type * @return array - * @since 2.0.0 */ public function getAttributes($type = null) { @@ -194,7 +180,6 @@ public function getAttributes($type = null) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function saveProductRelations($product) { diff --git a/app/code/Magento/Catalog/Model/Product/LinkTypeProvider.php b/app/code/Magento/Catalog/Model/Product/LinkTypeProvider.php index 79a665633f0b8..2b4cac8a258eb 100644 --- a/app/code/Magento/Catalog/Model/Product/LinkTypeProvider.php +++ b/app/code/Magento/Catalog/Model/Product/LinkTypeProvider.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\Product\LinkTypeProvider * - * @since 2.0.0 */ class LinkTypeProvider implements \Magento\Catalog\Api\ProductLinkTypeListInterface { @@ -20,25 +19,21 @@ class LinkTypeProvider implements \Magento\Catalog\Api\ProductLinkTypeListInterf * Represented by an assoc array with the following format 'product_link_name' => 'product_link_code' * * @var array - * @since 2.0.0 */ protected $linkTypes; /** * @var \Magento\Catalog\Api\Data\ProductLinkTypeInterfaceFactory - * @since 2.0.0 */ protected $linkTypeFactory; /** * @var \Magento\Catalog\Api\Data\ProductLinkAttributeInterfaceFactory - * @since 2.0.0 */ protected $linkAttributeFactory; /** * @var \Magento\Catalog\Model\Product\LinkFactory - * @since 2.0.0 */ protected $linkFactory; @@ -47,7 +42,6 @@ class LinkTypeProvider implements \Magento\Catalog\Api\ProductLinkTypeListInterf * @param \Magento\Catalog\Api\Data\ProductLinkAttributeInterfaceFactory $linkAttributeFactory * @param LinkFactory $linkFactory * @param array $linkTypes - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\Data\ProductLinkTypeInterfaceFactory $linkTypeFactory, @@ -65,7 +59,6 @@ public function __construct( * Retrieve information about available product link types * * @return array - * @since 2.0.0 */ public function getLinkTypes() { @@ -74,7 +67,6 @@ public function getLinkTypes() /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems() { @@ -91,7 +83,6 @@ public function getItems() /** * {@inheritdoc} - * @since 2.0.0 */ public function getItemAttributes($type) { diff --git a/app/code/Magento/Catalog/Model/Product/Media/AttributeManagement.php b/app/code/Magento/Catalog/Model/Product/Media/AttributeManagement.php index 757403e36ea5c..27bcefea67513 100644 --- a/app/code/Magento/Catalog/Model/Product/Media/AttributeManagement.php +++ b/app/code/Magento/Catalog/Model/Product/Media/AttributeManagement.php @@ -12,26 +12,22 @@ /** * Class \Magento\Catalog\Model\Product\Media\AttributeManagement * - * @since 2.0.0 */ class AttributeManagement implements ProductMediaAttributeManagementInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ private $collectionFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; /** * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory, @@ -43,7 +39,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($attributeSetName) { diff --git a/app/code/Magento/Catalog/Model/Product/Media/Config.php b/app/code/Magento/Catalog/Model/Product/Media/Config.php index dd6da0838ecd8..a3963b90ee01a 100644 --- a/app/code/Magento/Catalog/Model/Product/Media/Config.php +++ b/app/code/Magento/Catalog/Model/Product/Media/Config.php @@ -17,7 +17,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Config implements ConfigInterface { @@ -25,19 +24,17 @@ class Config implements ConfigInterface * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var Attribute - * @since 2.1.0 + * @since 2.0.3 */ private $attributeHelper; /** * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(StoreManagerInterface $storeManager) { @@ -49,7 +46,6 @@ public function __construct(StoreManagerInterface $storeManager) * relatively to media folder * * @return string - * @since 2.0.0 */ public function getBaseMediaPathAddition() { @@ -61,7 +57,6 @@ public function getBaseMediaPathAddition() * relatively to media folder * * @return string - * @since 2.0.0 */ public function getBaseMediaUrlAddition() { @@ -70,7 +65,6 @@ public function getBaseMediaUrlAddition() /** * @return string - * @since 2.0.0 */ public function getBaseMediaPath() { @@ -79,7 +73,6 @@ public function getBaseMediaPath() /** * @return string - * @since 2.0.0 */ public function getBaseMediaUrl() { @@ -91,7 +84,6 @@ public function getBaseMediaUrl() * relatively to media folder * * @return string - * @since 2.0.0 */ public function getBaseTmpMediaPath() { @@ -100,7 +92,6 @@ public function getBaseTmpMediaPath() /** * @return string - * @since 2.0.0 */ public function getBaseTmpMediaUrl() { @@ -112,7 +103,6 @@ public function getBaseTmpMediaUrl() /** * @param string $file * @return string - * @since 2.0.0 */ public function getMediaUrl($file) { @@ -122,7 +112,6 @@ public function getMediaUrl($file) /** * @param string $file * @return string - * @since 2.0.0 */ public function getMediaPath($file) { @@ -132,7 +121,6 @@ public function getMediaPath($file) /** * @param string $file * @return string - * @since 2.0.0 */ public function getTmpMediaUrl($file) { @@ -145,7 +133,6 @@ public function getTmpMediaUrl($file) * * @param string $file * @return string - * @since 2.0.0 */ public function getTmpMediaShortUrl($file) { @@ -157,7 +144,6 @@ public function getTmpMediaShortUrl($file) * * @param string $file * @return string - * @since 2.0.0 */ public function getMediaShortUrl($file) { @@ -167,7 +153,6 @@ public function getMediaShortUrl($file) /** * @param string $file * @return string - * @since 2.0.0 */ public function getTmpMediaPath($file) { @@ -177,7 +162,6 @@ public function getTmpMediaPath($file) /** * @param string $file * @return string - * @since 2.0.0 */ protected function _prepareFile($file) { @@ -186,7 +170,7 @@ protected function _prepareFile($file) /** * @return array - * @since 2.1.0 + * @since 2.0.3 */ public function getMediaAttributeCodes() { @@ -195,7 +179,7 @@ public function getMediaAttributeCodes() /** * @return Attribute - * @since 2.1.0 + * @since 2.0.3 */ private function getAttributeHelper() { diff --git a/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php b/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php index 0f7ac8be23020..b609debf3ee10 100644 --- a/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php @@ -12,7 +12,6 @@ /** * Interface \Magento\Catalog\Model\Product\Media\ConfigInterface * - * @since 2.0.0 */ interface ConfigInterface { @@ -20,7 +19,6 @@ interface ConfigInterface * Retrieve base url for media files * * @return string - * @since 2.0.0 */ public function getBaseMediaUrl(); @@ -28,7 +26,6 @@ public function getBaseMediaUrl(); * Retrieve base path for media files * * @return string - * @since 2.0.0 */ public function getBaseMediaPath(); @@ -37,7 +34,6 @@ public function getBaseMediaPath(); * * @param string $file * @return string - * @since 2.0.0 */ public function getMediaUrl($file); @@ -46,7 +42,6 @@ public function getMediaUrl($file); * * @param string $file * @return string - * @since 2.0.0 */ public function getMediaPath($file); } diff --git a/app/code/Magento/Catalog/Model/Product/Option.php b/app/code/Magento/Catalog/Model/Product/Option.php index 44221dce5dd08..15015aaab9d2a 100644 --- a/app/code/Magento/Catalog/Model/Product/Option.php +++ b/app/code/Magento/Catalog/Model/Product/Option.php @@ -27,7 +27,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessivePublicCount) - * @since 2.0.0 */ class Option extends AbstractExtensibleModel implements ProductCustomOptionInterface { @@ -61,21 +60,16 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter const KEY_IMAGE_SIZE_X = 'image_size_x'; /**#@-*/ - /** - * @var Product - * @since 2.0.0 - */ + /**#@-*/ protected $product; /** * @var array - * @since 2.0.0 */ protected $options = []; /** * @var array - * @since 2.0.0 */ protected $values = null; @@ -83,7 +77,6 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter * Catalog product option value * * @var Option\Value - * @since 2.0.0 */ protected $productOptionValue; @@ -91,19 +84,16 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter * Product option factory * * @var \Magento\Catalog\Model\Product\Option\Type\Factory - * @since 2.0.0 */ protected $optionTypeFactory; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var Option\Validator\Pool - * @since 2.0.0 */ protected $validatorPool; @@ -126,7 +116,6 @@ class Option extends AbstractExtensibleModel implements ProductCustomOptionInter * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -160,7 +149,6 @@ public function __construct( * Get resource instance * * @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb - * @since 2.0.0 */ protected function _getResource() { @@ -169,7 +157,6 @@ protected function _getResource() /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -182,7 +169,6 @@ protected function _construct() * * @param Option\Value $value * @return $this - * @since 2.0.0 */ public function addValue(Option\Value $value) { @@ -195,7 +181,6 @@ public function addValue(Option\Value $value) * * @param int $valueId * @return Option\Value|null - * @since 2.0.0 */ public function getValueById($valueId) { @@ -220,7 +205,6 @@ public function hasValues($type = null) /** * @return ProductCustomOptionValuesInterface[]|null - * @since 2.0.0 */ public function getValues() { @@ -231,7 +215,6 @@ public function getValues() * Retrieve value instance * * @return Option\Value - * @since 2.0.0 */ public function getValueInstance() { @@ -243,7 +226,6 @@ public function getValueInstance() * * @param array $option * @return $this - * @since 2.0.0 */ public function addOption($option) { @@ -255,7 +237,6 @@ public function addOption($option) * Get all options * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -267,7 +248,6 @@ public function getOptions() * * @param array $options * @return $this - * @since 2.0.0 */ public function setOptions($options) { @@ -279,7 +259,6 @@ public function setOptions($options) * Set options to empty array * * @return $this - * @since 2.0.0 */ public function unsetOptions() { @@ -291,7 +270,6 @@ public function unsetOptions() * Retrieve product instance * * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -303,7 +281,6 @@ public function getProduct() * * @param Product $product * @return $this - * @since 2.0.0 */ public function setProduct(Product $product = null) { @@ -316,7 +293,6 @@ public function setProduct(Product $product = null) * * @param string $type * @return string - * @since 2.0.0 */ public function getGroupByType($type = null) { @@ -345,7 +321,6 @@ public function getGroupByType($type = null) * @param string $type Option type * @return \Magento\Catalog\Model\Product\Option\Type\DefaultType * @throws LocalizedException - * @since 2.0.0 */ public function groupFactory($type) { @@ -408,7 +383,6 @@ public function beforeSave() /** * @return \Magento\Framework\Model\AbstractModel * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { @@ -438,7 +412,6 @@ public function afterSave() * * @param bool $flag * @return float - * @since 2.0.0 */ public function getPrice($flag = false) { @@ -455,7 +428,6 @@ public function getPrice($flag = false) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function deletePrices($optionId) { @@ -468,7 +440,6 @@ public function deletePrices($optionId) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function deleteTitles($optionId) { @@ -492,7 +463,6 @@ public function getProductOptions(Product $product) * Get collection of values for current option * * @return Collection - * @since 2.0.0 */ public function getValuesCollection() { @@ -507,7 +477,6 @@ public function getValuesCollection() * @param array $optionIds * @param int $storeId * @return Collection - * @since 2.0.0 */ public function getOptionValuesByOptionId($optionIds, $storeId) { @@ -522,7 +491,6 @@ public function getOptionValuesByOptionId($optionIds, $storeId) * @param int $oldProductId * @param int $newProductId * @return $this - * @since 2.0.0 */ public function duplicate($oldProductId, $newProductId) { @@ -537,7 +505,6 @@ public function duplicate($oldProductId, $newProductId) * @param int $productId * @param int $storeId * @return array - * @since 2.0.0 */ public function getSearchableData($productId, $storeId) { @@ -548,7 +515,6 @@ public function getSearchableData($productId, $storeId) * Clearing object's data * * @return $this - * @since 2.0.0 */ protected function _clearData() { @@ -561,7 +527,6 @@ protected function _clearData() * Clearing cyclic references * * @return $this - * @since 2.0.0 */ protected function _clearReferences() { @@ -575,7 +540,6 @@ protected function _clearReferences() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getValidationRulesBeforeSave() { @@ -586,7 +550,6 @@ protected function _getValidationRulesBeforeSave() * Get product SKU * * @return string - * @since 2.0.0 */ public function getProductSku() { @@ -602,7 +565,6 @@ public function getProductSku() * * @return int|null * @codeCoverageIgnoreStart - * @since 2.0.0 */ public function getOptionId() { @@ -613,7 +575,6 @@ public function getOptionId() * Get option title * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -624,7 +585,6 @@ public function getTitle() * Get option type * * @return string - * @since 2.0.0 */ public function getType() { @@ -635,7 +595,6 @@ public function getType() * Get sort order * * @return int - * @since 2.0.0 */ public function getSortOrder() { @@ -647,7 +606,6 @@ public function getSortOrder() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsRequire() { @@ -658,7 +616,6 @@ public function getIsRequire() * Get price type * * @return string|null - * @since 2.0.0 */ public function getPriceType() { @@ -669,7 +626,6 @@ public function getPriceType() * Get Sku * * @return string|null - * @since 2.0.0 */ public function getSku() { @@ -678,7 +634,6 @@ public function getSku() /** * @return string|null - * @since 2.0.0 */ public function getFileExtension() { @@ -687,7 +642,6 @@ public function getFileExtension() /** * @return int|null - * @since 2.0.0 */ public function getMaxCharacters() { @@ -696,7 +650,6 @@ public function getMaxCharacters() /** * @return int|null - * @since 2.0.0 */ public function getImageSizeX() { @@ -705,7 +658,6 @@ public function getImageSizeX() /** * @return int|null - * @since 2.0.0 */ public function getImageSizeY() { @@ -717,7 +669,6 @@ public function getImageSizeY() * * @param string $productSku * @return $this - * @since 2.0.0 */ public function setProductSku($productSku) { @@ -729,7 +680,6 @@ public function setProductSku($productSku) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function setOptionId($optionId) { @@ -741,7 +691,6 @@ public function setOptionId($optionId) * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title) { @@ -753,7 +702,6 @@ public function setTitle($title) * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type) { @@ -765,7 +713,6 @@ public function setType($type) * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder) { @@ -777,7 +724,6 @@ public function setSortOrder($sortOrder) * * @param bool $isRequired * @return $this - * @since 2.0.0 */ public function setIsRequire($isRequired) { @@ -789,7 +735,6 @@ public function setIsRequire($isRequired) * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price) { @@ -801,7 +746,6 @@ public function setPrice($price) * * @param string $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType) { @@ -813,7 +757,6 @@ public function setPriceType($priceType) * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -823,7 +766,6 @@ public function setSku($sku) /** * @param string $fileExtension * @return $this - * @since 2.0.0 */ public function setFileExtension($fileExtension) { @@ -833,7 +775,6 @@ public function setFileExtension($fileExtension) /** * @param int $maxCharacters * @return $this - * @since 2.0.0 */ public function setMaxCharacters($maxCharacters) { @@ -843,7 +784,6 @@ public function setMaxCharacters($maxCharacters) /** * @param int $imageSizeX * @return $this - * @since 2.0.0 */ public function setImageSizeX($imageSizeX) { @@ -853,7 +793,6 @@ public function setImageSizeX($imageSizeX) /** * @param int $imageSizeY * @return $this - * @since 2.0.0 */ public function setImageSizeY($imageSizeY) { @@ -863,7 +802,6 @@ public function setImageSizeY($imageSizeY) /** * @param \Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface[] $values * @return $this - * @since 2.0.0 */ public function setValues(array $values = null) { @@ -875,7 +813,6 @@ public function setValues(array $values = null) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -901,7 +838,6 @@ public function getRegularPrice() /** * @param Product $product * @return \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection - * @since 2.0.0 */ public function getProductOptionCollection(Product $product) { @@ -934,7 +870,6 @@ public function getProductOptionCollection(Product $product) * * @param \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductCustomOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/Product/Option/Converter.php b/app/code/Magento/Catalog/Model/Product/Option/Converter.php index bc7600ff3fea2..35ee7670c55cf 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Converter.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Converter.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Converter * - * @since 2.0.0 */ class Converter { @@ -18,7 +17,6 @@ class Converter * Convert option data to array * @param \Magento\Catalog\Api\Data\ProductCustomOptionInterface $option * @return array - * @since 2.0.0 */ public function toArray(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $option) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Repository.php b/app/code/Magento/Catalog/Model/Product/Option/Repository.php index fa0c20cc35a68..e65a11abeb50c 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Repository.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Repository.php @@ -14,7 +14,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryInterface { @@ -32,13 +31,11 @@ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryIn /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Option - * @since 2.0.0 */ protected $optionResource; @@ -56,7 +53,6 @@ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryIn /** * @var Converter - * @since 2.0.0 */ protected $converter; @@ -69,7 +65,6 @@ class Repository implements \Magento\Catalog\Api\ProductCustomOptionRepositoryIn * @param \Magento\Catalog\Model\ResourceModel\Product\Option\CollectionFactory|null $collectionFactory * @param \Magento\Catalog\Model\Product\OptionFactory|null $optionFactory * @param \Magento\Framework\EntityManager\MetadataPool|null $metadataPool - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -92,7 +87,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($sku) { @@ -115,7 +109,6 @@ public function getProductOptions(ProductInterface $product, $requiredOnly = fal /** * {@inheritdoc} - * @since 2.0.0 */ public function get($sku, $optionId) { @@ -129,7 +122,6 @@ public function get($sku, $optionId) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $entity) { @@ -156,7 +148,6 @@ public function duplicate( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $option) { @@ -197,7 +188,6 @@ public function save(\Magento\Catalog\Api\Data\ProductCustomOptionInterface $opt /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteByIdentifier($sku, $optionId) { @@ -225,7 +215,6 @@ public function deleteByIdentifier($sku, $optionId) * @param $newValues array * @param $originalValues \Magento\Catalog\Model\Product\Option\Value[] * @return array - * @since 2.0.0 */ protected function markRemovedValues($newValues, $originalValues) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type.php b/app/code/Magento/Catalog/Model/Product/Option/Type.php index d6c0accf951a7..7f570a10c9f66 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type.php @@ -8,7 +8,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Catalog\Api\Data\ProductCustomOptionTypeInterface @@ -25,7 +24,6 @@ class Type extends \Magento\Framework\Model\AbstractExtensibleModel implements * Get option type label * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -36,7 +34,6 @@ public function getLabel() * Get option type code * * @return string - * @since 2.0.0 */ public function getCode() { @@ -47,7 +44,6 @@ public function getCode() * Get option type group * * @return string - * @since 2.0.0 */ public function getGroup() { @@ -59,7 +55,6 @@ public function getGroup() * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -71,7 +66,6 @@ public function setLabel($label) * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code) { @@ -83,7 +77,6 @@ public function setCode($code) * * @param string $group * @return $this - * @since 2.0.0 */ public function setGroup($group) { @@ -94,7 +87,6 @@ public function setGroup($group) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -106,7 +98,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductCustomOptionTypeExtensionInterface $extensionAttributes 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 a01e78a07972c..d1dde6e859c9f 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/Date.php @@ -11,19 +11,16 @@ * Catalog product option date type * * @author Magento Core Team - * @since 2.0.0 */ class Date extends \Magento\Catalog\Model\Product\Option\Type\DefaultType { /** * @var string - * @since 2.0.0 */ protected $_formattedOptionValue = null; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; @@ -41,7 +38,6 @@ class Date extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -64,7 +60,6 @@ public function __construct( * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validateUserValue($values) { @@ -145,7 +140,6 @@ public function validateUserValue($values) * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function prepareForCart() { @@ -202,7 +196,6 @@ public function prepareForCart() * @param string $optionValue Prepared for cart option value * @return string * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function getFormattedOptionValue($optionValue) { @@ -244,7 +237,6 @@ public function getFormattedOptionValue($optionValue) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getPrintableOptionValue($optionValue) { @@ -256,7 +248,6 @@ public function getPrintableOptionValue($optionValue) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getEditableOptionValue($optionValue) { @@ -270,7 +261,6 @@ public function getEditableOptionValue($optionValue) * @param array $productOptionValues Values for product option * @return string|null * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function parseOptionValue($optionValue, $productOptionValues) { @@ -287,7 +277,6 @@ public function parseOptionValue($optionValue, $productOptionValues) * * @param string $optionValue * @return array - * @since 2.0.0 */ public function prepareOptionValueForRequest($optionValue) { @@ -310,7 +299,6 @@ public function prepareOptionValueForRequest($optionValue) * Use Calendar on frontend or not * * @return boolean - * @since 2.0.0 */ public function useCalendar() { @@ -321,7 +309,6 @@ public function useCalendar() * Time Format * * @return boolean - * @since 2.0.0 */ public function is24hTimeFormat() { @@ -332,7 +319,6 @@ public function is24hTimeFormat() * Year range start * * @return string|false - * @since 2.0.0 */ public function getYearStart() { @@ -348,7 +334,6 @@ public function getYearStart() * Year range end * * @return string|false - * @since 2.0.0 */ public function getYearEnd() { @@ -365,7 +350,6 @@ public function getYearEnd() * * @param string $internalValue Datetime value in internal format * @return void - * @since 2.0.0 */ protected function _setInternalInRequest($internalValue) { @@ -384,7 +368,6 @@ protected function _setInternalInRequest($internalValue) * Does option have date? * * @return boolean - * @since 2.0.0 */ protected function _dateExists() { @@ -401,7 +384,6 @@ protected function _dateExists() * Does option have time? * * @return boolean - * @since 2.0.0 */ protected function _timeExists() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php b/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php index 8d3a92d3a7844..cf87886fae358 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php @@ -17,7 +17,6 @@ * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class DefaultType extends \Magento\Framework\DataObject { @@ -25,7 +24,6 @@ class DefaultType extends \Magento\Framework\DataObject * Option Instance * * @var \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ protected $_option; @@ -33,7 +31,6 @@ class DefaultType extends \Magento\Framework\DataObject * Product Instance * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -41,7 +38,6 @@ class DefaultType extends \Magento\Framework\DataObject * TODO: Fill in description * * @var array - * @since 2.0.0 */ protected $_productOptions = []; @@ -49,7 +45,6 @@ class DefaultType extends \Magento\Framework\DataObject * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -57,7 +52,6 @@ class DefaultType extends \Magento\Framework\DataObject * Checkout session * * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -67,7 +61,6 @@ class DefaultType extends \Magento\Framework\DataObject * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -84,7 +77,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product\Option $option * @return $this - * @since 2.0.0 */ public function setOption($option) { @@ -97,7 +89,6 @@ public function setOption($option) * * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ public function getOption() { @@ -112,7 +103,6 @@ public function getOption() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProduct($product) { @@ -125,7 +115,6 @@ public function setProduct($product) * * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -140,7 +129,6 @@ public function getProduct() * * @return \Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface * @throws LocalizedException - * @since 2.0.0 */ public function getConfigurationItemOption() { @@ -164,7 +152,6 @@ public function getConfigurationItemOption() * * @return \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getConfigurationItem() { @@ -188,7 +175,6 @@ public function getConfigurationItem() * * @return \Magento\Framework\DataObject * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getRequest() { @@ -203,7 +189,6 @@ public function getRequest() * * @param string $key Config value key * @return string - * @since 2.0.0 */ public function getConfigData($key) { @@ -216,7 +201,6 @@ public function getConfigData($key) * @param array $values All product option values, i.e. array (option_id => mixed, option_id => mixed...) * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validateUserValue($values) { @@ -239,7 +223,6 @@ public function validateUserValue($values) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getSkipCheckRequiredOption() { @@ -252,7 +235,6 @@ public function getSkipCheckRequiredOption() * * @return string|null Prepared option value * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function prepareForCart() { @@ -268,7 +250,6 @@ public function prepareForCart() * Flag to indicate that custom option has own customized output (blocks, native html etc.) * * @return boolean - * @since 2.0.0 */ public function isCustomizedView() { @@ -280,7 +261,6 @@ public function isCustomizedView() * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getFormattedOptionValue($optionValue) { @@ -292,7 +272,6 @@ public function getFormattedOptionValue($optionValue) * * @param array $optionInfo * @return string - * @since 2.0.0 */ public function getCustomizedView($optionInfo) { @@ -304,7 +283,6 @@ public function getCustomizedView($optionInfo) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getPrintableOptionValue($optionValue) { @@ -317,7 +295,6 @@ public function getPrintableOptionValue($optionValue) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getEditableOptionValue($optionValue) { @@ -331,7 +308,6 @@ public function getEditableOptionValue($optionValue) * @param array $productOptionValues Values for product option * @return string|null * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function parseOptionValue($optionValue, $productOptionValues) { @@ -343,7 +319,6 @@ public function parseOptionValue($optionValue, $productOptionValues) * * @param string $optionValue * @return string|null - * @since 2.0.0 */ public function prepareOptionValueForRequest($optionValue) { @@ -357,7 +332,6 @@ public function prepareOptionValueForRequest($optionValue) * @param float $basePrice For percent price type * @return float * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getOptionPrice($optionValue, $basePrice) { @@ -373,7 +347,6 @@ public function getOptionPrice($optionValue, $basePrice) * @param string $skuDelimiter Delimiter for Sku parts * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getOptionSku($optionValue, $skuDelimiter) { @@ -384,7 +357,6 @@ public function getOptionSku($optionValue, $skuDelimiter) * Return value => key all product options (using for parsing) * * @return array Array of Product custom options, reversing option values and option ids - * @since 2.0.0 */ public function getProductOptions() { @@ -425,7 +397,6 @@ public function getProductOptions() * @param boolean $isPercent Price type - percent or fixed * @param float $basePrice For percent price type * @return float - * @since 2.0.0 */ protected function _getChargableOptionPrice($price, $isPercent, $basePrice) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/Factory.php b/app/code/Magento/Catalog/Model/Product/Option/Type/Factory.php index 4989a01f2f7f4..e50dc9ce9f285 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/Factory.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Type\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Catalog\Model\Product\Option\Type\DefaultType * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { 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 dedc7f85b87dc..b912ae08c8abc 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File.php @@ -17,20 +17,17 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType { /** * Url for custom option download controller * @var string - * @since 2.0.0 */ protected $_customOptionDownloadUrl = 'sales/download/downloadCustomOption'; /** * @var string|null - * @since 2.0.0 */ protected $_formattedOptionValue = null; @@ -38,7 +35,6 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * @var \Magento\Framework\Filesystem\Directory\ReadInterface * @deprecated 2.2.0 * @see $mediaDirectory - * @since 2.0.0 */ protected $_rootDirectory; @@ -52,13 +48,11 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Core file storage database * * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $_coreFileStorageDatabase = null; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper; @@ -66,7 +60,6 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Url * * @var \Magento\Catalog\Model\Product\Option\UrlBuilder - * @since 2.0.0 */ protected $_urlBuilder; @@ -74,19 +67,16 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Item option factory * * @var \Magento\Quote\Model\Quote\Item\OptionFactory - * @since 2.0.0 */ protected $_itemOptionFactory; /** * @var File\ValidatorInfo - * @since 2.0.0 */ protected $validatorInfo; /** * @var File\ValidatorFile - * @since 2.0.0 */ protected $validatorFile; @@ -98,7 +88,7 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType /** * @var Filesystem - * @since 2.2.0 + * @since 2.1.4 */ private $filesystem; @@ -115,7 +105,6 @@ class File extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * @param Filesystem $filesystem * @param Json|null $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -148,7 +137,6 @@ public function __construct( * Flag to indicate that custom option has own customized output (blocks, native html etc.) * * @return boolean - * @since 2.0.0 */ public function isCustomizedView() { @@ -160,7 +148,6 @@ public function isCustomizedView() * * @param array $optionInfo * @return string|void - * @since 2.0.0 */ public function getCustomizedView($optionInfo) { @@ -179,7 +166,6 @@ public function getCustomizedView($optionInfo) * Returns additional params for processing options * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _getProcessingParams() { @@ -200,7 +186,6 @@ protected function _getProcessingParams() * Or returns null, if we need to get file from uploaded array. * * @return null|array - * @since 2.0.0 */ protected function _getCurrentConfigFileInfo() { @@ -230,7 +215,6 @@ protected function _getCurrentConfigFileInfo() * @throws LocalizedException * @throws \Exception * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function validateUserValue($values) { @@ -299,7 +283,6 @@ public function validateUserValue($values) * Prepare option value for cart * * @return string|null Prepared option value - * @since 2.0.0 */ public function prepareForCart() { @@ -340,7 +323,6 @@ public function prepareForCart() * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getFormattedOptionValue($optionValue) { @@ -370,7 +352,6 @@ public function getFormattedOptionValue($optionValue) * @param string|array $optionValue Serialized string of option data or its data array * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getOptionHtml($optionValue) { @@ -398,7 +379,6 @@ protected function _getOptionHtml($optionValue) * * @param string|array $value * @return array - * @since 2.0.0 */ protected function _unserializeValue($value) { @@ -416,7 +396,6 @@ protected function _unserializeValue($value) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getPrintableOptionValue($optionValue) { @@ -430,7 +409,6 @@ public function getPrintableOptionValue($optionValue) * @return string * * @deprecated 2.2.0 - * @since 2.0.0 */ public function getEditableOptionValue($optionValue) { @@ -455,7 +433,6 @@ public function getEditableOptionValue($optionValue) * @SuppressWarnings(PHPMD.UnusedFormalParameter) * * @deprecated 2.2.0 - * @since 2.0.0 */ public function parseOptionValue($optionValue, $productOptionValues) { @@ -475,7 +452,6 @@ public function parseOptionValue($optionValue, $productOptionValues) * * @param string $optionValue * @return string|null - * @since 2.0.0 */ public function prepareOptionValueForRequest($optionValue) { @@ -490,7 +466,6 @@ public function prepareOptionValueForRequest($optionValue) * Quote item to order item copy process * * @return $this - * @since 2.0.0 */ public function copyQuoteToOrder() { @@ -526,7 +501,6 @@ public function copyQuoteToOrder() * * @param string $url * @return $this - * @since 2.0.0 */ public function setCustomOptionDownloadUrl($url) { @@ -540,7 +514,6 @@ public function setCustomOptionDownloadUrl($url) * @param string|null $route * @param array|null $params * @return string - * @since 2.0.0 */ protected function _getOptionDownloadUrl($route, $params) { @@ -550,7 +523,6 @@ protected function _getOptionDownloadUrl($route, $params) /** * @param array $value * @return string - * @since 2.0.0 */ protected function prepareSize($value) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidateFactory.php b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidateFactory.php index 51e95b15a4299..91c5d9aab8b0c 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidateFactory.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidateFactory.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Model\Product\Option\Type\File\ValidateFactory * - * @since 2.0.0 */ class ValidateFactory { /** * @return \Zend_Validate - * @since 2.0.0 */ public function create() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/File/Validator.php b/app/code/Magento/Catalog/Model/Product/Option/Type/File/Validator.php index ab5cf4a852f39..2c4b76d637d53 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File/Validator.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File/Validator.php @@ -9,25 +9,21 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Validator { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Framework\File\Size - * @since 2.0.0 */ protected $fileSize; /** * @var \Magento\Framework\Filesystem\Directory\ReadInterface - * @since 2.0.0 */ protected $rootDirectory; @@ -35,7 +31,6 @@ abstract class Validator * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Framework\File\Size $fileSize - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -52,7 +47,6 @@ public function __construct( * * @param string $key Config value key * @return string - * @since 2.0.0 */ protected function getConfigData($key) { @@ -70,7 +64,6 @@ protected function getConfigData($key) * @param \Magento\Catalog\Model\Product\Option $option * @return string[] Array of error messages * @see \Magento\Catalog\Model\Product\Option\Type\File::_getValidatorErrors - * @since 2.0.0 */ protected function getValidatorErrors($errors, $fileInfo, $option) { @@ -129,7 +122,6 @@ protected function getValidatorErrors($errors, $fileInfo, $option) * @param string $extensions String to parse * @return array|null * @see \Magento\Catalog\Model\Product\Option\Type\File::_parseExtensionsString - * @since 2.0.0 */ protected function parseExtensionsString($extensions) { @@ -145,7 +137,6 @@ protected function parseExtensionsString($extensions) * @param array $fileFullPath * @return \Zend_File_Transfer_Adapter_Http|\Zend_Validate $object * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function buildImageValidator($object, $option, $fileFullPath = null) { @@ -189,7 +180,6 @@ protected function buildImageValidator($object, $option, $fileFullPath = null) * @param array|string $fileInfo - either file data from \Zend_File_Transfer or file path * @return boolean * @see \Magento\Catalog\Model\Product\Option\Type\File::_isImage - * @since 2.0.0 */ protected function isImage($fileInfo) { 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 4b9ea0eeb6e70..e2dfc8f50a1b4 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 @@ -13,7 +13,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ValidatorFile extends Validator { @@ -21,7 +20,6 @@ class ValidatorFile extends Validator * Relative path for main destination folder * * @var string - * @since 2.0.0 */ protected $path = 'custom_options'; @@ -29,7 +27,6 @@ class ValidatorFile extends Validator * Relative path for quote folder * * @var string - * @since 2.0.0 */ protected $quotePath = 'custom_options/quote'; @@ -37,37 +34,32 @@ class ValidatorFile extends Validator * Relative path for order folder * * @var string - * @since 2.0.0 */ protected $orderPath = 'custom_options/order'; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $mediaDirectory; /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $filesystem; /** * @var \Magento\Framework\HTTP\Adapter\FileTransferFactory - * @since 2.0.0 */ protected $httpFactory; /** * @var Product - * @since 2.0.0 */ protected $product; /** * @var \Magento\Framework\Validator\File\IsImage - * @since 2.1.0 + * @since 2.0.1 */ protected $isImageValidator; @@ -78,7 +70,6 @@ class ValidatorFile extends Validator * @param \Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory * @param \Magento\Framework\Validator\File\IsImage $isImageValidator * @throws \Magento\Framework\Exception\FileSystemException - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -97,7 +88,6 @@ public function __construct( /** * @param Product $product * @return $this - * @since 2.0.0 */ public function setProduct(Product $product) { @@ -117,7 +107,6 @@ public function setProduct(Product $product) * @throws \Zend_File_Transfer_Exception * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function validate($processingParams, $option) { @@ -231,7 +220,6 @@ public function validate($processingParams, $option) * * @return void * @see \Magento\Catalog\Model\Product\Option\Type\File::_initFilesystem - * @since 2.0.0 */ protected function initFilesystem() { @@ -249,7 +237,6 @@ protected function initFilesystem() /** * @return bool * @todo need correctly name - * @since 2.0.0 */ protected function validateContentLength() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorInfo.php b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorInfo.php index 005ab5c57f127..a5ebf0189a7bf 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorInfo.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/File/ValidatorInfo.php @@ -9,37 +9,31 @@ /** * Class \Magento\Catalog\Model\Product\Option\Type\File\ValidatorInfo * - * @since 2.0.0 */ class ValidatorInfo extends Validator { /** * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $coreFileStorageDatabase; /** * @var ValidateFactory - * @since 2.0.0 */ protected $validateFactory; /** * @var mixed - * @since 2.0.0 */ protected $useQuotePath; /** * @var string - * @since 2.0.0 */ protected $fileFullPath; /** * @var string - * @since 2.0.0 */ protected $fileRelativePath; @@ -49,7 +43,6 @@ class ValidatorInfo extends Validator * @param \Magento\Framework\File\Size $fileSize * @param \Magento\MediaStorage\Helper\File\Storage\Database $coreFileStorageDatabase * @param ValidateFactory $validateFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -66,7 +59,6 @@ public function __construct( /** * @param mixed $useQuotePath * @return $this - * @since 2.0.0 */ public function setUseQuotePath($useQuotePath) { @@ -79,7 +71,6 @@ public function setUseQuotePath($useQuotePath) * @param \Magento\Catalog\Model\Product\Option $option * @return bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validate($optionValue, $option) { @@ -124,7 +115,6 @@ public function validate($optionValue, $option) /** * @param string $fileRelativePath * @return string - * @since 2.0.0 */ protected function buildSecretKey($fileRelativePath) { @@ -134,7 +124,6 @@ protected function buildSecretKey($fileRelativePath) /** * @param array $optionValue * @return void - * @since 2.0.0 */ protected function initFilePath($optionValue) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/Select.php b/app/code/Magento/Catalog/Model/Product/Option/Type/Select.php index 26d8a0693197c..78cce7bd76163 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/Select.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/Select.php @@ -9,19 +9,16 @@ /** * Catalog product option select type - * @since 2.0.0 */ class Select extends \Magento\Catalog\Model\Product\Option\Type\DefaultType { /** * @var string|array - * @since 2.0.0 */ protected $_formattedOptionValue; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper; @@ -29,7 +26,6 @@ class Select extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -39,7 +35,6 @@ class Select extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * @param \Magento\Framework\Stdlib\StringUtils $string * @param \Magento\Framework\Escaper $escaper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -59,7 +54,6 @@ public function __construct( * @param array $values All product option values, i.e. array (option_id => mixed, option_id => mixed...) * @return $this * @throws LocalizedException - * @since 2.0.0 */ public function validateUserValue($values) { @@ -86,7 +80,6 @@ public function validateUserValue($values) * Prepare option value for cart * * @return string|null Prepared option value - * @since 2.0.0 */ public function prepareForCart() { @@ -102,7 +95,6 @@ public function prepareForCart() * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getFormattedOptionValue($optionValue) { @@ -117,7 +109,6 @@ public function getFormattedOptionValue($optionValue) * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getPrintableOptionValue($optionValue) { @@ -128,7 +119,6 @@ public function getPrintableOptionValue($optionValue) * Return currently unavailable product configuration message * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getWrongConfigurationMessage() { @@ -140,7 +130,6 @@ protected function _getWrongConfigurationMessage() * * @param string $optionValue Prepared for cart option value * @return string - * @since 2.0.0 */ public function getEditableOptionValue($optionValue) { @@ -182,7 +171,6 @@ public function getEditableOptionValue($optionValue) * @param string $optionValue * @param array $productOptionValues Values for product option * @return string|null - * @since 2.0.0 */ public function parseOptionValue($optionValue, $productOptionValues) { @@ -209,7 +197,6 @@ public function parseOptionValue($optionValue, $productOptionValues) * * @param string $optionValue * @return string - * @since 2.0.0 */ public function prepareOptionValueForRequest($optionValue) { @@ -225,7 +212,6 @@ public function prepareOptionValueForRequest($optionValue) * @param string $optionValue Prepared for cart option value * @param float $basePrice * @return float - * @since 2.0.0 */ public function getOptionPrice($optionValue, $basePrice) { @@ -272,7 +258,6 @@ public function getOptionPrice($optionValue, $basePrice) * @param string $optionValue Prepared for cart option value * @param string $skuDelimiter Delimiter for Sku parts * @return string - * @since 2.0.0 */ public function getOptionSku($optionValue, $skuDelimiter) { @@ -313,7 +298,6 @@ public function getOptionSku($optionValue, $skuDelimiter) * Check if option has single or multiple values selection * * @return boolean - * @since 2.0.0 */ protected function _isSingleSelection() { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Type/Text.php b/app/code/Magento/Catalog/Model/Product/Option/Type/Text.php index e0a594f70f802..79ee37c51671d 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Type/Text.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Type/Text.php @@ -9,7 +9,6 @@ /** * Catalog product option text type - * @since 2.0.0 */ class Text extends \Magento\Catalog\Model\Product\Option\Type\DefaultType { @@ -17,13 +16,11 @@ class Text extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper = null; @@ -33,7 +30,6 @@ class Text extends \Magento\Catalog\Model\Product\Option\Type\DefaultType * @param \Magento\Framework\Escaper $escaper * @param \Magento\Framework\Stdlib\StringUtils $string * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -53,7 +49,6 @@ public function __construct( * @param array $values All product option values, i.e. array (option_id => mixed, option_id => mixed...) * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validateUserValue($values) { @@ -83,7 +78,6 @@ public function validateUserValue($values) * Prepare option value for cart * * @return string|null Prepared option value - * @since 2.0.0 */ public function prepareForCart() { @@ -99,7 +93,6 @@ public function prepareForCart() * * @param string $value Prepared for cart option value * @return string - * @since 2.0.0 */ public function getFormattedOptionValue($value) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/UrlBuilder.php b/app/code/Magento/Catalog/Model/Product/Option/UrlBuilder.php index 2bdecd03bc736..ef8ef245ecf43 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/UrlBuilder.php +++ b/app/code/Magento/Catalog/Model/Product/Option/UrlBuilder.php @@ -8,19 +8,16 @@ /** * Class \Magento\Catalog\Model\Product\Option\UrlBuilder * - * @since 2.0.0 */ class UrlBuilder { /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_frontendUrlBuilder; /** * @param \Magento\Framework\UrlInterface $frontendUrlBuilder - * @since 2.0.0 */ public function __construct(\Magento\Framework\UrlInterface $frontendUrlBuilder) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\UrlInterface $frontendUrlBuilder) * @param string|null $route * @param array|null $params * @return string - * @since 2.0.0 */ public function getUrl($route, $params) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Validator/DefaultValidator.php b/app/code/Magento/Catalog/Model/Product/Option/Validator/DefaultValidator.php index 0677177ef8077..657a2242769f2 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Validator/DefaultValidator.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Validator/DefaultValidator.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Validator\DefaultValidator * - * @since 2.0.0 */ class DefaultValidator extends \Magento\Framework\Validator\AbstractValidator { @@ -20,7 +19,6 @@ class DefaultValidator extends \Magento\Framework\Validator\AbstractValidator * Product option types * * @var string[] - * @since 2.0.0 */ protected $productOptionTypes; @@ -28,14 +26,12 @@ class DefaultValidator extends \Magento\Framework\Validator\AbstractValidator * Price types * * @var string[] - * @since 2.0.0 */ protected $priceTypes; /** * @param \Magento\Catalog\Model\ProductOptions\ConfigInterface $productOptionConfig * @param \Magento\Catalog\Model\Config\Source\Product\Options\Price $priceConfig - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductOptions\ConfigInterface $productOptionConfig, @@ -62,7 +58,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product\Option $value * @return boolean * @throws Zend_Validate_Exception If validation of $value is impossible - * @since 2.0.0 */ public function isValid($value) { @@ -90,7 +85,6 @@ public function isValid($value) * * @param Option $option * @return bool - * @since 2.0.0 */ protected function validateOptionRequiredFields(Option $option) { @@ -109,7 +103,6 @@ protected function validateOptionRequiredFields(Option $option) * @param string $title * @param int $storeId * @return bool - * @since 2.0.0 */ protected function isValidOptionTitle($title, $storeId) { @@ -129,7 +122,6 @@ protected function isValidOptionTitle($title, $storeId) * * @param Option $option * @return bool - * @since 2.0.0 */ protected function validateOptionType(Option $option) { @@ -141,7 +133,6 @@ protected function validateOptionType(Option $option) * * @param Option $option * @return bool - * @since 2.0.0 */ protected function validateOptionValue(Option $option) { @@ -153,7 +144,6 @@ protected function validateOptionValue(Option $option) * * @param mixed $value * @return bool - * @since 2.0.0 */ protected function isEmpty($value) { @@ -166,7 +156,6 @@ protected function isEmpty($value) * @param string $value * @param array $range * @return bool - * @since 2.0.0 */ protected function isInRange($value, array $range) { @@ -178,7 +167,6 @@ protected function isInRange($value, array $range) * * @param string $value * @return bool - * @since 2.0.0 */ protected function isNegative($value) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Validator/File.php b/app/code/Magento/Catalog/Model/Product/Option/Validator/File.php index 90edfb20f9ff1..33e73b7fe0f45 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Validator/File.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Validator/File.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Validator\File * - * @since 2.0.0 */ class File extends DefaultValidator { @@ -20,7 +19,6 @@ class File extends DefaultValidator * * @param Option $option * @return bool - * @since 2.0.0 */ protected function validateOptionValue(Option $option) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Validator/Pool.php b/app/code/Magento/Catalog/Model/Product/Option/Validator/Pool.php index 2bc52a8576f9d..5eaaf2523260a 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Validator/Pool.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Validator/Pool.php @@ -9,19 +9,16 @@ /** * Class \Magento\Catalog\Model\Product\Option\Validator\Pool * - * @since 2.0.0 */ class Pool { /** * @var \Zend_Validate_Interface - * @since 2.0.0 */ protected $validators; /** * @param \Zend_Validate_Interface[] $validators - * @since 2.0.0 */ public function __construct(array $validators) { @@ -33,7 +30,6 @@ public function __construct(array $validators) * * @param string $type * @return \Zend_Validate_Interface - * @since 2.0.0 */ public function get($type) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Validator/Select.php b/app/code/Magento/Catalog/Model/Product/Option/Validator/Select.php index 52fc677c0b6a3..ef1c3c58eadca 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Validator/Select.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Validator/Select.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Validator\Select * - * @since 2.0.0 */ class Select extends DefaultValidator { @@ -20,7 +19,6 @@ class Select extends DefaultValidator * * @param array $values * @return bool - * @since 2.0.0 */ protected function checkAllValuesRemoved($values) { @@ -39,7 +37,6 @@ protected function checkAllValuesRemoved($values) * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function validateOptionValue(Option $option) { @@ -80,7 +77,6 @@ protected function validateOptionValue(Option $option) * @param int $price * @param int $storeId * @return bool - * @since 2.0.0 */ protected function isValidOptionPrice($priceType, $price, $storeId) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Validator/Text.php b/app/code/Magento/Catalog/Model/Product/Option/Validator/Text.php index 7de1cfeb91ec2..7f77b61c1682e 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Validator/Text.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Validator/Text.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Model\Product\Option\Validator\Text * - * @since 2.0.0 */ class Text extends DefaultValidator { @@ -20,7 +19,6 @@ class Text extends DefaultValidator * * @param Option $option * @return bool - * @since 2.0.0 */ protected function validateOptionValue(Option $option) { diff --git a/app/code/Magento/Catalog/Model/Product/Option/Value.php b/app/code/Magento/Catalog/Model/Product/Option/Value.php index 8d8fb45618742..5d9dd630d454e 100644 --- a/app/code/Magento/Catalog/Model/Product/Option/Value.php +++ b/app/code/Magento/Catalog/Model/Product/Option/Value.php @@ -22,7 +22,6 @@ * @method \Magento\Catalog\Model\Product\Option\Value setOptionId(int $value) * * @SuppressWarnings(PHPMD.LongVariable) - * @since 2.0.0 */ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCustomOptionValuesInterface { @@ -42,21 +41,16 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu const KEY_OPTION_TYPE_ID = 'option_type_id'; /**#@-*/ - /** - * @var array - * @since 2.0.0 - */ + /**#@-*/ protected $_values = []; /** * @var Product - * @since 2.0.0 */ protected $_product; /** * @var Option - * @since 2.0.0 */ protected $_option; @@ -64,7 +58,6 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu * Value collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Option\Value\CollectionFactory - * @since 2.0.0 */ protected $_valueCollectionFactory; @@ -75,7 +68,6 @@ class Value extends AbstractModel implements \Magento\Catalog\Api\Data\ProductCu * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -97,7 +89,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -108,7 +99,6 @@ protected function _construct() * @codeCoverageIgnoreStart * @param mixed $value * @return $this - * @since 2.0.0 */ public function addValue($value) { @@ -118,7 +108,6 @@ public function addValue($value) /** * @return array - * @since 2.0.0 */ public function getValues() { @@ -128,7 +117,6 @@ public function getValues() /** * @param array $values * @return $this - * @since 2.0.0 */ public function setValues($values) { @@ -138,7 +126,6 @@ public function setValues($values) /** * @return $this - * @since 2.0.0 */ public function unsetValues() { @@ -149,7 +136,6 @@ public function unsetValues() /** * @param Option $option * @return $this - * @since 2.0.0 */ public function setOption(Option $option) { @@ -159,7 +145,6 @@ public function setOption(Option $option) /** * @return $this - * @since 2.0.0 */ public function unsetOption() { @@ -171,7 +156,6 @@ public function unsetOption() * Enter description here... * * @return Option - * @since 2.0.0 */ public function getOption() { @@ -181,7 +165,6 @@ public function getOption() /** * @param Product $product * @return $this - * @since 2.0.0 */ public function setProduct($product) { @@ -193,7 +176,6 @@ public function setProduct($product) /** * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -205,7 +187,6 @@ public function getProduct() /** * @return $this - * @since 2.0.0 */ public function saveValues() { @@ -239,7 +220,6 @@ public function saveValues() * * @param bool $flag * @return float|int - * @since 2.0.0 */ public function getPrice($flag = false) { @@ -255,7 +235,6 @@ public function getPrice($flag = false) * Return regular price. * * @return float|int - * @since 2.0.0 */ public function getRegularPrice() { @@ -272,7 +251,6 @@ public function getRegularPrice() * * @param Option $option * @return \Magento\Catalog\Model\ResourceModel\Product\Option\Value\Collection - * @since 2.0.0 */ public function getValuesCollection(Option $option) { @@ -291,7 +269,6 @@ public function getValuesCollection(Option $option) * @param int $option_id * @param int $store_id * @return \Magento\Catalog\Model\ResourceModel\Product\Option\Value\Collection - * @since 2.0.0 */ public function getValuesByOption($optionIds, $option_id, $store_id) { @@ -309,7 +286,6 @@ public function getValuesByOption($optionIds, $option_id, $store_id) /** * @param int $option_id * @return $this - * @since 2.0.0 */ public function deleteValue($option_id) { @@ -320,7 +296,6 @@ public function deleteValue($option_id) /** * @param int $option_type_id * @return $this - * @since 2.0.0 */ public function deleteValues($option_type_id) { @@ -334,7 +309,6 @@ public function deleteValues($option_type_id) * @param int $oldOptionId * @param int $newOptionId * @return $this - * @since 2.0.0 */ public function duplicate($oldOptionId, $newOptionId) { @@ -347,7 +321,6 @@ public function duplicate($oldOptionId, $newOptionId) * * @return string * @codeCoverageIgnoreStart - * @since 2.0.0 */ public function getTitle() { @@ -358,7 +331,6 @@ public function getTitle() * Get sort order * * @return int - * @since 2.0.0 */ public function getSortOrder() { @@ -369,7 +341,6 @@ public function getSortOrder() * Get price type * * @return string - * @since 2.0.0 */ public function getPriceType() { @@ -380,7 +351,6 @@ public function getPriceType() * Get Sku * * @return string|null - * @since 2.0.0 */ public function getSku() { @@ -391,7 +361,6 @@ public function getSku() * Get Sku * * @return string|null - * @since 2.0.0 */ public function getOptionTypeId() { @@ -403,7 +372,6 @@ public function getOptionTypeId() * * @param string $title * @return $this - * @since 2.0.0 */ public function setTitle($title) { @@ -415,7 +383,6 @@ public function setTitle($title) * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder) { @@ -427,7 +394,6 @@ public function setSortOrder($sortOrder) * * @param float $price * @return $this - * @since 2.0.0 */ public function setPrice($price) { @@ -439,7 +405,6 @@ public function setPrice($price) * * @param string $priceType * @return $this - * @since 2.0.0 */ public function setPriceType($priceType) { @@ -451,7 +416,6 @@ public function setPriceType($priceType) * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -463,7 +427,6 @@ public function setSku($sku) * * @param int $optionTypeId * @return int|null - * @since 2.0.0 */ public function setOptionTypeId($optionTypeId) { diff --git a/app/code/Magento/Catalog/Model/Product/PriceModifier.php b/app/code/Magento/Catalog/Model/Product/PriceModifier.php index 932f97a0fe1ff..3c3fda8e8a90c 100644 --- a/app/code/Magento/Catalog/Model/Product/PriceModifier.php +++ b/app/code/Magento/Catalog/Model/Product/PriceModifier.php @@ -12,19 +12,16 @@ /** * Class \Magento\Catalog\Model\Product\PriceModifier * - * @since 2.0.0 */ class PriceModifier { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository @@ -41,7 +38,6 @@ public function __construct( * @throws \Magento\Framework\Exception\CouldNotSaveException * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function removeTierPrice(\Magento\Catalog\Model\Product $product, $customerGroupId, $qty, $websiteId) { diff --git a/app/code/Magento/Catalog/Model/Product/PriceModifier/Composite.php b/app/code/Magento/Catalog/Model/Product/PriceModifier/Composite.php index a1efb26ef5070..4f8ddfee6d1a1 100644 --- a/app/code/Magento/Catalog/Model/Product/PriceModifier/Composite.php +++ b/app/code/Magento/Catalog/Model/Product/PriceModifier/Composite.php @@ -15,26 +15,22 @@ /** * Class \Magento\Catalog\Model\Product\PriceModifier\Composite * - * @since 2.0.0 */ class Composite implements PriceModifierInterface { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var array - * @since 2.0.0 */ protected $modifiers; /** * @param ObjectManagerInterface $objectManager * @param array $modifiers - * @since 2.0.0 */ public function __construct(ObjectManagerInterface $objectManager, array $modifiers = []) { @@ -48,7 +44,6 @@ public function __construct(ObjectManagerInterface $objectManager, array $modifi * @param mixed $price * @param Product $product * @return mixed - * @since 2.0.0 */ public function modifyPrice($price, Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/PriceModifierInterface.php b/app/code/Magento/Catalog/Model/Product/PriceModifierInterface.php index af2a0ed9a222e..77af87653bf60 100644 --- a/app/code/Magento/Catalog/Model/Product/PriceModifierInterface.php +++ b/app/code/Magento/Catalog/Model/Product/PriceModifierInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface PriceModifierInterface { @@ -22,7 +21,6 @@ interface PriceModifierInterface * @param Product $product * @return mixed * @api - * @since 2.0.0 */ public function modifyPrice($price, Product $product); } 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 fa1be02002cee..ca5324ebc575f 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,7 @@ /** * Resolvers check whether product available for sale or not - * @since 2.2.0 + * @since 2.1.3 */ class SalableResolver implements SalableResolverInterface { @@ -17,7 +17,7 @@ class SalableResolver implements SalableResolverInterface * * @param \Magento\Framework\Pricing\SaleableInterface $salableItem * @return boolean - * @since 2.2.0 + * @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 a9f0b88f50f18..872fbc8a7c218 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,7 @@ /** * Interface resolver checks whether product available for sale - * @since 2.2.0 + * @since 2.1.3 */ interface SalableResolverInterface { @@ -17,7 +17,7 @@ interface SalableResolverInterface * * @param \Magento\Framework\Pricing\SaleableInterface $salableItem * @return boolean - * @since 2.2.0 + * @since 2.1.3 */ public function isSalable(\Magento\Framework\Pricing\SaleableInterface $salableItem); } diff --git a/app/code/Magento/Catalog/Model/Product/ProductList/Toolbar.php b/app/code/Magento/Catalog/Model/Product/ProductList/Toolbar.php index bb35f67863b38..37b3fc33e7b34 100644 --- a/app/code/Magento/Catalog/Model/Product/ProductList/Toolbar.php +++ b/app/code/Magento/Catalog/Model/Product/ProductList/Toolbar.php @@ -9,7 +9,6 @@ * Class Toolbar * * @api - * @since 2.0.0 */ class Toolbar { @@ -42,13 +41,11 @@ class Toolbar * Request * * @var \Magento\Framework\App\Request\Http - * @since 2.0.0 */ protected $request; /** * @param \Magento\Framework\App\Request\Http $request - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request @@ -60,7 +57,6 @@ public function __construct( * Get sort order * * @return string|bool - * @since 2.0.0 */ public function getOrder() { @@ -71,7 +67,6 @@ public function getOrder() * Get sort direction * * @return string|bool - * @since 2.0.0 */ public function getDirection() { @@ -82,7 +77,6 @@ public function getDirection() * Get sort mode * * @return string|bool - * @since 2.0.0 */ public function getMode() { @@ -93,7 +87,6 @@ public function getMode() * Get products per page limit * * @return string|bool - * @since 2.0.0 */ public function getLimit() { @@ -104,7 +97,6 @@ public function getLimit() * Return current page from request * * @return int - * @since 2.0.0 */ public function getCurrentPage() { diff --git a/app/code/Magento/Catalog/Model/Product/ReservedAttributeList.php b/app/code/Magento/Catalog/Model/Product/ReservedAttributeList.php index 1ee18ba4de83d..4ea64a1d815ca 100644 --- a/app/code/Magento/Catalog/Model/Product/ReservedAttributeList.php +++ b/app/code/Magento/Catalog/Model/Product/ReservedAttributeList.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class ReservedAttributeList { /** * @var string[] - * @since 2.0.0 */ protected $_reservedAttributes; @@ -24,7 +22,6 @@ class ReservedAttributeList * @param string $productModel * @param array $reservedAttributes * @param array $allowedAttributes - * @since 2.0.0 */ public function __construct($productModel, array $reservedAttributes = [], array $allowedAttributes = []) { @@ -44,7 +41,6 @@ public function __construct($productModel, array $reservedAttributes = [], array * * @param \Magento\Catalog\Model\Entity\Attribute $attribute * @return boolean - * @since 2.0.0 */ public function isReservedAttribute($attribute) { diff --git a/app/code/Magento/Catalog/Model/Product/TierPrice.php b/app/code/Magento/Catalog/Model/Product/TierPrice.php index 6c506c92921d8..8f4742afd0d10 100644 --- a/app/code/Magento/Catalog/Model/Product/TierPrice.php +++ b/app/code/Magento/Catalog/Model/Product/TierPrice.php @@ -8,7 +8,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class TierPrice extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Catalog\Api\Data\ProductTierPriceInterface @@ -17,7 +16,6 @@ class TierPrice extends \Magento\Framework\Model\AbstractExtensibleModel impleme * Retrieve tier qty * * @return float - * @since 2.0.0 */ public function getQty() { @@ -28,7 +26,6 @@ public function getQty() * Retrieve price value * * @return float - * @since 2.0.0 */ public function getValue() { @@ -40,7 +37,6 @@ public function getValue() * * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty) { @@ -52,7 +48,6 @@ public function setQty($qty) * * @param float $value * @return $this - * @since 2.0.0 */ public function setValue($value) { @@ -63,7 +58,6 @@ public function setValue($value) * Retrieve customer group id * * @return int - * @since 2.0.0 */ public function getCustomerGroupId() { @@ -75,7 +69,6 @@ public function getCustomerGroupId() * * @param int $customerGroupId * @return $this - * @since 2.0.0 */ public function setCustomerGroupId($customerGroupId) { @@ -84,7 +77,6 @@ public function setCustomerGroupId($customerGroupId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -93,7 +85,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductTierPriceExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php b/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php index 4426e500a5a45..7cecd2f37bb84 100644 --- a/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php +++ b/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php @@ -16,49 +16,41 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class TierPriceManagement implements \Magento\Catalog\Api\ProductTierPriceManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory - * @since 2.0.0 */ protected $priceFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Model\Product\PriceModifier - * @since 2.0.0 */ protected $priceModifier; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $config; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; @@ -70,7 +62,6 @@ class TierPriceManagement implements \Magento\Catalog\Api\ProductTierPriceManage * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param GroupManagementInterface $groupManagement * @param GroupRepositoryInterface $groupRepository - * @since 2.0.0 */ public function __construct( ProductRepositoryInterface $productRepository, @@ -94,7 +85,6 @@ public function __construct( * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function add($sku, $customerGroupId, $price, $qty) { @@ -159,7 +149,6 @@ public function add($sku, $customerGroupId, $price, $qty) /** * {@inheritdoc} - * @since 2.0.0 */ public function remove($sku, $customerGroupId, $qty) { @@ -175,7 +164,6 @@ public function remove($sku, $customerGroupId, $qty) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($sku, $customerGroupId) { diff --git a/app/code/Magento/Catalog/Model/Product/Type.php b/app/code/Magento/Catalog/Model/Product/Type.php index 14627629baf7e..91a1d51e5b55b 100644 --- a/app/code/Magento/Catalog/Model/Product/Type.php +++ b/app/code/Magento/Catalog/Model/Product/Type.php @@ -12,7 +12,6 @@ * Product type model * * @api - * @since 2.0.0 */ class Type implements OptionSourceInterface { @@ -43,7 +42,6 @@ class Type implements OptionSourceInterface /** * @var \Magento\Catalog\Model\ProductTypes\ConfigInterface - * @since 2.0.0 */ protected $_config; @@ -51,7 +49,6 @@ class Type implements OptionSourceInterface * Product types * * @var array|string - * @since 2.0.0 */ protected $_types; @@ -59,7 +56,6 @@ class Type implements OptionSourceInterface * Composite product type Ids * * @var array - * @since 2.0.0 */ protected $_compositeTypes; @@ -67,7 +63,6 @@ class Type implements OptionSourceInterface * Price models * * @var array - * @since 2.0.0 */ protected $_priceModels; @@ -75,7 +70,6 @@ class Type implements OptionSourceInterface * Product types by type indexing priority * * @var array - * @since 2.0.0 */ protected $_typesPriority; @@ -83,7 +77,6 @@ class Type implements OptionSourceInterface * Product type factory * * @var \Magento\Catalog\Model\Product\Type\Pool - * @since 2.0.0 */ protected $_productTypePool; @@ -91,13 +84,11 @@ class Type implements OptionSourceInterface * Price model factory * * @var \Magento\Catalog\Model\Product\Type\Price\Factory - * @since 2.0.0 */ protected $_priceFactory; /** * @var \Magento\Framework\Pricing\PriceInfo\Factory - * @since 2.0.0 */ protected $_priceInfoFactory; @@ -108,7 +99,6 @@ class Type implements OptionSourceInterface * @param \Magento\Catalog\Model\Product\Type\Pool $productTypePool * @param \Magento\Catalog\Model\Product\Type\Price\Factory $priceFactory * @param \Magento\Framework\Pricing\PriceInfo\Factory $priceInfoFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductTypes\ConfigInterface $config, @@ -127,7 +117,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.0 */ public function factory($product) { @@ -151,7 +140,6 @@ public function factory($product) * * @param string $productType * @return \Magento\Catalog\Model\Product\Type\Price - * @since 2.0.0 */ public function priceFactory($productType) { @@ -176,7 +164,6 @@ public function priceFactory($productType) * * @param Product $saleableItem * @return \Magento\Framework\Pricing\PriceInfoInterface - * @since 2.0.0 */ public function getPriceInfo(Product $saleableItem) { @@ -187,7 +174,6 @@ public function getPriceInfo(Product $saleableItem) * Get product type labels array * * @return array - * @since 2.0.0 */ public function getOptionArray() { @@ -202,7 +188,6 @@ public function getOptionArray() * Get product type labels array with empty value * * @return array - * @since 2.0.0 */ public function getAllOption() { @@ -215,7 +200,6 @@ public function getAllOption() * Get product type labels array with empty value for option element * * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -228,7 +212,6 @@ public function getAllOptions() * Get product type labels array for option element * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -244,7 +227,6 @@ public function getOptions() * * @param string $optionId * @return null|string - * @since 2.0.0 */ public function getOptionText($optionId) { @@ -256,7 +238,6 @@ public function getOptionText($optionId) * Get product types * * @return array - * @since 2.0.0 */ public function getTypes() { @@ -274,7 +255,6 @@ public function getTypes() * Return composite product type Ids * * @return array - * @since 2.0.0 */ public function getCompositeTypes() { @@ -294,7 +274,6 @@ public function getCompositeTypes() * Return product types by type indexing priority * * @return array - * @since 2.0.0 */ public function getTypesByPriority() { @@ -328,7 +307,6 @@ public function getTypesByPriority() /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php b/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php index 797c53203e44c..4b3b9588cdac7 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php +++ b/app/code/Magento/Catalog/Model/Product/Type/AbstractType.php @@ -16,7 +16,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractType { @@ -24,13 +23,11 @@ abstract class AbstractType * Product type instance id * * @var string - * @since 2.0.0 */ protected $_typeId; /** * @var array - * @since 2.0.0 */ protected $_editableAttributes; @@ -38,7 +35,6 @@ abstract class AbstractType * Is a composite product type * * @var bool - * @since 2.0.0 */ protected $_isComposite = false; @@ -46,7 +42,6 @@ abstract class AbstractType * If product can be configured * * @var bool - * @since 2.0.0 */ protected $_canConfigure = false; @@ -54,7 +49,6 @@ abstract class AbstractType * Whether product quantity is fractional number or not * * @var bool - * @since 2.0.0 */ protected $_canUseQtyDecimals = true; @@ -62,7 +56,6 @@ abstract class AbstractType * File queue array * * @var array - * @since 2.0.0 */ protected $_fileQueue = []; @@ -100,13 +93,11 @@ abstract class AbstractType /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $_fileStorageDb; @@ -114,7 +105,6 @@ abstract class AbstractType * Cache key for Product Attributes * * @var string - * @since 2.0.0 */ protected $_cacheProductSetAttributes = '_cache_instance_product_set_attributes'; @@ -123,7 +113,6 @@ abstract class AbstractType * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product); @@ -131,7 +120,6 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -139,13 +127,11 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -153,7 +139,6 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Catalog product type * * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_catalogProductType; @@ -161,7 +146,6 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -169,13 +153,11 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * Catalog product option * * @var \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ protected $_catalogProductOption; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -201,7 +183,6 @@ abstract public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $ * @param ProductRepositoryInterface $productRepository * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Option $catalogProductOption, @@ -233,7 +214,6 @@ public function __construct( * * @param string $typeId * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.0 */ public function setTypeId($typeId) { @@ -245,7 +225,6 @@ public function setTypeId($typeId) * Return relation info about used products for specific type instance * * @return \Magento\Framework\DataObject Object with information data - * @since 2.0.0 */ public function getRelationInfo() { @@ -264,7 +243,6 @@ public function getRelationInfo() * @param bool $required * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getChildrenIds($parentId, $required = true) { @@ -277,7 +255,6 @@ public function getChildrenIds($parentId, $required = true) * @param int|array $childId * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getParentIdsByChild($childId) { @@ -289,7 +266,6 @@ public function getParentIdsByChild($childId) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute[] - * @since 2.0.0 */ public function getSetAttributes($product) { @@ -308,7 +284,6 @@ public function getSetAttributes($product) * @param \Magento\Catalog\Model\Entity\Attribute $attributeOne * @param \Magento\Catalog\Model\Entity\Attribute $attributeTwo * @return int - * @since 2.0.0 */ public function attributesCompare($attributeOne, $attributeTwo) { @@ -329,7 +304,6 @@ public function attributesCompare($attributeOne, $attributeTwo) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute[] - * @since 2.0.0 */ public function getEditableAttributes($product) { @@ -342,7 +316,6 @@ public function getEditableAttributes($product) * @param int $attributeId * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute|null - * @since 2.0.0 */ public function getAttributeById($attributeId, $product) { @@ -362,7 +335,6 @@ public function getAttributeById($attributeId, $product) * @param \Magento\Catalog\Model\Product $product * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function isVirtual($product) { @@ -374,7 +346,6 @@ public function isVirtual($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function isSalable($product) { @@ -395,7 +366,6 @@ public function isSalable($product) * @param string $processMode * @return array|string * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $product, $processMode) { @@ -461,7 +431,6 @@ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $p * @param \Magento\Catalog\Model\Product $product * @param string $processMode * @return array|string - * @since 2.0.0 */ public function processConfiguration( \Magento\Framework\DataObject $buyRequest, @@ -481,7 +450,6 @@ public function processConfiguration( * @param \Magento\Catalog\Model\Product $product * @param null|string $processMode * @return array|string - * @since 2.0.0 */ public function prepareForCartAdvanced(\Magento\Framework\DataObject $buyRequest, $product, $processMode = null) { @@ -499,7 +467,6 @@ public function prepareForCartAdvanced(\Magento\Framework\DataObject $buyRequest * @param \Magento\Framework\DataObject $buyRequest * @param \Magento\Catalog\Model\Product $product * @return array|string - * @since 2.0.0 */ public function prepareForCart(\Magento\Framework\DataObject $buyRequest, $product) { @@ -513,7 +480,6 @@ public function prepareForCart(\Magento\Framework\DataObject $buyRequest, $produ * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function processFileQueue() { @@ -573,7 +539,6 @@ public function processFileQueue() * 'src_name'=>'filename', * 'dst_name'=>'filename2']) * @return void - * @since 2.0.0 */ public function addFileQueue($queueOptions) { @@ -585,7 +550,6 @@ public function addFileQueue($queueOptions) * * @param string $processMode * @return bool - * @since 2.0.0 */ protected function _isStrictProcessMode($processMode) { @@ -596,7 +560,6 @@ protected function _isStrictProcessMode($processMode) * Retrieve message for specify option(s) * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getSpecifyOptionMessage() { @@ -611,7 +574,6 @@ public function getSpecifyOptionMessage() * @param string $processMode * @return array * @throws LocalizedException - * @since 2.0.0 */ protected function _prepareOptions(\Magento\Framework\DataObject $buyRequest, $product, $processMode) { @@ -661,7 +623,6 @@ protected function _prepareOptions(\Magento\Framework\DataObject $buyRequest, $p * @param \Magento\Catalog\Model\Product $product * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function checkProductBuyState($product) { @@ -689,7 +650,6 @@ public function checkProductBuyState($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getOrderOptions($product) { @@ -741,7 +701,6 @@ public function getOrderOptions($product) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function save($product) { @@ -761,7 +720,6 @@ public function save($product) * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ protected function _removeNotApplicableAttributes($product) { @@ -779,7 +737,6 @@ protected function _removeNotApplicableAttributes($product) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function beforeSave($product) { @@ -794,7 +751,6 @@ public function beforeSave($product) * @param \Magento\Catalog\Model\Product $product * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function isComposite($product) { @@ -807,7 +763,6 @@ public function isComposite($product) * @param \Magento\Catalog\Model\Product $product * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function canConfigure($product) { @@ -818,7 +773,6 @@ public function canConfigure($product) * Check if product qty is fractional number * * @return bool - * @since 2.0.0 */ public function canUseQtyDecimals() { @@ -830,7 +784,6 @@ public function canUseQtyDecimals() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getSku($product) { @@ -847,7 +800,6 @@ public function getSku($product) * @param \Magento\Catalog\Model\Product $product Product with Custom Options * @param string $sku Product SKU without option * @return string - * @since 2.0.0 */ public function getOptionSku($product, $sku = '') { @@ -885,7 +837,6 @@ public function getOptionSku($product, $sku = '') * * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getWeight($product) { @@ -897,7 +848,6 @@ public function getWeight($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function hasOptions($product) { @@ -917,7 +867,6 @@ public function hasOptions($product) * * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function updateQtyOption($options, \Magento\Framework\DataObject $option, $value, $product) { @@ -929,7 +878,6 @@ public function updateQtyOption($options, \Magento\Framework\DataObject $option, * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function hasRequiredOptions($product) { @@ -944,7 +892,6 @@ public function hasRequiredOptions($product) * * @param \Magento\Catalog\Model\Product $product * @return int|\Magento\Store\Model\Store - * @since 2.0.0 */ public function getStoreFilter($product) { @@ -958,7 +905,6 @@ public function getStoreFilter($product) * @param $store int|\Magento\Store\Model\Store * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setStoreFilter($store, $product) { @@ -975,7 +921,6 @@ public function setStoreFilter($store, $product) * @return boolean false * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getForceChildItemQtyChanges($product) { @@ -989,7 +934,6 @@ public function getForceChildItemQtyChanges($product) * @param \Magento\Catalog\Model\Product $product * @return float * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function prepareQuoteItemQty($qty, $product) { @@ -1004,7 +948,6 @@ public function prepareQuoteItemQty($qty, $product) * @param \Magento\Quote\Model\Quote\Item\Option $option * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function assignProductToOption($optionProduct, $option, $product) { @@ -1022,7 +965,6 @@ public function assignProductToOption($optionProduct, $option, $product) * * @param array $config * @return $this - * @since 2.0.0 */ public function setConfig($config) { @@ -1043,7 +985,6 @@ public function setConfig($config) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getSearchableData($product) { @@ -1064,7 +1005,6 @@ public function getSearchableData($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getProductsToPurchaseByReqGroups($product) { @@ -1081,7 +1021,6 @@ public function getProductsToPurchaseByReqGroups($product) * @param \Magento\Framework\DataObject $buyRequest * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function processBuyRequest($product, $buyRequest) { @@ -1094,7 +1033,6 @@ public function processBuyRequest($product, $buyRequest) * @param \Magento\Catalog\Model\Product $product * @param \Magento\Framework\DataObject $buyRequest * @return array - * @since 2.0.0 */ public function checkProductConfiguration($product, $buyRequest) { @@ -1125,7 +1063,6 @@ public function checkProductConfiguration($product, $buyRequest) * Determine presence of weight for product type * * @return bool - * @since 2.0.0 */ public function hasWeight() { @@ -1138,7 +1075,6 @@ public function hasWeight() * @param \Magento\Catalog\Model\Product $product * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setImageFromChildProduct(\Magento\Catalog\Model\Product $product) { @@ -1151,7 +1087,6 @@ public function setImageFromChildProduct(\Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $product * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdentities(\Magento\Catalog\Model\Product $product) { @@ -1162,7 +1097,6 @@ public function getIdentities(\Magento\Catalog\Model\Product $product) * @param \Magento\Catalog\Model\Product\Type\AbstractType $product * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getAssociatedProducts($product) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Pool.php b/app/code/Magento/Catalog/Model/Product/Type/Pool.php index 17de89a97697c..6051a2f30a768 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Pool.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Pool.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Type\Pool * - * @since 2.0.0 */ class Pool { @@ -20,7 +19,6 @@ class Pool * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Pool * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Catalog\Model\Product\Type\AbstractType * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function get($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Price.php b/app/code/Magento/Catalog/Model/Product/Type/Price.php index 5a32d55a23460..2e78130b426fa 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Price.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Price.php @@ -17,7 +17,6 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price { @@ -28,7 +27,6 @@ class Price /** * @var array - * @since 2.0.0 */ protected static $attributeCache = []; @@ -36,7 +34,6 @@ class Price * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -44,13 +41,11 @@ class Price * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; @@ -58,7 +53,6 @@ class Price * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -66,31 +60,26 @@ class Price * Rule factory * * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @since 2.0.0 */ protected $_ruleFactory; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @var \Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory - * @since 2.0.0 */ protected $tierPriceFactory; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $config; @@ -114,7 +103,6 @@ class Price * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param ProductTierPriceExtensionFactory|null $tierPriceExtensionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\CatalogRule\Model\ResourceModel\RuleFactory $ruleFactory, @@ -146,7 +134,6 @@ public function __construct( * * @param Product $product * @return float - * @since 2.0.0 */ public function getPrice($product) { @@ -160,7 +147,6 @@ public function getPrice($product) * @param float|null $qty * * @return float - * @since 2.0.0 */ public function getBasePrice($product, $qty = null) { @@ -177,7 +163,6 @@ public function getBasePrice($product, $qty = null) * @param float|null $qty * @param Product $product * @return float - * @since 2.0.0 */ public function getFinalPrice($qty, $product) { @@ -206,7 +191,6 @@ public function getFinalPrice($qty, $product) * @return float * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getChildFinalPrice($product, $productQty, $childProduct, $childProductQty) { @@ -220,7 +204,6 @@ public function getChildFinalPrice($product, $productQty, $childProduct, $childP * @param string $key * @param bool $returnRawData * @return array - * @since 2.0.0 */ protected function getExistingPrices($product, $key, $returnRawData = false) { @@ -245,7 +228,6 @@ protected function getExistingPrices($product, $key, $returnRawData = false) * Returns the website to use for group or tier prices, based on the price scope setting * * @return int|mixed - * @since 2.0.0 */ protected function getWebsiteForPriceScope() { @@ -265,7 +247,6 @@ protected function getWebsiteForPriceScope() * @param float $qty * @param float $finalPrice * @return float - * @since 2.0.0 */ protected function _applyTierPrice($product, $qty, $finalPrice) { @@ -288,7 +269,6 @@ protected function _applyTierPrice($product, $qty, $finalPrice) * @return float|array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getTierPrice($qty, $product) { @@ -368,7 +348,6 @@ public function getTierPrice($qty, $product) * Gets the CUST_GROUP_ALL id * * @return int - * @since 2.0.0 */ protected function getAllCustomerGroupsId() { @@ -381,7 +360,6 @@ protected function getAllCustomerGroupsId() * * @param Product $product * @return \Magento\Catalog\Api\Data\ProductTierPriceInterface[] - * @since 2.0.0 */ public function getTierPrices($product) { @@ -415,7 +393,6 @@ public function getTierPrices($product) * @param Product $product * @param \Magento\Catalog\Api\Data\ProductTierPriceInterface[] $tierPrices * @return $this - * @since 2.0.0 */ public function setTierPrices($product, array $tierPrices = null) { @@ -453,7 +430,6 @@ public function setTierPrices($product, array $tierPrices = null) /** * @param Product $product * @return int - * @since 2.0.0 */ protected function _getCustomerGroupId($product) { @@ -469,7 +445,6 @@ protected function _getCustomerGroupId($product) * @param Product $product * @param float $finalPrice * @return float - * @since 2.0.0 */ protected function _applySpecialPrice($product, $finalPrice) { @@ -487,7 +462,6 @@ protected function _applySpecialPrice($product, $finalPrice) * * @param Product $product * @return int - * @since 2.0.0 */ public function getTierPriceCount($product) { @@ -501,7 +475,6 @@ public function getTierPriceCount($product) * @param float $qty * @param Product $product * @return array|float - * @since 2.0.0 */ public function getFormatedTierPrice($qty, $product) { @@ -524,7 +497,6 @@ public function getFormatedTierPrice($qty, $product) * * @param Product $product * @return array || float - * @since 2.0.0 */ public function getFormatedPrice($product) { @@ -539,7 +511,6 @@ public function getFormatedPrice($product) * @param float $finalPrice * @return float * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _applyOptionsPrice($product, $qty, $finalPrice) { @@ -573,7 +544,6 @@ protected function _applyOptionsPrice($product, $qty, $finalPrice) * @param integer|null $gId * @param int|null $productId * @return float - * @since 2.0.0 */ public function calculatePrice( $basePrice, @@ -626,7 +596,6 @@ public function calculatePrice( * @param string $specialPriceTo * @param int|string|Store $store * @return float - * @since 2.0.0 */ public function calculateSpecialPrice( $finalPrice, @@ -647,7 +616,6 @@ public function calculateSpecialPrice( * Check is tier price value fixed or percent of original price * * @return bool - * @since 2.0.0 */ public function isTierPriceFixed() { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php b/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php index 4d002471523a5..5053bd5b4222f 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Type\Price\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Catalog\Model\Product\Type\Price * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Simple.php b/app/code/Magento/Catalog/Model/Product/Type/Simple.php index 825cef9aa1a4b..b8d4eabf79caf 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Simple.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Simple.php @@ -7,7 +7,6 @@ /** * Simple product type implementation - * @since 2.0.0 */ class Simple extends \Magento\Catalog\Model\Product\Type\AbstractType { @@ -16,7 +15,6 @@ class Simple extends \Magento\Catalog\Model\Product\Type\AbstractType * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Virtual.php b/app/code/Magento/Catalog/Model/Product/Type/Virtual.php index 609dbc4afa922..f972f6371cc0c 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Virtual.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Virtual.php @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\Product\Type\Virtual * - * @since 2.0.0 */ class Virtual extends \Magento\Catalog\Model\Product\Type\AbstractType { @@ -23,7 +22,6 @@ class Virtual extends \Magento\Catalog\Model\Product\Type\AbstractType * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function isVirtual($product) { @@ -34,7 +32,6 @@ public function isVirtual($product) * Check that product of this type has weight * * @return bool - * @since 2.0.0 */ public function hasWeight() { @@ -46,7 +43,6 @@ public function hasWeight() * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/TypeTransitionManager.php b/app/code/Magento/Catalog/Model/Product/TypeTransitionManager.php index 22e288c0d4bbb..9c59fc2a63aad 100644 --- a/app/code/Magento/Catalog/Model/Product/TypeTransitionManager.php +++ b/app/code/Magento/Catalog/Model/Product/TypeTransitionManager.php @@ -16,7 +16,6 @@ /** * Class \Magento\Catalog\Model\Product\TypeTransitionManager * - * @since 2.0.0 */ class TypeTransitionManager { @@ -24,20 +23,17 @@ class TypeTransitionManager * List of compatible product types * * @var array - * @since 2.0.0 */ protected $compatibleTypes; /** * @var Edit\WeightResolver - * @since 2.0.0 */ protected $weightResolver; /** * @param Edit\WeightResolver $weightResolver * @param array $compatibleTypes - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Edit\WeightResolver $weightResolver, @@ -52,7 +48,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ public function processProduct(Product $product) { diff --git a/app/code/Magento/Catalog/Model/Product/Url.php b/app/code/Magento/Catalog/Model/Product/Url.php index 67e38a341308b..ef41ea08d46cb 100644 --- a/app/code/Magento/Catalog/Model/Product/Url.php +++ b/app/code/Magento/Catalog/Model/Product/Url.php @@ -12,7 +12,6 @@ * Product Url model * * @api - * @since 2.0.0 */ class Url extends \Magento\Framework\DataObject { @@ -20,13 +19,11 @@ class Url extends \Magento\Framework\DataObject * URL instance * * @var \Magento\Framework\UrlFactory - * @since 2.0.0 */ protected $urlFactory; /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filter; @@ -34,19 +31,16 @@ class Url extends \Magento\Framework\DataObject * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\Session\SidResolverInterface - * @since 2.0.0 */ protected $sidResolver; /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface - * @since 2.0.0 */ protected $urlFinder; @@ -57,7 +51,6 @@ class Url extends \Magento\Framework\DataObject * @param \Magento\Framework\Session\SidResolverInterface $sidResolver * @param UrlFinderInterface $urlFinder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\UrlFactory $urlFactory, @@ -79,7 +72,6 @@ public function __construct( * Retrieve URL Instance * * @return \Magento\Framework\UrlInterface - * @since 2.0.0 */ private function getUrlInstance() { @@ -92,7 +84,6 @@ private function getUrlInstance() * @param \Magento\Catalog\Model\Product $product * @param array $params the URL route params * @return string - * @since 2.0.0 */ public function getUrlInStore(\Magento\Catalog\Model\Product $product, $params = []) { @@ -106,7 +97,6 @@ public function getUrlInStore(\Magento\Catalog\Model\Product $product, $params = * @param \Magento\Catalog\Model\Product $product * @param bool $useSid forced SID mode * @return string - * @since 2.0.0 */ public function getProductUrl($product, $useSid = null) { @@ -127,7 +117,6 @@ public function getProductUrl($product, $useSid = null) * * @param string $str * @return string - * @since 2.0.0 */ public function formatUrlKey($str) { @@ -142,7 +131,6 @@ public function formatUrlKey($str) * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getUrl(\Magento\Catalog\Model\Product $product, $params = []) { diff --git a/app/code/Magento/Catalog/Model/Product/Validator.php b/app/code/Magento/Catalog/Model/Product/Validator.php index a61685dcb5037..060f3917bbe46 100644 --- a/app/code/Magento/Catalog/Model/Product/Validator.php +++ b/app/code/Magento/Catalog/Model/Product/Validator.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Product\Validator * - * @since 2.0.0 */ class Validator { @@ -24,7 +23,6 @@ class Validator * @param \Magento\Framework\DataObject $response * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function validate(Product $product, RequestInterface $request, \Magento\Framework\DataObject $response) { diff --git a/app/code/Magento/Catalog/Model/Product/Visibility.php b/app/code/Magento/Catalog/Model/Product/Visibility.php index a01e6bdd44154..c9089eb423ebd 100644 --- a/app/code/Magento/Catalog/Model/Product/Visibility.php +++ b/app/code/Magento/Catalog/Model/Product/Visibility.php @@ -12,7 +12,6 @@ * Catalog Product visibility model and attribute source model * * @api - * @since 2.0.0 */ class Visibility extends \Magento\Framework\DataObject implements OptionSourceInterface { @@ -28,7 +27,6 @@ class Visibility extends \Magento\Framework\DataObject implements OptionSourceIn * Reference to the attribute instance * * @var \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.0.0 */ protected $_attribute; @@ -36,7 +34,6 @@ class Visibility extends \Magento\Framework\DataObject implements OptionSourceIn * Eav entity attribute * * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute - * @since 2.0.0 */ protected $_eavEntityAttribute; @@ -45,7 +42,6 @@ class Visibility extends \Magento\Framework\DataObject implements OptionSourceIn * * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute $eavEntityAttribute * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute $eavEntityAttribute, @@ -59,7 +55,6 @@ public function __construct( * Retrieve visible in catalog ids array * * @return string[] - * @since 2.0.0 */ public function getVisibleInCatalogIds() { @@ -70,7 +65,6 @@ public function getVisibleInCatalogIds() * Retrieve visible in search ids array * * @return string[] - * @since 2.0.0 */ public function getVisibleInSearchIds() { @@ -81,7 +75,6 @@ public function getVisibleInSearchIds() * Retrieve visible in site ids array * * @return string[] - * @since 2.0.0 */ public function getVisibleInSiteIds() { @@ -92,7 +85,6 @@ public function getVisibleInSiteIds() * Retrieve option array * * @return array - * @since 2.0.0 */ public static function getOptionArray() { @@ -108,7 +100,6 @@ public static function getOptionArray() * Retrieve all options * * @return array - * @since 2.0.0 */ public static function getAllOption() { @@ -121,7 +112,6 @@ public static function getAllOption() * Retrieve all options * * @return array - * @since 2.0.0 */ public static function getAllOptions() { @@ -137,7 +127,6 @@ public static function getAllOptions() * * @param int $optionId * @return string - * @since 2.0.0 */ public static function getOptionText($optionId) { @@ -149,7 +138,6 @@ public static function getOptionText($optionId) * Retrieve flat column definition * * @return array - * @since 2.0.0 */ public function getFlatColumns() { @@ -171,7 +159,6 @@ public function getFlatColumns() * Retrieve Indexes for Flat * * @return array - * @since 2.0.0 */ public function getFlatIndexes() { @@ -183,7 +170,6 @@ public function getFlatIndexes() * * @param int $store * @return \Magento\Framework\DB\Select|null - * @since 2.0.0 */ public function getFlatUpdateSelect($store) { @@ -195,7 +181,6 @@ public function getFlatUpdateSelect($store) * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return $this - * @since 2.0.0 */ public function setAttribute($attribute) { @@ -207,7 +192,6 @@ public function setAttribute($attribute) * Get attribute instance * * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.0.0 */ public function getAttribute() { @@ -220,7 +204,6 @@ public function getAttribute() * @param \Magento\Eav\Model\Entity\Collection\AbstractCollection $collection * @param string $dir direction * @return $this - * @since 2.0.0 */ public function addValueSortToCollection($collection, $dir = 'asc') { @@ -268,7 +251,6 @@ public function addValueSortToCollection($collection, $dir = 'asc') /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Product/Website.php b/app/code/Magento/Catalog/Model/Product/Website.php index 1a0baf4fe7fb3..fa5d0134fa221 100644 --- a/app/code/Magento/Catalog/Model/Product/Website.php +++ b/app/code/Magento/Catalog/Model/Product/Website.php @@ -21,7 +21,6 @@ /** * Class \Magento\Catalog\Model\Product\Website * - * @since 2.0.0 */ class Website extends \Magento\Framework\Model\AbstractModel { @@ -29,7 +28,6 @@ class Website extends \Magento\Framework\Model\AbstractModel * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -40,7 +38,6 @@ protected function _construct() * Retrieve Resource instance wrapper * * @return \Magento\Catalog\Model\ResourceModel\Product\Website - * @since 2.0.0 */ protected function _getResource() { @@ -54,7 +51,6 @@ protected function _getResource() * @param array $productIds * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function removeProducts($websiteIds, $productIds) { @@ -75,7 +71,6 @@ public function removeProducts($websiteIds, $productIds) * @param array $productIds * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function addProducts($websiteIds, $productIds) { @@ -95,7 +90,6 @@ public function addProducts($websiteIds, $productIds) * * @param int|array $productIds * @return array - * @since 2.0.0 */ public function getWebsites($productIds) { diff --git a/app/code/Magento/Catalog/Model/ProductAttributeGroupRepository.php b/app/code/Magento/Catalog/Model/ProductAttributeGroupRepository.php index 97f2ffa7bdf5b..18168750cd155 100644 --- a/app/code/Magento/Catalog/Model/ProductAttributeGroupRepository.php +++ b/app/code/Magento/Catalog/Model/ProductAttributeGroupRepository.php @@ -12,25 +12,21 @@ /** * Class \Magento\Catalog\Model\ProductAttributeGroupRepository * - * @since 2.0.0 */ class ProductAttributeGroupRepository implements \Magento\Catalog\Api\ProductAttributeGroupRepositoryInterface { /** * @var \Magento\Eav\Api\AttributeGroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var \Magento\Catalog\Model\Product\Attribute\GroupFactory - * @since 2.0.0 */ protected $groupFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group - * @since 2.0.0 */ protected $groupResource; @@ -38,7 +34,6 @@ class ProductAttributeGroupRepository implements \Magento\Catalog\Api\ProductAtt * @param \Magento\Eav\Api\AttributeGroupRepositoryInterface $groupRepository * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Group $groupResource * @param Product\Attribute\GroupFactory $groupFactory - * @since 2.0.0 */ public function __construct( \Magento\Eav\Api\AttributeGroupRepositoryInterface $groupRepository, @@ -52,7 +47,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Eav\Api\Data\AttributeGroupInterface $group) { @@ -61,7 +55,6 @@ public function save(\Magento\Eav\Api\Data\AttributeGroupInterface $group) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) { @@ -70,7 +63,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr /** * {@inheritdoc} - * @since 2.0.0 */ public function get($groupId) { @@ -85,7 +77,6 @@ public function get($groupId) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($groupId) { @@ -97,7 +88,6 @@ public function deleteById($groupId) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Eav\Api\Data\AttributeGroupInterface $group) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Attribute.php b/app/code/Magento/Catalog/Model/ProductLink/Attribute.php index 1efcaad9d2724..b55b62a4d810f 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Attribute.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Attribute.php @@ -10,7 +10,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Attribute extends \Magento\Framework\Api\AbstractExtensibleObject implements ProductLinkAttributeInterface { @@ -23,7 +22,6 @@ class Attribute extends \Magento\Framework\Api\AbstractExtensibleObject implemen /** * {@inheritdoc} - * @since 2.0.0 */ public function getCode() { @@ -32,7 +30,6 @@ public function getCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function getType() { @@ -44,7 +41,6 @@ public function getType() * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code) { @@ -56,7 +52,6 @@ public function setCode($code) * * @param string $type * @return $this - * @since 2.0.0 */ public function setType($type) { @@ -67,7 +62,6 @@ public function setType($type) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -79,7 +73,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductLinkAttributeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider.php index 0c98470c8aa3d..340b38ffde5d5 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider.php @@ -12,26 +12,22 @@ /** * Class \Magento\Catalog\Model\ProductLink\CollectionProvider * - * @since 2.0.0 */ class CollectionProvider { /** * @var CollectionProviderInterface[] - * @since 2.0.0 */ protected $providers; /** * @var ConverterPool - * @since 2.0.0 */ protected $converterPool; /** * @param ConverterPool $converterPool * @param CollectionProviderInterface[] $providers - * @since 2.0.0 */ public function __construct(ConverterPool $converterPool, array $providers = []) { @@ -46,7 +42,6 @@ public function __construct(ConverterPool $converterPool, array $providers = []) * @param string $type * @return array * @throws NoSuchEntityException - * @since 2.0.0 */ public function getCollection(\Magento\Catalog\Model\Product $product, $type) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Crosssell.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Crosssell.php index 0b4511dada688..252d5ca5a36aa 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Crosssell.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Crosssell.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Model\ProductLink\CollectionProvider\Crosssell * - * @since 2.0.0 */ class Crosssell implements \Magento\Catalog\Model\ProductLink\CollectionProviderInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getLinkedProducts(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Related.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Related.php index 5c0882d934721..4c6553f7f8fd6 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Related.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Related.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Model\ProductLink\CollectionProvider\Related * - * @since 2.0.0 */ class Related implements \Magento\Catalog\Model\ProductLink\CollectionProviderInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getLinkedProducts(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Upsell.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Upsell.php index fd02c4dd77260..0aa379289bc7b 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Upsell.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProvider/Upsell.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Model\ProductLink\CollectionProvider\Upsell * - * @since 2.0.0 */ class Upsell implements \Magento\Catalog\Model\ProductLink\CollectionProviderInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getLinkedProducts(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php index 30d898f2b8905..2311ea5e1c506 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Model\ProductLink\CollectionProviderInterface * - * @since 2.0.0 */ interface CollectionProviderInterface { @@ -18,7 +17,6 @@ interface CollectionProviderInterface * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product[] - * @since 2.0.0 */ public function getLinkedProducts(\Magento\Catalog\Model\Product $product); } diff --git a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php index 26cfaa9705237..70e41ce03fb99 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php @@ -9,7 +9,6 @@ /** * Interface \Magento\Catalog\Model\ProductLink\Converter\ConverterInterface * - * @since 2.0.0 */ interface ConverterInterface { @@ -18,7 +17,6 @@ interface ConverterInterface * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function convert(\Magento\Catalog\Model\Product $product); } diff --git a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterPool.php b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterPool.php index a1d6bd6da1702..5d8d6ecfa955b 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterPool.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterPool.php @@ -9,25 +9,21 @@ /** * Class \Magento\Catalog\Model\ProductLink\Converter\ConverterPool * - * @since 2.0.0 */ class ConverterPool { /** * @var ConverterInterface[] - * @since 2.0.0 */ protected $converters; /** * @var string - * @since 2.0.0 */ protected $defaultConverterCode = 'default'; /** * @param ConverterInterface[] $converters - * @since 2.0.0 */ public function __construct(array $converters) { @@ -39,7 +35,6 @@ public function __construct(array $converters) * * @param string $linkType * @return ConverterInterface - * @since 2.0.0 */ public function getConverter($linkType) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Converter/DefaultConverter.php b/app/code/Magento/Catalog/Model/ProductLink/Converter/DefaultConverter.php index d21e8a9d03e60..8b4c6570b8765 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Converter/DefaultConverter.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Converter/DefaultConverter.php @@ -9,13 +9,11 @@ /** * Class \Magento\Catalog\Model\ProductLink\Converter\DefaultConverter * - * @since 2.0.0 */ class DefaultConverter implements ConverterInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function convert(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Link.php b/app/code/Magento/Catalog/Model/ProductLink/Link.php index e93fc8d7a14f0..ebf90c0523818 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Link.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Link.php @@ -8,7 +8,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Catalog\Api\Data\ProductLinkInterface @@ -28,7 +27,6 @@ class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements * * @param string $key * @return mixed|null - * @since 2.0.0 */ protected function _get($key) { @@ -40,7 +38,6 @@ protected function _get($key) * * @return array * @todo refactor with converter for AbstractExtensibleModel - * @since 2.0.0 */ public function __toArray() { @@ -68,7 +65,6 @@ public function __toArray() * * @identifier * @return string - * @since 2.0.0 */ public function getSku() { @@ -80,7 +76,6 @@ public function getSku() * * @identifier * @return string - * @since 2.0.0 */ public function getLinkType() { @@ -92,7 +87,6 @@ public function getLinkType() * * @identifier * @return string - * @since 2.0.0 */ public function getLinkedProductSku() { @@ -103,7 +97,6 @@ public function getLinkedProductSku() * Get linked product type (simple, virtual, etc) * * @return string - * @since 2.0.0 */ public function getLinkedProductType() { @@ -114,7 +107,6 @@ public function getLinkedProductType() * Get product position * * @return int - * @since 2.0.0 */ public function getPosition() { @@ -126,7 +118,6 @@ public function getPosition() * * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -138,7 +129,6 @@ public function setSku($sku) * * @param string $linkType * @return $this - * @since 2.0.0 */ public function setLinkType($linkType) { @@ -150,7 +140,6 @@ public function setLinkType($linkType) * * @param string $linkedProductSku * @return $this - * @since 2.0.0 */ public function setLinkedProductSku($linkedProductSku) { @@ -162,7 +151,6 @@ public function setLinkedProductSku($linkedProductSku) * * @param string $linkedProductType * @return $this - * @since 2.0.0 */ public function setLinkedProductType($linkedProductType) { @@ -174,7 +162,6 @@ public function setLinkedProductType($linkedProductType) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -185,7 +172,6 @@ public function setPosition($position) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductLinkExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -202,7 +188,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductLinkExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Catalog\Api\Data\ProductLinkExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Management.php b/app/code/Magento/Catalog/Model/ProductLink/Management.php index c9826a28bcddc..a4745d3daab05 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Management.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Management.php @@ -14,26 +14,22 @@ /** * Class \Magento\Catalog\Model\ProductLink\Management * - * @since 2.0.0 */ class Management implements \Magento\Catalog\Api\ProductLinkManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Catalog\Model\Product\LinkTypeProvider - * @since 2.0.0 */ protected $linkTypeProvider; /** * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository * @param \Magento\Catalog\Model\Product\LinkTypeProvider $linkTypeProvider - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -45,7 +41,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getLinkedItemsByType($sku, $type) { @@ -71,7 +66,6 @@ public function getLinkedItemsByType($sku, $type) /** * {@inheritdoc} - * @since 2.0.0 */ public function setProductLinks($sku, array $items) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Repository.php b/app/code/Magento/Catalog/Model/ProductLink/Repository.php index 619701b0e4666..198aa75411411 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Repository.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Repository.php @@ -17,7 +17,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Repository implements \Magento\Catalog\Api\ProductLinkRepositoryInterface { @@ -47,31 +46,26 @@ class Repository implements \Magento\Catalog\Api\ProductLinkRepositoryInterface /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var CollectionProvider - * @since 2.0.0 */ protected $entityCollectionProvider; /** * @var LinksInitializer - * @since 2.0.0 */ protected $linkInitializer; /** * @var Management - * @since 2.0.0 */ protected $linkManagement; /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; @@ -98,7 +92,6 @@ class Repository implements \Magento\Catalog\Api\ProductLinkRepositoryInterface * @param \Magento\Catalog\Api\Data\ProductLinkInterfaceFactory|null $productLinkFactory * @param \Magento\Catalog\Api\Data\ProductLinkExtensionFactory|null $productLinkExtensionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -122,7 +115,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductLinkInterface $entity) { @@ -201,7 +193,6 @@ public function getList(\Magento\Catalog\Api\Data\ProductInterface $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductLinkInterface $entity) { @@ -235,7 +226,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductLinkInterface $entity) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($sku, $type, $linkedProductSku) { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Type.php b/app/code/Magento/Catalog/Model/ProductLink/Type.php index 464d8ce76f0e6..e22741e4a2565 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Type.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Type.php @@ -10,7 +10,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class Type extends \Magento\Framework\Api\AbstractExtensibleObject implements ProductLinkTypeInterface { @@ -23,7 +22,6 @@ class Type extends \Magento\Framework\Api\AbstractExtensibleObject implements Pr /** * {@inheritdoc} - * @since 2.0.0 */ public function getCode() { @@ -32,7 +30,6 @@ public function getCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function getName() { @@ -44,7 +41,6 @@ public function getName() * * @param int $code * @return $this - * @since 2.0.0 */ public function setCode($code) { @@ -56,7 +52,6 @@ public function setCode($code) * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -67,7 +62,6 @@ public function setName($name) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -79,7 +73,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductLinkTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductManagement.php b/app/code/Magento/Catalog/Model/ProductManagement.php index dbf3baf3a9a67..7d10c3ce8fcb5 100644 --- a/app/code/Magento/Catalog/Model/ProductManagement.php +++ b/app/code/Magento/Catalog/Model/ProductManagement.php @@ -12,19 +12,16 @@ /** * Class \Magento\Catalog\Model\ProductManagement * - * @since 2.0.0 */ class ProductManagement implements ProductManagementInterface { /** * @var CollectionFactory - * @since 2.0.0 */ protected $productsFactory; /** * @param CollectionFactory $productsFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $productsFactory) { @@ -33,7 +30,6 @@ public function __construct(CollectionFactory $productsFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCount($status = null) { diff --git a/app/code/Magento/Catalog/Model/ProductOption.php b/app/code/Magento/Catalog/Model/ProductOption.php index 10aec69958472..1e1c5618bf306 100644 --- a/app/code/Magento/Catalog/Model/ProductOption.php +++ b/app/code/Magento/Catalog/Model/ProductOption.php @@ -11,13 +11,11 @@ /** * Class \Magento\Catalog\Model\ProductOption * - * @since 2.0.0 */ class ProductOption extends AbstractExtensibleModel implements ProductOptionInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -26,7 +24,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductOptionExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductOptionProcessor.php b/app/code/Magento/Catalog/Model/ProductOptionProcessor.php index d98f6b341d79d..6cd3857eafa8a 100644 --- a/app/code/Magento/Catalog/Model/ProductOptionProcessor.php +++ b/app/code/Magento/Catalog/Model/ProductOptionProcessor.php @@ -15,19 +15,16 @@ /** * Class \Magento\Catalog\Model\ProductOptionProcessor * - * @since 2.0.0 */ class ProductOptionProcessor implements ProductOptionProcessorInterface { /** * @var DataObjectFactory - * @since 2.0.0 */ protected $objectFactory; /** * @var CustomOptionFactory - * @since 2.0.0 */ protected $customOptionFactory; @@ -40,7 +37,6 @@ class ProductOptionProcessor implements ProductOptionProcessorInterface /** * @param DataObjectFactory $objectFactory * @param CustomOptionFactory $customOptionFactory - * @since 2.0.0 */ public function __construct( DataObjectFactory $objectFactory, @@ -52,7 +48,6 @@ public function __construct( /** * @inheritDoc - * @since 2.0.0 */ public function convertToBuyRequest(ProductOptionInterface $productOption) { @@ -76,7 +71,6 @@ public function convertToBuyRequest(ProductOptionInterface $productOption) * * @param ProductOptionInterface $productOption * @return array - * @since 2.0.0 */ protected function getCustomOptions(ProductOptionInterface $productOption) { @@ -92,7 +86,6 @@ protected function getCustomOptions(ProductOptionInterface $productOption) /** * @inheritDoc - * @since 2.0.0 */ public function convertToProductOption(DataObject $request) { diff --git a/app/code/Magento/Catalog/Model/ProductOptionProcessorInterface.php b/app/code/Magento/Catalog/Model/ProductOptionProcessorInterface.php index d6029e101faaa..f15135ed2a7ed 100644 --- a/app/code/Magento/Catalog/Model/ProductOptionProcessorInterface.php +++ b/app/code/Magento/Catalog/Model/ProductOptionProcessorInterface.php @@ -12,7 +12,6 @@ * Allows to dump and apply product configurations * * @api - * @since 2.0.0 */ interface ProductOptionProcessorInterface { @@ -21,7 +20,6 @@ interface ProductOptionProcessorInterface * * @param ProductOptionInterface $productOption * @return DataObject - * @since 2.0.0 */ public function convertToBuyRequest(ProductOptionInterface $productOption); @@ -30,7 +28,6 @@ public function convertToBuyRequest(ProductOptionInterface $productOption); * * @param DataObject $request * @return array - * @since 2.0.0 */ public function convertToProductOption(DataObject $request); } diff --git a/app/code/Magento/Catalog/Model/ProductOptions/Config.php b/app/code/Magento/Catalog/Model/ProductOptions/Config.php index 8fba8c3b3e0ab..1ab2d544b8b31 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/Config.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/Config.php @@ -9,7 +9,6 @@ /** * Provides product options configuration - * @since 2.0.0 */ class Config extends \Magento\Framework\Config\Data implements \Magento\Catalog\Model\ProductOptions\ConfigInterface @@ -21,7 +20,6 @@ class Config extends \Magento\Framework\Config\Data implements * @param \Magento\Framework\Config\CacheInterface $cache * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductOptions\Config\Reader $reader, @@ -37,7 +35,6 @@ public function __construct( * * @param string $name * @return array - * @since 2.0.0 */ public function getOption($name) { @@ -48,7 +45,6 @@ public function getOption($name) * Get configuration of all registered product types * * @return array - * @since 2.0.0 */ public function getAll() { diff --git a/app/code/Magento/Catalog/Model/ProductOptions/Config/Converter.php b/app/code/Magento/Catalog/Model/ProductOptions/Config/Converter.php index 02227fa033a51..5994bb57fb17a 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/Config/Converter.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/Config/Converter.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\ProductOptions\Config\Converter * - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { @@ -18,7 +17,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * @param \DOMDocument $source * @return array * @throws \InvalidArgumentException - * @since 2.0.0 */ public function convert($source) { @@ -56,7 +54,6 @@ public function convert($source) * @param string $attributeName * @param string|null $defaultValue * @return null|string - * @since 2.0.0 */ protected function _getAttributeValue(\DOMNode $node, $attributeName, $defaultValue = null) { diff --git a/app/code/Magento/Catalog/Model/ProductOptions/Config/Reader.php b/app/code/Magento/Catalog/Model/ProductOptions/Config/Reader.php index e0af96e9b16f4..2a2d2890b4a0a 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/Config/Reader.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/Config/Reader.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\ProductOptions\Config\Reader * - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -16,7 +15,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * List of id attributes for merge * * @var array - * @since 2.0.0 */ protected $_idAttributes = ['/config/option' => 'name', '/config/option/inputType' => 'name']; @@ -29,7 +27,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Catalog/Model/ProductOptions/Config/SchemaLocator.php b/app/code/Magento/Catalog/Model/ProductOptions/Config/SchemaLocator.php index 162477c48982f..5d3225cfcd155 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/Config/SchemaLocator.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/Config/SchemaLocator.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\ProductOptions\Config\SchemaLocator * - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -18,7 +17,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema = null; @@ -26,13 +24,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema = null; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -45,7 +41,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -56,7 +51,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php b/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php index 97168ef2ebdfd..b41429736591e 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php @@ -8,7 +8,6 @@ /** * Interface \Magento\Catalog\Model\ProductOptions\ConfigInterface * - * @since 2.0.0 */ interface ConfigInterface { @@ -17,7 +16,6 @@ interface ConfigInterface * * @param string $name * @return array - * @since 2.0.0 */ public function getOption($name); @@ -25,7 +23,6 @@ public function getOption($name); * Get configuration of all registered product types * * @return array - * @since 2.0.0 */ public function getAll(); } diff --git a/app/code/Magento/Catalog/Model/ProductOptions/TypeList.php b/app/code/Magento/Catalog/Model/ProductOptions/TypeList.php index dafed9d2ff80b..d05413e55b853 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/TypeList.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/TypeList.php @@ -9,26 +9,22 @@ /** * Class \Magento\Catalog\Model\ProductOptions\TypeList * - * @since 2.0.0 */ class TypeList implements \Magento\Catalog\Api\ProductCustomOptionTypeListInterface { /** * @var Config - * @since 2.0.0 */ protected $config; /** * @var \Magento\Catalog\Api\Data\ProductCustomOptionTypeInterfaceFactory - * @since 2.0.0 */ protected $factory; /** * @param Config $config * @param \Magento\Catalog\Api\Data\ProductCustomOptionTypeInterfaceFactory $factory - * @since 2.0.0 */ public function __construct( Config $config, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems() { diff --git a/app/code/Magento/Catalog/Model/ProductRepository.php b/app/code/Magento/Catalog/Model/ProductRepository.php index 5ec1302bdf769..265abcefd7321 100644 --- a/app/code/Magento/Catalog/Model/ProductRepository.php +++ b/app/code/Magento/Catalog/Model/ProductRepository.php @@ -27,7 +27,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterface { @@ -39,115 +38,96 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa /** * @var ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var Product[] - * @since 2.0.0 */ protected $instances = []; /** * @var Product[] - * @since 2.0.0 */ protected $instancesById = []; /** * @var \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper - * @since 2.0.0 */ protected $initializationHelper; /** * @var \Magento\Catalog\Api\Data\ProductSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $searchResultsFactory; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @var \Magento\Framework\Api\FilterBuilder - * @since 2.0.0 */ protected $filterBuilder; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product - * @since 2.0.0 */ protected $resourceModel; /** * @var Product\Initialization\Helper\ProductLinks - * @since 2.0.0 */ protected $linkInitializer; /** * @var Product\LinkTypeProvider - * @since 2.0.0 */ protected $linkTypeProvider; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.0.0 */ protected $attributeRepository; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.0.0 */ protected $metadataService; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ protected $extensibleDataObjectConverter; /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $fileSystem; /** * @var ImageContentInterfaceFactory - * @since 2.0.0 */ protected $contentFactory; /** * @var ImageProcessorInterface - * @since 2.0.0 */ protected $imageProcessor; /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; @@ -202,7 +182,6 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa * @param int $cacheLimit [optional] * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( ProductFactory $productFactory, @@ -254,7 +233,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function get($sku, $editMode = false, $storeId = null, $forceReload = false) { @@ -283,7 +261,6 @@ public function get($sku, $editMode = false, $storeId = null, $forceReload = fal /** * {@inheritdoc} - * @since 2.0.0 */ public function getById($productId, $editMode = false, $storeId = null, $forceReload = false) { @@ -310,7 +287,6 @@ public function getById($productId, $editMode = false, $storeId = null, $forceRe * * @param array $data * @return string - * @since 2.0.0 */ protected function getCacheKey($data) { @@ -353,7 +329,6 @@ private function cacheProduct($cacheKey, \Magento\Catalog\Api\Data\ProductInterf * @param bool $createNew * @return \Magento\Catalog\Api\Data\ProductInterface|Product * @throws NoSuchEntityException - * @since 2.0.0 */ protected function initializeProductData(array $productData, $createNew) { @@ -379,7 +354,6 @@ protected function initializeProductData(array $productData, $createNew) /** * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ private function assignProductToWebsites(\Magento\Catalog\Model\Product $product) { @@ -408,7 +382,6 @@ private function assignProductToWebsites(\Magento\Catalog\Model\Product $product * @throws InputException * @throws StateException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function processNewMediaGalleryEntry( ProductInterface $product, @@ -456,7 +429,6 @@ protected function processNewMediaGalleryEntry( * @param \Magento\Catalog\Api\Data\ProductLinkInterface[] $newLinks * @return $this * @throws NoSuchEntityException - * @since 2.0.0 */ private function processLinks(\Magento\Catalog\Api\Data\ProductInterface $product, $newLinks) { @@ -522,7 +494,6 @@ private function processLinks(\Magento\Catalog\Api\Data\ProductInterface $produc * @throws InputException * @throws StateException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function processMediaGallery(ProductInterface $product, $mediaGalleryEntries) { @@ -590,7 +561,6 @@ protected function processMediaGallery(ProductInterface $product, $mediaGalleryE * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function save(\Magento\Catalog\Api\Data\ProductInterface $product, $saveOptions = false) { @@ -682,7 +652,6 @@ public function save(\Magento\Catalog\Api\Data\ProductInterface $product, $saveO /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Catalog\Api\Data\ProductInterface $product) { @@ -706,7 +675,6 @@ public function delete(\Magento\Catalog\Api\Data\ProductInterface $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($sku) { @@ -716,7 +684,6 @@ public function deleteById($sku) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) { @@ -760,7 +727,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param \Magento\Framework\Api\Search\FilterGroup $filterGroup * @param Collection $collection * @return void - * @since 2.0.0 */ protected function addFilterGroupToCollection( \Magento\Framework\Api\Search\FilterGroup $filterGroup, diff --git a/app/code/Magento/Catalog/Model/ProductType.php b/app/code/Magento/Catalog/Model/ProductType.php index 4f9f8c74384b7..48267ed8ed760 100644 --- a/app/code/Magento/Catalog/Model/ProductType.php +++ b/app/code/Magento/Catalog/Model/ProductType.php @@ -11,7 +11,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class ProductType extends \Magento\Framework\Api\AbstractExtensibleObject implements ProductTypeInterface { @@ -24,7 +23,6 @@ class ProductType extends \Magento\Framework\Api\AbstractExtensibleObject implem /** * {@inheritdoc} - * @since 2.0.0 */ public function getName() { @@ -33,7 +31,6 @@ public function getName() /** * {@inheritdoc} - * @since 2.0.0 */ public function getLabel() { @@ -45,7 +42,6 @@ public function getLabel() * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -57,7 +53,6 @@ public function setName($name) * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -68,7 +63,6 @@ public function setLabel($label) * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\ProductTypeExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -80,7 +74,6 @@ public function getExtensionAttributes() * * @param \Magento\Catalog\Api\Data\ProductTypeExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Catalog\Api\Data\ProductTypeExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Catalog/Model/ProductTypeList.php b/app/code/Magento/Catalog/Model/ProductTypeList.php index 08d8c2cb472b3..f34d379a4ca91 100644 --- a/app/code/Magento/Catalog/Model/ProductTypeList.php +++ b/app/code/Magento/Catalog/Model/ProductTypeList.php @@ -13,7 +13,6 @@ /** * Class \Magento\Catalog\Model\ProductTypeList * - * @since 2.0.0 */ class ProductTypeList implements ProductTypeListInterface { @@ -21,7 +20,6 @@ class ProductTypeList implements ProductTypeListInterface * Product type configuration provider * * @var ConfigInterface - * @since 2.0.0 */ private $productTypeConfig; @@ -29,7 +27,6 @@ class ProductTypeList implements ProductTypeListInterface * Product type factory * * @var \Magento\Catalog\Api\Data\ProductTypeInterfaceFactory - * @since 2.0.0 */ private $productTypeFactory; @@ -37,14 +34,12 @@ class ProductTypeList implements ProductTypeListInterface * List of product types * * @var array - * @since 2.0.0 */ private $productTypes; /** * @param ConfigInterface $productTypeConfig * @param \Magento\Catalog\Api\Data\ProductTypeInterfaceFactory $productTypeFactory - * @since 2.0.0 */ public function __construct( ConfigInterface $productTypeConfig, @@ -56,7 +51,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getProductTypes() { diff --git a/app/code/Magento/Catalog/Model/ProductTypes/Config.php b/app/code/Magento/Catalog/Model/ProductTypes/Config.php index b6e36c508c3c1..171ab0f1ad0f6 100644 --- a/app/code/Magento/Catalog/Model/ProductTypes/Config.php +++ b/app/code/Magento/Catalog/Model/ProductTypes/Config.php @@ -9,7 +9,6 @@ /** * Provides product types configuration - * @since 2.0.0 */ class Config extends \Magento\Framework\Config\Data implements \Magento\Catalog\Model\ProductTypes\ConfigInterface { @@ -20,7 +19,6 @@ class Config extends \Magento\Framework\Config\Data implements \Magento\Catalog\ * @param \Magento\Framework\Config\CacheInterface $cache * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductTypes\Config\Reader $reader, @@ -36,7 +34,6 @@ public function __construct( * * @param string $name * @return array - * @since 2.0.0 */ public function getType($name) { @@ -47,7 +44,6 @@ public function getType($name) * Get configuration of all registered product types * * @return array - * @since 2.0.0 */ public function getAll() { @@ -59,7 +55,6 @@ public function getAll() * * @param string $typeId * @return bool - * @since 2.0.0 */ public function isProductSet($typeId) { @@ -70,7 +65,6 @@ public function isProductSet($typeId) * Get composable types * * @return array - * @since 2.0.0 */ public function getComposableTypes() { @@ -83,7 +77,6 @@ public function getComposableTypes() * @param string $attributeName * @param string $value * @return array - * @since 2.0.0 */ public function filter($attributeName, $value = 'true') { diff --git a/app/code/Magento/Catalog/Model/ProductTypes/Config/Converter.php b/app/code/Magento/Catalog/Model/ProductTypes/Config/Converter.php index e084c714b0600..d4f332348c690 100644 --- a/app/code/Magento/Catalog/Model/ProductTypes/Config/Converter.php +++ b/app/code/Magento/Catalog/Model/ProductTypes/Config/Converter.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\ProductTypes\Config\Converter * - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { @@ -20,7 +19,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * @throws \InvalidArgumentException * * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function convert($source) { @@ -102,7 +100,6 @@ public function convert($source) * @param string $attributeName * @param string|null $default * @return null|string - * @since 2.0.0 */ protected function _getAttributeValue(\DOMNode $input, $attributeName, $default = null) { diff --git a/app/code/Magento/Catalog/Model/ProductTypes/Config/Reader.php b/app/code/Magento/Catalog/Model/ProductTypes/Config/Reader.php index f06bd85e9840f..42da4391f3c7b 100644 --- a/app/code/Magento/Catalog/Model/ProductTypes/Config/Reader.php +++ b/app/code/Magento/Catalog/Model/ProductTypes/Config/Reader.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Model\ProductTypes\Config\Reader * - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -16,7 +15,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * List of id attributes for merge * * @var array - * @since 2.0.0 */ protected $_idAttributes = [ '/config/type' => 'name', @@ -36,7 +34,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Catalog/Model/ProductTypes/Config/SchemaLocator.php b/app/code/Magento/Catalog/Model/ProductTypes/Config/SchemaLocator.php index 61424c5f4c68f..002fa90a6753d 100644 --- a/app/code/Magento/Catalog/Model/ProductTypes/Config/SchemaLocator.php +++ b/app/code/Magento/Catalog/Model/ProductTypes/Config/SchemaLocator.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Model\ProductTypes\Config\SchemaLocator * - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -18,7 +17,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema = null; @@ -26,13 +24,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema = null; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -45,7 +41,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -56,7 +51,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Catalog/Model/ProductTypes/ConfigInterface.php b/app/code/Magento/Catalog/Model/ProductTypes/ConfigInterface.php index 7ae28d5a316a3..10fe4aae0ce2a 100644 --- a/app/code/Magento/Catalog/Model/ProductTypes/ConfigInterface.php +++ b/app/code/Magento/Catalog/Model/ProductTypes/ConfigInterface.php @@ -9,7 +9,6 @@ * Provides product types configuration * * @api - * @since 2.0.0 */ interface ConfigInterface { @@ -18,7 +17,6 @@ interface ConfigInterface * * @param string $name * @return array - * @since 2.0.0 */ public function getType($name); @@ -26,7 +24,6 @@ public function getType($name); * Get configuration of all registered product types * * @return array - * @since 2.0.0 */ public function getAll(); @@ -35,7 +32,6 @@ public function getAll(); * * @param string $typeId * @return bool - * @since 2.0.0 */ public function isProductSet($typeId); @@ -43,7 +39,6 @@ public function isProductSet($typeId); * Get composable types * * @return array - * @since 2.0.0 */ public function getComposableTypes(); @@ -53,7 +48,6 @@ public function getComposableTypes(); * @param string $customAttributeName * @param string $value * @return array - * @since 2.0.0 */ public function filter($customAttributeName, $value = 'true'); } diff --git a/app/code/Magento/Catalog/Model/ProductWebsiteLink.php b/app/code/Magento/Catalog/Model/ProductWebsiteLink.php index 1d1139584cf65..e71962939555b 100644 --- a/app/code/Magento/Catalog/Model/ProductWebsiteLink.php +++ b/app/code/Magento/Catalog/Model/ProductWebsiteLink.php @@ -9,7 +9,6 @@ /** * Class \Magento\Catalog\Model\ProductWebsiteLink * - * @since 2.0.0 */ class ProductWebsiteLink extends \Magento\Framework\Api\AbstractSimpleObject implements \Magento\Catalog\Api\Data\ProductWebsiteLinkInterface @@ -23,7 +22,6 @@ class ProductWebsiteLink extends \Magento\Framework\Api\AbstractSimpleObject imp /** * {@inheritdoc} - * @since 2.0.0 */ public function getSku() { @@ -32,7 +30,6 @@ public function getSku() /** * {@inheritdoc} - * @since 2.0.0 */ public function getWebsiteId() { @@ -42,7 +39,6 @@ public function getWebsiteId() /** * @param string $sku * @return $this - * @since 2.0.0 */ public function setSku($sku) { @@ -51,7 +47,6 @@ public function setSku($sku) /** * {@inheritdoc} - * @since 2.0.0 */ public function setWebsiteId($websiteId) { diff --git a/app/code/Magento/Catalog/Model/ProductWebsiteLinkRepository.php b/app/code/Magento/Catalog/Model/ProductWebsiteLinkRepository.php index 7134a5fd44911..af18bf2f9e63f 100644 --- a/app/code/Magento/Catalog/Model/ProductWebsiteLinkRepository.php +++ b/app/code/Magento/Catalog/Model/ProductWebsiteLinkRepository.php @@ -13,19 +13,16 @@ /** * Class \Magento\Catalog\Model\ProductWebsiteLinkRepository * - * @since 2.0.0 */ class ProductWebsiteLinkRepository implements \Magento\Catalog\Api\ProductWebsiteLinkRepositoryInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository @@ -35,7 +32,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(ProductWebsiteLinkInterface $productWebsiteLink) { @@ -61,7 +57,6 @@ public function save(ProductWebsiteLinkInterface $productWebsiteLink) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(ProductWebsiteLinkInterface $productLink) { @@ -70,7 +65,6 @@ public function delete(ProductWebsiteLinkInterface $productLink) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($sku, $websiteId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/AbstractResource.php b/app/code/Magento/Catalog/Model/ResourceModel/AbstractResource.php index 32ce1ebe9f358..d7d4ab238020a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/AbstractResource.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/AbstractResource.php @@ -16,7 +16,6 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractResource extends \Magento\Eav\Model\Entity\AbstractEntity { @@ -24,7 +23,6 @@ abstract class AbstractResource extends \Magento\Eav\Model\Entity\AbstractEntity * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -32,7 +30,6 @@ abstract class AbstractResource extends \Magento\Eav\Model\Entity\AbstractEntity * Model factory * * @var \Magento\Catalog\Model\Factory - * @since 2.0.0 */ protected $_modelFactory; @@ -41,7 +38,6 @@ abstract class AbstractResource extends \Magento\Eav\Model\Entity\AbstractEntity * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Model\Factory $modelFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Context $context, @@ -58,7 +54,6 @@ public function __construct( * Re-declare attribute model * * @return string - * @since 2.0.0 */ protected function _getDefaultAttributeModel() { @@ -69,7 +64,6 @@ protected function _getDefaultAttributeModel() * Returns default Store ID * * @return int - * @since 2.0.0 */ public function getDefaultStoreId() { @@ -82,7 +76,6 @@ public function getDefaultStoreId() * @param \Magento\Framework\DataObject $object * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return boolean - * @since 2.0.0 */ protected function _isApplicableAttribute($object, $attribute) { @@ -98,7 +91,6 @@ protected function _isApplicableAttribute($object, $attribute) * @param string $method * @param array $args array of arguments * @return boolean - * @since 2.0.0 */ protected function _isCallableAttributeInstance($instance, $method, $args) { @@ -121,7 +113,6 @@ protected function _isCallableAttributeInstance($instance, $method, $args) * @param \Magento\Framework\DataObject $object * @param string $table * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getLoadAttributesSelect($object, $table) { @@ -166,7 +157,6 @@ protected function _getLoadAttributesSelect($object, $table) * * @param array $selects * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _prepareLoadSelect(array $selects) { @@ -182,7 +172,6 @@ protected function _prepareLoadSelect(array $selects) * @param AbstractAttribute $attribute * @param mixed $value * @return $this - * @since 2.0.0 */ protected function _saveAttributeValue($object, $attribute, $value) { @@ -250,7 +239,6 @@ protected function _saveAttributeValue($object, $attribute, $value) * @param AbstractAttribute $attribute * @param mixed $value * @return $this - * @since 2.0.0 */ protected function _insertAttribute($object, $attribute, $value) { @@ -296,7 +284,6 @@ protected function _insertAttribute($object, $attribute, $value) * @param mixed $value * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _updateAttribute($object, $attribute, $valueId, $value) { @@ -311,7 +298,6 @@ protected function _updateAttribute($object, $attribute, $valueId, $value) * @param mixed $value * @param int $storeId * @return $this - * @since 2.0.0 */ protected function _updateAttributeForStore($object, $attribute, $value, $storeId) { @@ -358,7 +344,6 @@ protected function _updateAttributeForStore($object, $attribute, $value, $storeI * @param string $table * @param array $info * @return $this - * @since 2.0.0 */ protected function _deleteAttributes($object, $table, $info) { @@ -426,7 +411,6 @@ protected function _deleteAttributes($object, $table, $info) * * @param \Magento\Framework\DataObject $object * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _getOrigObject($object) { @@ -449,7 +433,6 @@ protected function _getOrigObject($object) * @param mixed $value New value of the attribute. * @param array &$origData * @return bool - * @since 2.0.0 */ protected function _canUpdateAttribute(AbstractAttribute $attribute, $value, array &$origData) { @@ -477,7 +460,6 @@ protected function _canUpdateAttribute(AbstractAttribute $attribute, $value, arr * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getAttributeRawValue($entityId, $attribute, $store) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php index 1858938ea6579..301ea9c85a8b0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Attribute.php @@ -12,7 +12,6 @@ * Catalog attribute resource model * * @author Magento Core Team - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\ResourceModel\Entity\Attribute { @@ -20,13 +19,11 @@ class Attribute extends \Magento\Eav\Model\ResourceModel\Entity\Attribute * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var LockValidatorInterface - * @since 2.0.0 */ protected $attrLockValidator; @@ -43,7 +40,6 @@ class Attribute extends \Magento\Eav\Model\ResourceModel\Entity\Attribute * @param \Magento\Eav\Model\Config $eavConfig * @param LockValidatorInterface $lockValidator * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -63,7 +59,6 @@ public function __construct( * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) { @@ -79,7 +74,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) { @@ -92,7 +86,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _clearUselessAttributeValues(\Magento\Framework\Model\AbstractModel $object) { @@ -121,7 +114,6 @@ protected function _clearUselessAttributeValues(\Magento\Framework\Model\Abstrac * @param \Magento\Framework\Model\AbstractModel $object * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteEntity(\Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category.php b/app/code/Magento/Catalog/Model/ResourceModel/Category.php index e684a187baf50..0b73dbf508570 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category.php @@ -15,7 +15,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Category extends AbstractResource { @@ -23,7 +22,6 @@ class Category extends AbstractResource * Category tree object * * @var \Magento\Framework\Data\Tree\Db - * @since 2.0.0 */ protected $_tree; @@ -31,7 +29,6 @@ class Category extends AbstractResource * Catalog products table name * * @var string - * @since 2.0.0 */ protected $_categoryProductTable; @@ -45,7 +42,6 @@ class Category extends AbstractResource * Id of 'is_active' category attribute * * @var int - * @since 2.0.0 */ protected $_isActiveAttributeId = null; @@ -53,7 +49,6 @@ class Category extends AbstractResource * Store id * * @var int - * @since 2.0.0 */ protected $_storeId = null; @@ -61,7 +56,6 @@ class Category extends AbstractResource * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; @@ -69,7 +63,6 @@ class Category extends AbstractResource * Category collection factory * * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.0.0 */ protected $_categoryCollectionFactory; @@ -77,7 +70,6 @@ class Category extends AbstractResource * Category tree factory * * @var \Magento\Catalog\Model\ResourceModel\Category\TreeFactory - * @since 2.0.0 */ protected $_categoryTreeFactory; @@ -103,7 +95,6 @@ class Category extends AbstractResource * @param Category\CollectionFactory $categoryCollectionFactory * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Context $context, @@ -134,7 +125,6 @@ public function __construct( * * @return \Magento\Eav\Model\Entity\Type * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getEntityType() { @@ -148,7 +138,6 @@ public function getEntityType() * Category product table name getter * * @return string - * @since 2.0.0 */ public function getCategoryProductTable() { @@ -163,7 +152,6 @@ public function getCategoryProductTable() * * @param integer $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -175,7 +163,6 @@ public function setStoreId($storeId) * Return store id * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -189,7 +176,6 @@ public function getStoreId() * Retrieve category tree object * * @return \Magento\Framework\Data\Tree\Db - * @since 2.0.0 */ protected function _getTree() { @@ -206,7 +192,6 @@ protected function _getTree() * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ protected function _beforeDelete(\Magento\Framework\DataObject $object) { @@ -220,7 +205,6 @@ protected function _beforeDelete(\Magento\Framework\DataObject $object) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function deleteChildren(\Magento\Framework\DataObject $object) { @@ -252,7 +236,6 @@ public function deleteChildren(\Magento\Framework\DataObject $object) * @return $this * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\DataObject $object) { @@ -300,7 +283,6 @@ protected function _beforeSave(\Magento\Framework\DataObject $object) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\DataObject $object) { @@ -321,7 +303,6 @@ protected function _afterSave(\Magento\Framework\DataObject $object) * * @param \Magento\Catalog\Model\Category $object * @return $this - * @since 2.0.0 */ protected function _savePath($object) { @@ -341,7 +322,6 @@ protected function _savePath($object) * * @param string $path * @return int - * @since 2.0.0 */ protected function _getMaxPosition($path) { @@ -372,7 +352,6 @@ protected function _getMaxPosition($path) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _saveCategoryProducts($category) { @@ -466,7 +445,6 @@ protected function _saveCategoryProducts($category) * * @param \Magento\Catalog\Model\Category $category * @return array - * @since 2.0.0 */ public function getProductsPosition($category) { @@ -486,7 +464,6 @@ public function getProductsPosition($category) * * @param int $categoryId * @return int - * @since 2.0.0 */ public function getChildrenCount($categoryId) { @@ -506,7 +483,6 @@ public function getChildrenCount($categoryId) * * @param int $entityId * @return bool - * @since 2.0.0 */ public function checkId($entityId) { @@ -526,7 +502,6 @@ public function checkId($entityId) * * @param array $ids * @return array - * @since 2.0.0 */ public function verifyIds(array $ids) { @@ -551,7 +526,6 @@ public function verifyIds(array $ids) * @param \Magento\Catalog\Model\Category $category * @param bool $isActiveFlag * @return int - * @since 2.0.0 */ public function getChildrenAmount($category, $isActiveFlag = true) { @@ -591,7 +565,6 @@ public function getChildrenAmount($category, $isActiveFlag = true) * Get "is_active" attribute identifier * * @return int - * @since 2.0.0 */ public function getIsActiveAttributeId() { @@ -610,7 +583,6 @@ public function getIsActiveAttributeId() * @param \Magento\Eav\Model\Entity\Attribute $attribute * @param mixed $expectedValue * @return array - * @since 2.0.0 */ public function findWhereAttributeIs($entityIdsFilter, $attribute, $expectedValue) { @@ -647,7 +619,6 @@ public function findWhereAttributeIs($entityIdsFilter, $attribute, $expectedValu * * @param \Magento\Catalog\Model\Category $category * @return int - * @since 2.0.0 */ public function getProductCount($category) { @@ -675,7 +646,6 @@ public function getProductCount($category) * @param boolean $asCollection * @param boolean $toLoad * @return \Magento\Framework\Data\Tree\Node\Collection|\Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $asCollection = false, $toLoad = true) { @@ -696,7 +666,6 @@ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $as * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getParentCategories($category) { @@ -723,7 +692,6 @@ public function getParentCategories($category) * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getParentDesignCategory($category) { @@ -764,7 +732,6 @@ public function getParentDesignCategory($category) * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function getChildrenCategories($category) { @@ -797,7 +764,6 @@ public function getChildrenCategories($category) * @param \Magento\Catalog\Model\Category $category * @param boolean $recursive * @return array - * @since 2.0.0 */ public function getChildren($category, $recursive = true) { @@ -841,7 +807,6 @@ public function getChildren($category, $recursive = true) * * @param \Magento\Catalog\Model\Category $category * @return array - * @since 2.0.0 */ public function getAllChildren($category) { @@ -857,7 +822,6 @@ public function getAllChildren($category) * * @param \Magento\Catalog\Model\Category $category * @return boolean - * @since 2.0.0 */ public function isInRootCategoryList($category) { @@ -872,7 +836,6 @@ public function isInRootCategoryList($category) * * @param integer $categoryId * @return boolean - * @since 2.0.0 */ public function isForbiddenToDelete($categoryId) { @@ -895,7 +858,6 @@ public function isForbiddenToDelete($categoryId) * * @param int $categoryId * @return string - * @since 2.0.0 */ public function getCategoryPathById($categoryId) { @@ -917,7 +879,6 @@ public function getCategoryPathById($categoryId) * @param \Magento\Catalog\Model\Category $newParent * @param null|int $afterCategoryId * @return $this - * @since 2.0.0 */ public function changeParent( \Magento\Catalog\Model\Category $category, @@ -997,7 +958,6 @@ public function changeParent( * @param \Magento\Catalog\Model\Category $newParent * @param null|int $afterCategoryId * @return int - * @since 2.0.0 */ protected function _processPositions($category, $newParent, $afterCategoryId) { @@ -1034,7 +994,6 @@ protected function _processPositions($category, $newParent, $afterCategoryId) * Get total number of persistent categories in the system, excluding the default category * * @return int - * @since 2.0.0 */ public function countVisible() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Collection.php index 9a87a274df370..a12120613c2a7 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Collection.php @@ -9,7 +9,6 @@ * Catalog category EAV additional attribute resource collection * * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Colle * Entity factory * * @var \Magento\Eav\Model\EntityFactory - * @since 2.0.0 */ protected $_eavEntityFactory; @@ -30,7 +28,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Colle * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -51,7 +48,6 @@ public function __construct( * Joins catalog/eav_attribute table * * @return $this - * @since 2.0.0 */ protected function _initSelect() { @@ -73,7 +69,6 @@ protected function _initSelect() * @param int $typeId * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setEntityTypeFilter($typeId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Frontend/Image.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Frontend/Image.php index 019cba6040f29..3e6bea7e0a8d6 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Frontend/Image.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Frontend/Image.php @@ -9,7 +9,6 @@ * Category image attribute frontend * * @author Magento Core Team - * @since 2.0.0 */ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFrontend { @@ -19,7 +18,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFronten * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -27,7 +25,6 @@ class Image extends \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFronten * Construct * * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -39,7 +36,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan * * @param \Magento\Framework\DataObject $object * @return string|null - * @since 2.0.0 */ public function getUrl($object) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Layout.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Layout.php index 5b8d64f7b6722..41b9a5b6861e3 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Layout.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Layout.php @@ -9,19 +9,16 @@ * Catalog category landing page attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Layout extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { /** * @var array - * @since 2.0.0 */ protected $_cmsLayouts; /** * @param array $cmsLayouts - * @since 2.0.0 */ public function __construct(array $cmsLayouts = []) { @@ -32,7 +29,6 @@ public function __construct(array $cmsLayouts = []) * Return cms layout update options * * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Page.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Page.php index 48fbdecda4fa7..955342cb3c2ee 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Page.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Attribute/Source/Page.php @@ -9,7 +9,6 @@ * Catalog category landing page attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { @@ -17,7 +16,6 @@ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Block collection factory * * @var \Magento\Cms\Model\ResourceModel\Block\CollectionFactory - * @since 2.0.0 */ protected $_blockCollectionFactory; @@ -25,7 +23,6 @@ class Page extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource * Construct * * @param \Magento\Cms\Model\ResourceModel\Block\CollectionFactory $blockCollectionFactory - * @since 2.0.0 */ public function __construct(\Magento\Cms\Model\ResourceModel\Block\CollectionFactory $blockCollectionFactory) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Cms\Model\ResourceModel\Block\CollectionFac * Return all block options * * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php index 6f471dcd59f54..af5f38e608226 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php @@ -12,7 +12,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection { @@ -20,7 +19,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Event prefix * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_category_collection'; @@ -28,7 +26,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Event object name * * @var string - * @since 2.0.0 */ protected $_eventObject = 'category_collection'; @@ -36,7 +33,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Name of product table * * @var string - * @since 2.0.0 */ private $_productTable; @@ -44,7 +40,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Store id, that we should count products on * * @var int - * @since 2.0.0 */ protected $_productStoreId; @@ -52,7 +47,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Name of product website table * * @var string - * @since 2.0.0 */ private $_productWebsiteTable; @@ -60,7 +54,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Load with product count flag * * @var boolean - * @since 2.0.0 */ protected $_loadWithProductCount = false; @@ -68,7 +61,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Init collection and determine table names * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -80,7 +72,6 @@ protected function _construct() * * @param array $categoryIds * @return $this - * @since 2.0.0 */ public function addIdFilter($categoryIds) { @@ -109,7 +100,6 @@ public function addIdFilter($categoryIds) * * @param boolean $flag * @return $this - * @since 2.0.0 */ public function setLoadProductCount($flag) { @@ -121,7 +111,6 @@ public function setLoadProductCount($flag) * Before collection load * * @return $this - * @since 2.0.0 */ protected function _beforeLoad() { @@ -133,7 +122,6 @@ protected function _beforeLoad() * After collection load * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -147,7 +135,6 @@ protected function _afterLoad() * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setProductStoreId($storeId) { @@ -159,7 +146,6 @@ public function setProductStoreId($storeId) * Get id of the store that we should count products on * * @return int - * @since 2.0.0 */ public function getProductStoreId() { @@ -175,7 +161,6 @@ public function getProductStoreId() * @param bool $printQuery * @param bool $logQuery * @return $this - * @since 2.0.0 */ public function load($printQuery = false, $logQuery = false) { @@ -201,7 +186,6 @@ public function load($printQuery = false, $logQuery = false) * Load categories product count * * @return void - * @since 2.0.0 */ protected function _loadProductCount() { @@ -217,7 +201,6 @@ protected function _loadProductCount() * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function loadProductCount($items, $countRegular = true, $countAnchor = true) { @@ -309,7 +292,6 @@ public function loadProductCount($items, $countRegular = true, $countAnchor = tr * * @param string $regexp * @return $this - * @since 2.0.0 */ public function addPathFilter($regexp) { @@ -321,7 +303,6 @@ public function addPathFilter($regexp) * Joins url rewrite rules to collection * * @return $this - * @since 2.0.0 */ public function joinUrlRewrite() { @@ -343,7 +324,6 @@ public function joinUrlRewrite() * Add active category filter * * @return $this - * @since 2.0.0 */ public function addIsActiveFilter() { @@ -359,7 +339,6 @@ public function addIsActiveFilter() * Add name attribute to result * * @return $this - * @since 2.0.0 */ public function addNameToResult() { @@ -371,7 +350,6 @@ public function addNameToResult() * Add url rewrite rules to collection * * @return $this - * @since 2.0.0 */ public function addUrlRewriteToResult() { @@ -384,7 +362,6 @@ public function addUrlRewriteToResult() * * @param array|string $paths * @return $this - * @since 2.0.0 */ public function addPathsFilter($paths) { @@ -407,7 +384,6 @@ public function addPathsFilter($paths) * * @param int|string $level * @return $this - * @since 2.0.0 */ public function addLevelFilter($level) { @@ -419,7 +395,6 @@ public function addLevelFilter($level) * Add root category filter * * @return $this - * @since 2.0.0 */ public function addRootLevelFilter() { @@ -433,7 +408,6 @@ public function addRootLevelFilter() * * @param string $field * @return $this - * @since 2.0.0 */ public function addOrderField($field) { @@ -445,7 +419,6 @@ public function addOrderField($field) * Getter for _productWebsiteTable * * @return string - * @since 2.0.0 */ public function getProductWebsiteTable() { @@ -459,7 +432,6 @@ public function getProductWebsiteTable() * Getter for _productTable * * @return string - * @since 2.0.0 */ public function getProductTable() { 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 479ee9105f255..9d3829c53e751 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Collection/Factory.php @@ -8,19 +8,16 @@ /** * Class Factory * @deprecated 2.1.0 - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ private $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * Return newly created instance of the category collection * * @return \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function create() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php index 54f37adfae30c..ce48c4321a187 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php @@ -13,7 +13,6 @@ * * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource { @@ -21,7 +20,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Store id * * @var int - * @since 2.0.0 */ protected $_storeId; @@ -29,7 +27,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Loaded * * @var boolean - * @since 2.0.0 */ protected $_loaded = false; @@ -37,7 +34,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Nodes * * @var array - * @since 2.0.0 */ protected $_nodes = []; @@ -45,7 +41,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Inactive categories ids * * @var array - * @since 2.0.0 */ protected $_inactiveCategoryIds; @@ -53,7 +48,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -61,7 +55,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -69,7 +62,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -77,8 +69,7 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Category collection factory * * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @deprecated 2.1.0 - * @since 2.0.0 + * @deprecated 2.0.12 */ protected $_categoryCollectionFactory; @@ -86,13 +77,12 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * Category factory * * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $_categoryFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Category\Flat\CollectionFactory - * @since 2.1.0 + * @since 2.0.12 */ private $categoryFlatCollectionFactory; @@ -108,7 +98,6 @@ class Flat extends \Magento\Indexer\Model\ResourceModel\AbstractResource * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param string $connectionName * @param \Magento\Catalog\Model\ResourceModel\Category\Flat\CollectionFactory|null $categoryFlatCollectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -135,7 +124,6 @@ public function __construct( * Resource initializations * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -147,7 +135,6 @@ protected function _construct() * * @param integer $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -159,7 +146,6 @@ public function setStoreId($storeId) * Return store id * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -173,7 +159,6 @@ public function getStoreId() * Get main table name * * @return string - * @since 2.0.0 */ public function getMainTable() { @@ -185,7 +170,6 @@ public function getMainTable() * * @param integer $storeId * @return string - * @since 2.0.0 */ public function getMainStoreTable($storeId = \Magento\Store\Model\Store::DEFAULT_STORE_ID) { @@ -208,7 +192,6 @@ public function getMainStoreTable($storeId = \Magento\Store\Model\Store::DEFAULT * * @param array $ids * @return $this - * @since 2.0.0 */ public function addInactiveCategoryIds($ids) { @@ -223,7 +206,6 @@ public function addInactiveCategoryIds($ids) * Retrieve inactive categories ids * * @return $this - * @since 2.0.0 */ protected function _initInactiveCategoryIds() { @@ -236,7 +218,6 @@ protected function _initInactiveCategoryIds() * Retrieve inactive categories ids * * @return array - * @since 2.0.0 */ public function getInactiveCategoryIds() { @@ -255,7 +236,6 @@ public function getInactiveCategoryIds() * @param integer $storeId * @param bool $skipMenuFilter * @return array - * @since 2.0.0 */ protected function _loadNodes($parentNode = null, $recursionLevel = 0, $storeId = 0, $skipMenuFilter = false) { @@ -338,7 +318,6 @@ protected function _loadNodes($parentNode = null, $recursionLevel = 0, $storeId * @param string $path * @param \Magento\Framework\DataObject $parent * @return void - * @since 2.0.0 */ public function addChildNodes($children, $path, $parent) { @@ -375,7 +354,6 @@ public function addChildNodes($children, $path, $parent) * @param integer $recursionLevel * @param integer $storeId * @return array - * @since 2.0.0 */ public function getNodes($parentId, $recursionLevel = 0, $storeId = 0) { @@ -420,7 +398,6 @@ public function getNodes($parentId, $recursionLevel = 0, $storeId = 0) * @param boolean $asCollection * @param boolean $toLoad * @return array|\Magento\Framework\Data\Collection - * @since 2.0.0 */ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $asCollection = false, $toLoad = true) { @@ -457,7 +434,6 @@ public function getCategories($parent, $recursionLevel = 0, $sorted = false, $as * @param integer $nodeId * @param array $nodes * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getNodeById($nodeId, $nodes = null) { @@ -482,7 +458,6 @@ public function getNodeById($nodeId, $nodes = null) * * @param mixed $attribute * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute - * @since 2.0.0 */ public function getAttribute($attribute) { @@ -495,7 +470,6 @@ public function getAttribute($attribute) * @param \Magento\Catalog\Model\Category $category * @param bool $isActiveFlag * @return integer - * @since 2.0.0 */ public function getChildrenAmount($category, $isActiveFlag = true) { @@ -518,7 +492,6 @@ public function getChildrenAmount($category, $isActiveFlag = true) * * @param \Magento\Catalog\Model\Category $category * @return integer - * @since 2.0.0 */ public function getProductCount($category) { @@ -540,7 +513,6 @@ public function getProductCount($category) * @param \Magento\Catalog\Model\Category $category * @param bool $isActive * @return \Magento\Catalog\Model\Category[] - * @since 2.0.0 */ public function getParentCategories($category, $isActive = true) { @@ -576,7 +548,6 @@ public function getParentCategories($category, $isActive = true) * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\Category - * @since 2.0.0 */ public function getParentDesignCategory($category) { @@ -607,7 +578,6 @@ public function getParentDesignCategory($category) * * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\Category[] - * @since 2.0.0 */ public function getChildrenCategories($category) { @@ -620,7 +590,6 @@ public function getChildrenCategories($category) * * @param \Magento\Catalog\Model\Category $category * @return boolean - * @since 2.0.0 */ public function isInRootCategoryList($category) { @@ -635,7 +604,6 @@ public function isInRootCategoryList($category) * @param bool $recursive * @param bool $isActive * @return array - * @since 2.0.0 */ public function getChildren($category, $recursive = true, $isActive = true) { @@ -665,7 +633,6 @@ public function getChildren($category, $recursive = true, $isActive = true) * * @param \Magento\Catalog\Model\Category $category * @return array - * @since 2.0.0 */ public function getAllChildren($category) { @@ -681,7 +648,6 @@ public function getAllChildren($category) * * @param int $id * @return bool - * @since 2.0.0 */ public function checkId($id) { @@ -701,7 +667,6 @@ public function checkId($id) * @param array $filterIds * @param int $storeId * @return array - * @since 2.0.0 */ public function getAnchorsAbove(array $filterIds, $storeId = 0) { @@ -724,7 +689,6 @@ public function getAnchorsAbove(array $filterIds, $storeId = 0) * * @param \Magento\Catalog\Model\Category $category * @return array - * @since 2.0.0 */ public function getProductsPosition($category) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php index 8af834b391fd5..3b3005f1ce65a 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php @@ -17,7 +17,6 @@ * Catalog category flat collection * * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -25,7 +24,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Event prefix * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_category_collection'; @@ -33,7 +31,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Event object name * * @var string - * @since 2.0.0 */ protected $_eventObject = 'category_collection'; @@ -41,7 +38,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -49,7 +45,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Store id of application * * @var integer - * @since 2.0.0 */ protected $_storeId; @@ -61,7 +56,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param AbstractDb $resource - * @since 2.0.0 */ public function __construct( EntityFactory $entityFactory, @@ -80,7 +74,6 @@ public function __construct( * Collection initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -92,7 +85,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ protected function _initSelect() { @@ -108,7 +100,6 @@ protected function _initSelect() * * @param array|int|string $categoryIds * @return $this - * @since 2.0.0 */ public function addIdFilter($categoryIds) { @@ -136,7 +127,6 @@ public function addIdFilter($categoryIds) * Before collection load * * @return $this - * @since 2.0.0 */ protected function _beforeLoad() { @@ -148,7 +138,6 @@ protected function _beforeLoad() * After collection load * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -161,7 +150,6 @@ protected function _afterLoad() * * @param integer $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -174,7 +162,6 @@ public function setStoreId($storeId) * If store id is not set yet, return store of application * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -189,7 +176,6 @@ public function getStoreId() * * @param string $parent * @return $this - * @since 2.0.0 */ public function addParentPathFilter($parent) { @@ -201,7 +187,6 @@ public function addParentPathFilter($parent) * Add store filter * * @return $this - * @since 2.0.0 */ public function addStoreFilter() { @@ -214,7 +199,6 @@ public function addStoreFilter() * * @param string $sorted * @return $this - * @since 2.0.0 */ public function addSortedField($sorted) { @@ -228,7 +212,6 @@ public function addSortedField($sorted) /** * @return $this - * @since 2.0.0 */ public function addIsActiveFilter() { @@ -244,7 +227,6 @@ public function addIsActiveFilter() * Add name field to result * * @return $this - * @since 2.0.0 */ public function addNameToResult() { @@ -257,7 +239,6 @@ public function addNameToResult() * * @param array|string $attribute * @return $this - * @since 2.0.0 */ public function addAttributeToSelect($attribute = '*') { @@ -297,7 +278,6 @@ public function addAttributeToSelect($attribute = '*') * Retrieve resource instance * * @return \Magento\Catalog\Model\ResourceModel\Category\Flat - * @since 2.0.0 */ public function getResource() { @@ -310,7 +290,6 @@ public function getResource() * @param string $attribute * @param string $dir * @return $this - * @since 2.0.0 */ public function addAttributeToSort($attribute, $dir = self::SORT_ORDER_ASC) { @@ -327,7 +306,6 @@ public function addAttributeToSort($attribute, $dir = self::SORT_ORDER_ASC) * @param string $attribute * @param null|string|array $condition * @return $this - * @since 2.0.0 */ public function addAttributeToFilter($attribute, $condition = null) { @@ -340,7 +318,6 @@ public function addAttributeToFilter($attribute, $condition = null) /** * @return $this - * @since 2.0.0 */ public function addUrlRewriteToResult() { @@ -359,7 +336,6 @@ public function addUrlRewriteToResult() /** * @param string|array $paths * @return $this - * @since 2.0.0 */ public function addPathsFilter($paths) { @@ -382,7 +358,6 @@ public function addPathsFilter($paths) /** * @param string $level * @return $this - * @since 2.0.0 */ public function addLevelFilter($level) { @@ -393,7 +368,6 @@ public function addLevelFilter($level) /** * @param string $field * @return $this - * @since 2.0.0 */ public function addOrderField($field) { @@ -407,7 +381,6 @@ public function addOrderField($field) * @param integer $pageNum * @param integer $pageSize * @return $this - * @since 2.0.0 */ public function setPage($pageNum, $pageSize) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php index fb13ee1966c34..df82c02a3e576 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category/Tree.php @@ -12,7 +12,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Tree extends Dbp { @@ -26,19 +25,16 @@ class Tree extends Dbp /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ private $_eventManager; /** * @var \Magento\Catalog\Model\Attribute\Config - * @since 2.0.0 */ private $_attributeConfig; /** * @var \Magento\Catalog\Model\ResourceModel\Category\Collection\Factory - * @since 2.0.0 */ private $_collectionFactory; @@ -46,7 +42,6 @@ class Tree extends Dbp * Categories resource collection * * @var Collection - * @since 2.0.0 */ protected $_collection; @@ -54,7 +49,6 @@ class Tree extends Dbp * Join URL rewrites data to collection flag * * @var boolean - * @since 2.0.0 */ protected $_joinUrlRewriteIntoCollection = false; @@ -62,7 +56,6 @@ class Tree extends Dbp * Inactive categories ids * * @var array - * @since 2.0.0 */ protected $_inactiveCategoryIds = null; @@ -70,13 +63,11 @@ class Tree extends Dbp * Store id * * @var integer - * @since 2.0.0 */ protected $_storeId = null; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_coreResource; @@ -84,7 +75,6 @@ class Tree extends Dbp * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -92,7 +82,6 @@ class Tree extends Dbp * Cache * * @var \Magento\Framework\App\CacheInterface - * @since 2.0.0 */ protected $_cache; @@ -100,7 +89,6 @@ class Tree extends Dbp * Catalog category * * @var \Magento\Catalog\Model\ResourceModel\Category - * @since 2.0.0 */ protected $_catalogCategory; @@ -119,7 +107,6 @@ class Tree extends Dbp * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param \Magento\Catalog\Model\Attribute\Config $attributeConfig * @param Collection\Factory $collectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Category $catalogCategory, @@ -154,7 +141,6 @@ public function __construct( * * @param integer $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -166,7 +152,6 @@ public function setStoreId($storeId) * Return store id * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -187,7 +172,6 @@ public function getStoreId() * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function addCollectionData( $collection = null, @@ -251,7 +235,6 @@ public function addCollectionData( * * @param mixed $ids * @return $this - * @since 2.0.0 */ public function addInactiveCategoryIds($ids) { @@ -266,7 +249,6 @@ public function addInactiveCategoryIds($ids) * Retrieve inactive categories ids * * @return $this - * @since 2.0.0 */ protected function _initInactiveCategoryIds() { @@ -279,7 +261,6 @@ protected function _initInactiveCategoryIds() * Retrieve inactive categories ids * * @return array - * @since 2.0.0 */ public function getInactiveCategoryIds() { @@ -296,7 +277,6 @@ public function getInactiveCategoryIds() * @param Collection $collection * @param array $allIds * @return array - * @since 2.0.0 */ protected function _getDisabledIds($collection, $allIds) { @@ -324,7 +304,6 @@ protected function _getDisabledIds($collection, $allIds) * @param Collection $collection * @param int $storeId * @return array - * @since 2.0.0 */ protected function _getInactiveItemIds($collection, $storeId) { @@ -365,7 +344,6 @@ protected function _getInactiveItemIds($collection, $storeId) * @param int $id * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ protected function _getItemIsActive($id) { @@ -380,7 +358,6 @@ protected function _getItemIsActive($id) * * @param boolean $sorted * @return Collection - * @since 2.0.0 */ public function getCollection($sorted = false) { @@ -395,7 +372,6 @@ public function getCollection($sorted = false) * * @param Collection|array $object * @return void - * @since 2.0.0 */ protected function _clean($object) { @@ -412,7 +388,6 @@ protected function _clean($object) * * @param Collection $collection * @return $this - * @since 2.0.0 */ public function setCollection($collection) { @@ -428,7 +403,6 @@ public function setCollection($collection) * * @param boolean $sorted * @return Collection - * @since 2.0.0 */ protected function _getDefaultCollection($sorted = false) { @@ -456,7 +430,6 @@ protected function _getDefaultCollection($sorted = false) * @param mixed $newParent * @param mixed $prevNode * @return void - * @since 2.0.0 */ public function move($category, $newParent, $prevNode = null) { @@ -470,7 +443,6 @@ public function move($category, $newParent, $prevNode = null) * Move tree after * * @return $this - * @since 2.0.0 */ protected function _afterMove() { @@ -487,7 +459,6 @@ protected function _afterMove() * @return $this|bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function loadByIds($ids, $addCollectionData = true, $updateAnchorProductCount = true) { @@ -557,7 +528,6 @@ public function loadByIds($ids, $addCollectionData = true, $updateAnchorProductC * @param bool $addCollectionData * @param bool $withRootNode * @return array - * @since 2.0.0 */ public function loadBreadcrumbsArray($path, $addCollectionData = true, $withRootNode = false) { @@ -589,7 +559,6 @@ public function loadBreadcrumbsArray($path, $addCollectionData = true, $withRoot * * @param array &$data * @return void - * @since 2.0.0 */ protected function _updateAnchorProductCount(&$data) { @@ -609,7 +578,6 @@ protected function _updateAnchorProductCount(&$data) * @param bool $sorted * @param array $optionalAttributes * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _createCollectionDataSelect($sorted = true, $optionalAttributes = []) { @@ -697,7 +665,6 @@ protected function _createCollectionDataSelect($sorted = true, $optionalAttribut * * @param array $ids * @return array - * @since 2.0.0 */ public function getExistingCategoryIdsBySpecifiedIds($ids) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php index 47a0f7b8cbcd2..76947a9488297 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php @@ -12,7 +12,6 @@ * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AbstractCollection extends \Magento\Eav\Model\Entity\Collection\AbstractCollection { @@ -20,7 +19,6 @@ class AbstractCollection extends \Magento\Eav\Model\Entity\Collection\AbstractCo * Current scope (store Id) * * @var int - * @since 2.0.0 */ protected $_storeId; @@ -28,7 +26,6 @@ class AbstractCollection extends \Magento\Eav\Model\Entity\Collection\AbstractCo * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -46,7 +43,6 @@ class AbstractCollection extends \Magento\Eav\Model\Entity\Collection\AbstractCo * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -93,7 +89,6 @@ protected function getEntityPkName(\Magento\Eav\Model\Entity\AbstractEntity $ent * * @param int|string|\Magento\Store\Model\Store $store * @return $this - * @since 2.0.0 */ public function setStore($store) { @@ -106,7 +101,6 @@ public function setStore($store) * * @param int|string|\Magento\Store\Api\Data\StoreInterface $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -121,7 +115,6 @@ public function setStoreId($storeId) * Return current store id * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -135,7 +128,6 @@ public function getStoreId() * Retrieve default store id * * @return int - * @since 2.0.0 */ public function getDefaultStoreId() { @@ -148,7 +140,6 @@ public function getDefaultStoreId() * @param string $table * @param array|int $attributeIds * @return \Magento\Eav\Model\Entity\Collection\AbstractCollection - * @since 2.0.0 */ protected function _getLoadAttributesSelect($table, $attributeIds = []) { @@ -217,7 +208,6 @@ protected function _getLoadAttributesSelect($table, $attributeIds = []) * @param string $table * @param string $type * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _addLoadAttributesSelectValues($select, $table, $type) { @@ -245,7 +235,6 @@ protected function _addLoadAttributesSelectValues($select, $table, $type) * @param string $fieldCode * @param string $fieldAlias * @return \Magento\Eav\Model\Entity\Collection\AbstractCollection - * @since 2.0.0 */ protected function _joinAttributeToSelect($method, $attribute, $tableAlias, $condition, $fieldCode, $fieldAlias) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Config.php b/app/code/Magento/Catalog/Model/ResourceModel/Config.php index 57055d1bde901..7fb13265cd130 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Config.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Config.php @@ -9,7 +9,6 @@ * Catalog Config Resource Model * * @author Magento Core Team - * @since 2.0.0 */ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * catalog_product entity type id * * @var int - * @since 2.0.0 */ protected $_entityTypeId; @@ -25,7 +23,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store id * * @var int - * @since 2.0.0 */ protected $_storeId = null; @@ -33,7 +30,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -41,7 +37,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -50,7 +45,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Eav\Model\Config $eavConfig * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -67,7 +61,6 @@ public function __construct( * Initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -79,7 +72,6 @@ protected function _construct() * * @param integer $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -92,7 +84,6 @@ public function setStoreId($storeId) * If is not set return current app store * * @return integer - * @since 2.0.0 */ public function getStoreId() { @@ -106,7 +97,6 @@ public function getStoreId() * Retrieve catalog_product entity type id * * @return int - * @since 2.0.0 */ public function getEntityTypeId() { @@ -121,7 +111,6 @@ public function getEntityTypeId() * Retrieve Product Attributes Used in Catalog Product listing * * @return array - * @since 2.0.0 */ public function getAttributesUsedInListing() { @@ -151,7 +140,6 @@ public function getAttributesUsedInListing() * Retrieve Used Product Attributes for Catalog Product Listing Sort By * * @return array - * @since 2.0.0 */ public function getAttributesUsedForSortBy() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php index 543f68e15e162..a64013bffcf44 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute.php @@ -31,7 +31,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessivePublicCount) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements \Magento\Catalog\Api\Data\ProductAttributeInterface, @@ -45,7 +44,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements /** * @var LockValidatorInterface - * @since 2.0.0 */ protected $attrLockValidator; @@ -53,7 +51,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements * Event object name * * @var string - * @since 2.0.0 */ protected $_eventObject = 'attribute'; @@ -61,7 +58,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements * Array with labels * * @var array - * @since 2.0.0 */ protected static $_labels = null; @@ -69,25 +65,21 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements * Event prefix * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalog_entity_attribute'; /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @var \Magento\Catalog\Helper\Product\Flat\Indexer - * @since 2.0.0 */ protected $_productFlatIndexerHelper; /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_indexerEavProcessor; @@ -116,7 +108,6 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute implements * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -172,7 +163,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -185,7 +175,6 @@ protected function _construct() * @return \Magento\Framework\Model\AbstractModel * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function beforeSave() { @@ -224,7 +213,6 @@ public function beforeSave() * Processing object after save data * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterSave() { @@ -249,7 +237,6 @@ public function afterSave() * Is attribute enabled for flat indexing * * @return bool - * @since 2.0.0 */ protected function _isEnabledInFlat() { @@ -264,7 +251,6 @@ protected function _isEnabledInFlat() * Is original attribute enabled for flat indexing * * @return bool - * @since 2.0.0 */ protected function _isOriginalEnabledInFlat() { @@ -280,7 +266,6 @@ protected function _isOriginalEnabledInFlat() * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeDelete() { @@ -292,7 +277,6 @@ public function beforeDelete() * Init indexing process after catalog eav attribute delete commit * * @return $this - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -311,7 +295,6 @@ public function afterDeleteCommit() * Return is attribute global * * @return integer - * @since 2.0.0 */ public function getIsGlobal() { @@ -322,7 +305,6 @@ public function getIsGlobal() * Retrieve attribute is global scope flag * * @return bool - * @since 2.0.0 */ public function isScopeGlobal() { @@ -333,7 +315,6 @@ public function isScopeGlobal() * Retrieve attribute is website scope website * * @return bool - * @since 2.0.0 */ public function isScopeWebsite() { @@ -344,7 +325,6 @@ public function isScopeWebsite() * Retrieve attribute is store scope flag * * @return bool - * @since 2.0.0 */ public function isScopeStore() { @@ -355,7 +335,6 @@ public function isScopeStore() * Retrieve store id * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -371,7 +350,6 @@ public function getStoreId() * Return empty array if applied to all products * * @return string[] - * @since 2.0.0 */ public function getApplyTo() { @@ -386,7 +364,6 @@ public function getApplyTo() * Retrieve source model * * @return \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource - * @since 2.0.0 */ public function getSourceModel() { @@ -403,7 +380,6 @@ public function getSourceModel() * Whether allowed for rule condition * * @return bool - * @since 2.0.0 */ public function isAllowedForRuleCondition() { @@ -425,7 +401,6 @@ public function isAllowedForRuleCondition() * Get default attribute source model * * @return string - * @since 2.0.0 */ public function _getDefaultSourceModel() { @@ -437,7 +412,6 @@ public function _getDefaultSourceModel() * * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isIndexable() { @@ -472,7 +446,6 @@ public function isIndexable() * * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _isOriginalIndexable() { @@ -505,7 +478,6 @@ protected function _isOriginalIndexable() * Retrieve index type for indexable attribute * * @return string|false - * @since 2.0.0 */ public function getIndexType() { @@ -522,7 +494,6 @@ public function getIndexType() /** * @codeCoverageIgnoreStart * {@inheritdoc} - * @since 2.0.0 */ public function getIsWysiwygEnabled() { @@ -531,7 +502,6 @@ public function getIsWysiwygEnabled() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsHtmlAllowedOnFront() { @@ -540,7 +510,6 @@ public function getIsHtmlAllowedOnFront() /** * {@inheritdoc} - * @since 2.0.0 */ public function getUsedForSortBy() { @@ -549,7 +518,6 @@ public function getUsedForSortBy() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterable() { @@ -558,7 +526,6 @@ public function getIsFilterable() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterableInSearch() { @@ -567,7 +534,6 @@ public function getIsFilterableInSearch() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsUsedInGrid() { @@ -576,7 +542,6 @@ public function getIsUsedInGrid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleInGrid() { @@ -585,7 +550,6 @@ public function getIsVisibleInGrid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsFilterableInGrid() { @@ -594,7 +558,6 @@ public function getIsFilterableInGrid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPosition() { @@ -603,7 +566,6 @@ public function getPosition() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsSearchable() { @@ -612,7 +574,6 @@ public function getIsSearchable() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleInAdvancedSearch() { @@ -621,7 +582,6 @@ public function getIsVisibleInAdvancedSearch() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsComparable() { @@ -630,7 +590,6 @@ public function getIsComparable() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsUsedForPromoRules() { @@ -639,7 +598,6 @@ public function getIsUsedForPromoRules() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisibleOnFront() { @@ -648,7 +606,6 @@ public function getIsVisibleOnFront() /** * {@inheritdoc} - * @since 2.0.0 */ public function getUsedInProductListing() { @@ -657,7 +614,6 @@ public function getUsedInProductListing() /** * {@inheritdoc} - * @since 2.0.0 */ public function getIsVisible() { @@ -668,7 +624,6 @@ public function getIsVisible() /** * {@inheritdoc} - * @since 2.0.0 */ public function getScope() { @@ -686,7 +641,6 @@ public function getScope() * * @param bool $isWysiwygEnabled * @return $this - * @since 2.0.0 */ public function setIsWysiwygEnabled($isWysiwygEnabled) { @@ -698,7 +652,6 @@ public function setIsWysiwygEnabled($isWysiwygEnabled) * * @param bool $isHtmlAllowedOnFront * @return $this - * @since 2.0.0 */ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront) { @@ -710,7 +663,6 @@ public function setIsHtmlAllowedOnFront($isHtmlAllowedOnFront) * * @param bool $usedForSortBy * @return $this - * @since 2.0.0 */ public function setUsedForSortBy($usedForSortBy) { @@ -722,7 +674,6 @@ public function setUsedForSortBy($usedForSortBy) * * @param bool $isFilterable * @return $this - * @since 2.0.0 */ public function setIsFilterable($isFilterable) { @@ -734,7 +685,6 @@ public function setIsFilterable($isFilterable) * * @param bool $isFilterableInSearch * @return $this - * @since 2.0.0 */ public function setIsFilterableInSearch($isFilterableInSearch) { @@ -746,7 +696,6 @@ public function setIsFilterableInSearch($isFilterableInSearch) * * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -758,7 +707,6 @@ public function setPosition($position) * * @param string []|string * @return $this - * @since 2.0.0 */ public function setApplyTo($applyTo) { @@ -773,7 +721,6 @@ public function setApplyTo($applyTo) * * @param string $isSearchable * @return $this - * @since 2.0.0 */ public function setIsSearchable($isSearchable) { @@ -785,7 +732,6 @@ public function setIsSearchable($isSearchable) * * @param string $isVisibleInAdvancedSearch * @return $this - * @since 2.0.0 */ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch) { @@ -797,7 +743,6 @@ public function setIsVisibleInAdvancedSearch($isVisibleInAdvancedSearch) * * @param string $isComparable * @return $this - * @since 2.0.0 */ public function setIsComparable($isComparable) { @@ -809,7 +754,6 @@ public function setIsComparable($isComparable) * * @param string $isUsedForPromoRules * @return $this - * @since 2.0.0 */ public function setIsUsedForPromoRules($isUsedForPromoRules) { @@ -821,7 +765,6 @@ public function setIsUsedForPromoRules($isUsedForPromoRules) * * @param string $isVisibleOnFront * @return $this - * @since 2.0.0 */ public function setIsVisibleOnFront($isVisibleOnFront) { @@ -833,7 +776,6 @@ public function setIsVisibleOnFront($isVisibleOnFront) * * @param string $usedInProductListing * @return $this - * @since 2.0.0 */ public function setUsedInProductListing($usedInProductListing) { @@ -845,7 +787,6 @@ public function setUsedInProductListing($usedInProductListing) * * @param bool $isVisible * @return $this - * @since 2.0.0 */ public function setIsVisible($isVisible) { @@ -857,7 +798,6 @@ public function setIsVisible($isVisible) * * @param string $scope * @return $this - * @since 2.0.0 */ public function setScope($scope) { @@ -875,7 +815,6 @@ public function setScope($scope) /** * {@inheritdoc} - * @since 2.0.0 */ public function afterDelete() { @@ -885,7 +824,7 @@ public function afterDelete() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __sleep() { @@ -898,7 +837,7 @@ public function __sleep() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __wakeup() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Helper.php b/app/code/Magento/Catalog/Model/ResourceModel/Helper.php index 757559795ea43..a08cd5ad38233 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Helper.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Helper.php @@ -7,14 +7,12 @@ /** * Eav Mysql resource helper model - * @since 2.0.0 */ class Helper extends \Magento\Eav\Model\ResourceModel\Helper { /** * @param \Magento\Framework\App\ResourceConnection $resource * @param string $modulePrefix - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\ResourceConnection $resource, $modulePrefix = 'Magento_Catalog') { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Attribute.php b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Attribute.php index 76a1c9fc9ba18..a846a32f064db 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Attribute.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Attribute.php @@ -11,7 +11,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -19,7 +18,6 @@ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Initialize connection and define main table name * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -33,7 +31,6 @@ protected function _construct() * @param int $value * @throws \Magento\Framework\Exception\LocalizedException * @return $this - * @since 2.0.0 */ public function applyFilterToCollection(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter, $value) { @@ -63,7 +60,6 @@ public function applyFilterToCollection(\Magento\Catalog\Model\Layer\Filter\Filt * @param \Magento\Catalog\Model\Layer\Filter\FilterInterface $filter * @throws \Magento\Framework\Exception\LocalizedException * @return array - * @since 2.0.0 */ public function getCount(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Decimal.php b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Decimal.php index ca16941ecf1ac..92c6622481fb9 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Decimal.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Decimal.php @@ -11,7 +11,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ class Decimal extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -19,7 +18,6 @@ class Decimal extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Initialize connection and define main table name * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -34,7 +32,6 @@ protected function _construct() * @param int $index * @throws \Magento\Framework\Exception\LocalizedException * @return $this - * @since 2.0.0 */ public function applyFilterToCollection(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter, $range, $index) { @@ -70,7 +67,6 @@ public function applyFilterToCollection(\Magento\Catalog\Model\Layer\Filter\Filt * * @param \Magento\Catalog\Model\Layer\Filter\FilterInterface $filter * @return array - * @since 2.0.0 */ public function getMinMax(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter) { @@ -96,7 +92,6 @@ public function getMinMax(\Magento\Catalog\Model\Layer\Filter\FilterInterface $f * @param \Magento\Catalog\Model\Layer\Filter\FilterInterface $filter * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getSelect($filter) { @@ -134,7 +129,6 @@ protected function _getSelect($filter) * @param \Magento\Catalog\Model\Layer\Filter\FilterInterface $filter * @param int $range * @return array - * @since 2.0.0 */ public function getCount(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter, $range) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Price.php b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Price.php index 4ee242d7aa2e3..2a503fda81e66 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Price.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Layer/Filter/Price.php @@ -10,7 +10,6 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -23,25 +22,21 @@ class Price extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; /** * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ private $layer; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ private $session; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; @@ -52,7 +47,6 @@ class Price extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Customer\Model\Session $session * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param null $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -74,7 +68,6 @@ public function __construct( * * @param int $range * @return array - * @since 2.0.0 */ public function getCount($range) { @@ -101,7 +94,6 @@ public function getCount($range) * Retrieve clean select with joined price index table * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getSelect() { @@ -170,7 +162,6 @@ protected function _getSelect() * * @param string|null $conditionString * @return string|null - * @since 2.0.0 */ protected function _replaceTableAlias($conditionString) { @@ -199,7 +190,6 @@ protected function _replaceTableAlias($conditionString) * @param \Magento\Framework\DB\Select $select * @param bool $replaceAlias * @return string - * @since 2.0.0 */ protected function _getPriceExpression($select, $replaceAlias = true) { @@ -222,7 +212,6 @@ protected function _getPriceExpression($select, $replaceAlias = true) * * @param \Magento\Framework\DB\Select $select * @return \Zend_Db_Expr - * @since 2.0.0 */ protected function _getFullPriceExpression($select) { @@ -238,7 +227,6 @@ protected function _getFullPriceExpression($select) * @param float $price * @param bool $decrease * @return float - * @since 2.0.0 */ protected function _getComparingValue($price, $decrease = true) { @@ -256,7 +244,6 @@ protected function _getComparingValue($price, $decrease = true) * @param int $index * @param null|int $lowerPrice * @return array|false - * @since 2.0.0 */ public function loadPreviousPrices($price, $index, $lowerPrice = null) { @@ -282,7 +269,6 @@ public function loadPreviousPrices($price, $index, $lowerPrice = null) * @param null|int $lowerPrice * @param null|int $upperPrice * @return array - * @since 2.0.0 */ public function loadPrices($limit, $offset = null, $lowerPrice = null, $upperPrice = null) { @@ -307,7 +293,6 @@ public function loadPrices($limit, $offset = null, $lowerPrice = null, $upperPri * @param int $rightIndex * @param null|int $upperPrice * @return array|false - * @since 2.0.0 */ public function loadNextPrices($price, $rightIndex, $upperPrice = null) { @@ -348,7 +333,6 @@ public function loadNextPrices($price, $rightIndex, $upperPrice = null) * @param \Magento\Catalog\Model\Layer\Filter\FilterInterface $filter * @param mixed $interval * @return $this - * @since 2.0.0 */ public function applyPriceRange(\Magento\Catalog\Model\Layer\Filter\FilterInterface $filter, $interval) { @@ -385,7 +369,6 @@ public function applyPriceRange(\Magento\Catalog\Model\Layer\Filter\FilterInterf * Initialize connection and define main table name * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -396,7 +379,6 @@ protected function _construct() * Retrieve joined price index table alias * * @return string - * @since 2.0.0 */ protected function _getIndexTableAlias() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php index 86d0bb752ed7e..072c588c0c0bb 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/MaxHeapTableSizeProcessor.php @@ -8,8 +8,7 @@ use Magento\Framework\App\ResourceConnection; /** - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.3 */ class MaxHeapTableSizeProcessor { @@ -17,13 +16,11 @@ class MaxHeapTableSizeProcessor * Database connection adapter * * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; /** * @var int - * @since 2.0.0 */ protected $defaultMaxHeapTableSie; @@ -31,13 +28,11 @@ class MaxHeapTableSizeProcessor * Current max_heap_table_size value (in Bytes) * * @var int - * @since 2.0.0 */ protected $currentMaxHeapTableSize = null; /** * @param ResourceConnection $resource - * @since 2.0.0 */ public function __construct(ResourceConnection $resource) { @@ -52,7 +47,6 @@ public function __construct(ResourceConnection $resource) * @throws \InvalidArgumentException * @throws \RuntimeException * @return void - * @since 2.0.0 */ public function set($maxHeapTableSize = null) { @@ -74,7 +68,6 @@ public function set($maxHeapTableSize = null) * * @throws \RuntimeException * @return void - * @since 2.0.0 */ public function restore() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product.php b/app/code/Magento/Catalog/Model/ResourceModel/Product.php index ef7506b0dbf8a..755982b0554af 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product.php @@ -14,7 +14,6 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Product extends AbstractResource { @@ -22,7 +21,6 @@ class Product extends AbstractResource * Product to website linkage table * * @var string - * @since 2.0.0 */ protected $_productWebsiteTable; @@ -30,7 +28,6 @@ class Product extends AbstractResource * Product to category linkage table * * @var string - * @since 2.0.0 */ protected $_productCategoryTable; @@ -38,7 +35,6 @@ class Product extends AbstractResource * Catalog category * * @var Category - * @since 2.0.0 */ protected $_catalogCategory; @@ -46,25 +42,21 @@ class Product extends AbstractResource * Category collection factory * * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.0.0 */ protected $_categoryCollectionFactory; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $setFactory; /** * @var \Magento\Eav\Model\Entity\TypeFactory - * @since 2.0.0 */ protected $typeFactory; @@ -76,7 +68,6 @@ class Product extends AbstractResource /** * @var \Magento\Catalog\Model\Product\Attribute\DefaultAttributes - * @since 2.0.0 */ protected $defaultAttributes; @@ -105,7 +96,6 @@ class Product extends AbstractResource * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Context $context, @@ -139,7 +129,6 @@ public function __construct( * * @return \Magento\Eav\Model\Entity\Type * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getEntityType() { @@ -153,7 +142,6 @@ public function getEntityType() * Product Website table name getter * * @return string - * @since 2.0.0 */ public function getProductWebsiteTable() { @@ -168,7 +156,6 @@ public function getProductWebsiteTable() * * @deprecated 2.2.0 * @return string - * @since 2.0.0 */ public function getProductCategoryTable() { @@ -182,7 +169,6 @@ public function getProductCategoryTable() * Default product attributes * * @return string[] - * @since 2.0.0 */ protected function _getDefaultAttributes() { @@ -195,7 +181,6 @@ protected function _getDefaultAttributes() * @deprecated 2.2.0 * @param \Magento\Catalog\Model\Product|int $product * @return array - * @since 2.0.0 */ public function getWebsiteIds($product) { @@ -213,7 +198,6 @@ public function getWebsiteIds($product) * * @param array $productIds * @return array - * @since 2.0.0 */ public function getWebsiteIdsByProductIds($productIds) { @@ -241,7 +225,6 @@ public function getWebsiteIdsByProductIds($productIds) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getCategoryIds($product) { @@ -254,7 +237,6 @@ public function getCategoryIds($product) * * @param string $sku * @return int|false - * @since 2.0.0 */ public function getIdBySku($sku) { @@ -272,7 +254,6 @@ public function getIdBySku($sku) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\DataObject $object) { @@ -291,7 +272,6 @@ protected function _beforeSave(\Magento\Framework\DataObject $object) * * @param \Magento\Framework\DataObject $product * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\DataObject $product) { @@ -301,7 +281,6 @@ protected function _afterSave(\Magento\Framework\DataObject $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete($object) { @@ -319,7 +298,6 @@ public function delete($object) * @deprecated 2.2.0 * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ protected function _saveWebsiteIds($product) { @@ -347,7 +325,6 @@ protected function _saveWebsiteIds($product) * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @deprecated 2.2.0 - * @since 2.0.0 */ protected function _saveCategories(\Magento\Framework\DataObject $object) { @@ -359,7 +336,6 @@ protected function _saveCategories(\Magento\Framework\DataObject $object) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ public function getCategoryCollection($product) { @@ -383,7 +359,6 @@ public function getCategoryCollection($product) * * @param \Magento\Catalog\Model\Product $object * @return array - * @since 2.0.0 */ public function getAvailableInCategories($object) { @@ -411,7 +386,6 @@ public function getAvailableInCategories($object) * Get default attribute source model * * @return string - * @since 2.0.0 */ public function getDefaultAttributeSourceModel() { @@ -424,7 +398,6 @@ public function getDefaultAttributeSourceModel() * @param \Magento\Catalog\Model\Product $product * @param int $categoryId * @return string - * @since 2.0.0 */ public function canBeShowInCategory($product, $categoryId) { @@ -448,7 +421,6 @@ public function canBeShowInCategory($product, $categoryId) * @param int $oldId * @param int $newId * @return $this - * @since 2.0.0 */ public function duplicate($oldId, $newId) { @@ -502,7 +474,6 @@ public function duplicate($oldId, $newId) * * @param array $productIds * @return array - * @since 2.0.0 */ public function getProductsSku(array $productIds) { @@ -521,7 +492,6 @@ public function getProductsSku(array $productIds) * * @param array $productSkuList * @return array - * @since 2.0.0 */ public function getProductsIdsBySkus(array $productSkuList) { @@ -545,7 +515,6 @@ public function getProductsIdsBySkus(array $productSkuList) * * @param array|string|null $columns * @return array - * @since 2.0.0 */ public function getProductEntitiesInfo($columns = null) { @@ -566,7 +535,6 @@ public function getProductEntitiesInfo($columns = null) * Get total number of records in the system * * @return int - * @since 2.0.0 */ public function countAll() { @@ -579,7 +547,6 @@ public function countAll() /** * {@inheritdoc} - * @since 2.0.0 */ public function validate($object) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php index 9f21d16ff119f..f4adb755439b4 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Action.php @@ -11,7 +11,6 @@ * Catalog Product Mass processing resource model * * @author Magento Core Team - * @since 2.0.0 */ class Action extends \Magento\Catalog\Model\ResourceModel\AbstractResource { @@ -19,7 +18,6 @@ class Action extends \Magento\Catalog\Model\ResourceModel\AbstractResource * Initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -39,7 +37,6 @@ protected function _construct() * @param int $storeId * @return $this * @throws \Exception - * @since 2.0.0 */ public function updateAttributes($entityIds, $attrData, $storeId) { 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 b377c91beb897..efcf76598dcdf 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 @@ -14,7 +14,6 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\GroupPrice\AbstractGroupPrice * - * @since 2.0.0 */ abstract class AbstractGroupPrice extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -24,7 +23,6 @@ abstract class AbstractGroupPrice extends \Magento\Framework\Model\ResourceModel * @param int $productId * @param int $websiteId * @return array - * @since 2.0.0 */ public function loadPriceData($productId, $websiteId = null) { @@ -83,7 +81,6 @@ protected function getProductIdFieldName() * * @param array $columns * @return array - * @since 2.0.0 */ protected function _loadPriceDataColumns($columns) { @@ -95,7 +92,6 @@ protected function _loadPriceDataColumns($columns) * * @param \Magento\Framework\DB\Select $select * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _loadPriceDataSelect($select) { @@ -109,7 +105,6 @@ protected function _loadPriceDataSelect($select) * @param int $websiteId * @param int $priceId * @return int The number of affected rows - * @since 2.0.0 */ public function deletePriceData($productId, $websiteId = null, $priceId = null) { @@ -135,7 +130,6 @@ public function deletePriceData($productId, $websiteId = null, $priceId = null) * * @param \Magento\Framework\DataObject $priceObject * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Tierprice - * @since 2.0.0 */ public function savePriceData(\Magento\Framework\DataObject $priceObject) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Image.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Image.php index f77e08e834d21..b75fa1491aa77 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Image.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Image.php @@ -12,7 +12,6 @@ * Product image attribute backend * * @author Magento Core Team - * @since 2.0.0 */ class Image extends AbstractBackend { @@ -20,7 +19,6 @@ class Image extends AbstractBackend * Filesystem facade * * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; @@ -28,14 +26,12 @@ class Image extends AbstractBackend * File Uploader factory * * @var \Magento\MediaStorage\Model\File\UploaderFactory - * @since 2.0.0 */ protected $_fileUploaderFactory; /** * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\MediaStorage\Model\File\UploaderFactory $fileUploaderFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Filesystem $filesystem, @@ -50,7 +46,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $object * @return $this|void - * @since 2.0.0 */ public function afterSave($object) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Tierprice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Tierprice.php index 583255abdb2a9..e3edc4a0dc48e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Tierprice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Backend/Tierprice.php @@ -11,7 +11,6 @@ * Catalog product tier price backend attribute model * * @author Magento Core Team - * @since 2.0.0 */ class Tierprice extends AbstractGroupPrice { @@ -19,7 +18,6 @@ class Tierprice extends AbstractGroupPrice * Initialize connection and define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -31,7 +29,6 @@ protected function _construct() * * @param array $columns * @return array - * @since 2.0.0 */ protected function _loadPriceDataColumns($columns) { @@ -46,7 +43,6 @@ protected function _loadPriceDataColumns($columns) * * @param \Magento\Framework\DB\Select $select * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _loadPriceDataSelect($select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php index fe0a16a7f87a3..8ba126f6a532e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Attribute/Collection.php @@ -9,7 +9,6 @@ * Catalog product EAV additional attribute resource collection * * @api - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Colle * Entity factory * * @var \Magento\Eav\Model\EntityFactory - * @since 2.0.0 */ protected $_eavEntityFactory; @@ -30,7 +28,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Entity\Attribute\Colle * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -50,7 +47,6 @@ public function __construct( * Resource model initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -64,7 +60,6 @@ protected function _construct() * Initialize select object * * @return $this - * @since 2.0.0 */ protected function _initSelect() { @@ -100,7 +95,6 @@ protected function _initSelect() * @param int $typeId * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setEntityTypeFilter($typeId) { @@ -111,7 +105,6 @@ public function setEntityTypeFilter($typeId) * Return array of fields to load attribute values * * @return string[] - * @since 2.0.0 */ protected function _getLoadDataFields() { @@ -131,7 +124,6 @@ protected function _getLoadDataFields() * Remove price from attribute list * * @return $this - * @since 2.0.0 */ public function removePriceFilter() { @@ -142,7 +134,6 @@ public function removePriceFilter() * Specify "is_visible_in_advanced_search" filter * * @return $this - * @since 2.0.0 */ public function addDisplayInAdvancedSearchFilter() { @@ -153,7 +144,6 @@ public function addDisplayInAdvancedSearchFilter() * Specify "is_filterable" filter * * @return $this - * @since 2.0.0 */ public function addIsFilterableFilter() { @@ -164,7 +154,6 @@ public function addIsFilterableFilter() * Add filterable in search filter * * @return $this - * @since 2.0.0 */ public function addIsFilterableInSearchFilter() { @@ -175,7 +164,6 @@ public function addIsFilterableInSearchFilter() * Specify filter by "is_visible" field * * @return $this - * @since 2.0.0 */ public function addVisibleFilter() { @@ -186,7 +174,6 @@ public function addVisibleFilter() * Specify "is_searchable" filter * * @return $this - * @since 2.0.0 */ public function addIsSearchableFilter() { @@ -198,7 +185,6 @@ public function addIsSearchableFilter() * * @param bool $addRequiredCodes * @return $this - * @since 2.0.0 */ public function addToIndexFilter($addRequiredCodes = false) { @@ -226,7 +212,6 @@ public function addToIndexFilter($addRequiredCodes = false) * Specify filter for attributes used in quick search * * @return $this - * @since 2.0.0 */ public function addSearchableAttributeFilter() { @@ -244,7 +229,6 @@ public function addSearchableAttributeFilter() * Add is used in grid filter * * @return $this - * @since 2.0.0 */ public function addIsUsedInGridFilter() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/BaseSelectProcessorInterface.php index 7256b68d5f86f..694f839592b57 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.2.0 + * @since 2.1.3 */ interface BaseSelectProcessorInterface { @@ -22,7 +22,7 @@ interface BaseSelectProcessorInterface /** * @param Select $select * @return Select - * @since 2.2.0 + * @since 2.1.3 */ public function process(Select $select); } diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php index 2ffecb469569c..e281a085b01bf 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php @@ -30,7 +30,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @method \Magento\Eav\Model\ResourceModel\Attribute\DefaultEntityAttributes\ProviderInterface getResource() - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection { @@ -46,7 +45,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac /** * @var string - * @since 2.0.0 */ protected $_idFieldName = 'entity_id'; @@ -54,7 +52,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Catalog Product Flat is enabled cache per store * * @var array - * @since 2.0.0 */ protected $_flatEnabled = []; @@ -62,7 +59,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Product websites table name * * @var string - * @since 2.0.0 */ protected $_productWebsiteTable; @@ -70,7 +66,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Product categories table name * * @var string - * @since 2.0.0 */ protected $_productCategoryTable; @@ -78,7 +73,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Is add URL rewrites to collection flag * * @var bool - * @since 2.0.0 */ protected $_addUrlRewrite = false; @@ -86,7 +80,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Add URL rewrite for category * * @var int - * @since 2.0.0 */ protected $_urlRewriteCategory = ''; @@ -94,7 +87,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Is add final price to product collection flag * * @var bool - * @since 2.0.0 */ protected $_addFinalPrice = false; @@ -102,7 +94,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Cache for all ids * * @var array - * @since 2.0.0 */ protected $_allIdsCache = null; @@ -110,13 +101,11 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Is add tax percents to product collection flag * * @var bool - * @since 2.0.0 */ protected $_addTaxPercents = false; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Collection\ProductLimitation - * @since 2.0.0 */ protected $_productLimitationFilters; @@ -124,13 +113,11 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Category product count select * * @var \Magento\Framework\DB\Select - * @since 2.0.0 */ protected $_productCountSelect = null; /** * @var bool - * @since 2.0.0 */ protected $_isWebsiteFilter = false; @@ -138,7 +125,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Additional field filters, applied in _productLimitationJoinPrice() * * @var array - * @since 2.0.0 */ protected $_priceDataFieldFilters = []; @@ -146,7 +132,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Price expression sql * * @var string|null - * @since 2.0.0 */ protected $_priceExpression; @@ -154,7 +139,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Additional price expression sql part * * @var string|null - * @since 2.0.0 */ protected $_additionalPriceExpression; @@ -162,7 +146,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Max prise (statistics data) * * @var float - * @since 2.0.0 */ protected $_maxPrice; @@ -170,7 +153,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Min prise (statistics data) * * @var float - * @since 2.0.0 */ protected $_minPrice; @@ -178,7 +160,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Prise standard deviation (statistics data) * * @var float - * @since 2.0.0 */ protected $_priceStandardDeviation; @@ -186,7 +167,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Prises count (statistics data) * * @var int - * @since 2.0.0 */ protected $_pricesCount = null; @@ -194,7 +174,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Cloned Select after dispatching 'catalog_prepare_price_select' event * * @var \Magento\Framework\DB\Select - * @since 2.0.0 */ protected $_catalogPreparePriceSelect = null; @@ -202,7 +181,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Catalog product flat * * @var \Magento\Catalog\Model\Indexer\Product\Flat\State - * @since 2.0.0 */ protected $_catalogProductFlatState = null; @@ -210,7 +188,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Catalog data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager = null; @@ -218,7 +195,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -226,13 +202,11 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; @@ -240,7 +214,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Catalog url * * @var \Magento\Catalog\Model\ResourceModel\Url - * @since 2.0.0 */ protected $_catalogUrl; @@ -248,7 +221,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Product option factory * * @var \Magento\Catalog\Model\Product\OptionFactory - * @since 2.0.0 */ protected $_productOptionFactory; @@ -256,19 +228,16 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Customer\Api\GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; @@ -276,25 +245,24 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * Need to add websites to result flag * * @var bool - * @since 2.0.0 */ protected $needToAddWebsiteNamesToResult; /** * @var Gallery - * @since 2.2.0 + * @since 2.1.1 */ private $mediaGalleryResource; /** * @var GalleryReadHandler - * @since 2.2.0 + * @since 2.1.1 */ private $productGalleryReadHandler; /** * @var MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; @@ -337,7 +305,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac * @param MetadataPool|null $metadataPool * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -397,7 +364,6 @@ public function __construct( * Get cloned Select after dispatching 'catalog_prepare_price_select' event * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ public function getCatalogPreparedSelect() { @@ -409,7 +375,6 @@ public function getCatalogPreparedSelect() * * @param \Magento\Framework\DB\Select $select * @return $this - * @since 2.0.0 */ protected function _preparePriceExpressionParameters($select) { @@ -446,7 +411,6 @@ protected function _preparePriceExpressionParameters($select) * * @param \Magento\Framework\DB\Select $select * @return string - * @since 2.0.0 */ public function getPriceExpression($select) { @@ -460,7 +424,6 @@ public function getPriceExpression($select) * * @param \Magento\Framework\DB\Select $select * @return string - * @since 2.0.0 */ public function getAdditionalPriceExpression($select) { @@ -474,7 +437,6 @@ public function getAdditionalPriceExpression($select) * Get currency rate * * @return float - * @since 2.0.0 */ public function getCurrencyRate() { @@ -485,7 +447,6 @@ public function getCurrencyRate() * Retrieve Catalog Product Flat Helper object * * @return \Magento\Catalog\Model\Indexer\Product\Flat\State - * @since 2.0.0 */ public function getFlatState() { @@ -497,7 +458,6 @@ public function getFlatState() * Return always false if magento run admin * * @return bool - * @since 2.0.0 */ public function isEnabledFlat() { @@ -511,7 +471,6 @@ public function isEnabledFlat() * Initialize resources * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -530,7 +489,6 @@ protected function _construct() * @param string $model * @param string $entityModel * @return $this - * @since 2.0.0 */ protected function _init($model, $entityModel) { @@ -544,7 +502,6 @@ protected function _init($model, $entityModel) * Define product website and category product tables * * @return void - * @since 2.0.0 */ protected function _initTables() { @@ -556,7 +513,6 @@ protected function _initTables() * Prepare static entity fields * * @return $this - * @since 2.0.0 */ protected function _prepareStaticFields() { @@ -571,7 +527,6 @@ protected function _prepareStaticFields() * Redeclared for specifying id field name without getting resource model inside model * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getNewEmptyItem() { @@ -587,7 +542,6 @@ public function getNewEmptyItem() * * @param \Magento\Eav\Model\Entity\AbstractEntity $entity * @return $this - * @since 2.0.0 */ public function setEntity($entity) { @@ -603,7 +557,6 @@ public function setEntity($entity) * * @param mixed $store * @return $this - * @since 2.0.0 */ public function setStore($store) { @@ -620,7 +573,6 @@ public function setStore($store) * in catalog_product_entity we store just products * * @return $this - * @since 2.0.0 */ protected function _initSelect() { @@ -648,7 +600,6 @@ protected function _initSelect() * @param bool $printQuery * @param bool $logQuery * @return $this - * @since 2.0.0 */ public function _loadAttributes($printQuery = false, $logQuery = false) { @@ -665,7 +616,6 @@ public function _loadAttributes($printQuery = false, $logQuery = false) * @param array|string|integer|\Magento\Framework\App\Config\Element $attribute * @param bool|string $joinType * @return $this - * @since 2.0.0 */ public function addAttributeToSelect($attribute, $joinType = false) { @@ -701,7 +651,6 @@ public function addAttributeToSelect($attribute, $joinType = false) * Adding url rewrites, minimal prices, final prices, tax percents * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -722,7 +671,6 @@ protected function _afterLoad() * Prepare Url Data object * * @return $this - * @since 2.0.0 */ protected function _prepareUrlDataObject() { @@ -756,7 +704,6 @@ protected function _prepareUrlDataObject() * @param mixed $productId * @param boolean $exclude * @return $this - * @since 2.0.0 */ public function addIdFilter($productId, $exclude = false) { @@ -790,7 +737,6 @@ public function addIdFilter($productId, $exclude = false) * Add for each product websites information * * @return $this - * @since 2.0.0 */ public function addWebsiteNamesToResult() { @@ -800,7 +746,6 @@ public function addWebsiteNamesToResult() /** * {@inheritdoc} - * @since 2.0.0 */ public function load($printQuery = false, $logQuery = false) { @@ -819,7 +764,6 @@ public function load($printQuery = false, $logQuery = false) * Processs adding product website names to result collection * * @return $this - * @since 2.0.0 */ protected function doAddWebsiteNamesToResult() { @@ -863,7 +807,6 @@ protected function doAddWebsiteNamesToResult() * * @param null|string|bool|int|Store $store * @return $this - * @since 2.0.0 */ public function addStoreFilter($store = null) { @@ -886,7 +829,6 @@ public function addStoreFilter($store = null) * * @param null|bool|int|string|array $websites * @return $this - * @since 2.0.0 */ public function addWebsiteFilter($websites = null) { @@ -904,7 +846,6 @@ public function addWebsiteFilter($websites = null) * Get filters applied to collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection\ProductLimitation - * @since 2.0.0 */ public function getLimitationFilters() { @@ -916,7 +857,6 @@ public function getLimitationFilters() * * @param \Magento\Catalog\Model\Category $category * @return $this - * @since 2.0.0 */ public function addCategoryFilter(\Magento\Catalog\Model\Category $category) { @@ -941,7 +881,6 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category) * * @param array $categoriesFilter * @return $this - * @since 2.0.0 */ public function addCategoriesFilter(array $categoriesFilter) { @@ -963,7 +902,6 @@ public function addCategoriesFilter(array $categoriesFilter) * * @param string $conditionType * @return mixed - * @since 2.0.0 */ private function mapConditionType($conditionType) { @@ -978,7 +916,6 @@ private function mapConditionType($conditionType) * Join minimal price attribute to result * * @return $this - * @since 2.0.0 */ public function joinMinimalPrice() { @@ -991,7 +928,6 @@ public function joinMinimalPrice() * * @param string $attribute * @return array|null - * @since 2.0.0 */ public function getMaxAttributeValue($attribute) { @@ -1027,7 +963,6 @@ public function getMaxAttributeValue($attribute) * @param string $attribute * @param int $range * @return array - * @since 2.0.0 */ public function getAttributeValueCountByRange($attribute, $range) { @@ -1067,7 +1002,6 @@ public function getAttributeValueCountByRange($attribute, $range) * * @param string $attribute * @return array ($value => $count) - * @since 2.0.0 */ public function getAttributeValueCount($attribute) { @@ -1116,7 +1050,6 @@ public function getAttributeValueCount($attribute) * * @param string $attribute attribute code * @return array - * @since 2.0.0 */ public function getAllAttributeValues($attribute) { @@ -1149,7 +1082,6 @@ public function getAllAttributeValues($attribute) * Get SQL for get record count without left JOINs * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ public function getSelectCountSql() { @@ -1162,7 +1094,6 @@ public function getSelectCountSql() * @param null $select * @param bool $resetLeftJoins * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getSelectCountSql($select = null, $resetLeftJoins = true) { @@ -1179,7 +1110,6 @@ protected function _getSelectCountSql($select = null, $resetLeftJoins = true) * Prepare statistics data * * @return $this - * @since 2.0.0 */ protected function _prepareStatisticsData() { @@ -1208,7 +1138,6 @@ protected function _prepareStatisticsData() * Retrieve clear select * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getClearSelect() { @@ -1220,7 +1149,6 @@ protected function _getClearSelect() * * @param \Magento\Framework\DB\Select $select * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _buildClearSelect($select = null) { @@ -1241,7 +1169,6 @@ protected function _buildClearSelect($select = null) * @param int|string $limit * @param int|string $offset * @return array - * @since 2.0.0 */ public function getAllIds($limit = null, $offset = null) { @@ -1257,7 +1184,6 @@ public function getAllIds($limit = null, $offset = null) * Retrieve product count select for categories * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ public function getProductCountSelect() { @@ -1293,7 +1219,6 @@ public function getProductCountSelect() * Destruct product count select * * @return $this - * @since 2.0.0 */ public function unsProductCountSelect() { @@ -1306,7 +1231,6 @@ public function unsProductCountSelect() * * @param \Magento\Eav\Model\Entity\Collection\AbstractCollection $categoryCollection * @return $this - * @since 2.0.0 */ public function addCountToCategories($categoryCollection) { @@ -1364,7 +1288,6 @@ public function addCountToCategories($categoryCollection) * Retrieve unique attribute set ids in collection * * @return array - * @since 2.0.0 */ public function getSetIds() { @@ -1381,7 +1304,6 @@ public function getSetIds() * Return array of unique product type ids in collection * * @return array - * @since 2.0.0 */ public function getProductTypeIds() { @@ -1397,7 +1319,6 @@ public function getProductTypeIds() * Joins url rewrite rules to collection * * @return $this - * @since 2.0.0 */ public function joinUrlRewrite() { @@ -1417,7 +1338,6 @@ public function joinUrlRewrite() * * @param int|string $categoryId * @return $this - * @since 2.0.0 */ public function addUrlRewrite($categoryId = '') { @@ -1444,7 +1364,6 @@ public function addUrlRewrite($categoryId = '') * Add URL rewrites to collection * * @return void - * @since 2.0.0 */ protected function _addUrlRewrite() { @@ -1493,7 +1412,6 @@ protected function _addUrlRewrite() * Add minimal price data to result * * @return $this - * @since 2.0.0 */ public function addMinimalPrice() { @@ -1504,7 +1422,6 @@ public function addMinimalPrice() * Add price data for calculate final price * * @return $this - * @since 2.0.0 */ public function addFinalPrice() { @@ -1516,7 +1433,6 @@ public function addFinalPrice() * * @param boolean $resetCache * @return array - * @since 2.0.0 */ public function getAllIdsCache($resetCache = false) { @@ -1538,7 +1454,6 @@ public function getAllIdsCache($resetCache = false) * * @param array $value * @return $this - * @since 2.0.0 */ public function setAllIdsCache($value) { @@ -1552,7 +1467,6 @@ public function setAllIdsCache($value) * @param int $customerGroupId * @param int $websiteId * @return $this - * @since 2.0.0 */ public function addPriceData($customerGroupId = null, $websiteId = null) { @@ -1585,7 +1499,6 @@ public function addPriceData($customerGroupId = null, $websiteId = null) * @param string $joinType * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function addAttributeToFilter($attribute, $condition = null, $joinType = 'inner') { @@ -1656,7 +1569,6 @@ protected function getEntityPkName(\Magento\Eav\Model\Entity\AbstractEntity $ent * Add requere tax percent flag for product collection * * @return $this - * @since 2.0.0 */ public function addTaxPercents() { @@ -1668,7 +1580,6 @@ public function addTaxPercents() * Get require tax percent flag value * * @return bool - * @since 2.0.0 */ public function requireTaxPercent() { @@ -1679,7 +1590,6 @@ public function requireTaxPercent() * Adding product custom options to result collection * * @return $this - * @since 2.0.0 */ public function addOptionsToResult() { @@ -1716,7 +1626,6 @@ public function addOptionsToResult() * Filter products with required options * * @return $this - * @since 2.0.0 */ public function addFilterByRequiredOptions() { @@ -1729,7 +1638,6 @@ public function addFilterByRequiredOptions() * * @param array $visibility * @return $this - * @since 2.0.0 */ public function setVisibility($visibility) { @@ -1747,7 +1655,6 @@ public function setVisibility($visibility) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function addAttributeToSort($attribute, $dir = self::SORT_ORDER_ASC) { @@ -1807,7 +1714,6 @@ public function addAttributeToSort($attribute, $dir = self::SORT_ORDER_ASC) * Prepare limitation filters * * @return $this - * @since 2.0.0 */ protected function _prepareProductLimitationFilters() { @@ -1848,7 +1754,6 @@ protected function _prepareProductLimitationFilters() * * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _productLimitationJoinWebsite() { @@ -1903,7 +1808,6 @@ protected function _productLimitationJoinWebsite() * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _productLimitationJoinStore() { @@ -1939,7 +1843,6 @@ protected function _productLimitationJoinStore() * Join Product Price Table * * @return $this - * @since 2.0.0 */ protected function _productLimitationJoinPrice() { @@ -1952,7 +1855,6 @@ protected function _productLimitationJoinPrice() * @see \Magento\Catalog\Model\ResourceModel\Product\Collection::_productLimitationJoinPrice() * @param bool $joinLeft * @return $this - * @since 2.0.0 */ protected function _productLimitationPrice($joinLeft = false) { @@ -2016,7 +1918,6 @@ protected function _productLimitationPrice($joinLeft = false) * Apply front-end price limitation filters to the collection * * @return $this - * @since 2.0.0 */ public function applyFrontendPriceLimitations() { @@ -2040,7 +1941,6 @@ public function applyFrontendPriceLimitations() * Method supports multiple changes in one collection object for this parameters * * @return $this - * @since 2.0.0 */ protected function _applyProductLimitations() { @@ -2092,7 +1992,6 @@ protected function _applyProductLimitations() * for combinations of category_id filter states * * @return $this - * @since 2.0.0 */ protected function _applyZeroStoreProductLimitations() { @@ -2127,7 +2026,6 @@ protected function _applyZeroStoreProductLimitations() * Add category ids to loaded items * * @return $this - * @since 2.0.0 */ public function addCategoryIds() { @@ -2172,7 +2070,6 @@ public function addCategoryIds() * Add tier price data to loaded items. * * @return $this - * @since 2.0.0 */ public function addTierPriceData() { @@ -2306,7 +2203,6 @@ private function getBackend() * @param array $fields - list of fields * @return $this * @throws \Exception - * @since 2.0.0 */ public function addPriceDataFieldFilter($comparisonFormat, $fields) { @@ -2331,7 +2227,7 @@ public function addPriceDataFieldFilter($comparisonFormat, $fields) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.2.0 + * @since 2.1.1 */ public function addMediaGalleryData() { @@ -2392,8 +2288,8 @@ public function getProductEntityMetadata() * Retrieve GalleryReadHandler * * @return GalleryReadHandler - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.1 + * @since 2.1.1 */ private function getGalleryReadHandler() { @@ -2404,9 +2300,9 @@ private function getGalleryReadHandler() } /** - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @return \Magento\Catalog\Model\ResourceModel\Product\Gallery - * @since 2.2.0 + * @since 2.1.1 */ private function getMediaGalleryResource() { @@ -2420,7 +2316,6 @@ private function getMediaGalleryResource() * Clear collection * * @return $this - * @since 2.0.0 */ public function clear() { @@ -2446,7 +2341,6 @@ public function clear() * @param string $attribute * @param string $dir * @return $this - * @since 2.0.0 */ public function setOrder($attribute, $dir = Select::SQL_DESC) { @@ -2462,7 +2356,6 @@ public function setOrder($attribute, $dir = Select::SQL_DESC) * Get products max price * * @return float - * @since 2.0.0 */ public function getMaxPrice() { @@ -2477,7 +2370,6 @@ public function getMaxPrice() * Get products min price * * @return float - * @since 2.0.0 */ public function getMinPrice() { @@ -2492,7 +2384,6 @@ public function getMinPrice() * Get standard deviation of products price * * @return float - * @since 2.0.0 */ public function getPriceStandardDeviation() { @@ -2507,7 +2398,6 @@ public function getPriceStandardDeviation() * Get count of product prices * * @return int - * @since 2.0.0 */ public function getPricesCount() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item.php index 9d038641a2e7e..7eb0552e355fc 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item.php @@ -9,7 +9,6 @@ * Catalog compare item resource model * * @author Magento Core Team - * @since 2.0.0 */ class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -30,7 +28,6 @@ protected function _construct() * @param \Magento\Catalog\Model\Product\Compare\Item $object * @param \Magento\Catalog\Model\Product|int $product * @return bool - * @since 2.0.0 */ public function loadByProduct(\Magento\Catalog\Model\Product\Compare\Item $object, $product) { @@ -66,7 +63,6 @@ public function loadByProduct(\Magento\Catalog\Model\Product\Compare\Item $objec * @param int $customerId * @param int $visitorId * @return int - * @since 2.0.0 */ public function getCount($customerId, $visitorId) { @@ -88,7 +84,6 @@ public function getCount($customerId, $visitorId) * Clean compare table * * @return $this - * @since 2.0.0 */ public function clean() { @@ -128,7 +123,6 @@ public function clean() * * @param \Magento\Catalog\Model\Product\Compare\Item $object * @return $this - * @since 2.0.0 */ public function purgeVisitorByCustomer($object) { @@ -150,7 +144,6 @@ public function purgeVisitorByCustomer($object) * * @param \Magento\Catalog\Model\Product\Compare\Item $object * @return $this - * @since 2.0.0 */ public function updateCustomerFromVisitor($object) { @@ -231,7 +224,6 @@ public function updateCustomerFromVisitor($object) * @param int $visitorId * @param int $customerId * @return $this - * @since 2.0.0 */ public function clearItems($visitorId = null, $customerId = null) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php index 9b830d61ac955..8d58a672141cf 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php @@ -12,7 +12,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { @@ -20,7 +19,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Customer Filter * * @var int - * @since 2.0.0 */ protected $_customerId = 0; @@ -28,7 +26,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Visitor Filter * * @var int - * @since 2.0.0 */ protected $_visitorId = 0; @@ -36,7 +33,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Comparable attributes cache * * @var array - * @since 2.0.0 */ protected $_comparableAttributes; @@ -44,7 +40,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Catalog product compare * * @var \Magento\Catalog\Helper\Product\Compare - * @since 2.0.0 */ protected $_catalogProductCompare = null; @@ -52,7 +47,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Catalog product compare item * * @var \Magento\Catalog\Model\ResourceModel\Product\Compare\Item - * @since 2.0.0 */ protected $_catalogProductCompareItem; @@ -82,7 +76,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -138,7 +131,6 @@ public function __construct( * Initialize resources * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -154,7 +146,6 @@ protected function _construct() * * @param int $customerId * @return $this - * @since 2.0.0 */ public function setCustomerId($customerId) { @@ -168,7 +159,6 @@ public function setCustomerId($customerId) * * @param int $visitorId * @return $this - * @since 2.0.0 */ public function setVisitorId($visitorId) { @@ -181,7 +171,6 @@ public function setVisitorId($visitorId) * Retrieve customer filter applied to collection * * @return int - * @since 2.0.0 */ public function getCustomerId() { @@ -192,7 +181,6 @@ public function getCustomerId() * Retrieve visitor filter applied to collection * * @return int - * @since 2.0.0 */ public function getVisitorId() { @@ -203,7 +191,6 @@ public function getVisitorId() * Retrieve condition for join filters * * @return array - * @since 2.0.0 */ public function getConditionForJoin() { @@ -222,7 +209,6 @@ public function getConditionForJoin() * Add join to select * * @return $this - * @since 2.0.0 */ public function _addJoinToSelect() { @@ -248,7 +234,6 @@ public function _addJoinToSelect() * Retrieve comapre products attribute set ids * * @return array - * @since 2.0.0 */ protected function _getAttributeSetIds() { @@ -290,7 +275,6 @@ protected function _getAttributeSetIds() * * @param array $setIds * @return array - * @since 2.0.0 */ protected function _getAttributeIdsBySetIds(array $setIds) { @@ -310,7 +294,6 @@ protected function _getAttributeIdsBySetIds(array $setIds) * Retrieve Merged comparable attributes for compared product items * * @return array - * @since 2.0.0 */ public function getComparableAttributes() { @@ -361,7 +344,6 @@ public function getComparableAttributes() * Load Comparable attributes * * @return $this - * @since 2.0.0 */ public function loadComparableAttributes() { @@ -379,7 +361,6 @@ public function loadComparableAttributes() * Use product as collection item * * @return $this - * @since 2.0.0 */ public function useProductItem() { @@ -395,7 +376,6 @@ public function useProductItem() * Retrieve product ids from collection * * @return int[] - * @since 2.0.0 */ public function getProductIds() { @@ -411,7 +391,6 @@ public function getProductIds() * Clear compare items by condition * * @return $this - * @since 2.0.0 */ public function clear() { @@ -426,7 +405,6 @@ public function clear() * Overwrite disable flat for compared item if required EAV resource * * @return bool - * @since 2.0.0 */ public function isEnabledFlat() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php index 1f828f6e2475e..801efc825041f 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/CompositeBaseSelectProcessor.php @@ -10,20 +10,20 @@ /** * Class CompositeBaseSelectProcessor - * @since 2.2.0 + * @since 2.1.3 */ class CompositeBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var BaseSelectProcessorInterface[] - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessors; /** * @param BaseSelectProcessorInterface[] $baseSelectProcessors * @throws InputException - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( array $baseSelectProcessors @@ -41,7 +41,7 @@ public function __construct( /** * @param Select $select * @return Select - * @since 2.2.0 + * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Flat.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Flat.php index ff6651e3f37b8..58dde2d0cf4b5 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Flat.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Flat.php @@ -12,7 +12,6 @@ * Catalog Product Flat resource model * * @author Magento Core Team - * @since 2.0.0 */ class Flat extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implements DefaultAttributesProvider { @@ -20,7 +19,6 @@ class Flat extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implemen * Store scope Id * * @var int - * @since 2.0.0 */ protected $_storeId; @@ -28,7 +26,6 @@ class Flat extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implemen * Catalog config * * @var \Magento\Catalog\Model\Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -36,13 +33,11 @@ class Flat extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implemen * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Catalog\Model\Product\Attribute\DefaultAttributes - * @since 2.0.0 */ protected $defaultAttributes; @@ -52,7 +47,6 @@ class Flat extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implemen * @param \Magento\Catalog\Model\Config $catalogConfig * @param \Magento\Catalog\Model\Product\Attribute\DefaultAttributes $defaultAttributes * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -71,7 +65,6 @@ public function __construct( * Init connection and resource table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +76,6 @@ protected function _construct() * Retrieve store for resource model * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -95,7 +87,6 @@ public function getStoreId() * * @param null|string|bool|int|Store $store * @return $this - * @since 2.0.0 */ public function setStoreId($store) { @@ -118,7 +109,6 @@ public function setStoreId($store) * * @param mixed $store * @return string - * @since 2.0.0 */ public function getFlatTableName($store = null) { @@ -132,7 +122,6 @@ public function getFlatTableName($store = null) * Retrieve entity type id * * @return int - * @since 2.0.0 */ public function getTypeId() { @@ -144,7 +133,6 @@ public function getTypeId() * * @param string $attributeCode * @return array|null - * @since 2.0.0 */ public function getAttributeForSelect($attributeCode) { @@ -167,7 +155,6 @@ public function getAttributeForSelect($attributeCode) * * @param string $attributeCode * @return string - * @since 2.0.0 */ public function getAttributeSortColumn($attributeCode) { @@ -186,7 +173,6 @@ public function getAttributeSortColumn($attributeCode) * Retrieve Flat Table columns list * * @return array - * @since 2.0.0 */ public function getAllTableColumns() { @@ -200,7 +186,6 @@ public function getAllTableColumns() * * @param integer|string|\Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute * @return bool - * @since 2.0.0 */ public function isAttributeStatic($attribute) { @@ -228,7 +213,6 @@ public function isAttributeStatic($attribute) * Rewrote for EAV collection compatibility * * @return string - * @since 2.0.0 */ public function getEntityIdField() { @@ -241,7 +225,6 @@ public function getEntityIdField() * * @param mixed $attribute * @return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute - * @since 2.0.0 */ public function getAttribute($attribute) { @@ -252,7 +235,6 @@ public function getAttribute($attribute) * Retrieve main resource table name * * @return string - * @since 2.0.0 */ public function getMainTable() { @@ -263,7 +245,6 @@ public function getMainTable() * Retrieve default entity static attributes * * @return string[] - * @since 2.0.0 */ public function getDefaultAttributes() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php index 16941b9e062f5..3a43e49a83737 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php @@ -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.2.0 + * @since 2.1.1 */ public function createBatchBaseSelect($storeId, $attributeId) { 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 b600242fe01e4..e8fd872f271f4 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php @@ -13,7 +13,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ abstract class AbstractIndexer extends \Magento\Indexer\Model\ResourceModel\AbstractResource { @@ -21,7 +20,6 @@ abstract class AbstractIndexer extends \Magento\Indexer\Model\ResourceModel\Abst * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -38,7 +36,6 @@ abstract class AbstractIndexer extends \Magento\Indexer\Model\ResourceModel\Abst * @param \Magento\Framework\Indexer\Table\StrategyInterface $tableStrategy * @param \Magento\Eav\Model\Config $eavConfig * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -55,7 +52,6 @@ public function __construct( * * @param string $attributeCode * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute - * @since 2.0.0 */ protected function _getAttribute($attributeCode) { @@ -74,7 +70,6 @@ protected function _getAttribute($attributeCode) * @param \Zend_Db_Expr $condition the limitation condition * @param bool $required if required or has condition used INNER join, else - LEFT * @return \Zend_Db_Expr the attribute value expression - * @since 2.0.0 */ protected function _addAttributeToSelect($select, $attrCode, $entity, $store, $condition = null, $required = false) { @@ -136,7 +131,6 @@ protected function _addAttributeToSelect($select, $attrCode, $entity, $store, $c * @param bool $store add default store join * @param string|\Zend_Db_Expr $joinCondition the limitation for website_id * @return $this - * @since 2.0.0 */ protected function _addWebsiteJoinToSelect($select, $store = true, $joinCondition = null) { @@ -169,7 +163,6 @@ protected function _addWebsiteJoinToSelect($select, $store = true, $joinConditio * @param string|\Zend_Db_Expr $website the limitation of website_id * @param string|\Zend_Db_Expr $product the limitation of product_id * @return $this - * @since 2.0.0 */ protected function _addProductWebsiteJoinToSelect($select, $website, $product) { @@ -187,7 +180,6 @@ protected function _addProductWebsiteJoinToSelect($select, $website, $product) * * @param int|array $childIds * @return array - * @since 2.0.0 */ public function getRelationsByChild($childIds) { @@ -213,7 +205,6 @@ public function getRelationsByChild($childIds) * * @param int|array $parentIds * @return array - * @since 2.0.0 */ public function getRelationsByParent($parentIds) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php index 531d171197f55..c4e3fb1bf1e70 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/AbstractEav.php @@ -13,7 +13,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractEav extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\AbstractIndexer { @@ -21,7 +20,6 @@ abstract class AbstractEav extends \Magento\Catalog\Model\ResourceModel\Product\ * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; @@ -33,7 +31,6 @@ abstract class AbstractEav extends \Magento\Catalog\Model\ResourceModel\Product\ * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param null $connectionName * @param \Magento\Indexer\Model\Indexer\StateFactory|null $stateFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -51,7 +48,6 @@ public function __construct( * * @return $this * @throws \Exception - * @since 2.0.0 */ public function reindexAll() { @@ -78,7 +74,6 @@ public function reindexAll() * @param int|array $processIds * @return $this * @throws \Exception - * @since 2.0.0 */ public function reindexEntities($processIds) { @@ -98,7 +93,6 @@ public function reindexEntities($processIds) * @param int $attributeId * @param bool $isIndexable * @return $this - * @since 2.0.0 */ public function reindexAttribute($attributeId, $isIndexable = true) { @@ -123,7 +117,6 @@ public function reindexAttribute($attributeId, $isIndexable = true) * @param array $entityIds the entity ids limitation * @param int $attributeId the attribute id limitation * @return $this - * @since 2.0.0 */ abstract protected function _prepareIndex($entityIds = null, $attributeId = null); @@ -131,7 +124,6 @@ abstract protected function _prepareIndex($entityIds = null, $attributeId = null * Remove Not Visible products from temporary data index * * @return $this - * @since 2.0.0 */ protected function _removeNotVisibleEntityFromIndex() { @@ -166,7 +158,6 @@ protected function _removeNotVisibleEntityFromIndex() * * @param array $parentIds the parent entity ids limitation * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _prepareRelationIndexSelect($parentIds = null) { @@ -225,7 +216,6 @@ protected function _prepareRelationIndexSelect($parentIds = null) * * @param array $parentIds the parent entity ids limitation * @return $this - * @since 2.0.0 */ protected function _prepareRelationIndex($parentIds = null) { @@ -248,7 +238,6 @@ protected function _prepareRelationIndex($parentIds = null) * the catalog/eav_attribute table must have alias is ca * * @return string - * @since 2.0.0 */ protected function _getIndexableAttributesCondition() { @@ -269,7 +258,6 @@ protected function _getIndexableAttributesCondition() * @param int $attributeId * @return $this * @throws \Exception - * @since 2.0.0 */ protected function _removeAttributeIndexData($attributeId) { @@ -292,7 +280,6 @@ protected function _removeAttributeIndexData($attributeId) * @param int $attributeId * @return $this * @throws \Exception - * @since 2.0.0 */ protected function _synchronizeAttributeIndexData($attributeId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php index a1aff9a987259..fee2463828e52 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php @@ -11,7 +11,6 @@ * Catalog Product Eav Decimal Attributes Indexer resource model * * @author Magento Core Team - * @since 2.0.0 */ class Decimal extends AbstractEav { @@ -19,7 +18,6 @@ class Decimal extends AbstractEav * Initialize connection and define main index table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -32,7 +30,6 @@ protected function _construct() * @param array $entityIds the entity ids limitation * @param int $attributeId the attribute id limitation * @return $this - * @since 2.0.0 */ protected function _prepareIndex($entityIds = null, $attributeId = null) { @@ -134,7 +131,6 @@ protected function _prepareIndex($entityIds = null, $attributeId = null) * Retrieve decimal indexable attributes * * @return array - * @since 2.0.0 */ protected function _getIndexableAttributes() { @@ -165,7 +161,6 @@ protected function _getIndexableAttributes() * @param string $table * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdxTable($table = null) { 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 f291aad3158c2..8379b23f3b34b 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 @@ -12,7 +12,6 @@ * Catalog Product Eav Select and Multiply Select Attributes Indexer resource model * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Source extends AbstractEav { @@ -22,7 +21,6 @@ class Source extends AbstractEav * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -35,7 +33,6 @@ class Source extends AbstractEav * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper * @param null|string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -59,7 +56,6 @@ public function __construct( * Initialize connection and define main index table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -71,7 +67,6 @@ protected function _construct() * * @param bool $multiSelect * @return array - * @since 2.0.0 */ protected function _getIndexableAttributes($multiSelect) { @@ -101,7 +96,6 @@ protected function _getIndexableAttributes($multiSelect) * @param array $entityIds the entity ids limitation * @param int $attributeId the attribute id limitation * @return $this - * @since 2.0.0 */ protected function _prepareIndex($entityIds = null, $attributeId = null) { @@ -118,7 +112,6 @@ protected function _prepareIndex($entityIds = null, $attributeId = null) * @param int $attributeId the attribute id limitation * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareSelectIndex($entityIds = null, $attributeId = null) { @@ -217,7 +210,6 @@ protected function _prepareSelectIndex($entityIds = null, $attributeId = null) * @param array $entityIds the entity ids limitation * @param int $attributeId the attribute id limitation * @return $this - * @since 2.0.0 */ protected function _prepareMultiselectIndex($entityIds = null, $attributeId = null) { @@ -310,7 +302,6 @@ protected function _prepareMultiselectIndex($entityIds = null, $attributeId = nu * * @param array $data * @return $this - * @since 2.0.0 */ protected function _saveIndexData(array $data) { @@ -332,7 +323,6 @@ protected function _saveIndexData(array $data) * @param string|null $table * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdxTable($table = null) { 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 e6e06cb934cce..7c870e54d4a0e 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,37 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\Indexer\LinkedProductSelectBuilderByIndexPrice * - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderByIndexPrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 + * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.2.0 + * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessor; @@ -55,7 +55,7 @@ class LinkedProductSelectBuilderByIndexPrice implements LinkedProductSelectBuild * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface|null $baseSelectProcessor - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -74,7 +74,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.1 */ public function build($productId) { 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 ad5708932f584..568b09e0e58da 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 @@ -15,7 +15,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class DefaultPrice extends AbstractIndexer implements PriceInterface { @@ -23,7 +22,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface * Product type code * * @var string - * @since 2.0.0 */ protected $_typeId; @@ -31,7 +29,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface * Product Type is composite flag * * @var bool - * @since 2.0.0 */ protected $_isComposite = false; @@ -39,7 +36,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface * Core data * * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -47,7 +43,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; @@ -67,7 +62,6 @@ class DefaultPrice extends AbstractIndexer implements PriceInterface * @param \Magento\Framework\Module\Manager $moduleManager * @param string|null $connectionName * @param null|\Magento\Indexer\Model\Indexer\StateFactory $stateFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -86,7 +80,6 @@ public function __construct( * Get Table strategy * * @return \Magento\Framework\Indexer\Table\StrategyInterface - * @since 2.0.0 */ public function getTableStrategy() { @@ -97,7 +90,6 @@ public function getTableStrategy() * Define main price index table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -109,7 +101,6 @@ protected function _construct() * * @param string $typeCode * @return $this - * @since 2.0.0 */ public function setTypeId($typeCode) { @@ -122,7 +113,6 @@ public function setTypeId($typeCode) * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getTypeId() { @@ -139,7 +129,6 @@ public function getTypeId() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setIsComposite($flag) { @@ -152,7 +141,6 @@ public function setIsComposite($flag) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsComposite() { @@ -164,7 +152,6 @@ public function getIsComposite() * * @return $this * @throws \Exception - * @since 2.0.0 */ public function reindexAll() { @@ -185,7 +172,6 @@ public function reindexAll() * * @param int|array $entityIds * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice - * @since 2.0.0 */ public function reindexEntity($entityIds) { @@ -196,7 +182,6 @@ public function reindexEntity($entityIds) /** * @param null|int|array $entityIds * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice - * @since 2.0.0 */ protected function reindex($entityIds = null) { @@ -214,7 +199,6 @@ protected function reindex($entityIds = null) * @see _prepareDefaultFinalPriceTable() * * @return string - * @since 2.0.0 */ protected function _getDefaultFinalPriceTable() { @@ -225,7 +209,6 @@ protected function _getDefaultFinalPriceTable() * Prepare final price temporary index table * * @return $this - * @since 2.0.0 */ protected function _prepareDefaultFinalPriceTable() { @@ -237,7 +220,6 @@ protected function _prepareDefaultFinalPriceTable() * Retrieve website current dates table name * * @return string - * @since 2.0.0 */ protected function _getWebsiteDateTable() { @@ -250,7 +232,6 @@ protected function _getWebsiteDateTable() * @param int|array $entityIds the entity ids limitation * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareFinalPriceData($entityIds = null) { @@ -264,7 +245,6 @@ protected function _prepareFinalPriceData($entityIds = null) * @param string|null $type product type, all if null * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function prepareFinalPriceDataForType($entityIds, $type) { @@ -428,7 +408,6 @@ protected function getSelect($entityIds = null, $type = null) * Retrieve table name for custom option temporary aggregation data * * @return string - * @since 2.0.0 */ protected function _getCustomOptionAggregateTable() { @@ -439,7 +418,6 @@ protected function _getCustomOptionAggregateTable() * Retrieve table name for custom option prices data * * @return string - * @since 2.0.0 */ protected function _getCustomOptionPriceTable() { @@ -450,7 +428,6 @@ protected function _getCustomOptionPriceTable() * Prepare table structure for custom option temporary aggregation data * * @return $this - * @since 2.0.0 */ protected function _prepareCustomOptionAggregateTable() { @@ -462,7 +439,6 @@ protected function _prepareCustomOptionAggregateTable() * Prepare table structure for custom option prices data * * @return $this - * @since 2.0.0 */ protected function _prepareCustomOptionPriceTable() { @@ -475,7 +451,6 @@ protected function _prepareCustomOptionPriceTable() * * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _applyCustomOption() { @@ -655,7 +630,6 @@ protected function _applyCustomOption() * * @param int[]|null $entityIds * @return $this - * @since 2.0.0 */ protected function _movePriceDataToIndexTable($entityIds = null) { @@ -691,7 +665,6 @@ protected function _movePriceDataToIndexTable($entityIds = null) * Retrieve table name for product tier price index * * @return string - * @since 2.0.0 */ protected function _getTierPriceIndexTable() { @@ -704,7 +677,6 @@ protected function _getTierPriceIndexTable() * @param string $table * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdxTable($table = null) { @@ -713,7 +685,6 @@ public function getIdxTable($table = null) /** * @return bool - * @since 2.0.0 */ protected function hasEntity() { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/Factory.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/Factory.php index b91ae55b48d65..e10d2add49cb4 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/Factory.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceInterface.php index ad03472288ff3..c79a2da6714a6 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceInterface.php @@ -11,7 +11,6 @@ * @api * * @author Magento Core Team - * @since 2.0.0 */ interface PriceInterface { @@ -19,7 +18,6 @@ interface PriceInterface * Reindex temporary (price result data) for all products * * @return $this - * @since 2.0.0 */ public function reindexAll(); @@ -28,7 +26,6 @@ public function reindexAll(); * * @param int|array $entityIds * @return $this - * @since 2.0.0 */ public function reindexEntity($entityIds); } diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php index 2be0ca512a321..8442113dc8ac7 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link.php @@ -9,7 +9,6 @@ * Catalog product link resource model * * @author Magento Core Team - * @since 2.0.0 */ class Link extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Link extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Product Link Attributes Table * * @var string - * @since 2.0.0 */ protected $_attributesTable; @@ -25,7 +23,6 @@ class Link extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Catalog product relation * * @var Relation - * @since 2.0.0 */ protected $_catalogProductRelation; @@ -35,7 +32,6 @@ class Link extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param Relation $catalogProductRelation * @param string|null $connectionName * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Define main table name and attributes table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -108,7 +103,7 @@ public function getProductLinkId($parentId, $linkedProductId, $typeId) * * @param int $parentId ID of product * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function hasProductLinks($parentId) { @@ -137,7 +132,6 @@ public function hasProductLinks($parentId) * @return $this * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function saveProductLinks($parentId, $data, $typeId) { @@ -208,7 +202,6 @@ public function saveProductLinks($parentId, $data, $typeId) * @param string $type * @param mixed $value * @return mixed - * @since 2.0.0 */ protected function _prepareAttributeValue($type, $value) { @@ -225,7 +218,6 @@ protected function _prepareAttributeValue($type, $value) * * @param int $typeId * @return array - * @since 2.0.0 */ public function getAttributesByType($typeId) { @@ -245,7 +237,6 @@ public function getAttributesByType($typeId) * * @param string $type * @return string - * @since 2.0.0 */ public function getAttributeTypeTable($type) { @@ -261,7 +252,6 @@ public function getAttributeTypeTable($type) * @param int $parentId * @param int $typeId * @return array - * @since 2.0.0 */ public function getChildrenIds($parentId, $typeId) { @@ -292,7 +282,6 @@ public function getChildrenIds($parentId, $typeId) * @param int|array $childId * @param int $typeId * @return string[] - * @since 2.0.0 */ public function getParentIdsByChild($childId, $typeId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php index 0ab6ad1eb2e51..5eeb86d1d91ab 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Link/Collection.php @@ -10,7 +10,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -18,7 +17,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Product object * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -26,7 +24,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Product Link model class * * @var \Magento\Catalog\Model\Product\Link - * @since 2.0.0 */ protected $_linkModel; @@ -34,7 +31,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Product Link Type identifier * * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_linkTypeId; @@ -42,7 +38,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -57,7 +52,6 @@ protected function _construct() * * @param \Magento\Catalog\Model\Product\Link $linkModel * @return $this - * @since 2.0.0 */ public function setLinkModel(\Magento\Catalog\Model\Product\Link $linkModel) { @@ -72,7 +66,6 @@ public function setLinkModel(\Magento\Catalog\Model\Product\Link $linkModel) * Retrieve collection link model * * @return \Magento\Catalog\Model\Product\Link - * @since 2.0.0 */ public function getLinkModel() { @@ -84,7 +77,6 @@ public function getLinkModel() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProduct(\Magento\Catalog\Model\Product $product) { @@ -96,7 +88,6 @@ public function setProduct(\Magento\Catalog\Model\Product $product) * Retrieve collection base product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -107,7 +98,6 @@ public function getProduct() * Add link's type to filter * * @return $this - * @since 2.0.0 */ public function addLinkTypeIdFilter() { @@ -121,7 +111,6 @@ public function addLinkTypeIdFilter() * Add product to filter * * @return $this - * @since 2.0.0 */ public function addProductIdFilter() { @@ -135,7 +124,6 @@ public function addProductIdFilter() * Join attributes * * @return $this - * @since 2.0.0 */ public function joinAttributes() { 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 081dd095bf418..4837d8397898f 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 @@ -11,7 +11,6 @@ * @api * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { @@ -19,7 +18,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Store product model * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -27,7 +25,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Store product link model * * @var \Magento\Catalog\Model\Product\Link - * @since 2.0.0 */ protected $_linkModel; @@ -35,7 +32,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Store link type id * * @var int - * @since 2.0.0 */ protected $_linkTypeId; @@ -43,7 +39,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Store strong mode flag that determine if needed for inner join or left join of linked products * * @var bool - * @since 2.0.0 */ protected $_isStrongMode; @@ -51,7 +46,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Store flag that determine if product filter was enabled * * @var bool - * @since 2.0.0 */ protected $_hasLinkFilter = false; @@ -60,7 +54,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * * @param \Magento\Catalog\Model\Product\Link $linkModel * @return $this - * @since 2.0.0 */ public function setLinkModel(\Magento\Catalog\Model\Product\Link $linkModel) { @@ -75,7 +68,6 @@ public function setLinkModel(\Magento\Catalog\Model\Product\Link $linkModel) * Enable strong mode for inner join of linked products * * @return $this - * @since 2.0.0 */ public function setIsStrongMode() { @@ -87,7 +79,6 @@ public function setIsStrongMode() * Retrieve collection link model * * @return \Magento\Catalog\Model\Product\Link - * @since 2.0.0 */ public function getLinkModel() { @@ -99,7 +90,6 @@ public function getLinkModel() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProduct(\Magento\Catalog\Model\Product $product) { @@ -115,7 +105,6 @@ public function setProduct(\Magento\Catalog\Model\Product $product) * Retrieve collection base product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -127,7 +116,6 @@ public function getProduct() * * @param array $products * @return $this - * @since 2.0.0 */ public function addExcludeProductFilter($products) { @@ -146,7 +134,6 @@ public function addExcludeProductFilter($products) * * @param array|int|string $products * @return $this - * @since 2.0.0 */ public function addProductFilter($products) { @@ -166,7 +153,6 @@ public function addProductFilter($products) * Add random sorting order * * @return $this - * @since 2.0.0 */ public function setRandomOrder() { @@ -179,7 +165,6 @@ public function setRandomOrder() * * @param string $groupBy * @return $this - * @since 2.0.0 */ public function setGroupBy($groupBy = 'e.entity_id') { @@ -191,7 +176,6 @@ public function setGroupBy($groupBy = 'e.entity_id') * Join linked products when specified link model * * @return $this - * @since 2.0.0 */ protected function _beforeLoad() { @@ -206,7 +190,6 @@ protected function _beforeLoad() * Join linked products and their attributes * * @return $this - * @since 2.0.0 */ protected function _joinLinks() { @@ -255,7 +238,6 @@ protected function _joinLinks() * * @param string $dir sort type asc|desc * @return $this - * @since 2.0.0 */ public function setPositionOrder($dir = self::SORT_ORDER_ASC) { @@ -270,7 +252,6 @@ public function setPositionOrder($dir = self::SORT_ORDER_ASC) * * @param string $dir sort type asc|desc * @return $this - * @since 2.0.0 */ public function setAttributeSetIdOrder($dir = self::SORT_ORDER_ASC) { @@ -288,7 +269,6 @@ public function setAttributeSetIdOrder($dir = self::SORT_ORDER_ASC) * Join attributes * * @return $this - * @since 2.0.0 */ public function joinAttributes() { @@ -323,7 +303,6 @@ public function joinAttributes() * @param string|array $attribute * @param string $dir * @return $this - * @since 2.0.0 */ public function setOrder($attribute, $dir = self::SORT_ORDER_ASC) { @@ -340,7 +319,6 @@ public function setOrder($attribute, $dir = self::SORT_ORDER_ASC) * * @param int $type * @return array - * @since 2.0.0 */ public function getLinkAttributes($type = null) { @@ -353,7 +331,6 @@ public function getLinkAttributes($type = null) * @param string $code * @param array $condition * @return $this - * @since 2.0.0 */ public function addLinkAttributeToFilter($code, $condition) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php index 588874fa170a7..0671568b4f401 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByBasePrice.php @@ -14,43 +14,43 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderByBasePrice * - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderByBasePrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 + * @since 2.1.1 */ private $resource; /** * @var \Magento\Eav\Model\Config - * @since 2.2.0 + * @since 2.1.1 */ private $eavConfig; /** * @var \Magento\Catalog\Helper\Data - * @since 2.2.0 + * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessor; @@ -61,7 +61,7 @@ class LinkedProductSelectBuilderByBasePrice implements LinkedProductSelectBuilde * @param \Magento\Catalog\Helper\Data $catalogHelper * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -82,7 +82,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @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 9eed0c4875c1d..4de2308b70249 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderBySpecialPrice.php @@ -13,55 +13,55 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderBySpecialPrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 + * @since 2.1.1 */ private $resource; /** * @var \Magento\Eav\Model\Config - * @since 2.2.0 + * @since 2.1.1 */ private $eavConfig; /** * @var \Magento\Catalog\Helper\Data - * @since 2.2.0 + * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.2.0 + * @since 2.1.1 */ private $dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.2.0 + * @since 2.1.1 */ private $localeDate; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessor; @@ -74,7 +74,7 @@ class LinkedProductSelectBuilderBySpecialPrice implements LinkedProductSelectBui * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -99,7 +99,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @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 f79dcd76787da..a55ad16c5abfd 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderByTierPrice.php @@ -12,7 +12,7 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderByTierPrice * - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilderInterface { @@ -23,37 +23,37 @@ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilde /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 + * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.2.0 + * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Catalog\Helper\Data - * @since 2.2.0 + * @since 2.1.1 */ private $catalogHelper; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessor; @@ -64,7 +64,7 @@ class LinkedProductSelectBuilderByTierPrice implements LinkedProductSelectBuilde * @param \Magento\Catalog\Helper\Data $catalogHelper * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -85,7 +85,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @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 8b55db0f6d6f6..14011049aa32e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderComposite.php @@ -9,19 +9,19 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderComposite * - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderComposite implements LinkedProductSelectBuilderInterface { /** * @var LinkedProductSelectBuilderInterface[] - * @since 2.2.0 + * @since 2.1.1 */ private $linkedProductSelectBuilder; /** * @param LinkedProductSelectBuilderInterface[] $linkedProductSelectBuilder - * @since 2.2.0 + * @since 2.1.1 */ public function __construct($linkedProductSelectBuilder) { @@ -30,7 +30,7 @@ public function __construct($linkedProductSelectBuilder) /** * {@inheritdoc} - * @since 2.2.0 + * @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 9543d8c6ef1bc..00f02a71da460 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php @@ -7,14 +7,14 @@ /** * Provide Select object for retrieve product id with minimal price - * @since 2.2.0 + * @since 2.1.1 */ interface LinkedProductSelectBuilderInterface { /** * @param int $productId * @return \Magento\Framework\DB\Select[] - * @since 2.2.0 + * @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 f36ffb664b94d..953fea2ee6dba 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php @@ -12,7 +12,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -26,7 +25,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -34,7 +32,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Currency factory * * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; @@ -42,7 +39,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core config model * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; @@ -54,7 +50,6 @@ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -73,7 +68,6 @@ public function __construct( * Define main table and initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -85,7 +79,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $object * @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) { @@ -102,7 +95,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $object) { @@ -243,7 +235,6 @@ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $obje * @param \Magento\Framework\Model\AbstractModel $object * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $object) { @@ -323,7 +314,6 @@ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $obje * @param int $optionId * @param int $storeId * @return string - * @since 2.0.0 */ protected function getColFromOptionTable($tableName, $optionId, $storeId) { @@ -346,7 +336,6 @@ protected function getColFromOptionTable($tableName, $optionId, $storeId) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function deletePrices($optionId) { @@ -363,7 +352,6 @@ public function deletePrices($optionId) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function deleteTitles($optionId) { @@ -382,7 +370,6 @@ public function deleteTitles($optionId) * @param int $oldProductId * @param int $newProductId * @return \Magento\Catalog\Model\Product\Option - * @since 2.0.0 */ public function duplicate(\Magento\Catalog\Model\Product\Option $object, $oldProductId, $newProductId) { @@ -466,7 +453,6 @@ public function duplicate(\Magento\Catalog\Model\Product\Option $object, $oldPro * @param int $storeId * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getSearchableData($productId, $storeId) { 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 1ae15ceebb78a..4a85efc6399fb 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Collection.php @@ -15,7 +15,6 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -35,7 +34,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -43,7 +41,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Option value factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Option\Value\CollectionFactory - * @since 2.0.0 */ protected $_optionValueCollectionFactory; @@ -58,7 +55,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource * @param MetadataPool $metadataPool * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -82,7 +78,6 @@ public function __construct( * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -97,7 +92,6 @@ protected function _construct() * * @param int $storeId * @return $this - * @since 2.0.0 */ public function getOptions($storeId) { @@ -111,7 +105,6 @@ public function getOptions($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addTitleToResult($storeId) { @@ -147,7 +140,6 @@ public function addTitleToResult($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addPriceToResult($storeId) { @@ -193,7 +185,6 @@ public function addPriceToResult($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addValuesToResult($storeId = null) { @@ -238,7 +229,6 @@ public function addValuesToResult($storeId = null) * * @param array|\Magento\Catalog\Model\Product|int $product * @return $this - * @since 2.0.0 */ public function addProductToFilter($product) { @@ -309,7 +299,6 @@ public function getProductOptions($productId, $storeId, $requiredOnly = false) * * @param bool $required * @return $this - * @since 2.0.0 */ public function addRequiredFilter($required = true) { @@ -322,7 +311,6 @@ public function addRequiredFilter($required = true) * * @param string|array $optionIds * @return $this - * @since 2.0.0 */ public function addIdsToFilter($optionIds) { @@ -334,7 +322,6 @@ public function addIdsToFilter($optionIds) * Call of protected method reset * * @return $this - * @since 2.0.0 */ public function reset() { 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 0f406a0bf891e..1a1d97d087caa 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php @@ -9,7 +9,6 @@ * Catalog product custom option resource model * * @author Magento Core Team - * @since 2.0.0 */ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -25,7 +23,6 @@ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Currency factory * * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; @@ -33,7 +30,6 @@ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core config model * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_config; @@ -51,7 +47,6 @@ class Value extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\Config\ScopeConfigInterface $config * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -70,7 +65,6 @@ public function __construct( * Define main table and initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +77,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $object * @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) { @@ -100,7 +93,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $object) { @@ -229,7 +221,6 @@ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $obje * @param \Magento\Framework\Model\AbstractModel $object * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $object) { @@ -302,7 +293,6 @@ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $obje * @param int $optionId * @param int $storeId * @return string - * @since 2.0.0 */ protected function getOptionIdFromOptionTable($tableName, $optionId, $storeId) { @@ -325,7 +315,6 @@ protected function getOptionIdFromOptionTable($tableName, $optionId, $storeId) * * @param int $optionId * @return $this - * @since 2.0.0 */ public function deleteValue($optionId) { @@ -352,7 +341,6 @@ public function deleteValue($optionId) * * @param int $optionTypeId * @return void - * @since 2.0.0 */ public function deleteValues($optionTypeId) { @@ -370,7 +358,6 @@ public function deleteValues($optionTypeId) * @param int $oldOptionId * @param int $newOptionId * @return \Magento\Catalog\Model\Product\Option\Value - * @since 2.0.0 */ public function duplicate(\Magento\Catalog\Model\Product\Option\Value $object, $oldOptionId, $newOptionId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php index e1d47d9be9c5e..9b5027d15a43d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value/Collection.php @@ -10,7 +10,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -18,7 +17,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -33,7 +31,6 @@ protected function _construct() * * @param int $storeId * @return $this - * @since 2.0.0 */ public function getValues($storeId) { @@ -47,7 +44,6 @@ public function getValues($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addTitlesToResult($storeId) { @@ -114,7 +110,6 @@ public function addTitlesToResult($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addTitleToResult($storeId) { @@ -148,7 +143,6 @@ public function addTitleToResult($storeId) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function addPriceToResult($storeId) { @@ -196,7 +190,6 @@ public function addPriceToResult($storeId) * @param int $storeId * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getValuesByOption($optionIds, $storeId = null) { @@ -212,7 +205,6 @@ public function getValuesByOption($optionIds, $storeId = null) * * @param array|\Magento\Catalog\Model\Product\Option|int $option * @return $this - * @since 2.0.0 */ public function addOptionToFilter($option) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php index 2dd8c520ae1fa..3c39c0f8fe779 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Relation.php @@ -9,7 +9,6 @@ * Catalog Product Relations Resource model * * @author Magento Core Team - * @since 2.0.0 */ class Relation extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Relation extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Initialize resource model and define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -30,7 +28,6 @@ protected function _construct() * @param int $parentId * @param array $childIds * @return $this - * @since 2.0.0 */ public function processRelations($parentId, $childIds) { @@ -78,7 +75,6 @@ public function addRelation($parentId, $childId) * @param int[] $childIds * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function addRelations($parentId, $childIds) { @@ -99,7 +95,6 @@ public function addRelations($parentId, $childIds) * @param int[] $childIds * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function removeRelations($parentId, $childIds) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php index 5ab64c4d45c95..f54c23ade6b3e 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/StatusBaseSelectProcessor.php @@ -16,25 +16,25 @@ /** * Class StatusBaseSelectProcessor - * @since 2.2.0 + * @since 2.1.3 */ class StatusBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var Config - * @since 2.2.0 + * @since 2.1.3 */ private $eavConfig; /** * @var MetadataPool - * @since 2.2.0 + * @since 2.1.3 */ private $metadataPool; /** * @var StoreResolverInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeResolver; @@ -42,7 +42,7 @@ class StatusBaseSelectProcessor implements BaseSelectProcessorInterface * @param Config $eavConfig * @param MetadataPool $metadataPool * @param StoreResolverInterface $storeResolver - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Config $eavConfig, @@ -57,7 +57,7 @@ public function __construct( /** * @param Select $select * @return Select - * @since 2.2.0 + * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website.php index 83d56f02b73c0..771f781678e44 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Website.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Website.php @@ -7,7 +7,6 @@ /** * Catalog Product Website Resource Model - * @since 2.0.0 */ class Website extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -15,7 +14,6 @@ class Website extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -23,7 +21,6 @@ class Website extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Model\ResourceModel\Db\Context $context * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Initialize connection and define resource table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -52,7 +48,6 @@ protected function _construct() * @param array $productIds * @return $this * @throws \Exception - * @since 2.0.0 */ public function removeProducts($websiteIds, $productIds) { @@ -86,7 +81,6 @@ public function removeProducts($websiteIds, $productIds) * @param array $productIds * @return $this * @throws \Exception - * @since 2.0.0 */ public function addProducts($websiteIds, $productIds) { @@ -123,7 +117,6 @@ public function addProducts($websiteIds, $productIds) * * @param array $productIds * @return array - * @since 2.0.0 */ public function getWebsites($productIds) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Setup/PropertyMapper.php b/app/code/Magento/Catalog/Model/ResourceModel/Setup/PropertyMapper.php index 45d7e219e9c13..b39dd63c6d200 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Setup/PropertyMapper.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Setup/PropertyMapper.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\ResourceModel\Setup\PropertyMapper * - * @since 2.0.0 */ class PropertyMapper extends PropertyMapperAbstract { @@ -23,7 +22,6 @@ class PropertyMapper extends PropertyMapperAbstract * @param int $entityTypeId * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function map(array $input, $entityTypeId) { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Url.php b/app/code/Magento/Catalog/Model/ResourceModel/Url.php index f4d0926a23a15..31a33ee1bffb0 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Url.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Url.php @@ -20,7 +20,6 @@ * @package Magento\Catalog\Model\ResourceModel * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -28,7 +27,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Stores configuration array * * @var array - * @since 2.0.0 */ protected $_stores; @@ -36,7 +34,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Category attribute properties cache * * @var array - * @since 2.0.0 */ protected $_categoryAttributes = []; @@ -44,7 +41,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Product attribute properties cache * * @var array - * @since 2.0.0 */ protected $_productAttributes = []; @@ -52,7 +48,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Limit products for select * * @var int - * @since 2.0.0 */ protected $_productLimit = 250; @@ -60,13 +55,11 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Cache of root category children ids * * @var array - * @since 2.0.0 */ protected $_rootChildrenIds = []; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -74,7 +67,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Catalog category * * @var \Magento\Catalog\Model\Category - * @since 2.0.0 */ protected $_catalogCategory; @@ -82,7 +74,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Catalog product * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_catalogProduct; @@ -90,7 +81,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; @@ -98,13 +88,11 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var Product - * @since 2.0.0 */ protected $productResource; @@ -123,7 +111,6 @@ class Url extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Catalog\Model\Category $catalogCategory * @param \Psr\Log\LoggerInterface $logger * @param null $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -146,7 +133,6 @@ public function __construct( * Load core Url rewrite model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -158,7 +144,6 @@ protected function _construct() * * @param int $storeId * @return \Magento\Store\Model\Store|\Magento\Store\Model\Store[] - * @since 2.0.0 */ public function getStores($storeId = null) { @@ -178,7 +163,6 @@ public function getStores($storeId = null) * @param int|array $categoryIds * @param int $storeId * @return array - * @since 2.0.0 */ protected function _getCategoryAttribute($attributeCode, $categoryIds, $storeId) { @@ -283,7 +267,6 @@ protected function _getCategoryAttribute($attributeCode, $categoryIds, $storeId) * @param int|array $productIds * @param string $storeId * @return array - * @since 2.0.0 */ public function _getProductAttribute($attributeCode, $productIds, $storeId) { @@ -361,7 +344,6 @@ public function _getProductAttribute($attributeCode, $productIds, $storeId) * * @param \Magento\Framework\DataObject $category * @return $this - * @since 2.0.0 */ protected function _prepareCategoryParentId(\Magento\Framework\DataObject $category) { @@ -379,7 +361,6 @@ protected function _prepareCategoryParentId(\Magento\Framework\DataObject $categ * * @param \Magento\Store\Model\Store[] $stores * @return \Magento\Store\Model\Store[] - * @since 2.0.0 */ protected function _prepareStoreRootCategories($stores) { @@ -414,7 +395,6 @@ protected function _prepareStoreRootCategories($stores) * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getCategories($categoryIds, $storeId = null, $path = null) { @@ -514,7 +494,6 @@ protected function _getCategories($categoryIds, $storeId = null, $path = null) * @param int $categoryId * @param int $storeId * @return \Magento\Framework\DataObject|false - * @since 2.0.0 */ public function getCategory($categoryId, $storeId) { @@ -535,7 +514,6 @@ public function getCategory($categoryId, $storeId) * @param int|array $categoryIds * @param int $storeId * @return array|false - * @since 2.0.0 */ public function getCategories($categoryIds, $storeId) { @@ -554,7 +532,6 @@ public function getCategories($categoryIds, $storeId) * @param int $entityId * @param int &$lastEntityId * @return array - * @since 2.0.0 */ protected function _getProducts($productIds, $storeId, $entityId, &$lastEntityId) { @@ -633,7 +610,6 @@ protected function _getProducts($productIds, $storeId, $entityId, &$lastEntityId * @param int $productId * @param int $storeId * @return \Magento\Framework\DataObject|false - * @since 2.0.0 */ public function getProduct($productId, $storeId) { @@ -651,7 +627,6 @@ public function getProduct($productId, $storeId) * @param int $storeId * @param int &$lastEntityId * @return array - * @since 2.0.0 */ public function getProductsByStore($storeId, &$lastEntityId) { @@ -671,7 +646,6 @@ public function getProductsByStore($storeId, &$lastEntityId) * * @param array $products * @return array - * @since 2.0.0 */ public function getRewriteByProductStore(array $products) { diff --git a/app/code/Magento/Catalog/Model/Rss/Category.php b/app/code/Magento/Catalog/Model/Rss/Category.php index 5f83991015089..a58569d1b59d7 100644 --- a/app/code/Magento/Catalog/Model/Rss/Category.php +++ b/app/code/Magento/Catalog/Model/Rss/Category.php @@ -8,25 +8,21 @@ /** * Class Category * @package Magento\Catalog\Model\Rss - * @since 2.0.0 */ class Category { /** * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $catalogLayer; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $visibility; @@ -34,7 +30,6 @@ class Category * @param \Magento\Catalog\Model\Layer\Resolver $layerResolver * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory * @param \Magento\Catalog\Model\Product\Visibility $visibility - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Resolver $layerResolver, @@ -50,7 +45,6 @@ public function __construct( * @param \Magento\Catalog\Model\Category $category * @param int $storeId * @return $this - * @since 2.0.0 */ public function getProductCollection(\Magento\Catalog\Model\Category $category, $storeId) { diff --git a/app/code/Magento/Catalog/Model/Rss/Product/NewProducts.php b/app/code/Magento/Catalog/Model/Rss/Product/NewProducts.php index 74adc3ec5e4f1..10bbe8b749ae7 100644 --- a/app/code/Magento/Catalog/Model/Rss/Product/NewProducts.php +++ b/app/code/Magento/Catalog/Model/Rss/Product/NewProducts.php @@ -8,25 +8,21 @@ /** * Class NewProducts * @package Magento\Catalog\Model\Rss\Product - * @since 2.0.0 */ class NewProducts { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $visibility; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $localeDate; @@ -34,7 +30,6 @@ class NewProducts * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Catalog\Model\Product\Visibility $visibility * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $productFactory, @@ -49,7 +44,6 @@ public function __construct( /** * @param int $storeId * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getProductsCollection($storeId) { diff --git a/app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php b/app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php index 2cb3f31436ddd..eb002f16bbbd3 100644 --- a/app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php +++ b/app/code/Magento/Catalog/Model/Rss/Product/NotifyStock.php @@ -8,25 +8,21 @@ /** * Class NotifyStock * @package Magento\Catalog\Model\Rss\Product - * @since 2.0.0 */ class NotifyStock extends \Magento\Framework\Model\AbstractModel { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\CatalogInventory\Model\ResourceModel\StockFactory - * @since 2.0.0 */ protected $stockFactory; /** * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $productStatus; @@ -34,7 +30,6 @@ class NotifyStock extends \Magento\Framework\Model\AbstractModel * Application Event Dispatcher * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; @@ -43,7 +38,6 @@ class NotifyStock extends \Magento\Framework\Model\AbstractModel * @param \Magento\CatalogInventory\Model\ResourceModel\StockFactory $stockFactory * @param \Magento\Catalog\Model\Product\Attribute\Source\Status $productStatus * @param \Magento\Framework\Event\ManagerInterface $eventManager - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $productFactory, @@ -59,7 +53,6 @@ public function __construct( /** * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getProductsCollection() { diff --git a/app/code/Magento/Catalog/Model/Rss/Product/Special.php b/app/code/Magento/Catalog/Model/Rss/Product/Special.php index a3ed7192edf95..2d25a580d22c5 100644 --- a/app/code/Magento/Catalog/Model/Rss/Product/Special.php +++ b/app/code/Magento/Catalog/Model/Rss/Product/Special.php @@ -8,26 +8,22 @@ /** * Class Special * @package Magento\Catalog\Model\Rss\Product - * @since 2.0.0 */ class Special { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $productFactory, @@ -41,7 +37,6 @@ public function __construct( * @param int $storeId * @param int $customerGroupId * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getProductsCollection($storeId, $customerGroupId) { diff --git a/app/code/Magento/Catalog/Model/Session.php b/app/code/Magento/Catalog/Model/Session.php index 80ac57f088e0b..a4c5a1ce2d51b 100644 --- a/app/code/Magento/Catalog/Model/Session.php +++ b/app/code/Magento/Catalog/Model/Session.php @@ -9,7 +9,6 @@ * Catalog session model * * @api - * @since 2.0.0 */ class Session extends \Magento\Framework\Session\SessionManager { 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 3ce6dacc34830..d2b6c338f012f 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 @@ -24,31 +24,26 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Suffix extends \Magento\Framework\App\Config\Value { /** * @var \Magento\UrlRewrite\Helper\UrlRewrite - * @since 2.0.0 */ protected $urlRewriteHelper; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface - * @since 2.0.0 */ protected $urlFinder; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -77,7 +72,6 @@ class Suffix extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -121,7 +115,6 @@ private function getAppConfig() * Check url rewrite suffix - whether we can support it * * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -131,7 +124,6 @@ public function beforeSave() /** * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -182,7 +174,6 @@ private function isCategorySuffixChanged() * Update suffix for url rewrites * * @return $this - * @since 2.0.0 */ protected function updateSuffixForUrlRewrites() { @@ -221,7 +212,6 @@ protected function updateSuffixForUrlRewrites() /** * @return array|null - * @since 2.0.0 */ protected function getStoreIds() { @@ -241,7 +231,6 @@ protected function getStoreIds() /** * @param array $storeIds * @return array - * @since 2.0.0 */ protected function getOverrideStoreIds($storeIds) { diff --git a/app/code/Magento/Catalog/Model/System/Config/Source/Inputtype.php b/app/code/Magento/Catalog/Model/System/Config/Source/Inputtype.php index b0cd3e8a86f46..f697b4d8698f3 100644 --- a/app/code/Magento/Catalog/Model/System/Config/Source/Inputtype.php +++ b/app/code/Magento/Catalog/Model/System/Config/Source/Inputtype.php @@ -8,14 +8,12 @@ /** * Class \Magento\Catalog\Model\System\Config\Source\Inputtype * - * @since 2.0.0 */ class Inputtype { /** * Get input types which use predefined source * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Catalog/Model/Template/Filter.php b/app/code/Magento/Catalog/Model/Template/Filter.php index fa71e565176e9..a3f4d5004182f 100644 --- a/app/code/Magento/Catalog/Model/Template/Filter.php +++ b/app/code/Magento/Catalog/Model/Template/Filter.php @@ -18,7 +18,6 @@ * Work with catalog(store, website) urls * * @package Magento\Catalog\Model\Template - * @since 2.0.0 */ class Filter extends \Magento\Framework\Filter\Template { @@ -26,7 +25,6 @@ class Filter extends \Magento\Framework\Filter\Template * Use absolute links flag * * @var bool - * @since 2.0.0 */ protected $_useAbsoluteLinks = false; @@ -34,13 +32,11 @@ class Filter extends \Magento\Framework\Filter\Template * Whether to allow SID in store directive: NO * * @var bool - * @since 2.0.0 */ protected $_useSessionInUrl = false; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; @@ -48,7 +44,6 @@ class Filter extends \Magento\Framework\Filter\Template * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -57,7 +52,6 @@ class Filter extends \Magento\Framework\Filter\Template * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\View\Asset\Repository $assetRepo * @param array $variables - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -75,7 +69,6 @@ public function __construct( * * @param bool $flag * @return \Magento\Email\Model\Template\Filter - * @since 2.0.0 */ public function setUseAbsoluteLinks($flag) { @@ -89,7 +82,6 @@ public function setUseAbsoluteLinks($flag) * * @param bool $flag * @return \Magento\Email\Model\Template\Filter - * @since 2.0.0 */ public function setUseSessionInUrl($flag) { @@ -103,7 +95,6 @@ public function setUseSessionInUrl($flag) * @param array $construction * @return string * @see \Magento\Email\Model\Template\Filter::viewDirective() method has been copypasted - * @since 2.0.0 */ public function viewDirective($construction) { @@ -133,7 +124,6 @@ public function viewDirective($construction) * @param array $construction * @return string * @see \Magento\Email\Model\Template\Filter::mediaDirective() method has been copypasted - * @since 2.0.0 */ public function mediaDirective($construction) { @@ -148,7 +138,6 @@ public function mediaDirective($construction) * @param array $construction * @return string * @see \Magento\Email\Model\Template\Filter::storeDirective() method has been copypasted - * @since 2.0.0 */ public function storeDirective($construction) { diff --git a/app/code/Magento/Catalog/Model/Template/Filter/Factory.php b/app/code/Magento/Catalog/Model/Template/Filter/Factory.php index cf8d480567a4b..2d5a25cdf4ef3 100644 --- a/app/code/Magento/Catalog/Model/Template/Filter/Factory.php +++ b/app/code/Magento/Catalog/Model/Template/Filter/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Catalog\Model\Template\Filter\Factory * - * @since 2.0.0 */ class Factory { @@ -20,7 +19,6 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -28,7 +26,6 @@ class Factory * Construct * * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -42,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\Framework\Filter\Template * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function create($className, array $data = []) { diff --git a/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/Date.php b/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/Date.php index fd0106bf39a0e..e982ff5c07427 100644 --- a/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/Date.php +++ b/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/Date.php @@ -9,13 +9,11 @@ /** * Catalog product option date validator - * @since 2.0.0 */ class Date extends \Magento\Catalog\Model\Product\Option\Type\Date { /** * {@inheritdoc} - * @since 2.0.0 */ public function validateUserValue($values) { @@ -28,7 +26,6 @@ public function validateUserValue($values) /** * @param array $values * @return array mixed - * @since 2.0.0 */ protected function formatValues($values) { @@ -51,7 +48,6 @@ protected function formatValues($values) /** * @return bool - * @since 2.0.0 */ public function useCalendar() { diff --git a/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File/Processor.php b/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File/Processor.php index 0dc916eb97cc2..8aadbe63ddf97 100644 --- a/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File/Processor.php +++ b/app/code/Magento/Catalog/Model/Webapi/Product/Option/Type/File/Processor.php @@ -13,32 +13,27 @@ /** * Class \Magento\Catalog\Model\Webapi\Product\Option\Type\File\Processor * - * @since 2.0.0 */ class Processor { /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $filesystem; /** * @var \Magento\Framework\Api\ImageProcessor - * @since 2.0.0 */ protected $imageProcessor; /** * @var string - * @since 2.0.0 */ protected $destinationFolder = 'custom_options/quote'; /** * @param Filesystem $filesystem * @param ImageProcessor $imageProcessor - * @since 2.0.0 */ public function __construct( Filesystem $filesystem, @@ -51,7 +46,6 @@ public function __construct( /** * @param ImageContentInterface $imageContent * @return string - * @since 2.0.0 */ protected function saveFile(ImageContentInterface $imageContent) { @@ -63,7 +57,6 @@ protected function saveFile(ImageContentInterface $imageContent) * @param ImageContentInterface $imageContent * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function processFileContent(ImageContentInterface $imageContent) { diff --git a/app/code/Magento/Catalog/Observer/CatalogCheckIsUsingStaticUrlsAllowedObserver.php b/app/code/Magento/Catalog/Observer/CatalogCheckIsUsingStaticUrlsAllowedObserver.php index 94019e0b8645c..46a993abd4207 100644 --- a/app/code/Magento/Catalog/Observer/CatalogCheckIsUsingStaticUrlsAllowedObserver.php +++ b/app/code/Magento/Catalog/Observer/CatalogCheckIsUsingStaticUrlsAllowedObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Catalog\Observer\CatalogCheckIsUsingStaticUrlsAllowedObserver * - * @since 2.0.0 */ class CatalogCheckIsUsingStaticUrlsAllowedObserver implements ObserverInterface { @@ -18,13 +17,11 @@ class CatalogCheckIsUsingStaticUrlsAllowedObserver implements ObserverInterface * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $catalogData; /** * @param \Magento\Catalog\Helper\Data $catalogData - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Helper\Data $catalogData) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Catalog\Helper\Data $catalogData) * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Catalog/Observer/Compare/BindCustomerLoginObserver.php b/app/code/Magento/Catalog/Observer/Compare/BindCustomerLoginObserver.php index 22971570743e6..27e1b44704156 100644 --- a/app/code/Magento/Catalog/Observer/Compare/BindCustomerLoginObserver.php +++ b/app/code/Magento/Catalog/Observer/Compare/BindCustomerLoginObserver.php @@ -11,13 +11,11 @@ /** * Catalog Compare Item Model * - * @since 2.0.0 */ class BindCustomerLoginObserver implements ObserverInterface { /** * @param Item $item - * @since 2.0.0 */ public function __construct( Item $item @@ -31,7 +29,6 @@ public function __construct( * @return $this * * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Catalog/Observer/Compare/BindCustomerLogoutObserver.php b/app/code/Magento/Catalog/Observer/Compare/BindCustomerLogoutObserver.php index bd119bae70967..11b8d3f854f65 100644 --- a/app/code/Magento/Catalog/Observer/Compare/BindCustomerLogoutObserver.php +++ b/app/code/Magento/Catalog/Observer/Compare/BindCustomerLogoutObserver.php @@ -11,13 +11,11 @@ /** * Catalog Compare Item Model * - * @since 2.0.0 */ class BindCustomerLogoutObserver implements ObserverInterface { /** * @param Item $item - * @since 2.0.0 */ public function __construct( Item $item @@ -31,7 +29,6 @@ public function __construct( * @return $this * * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Catalog/Observer/MenuCategoryData.php b/app/code/Magento/Catalog/Observer/MenuCategoryData.php index 02f71d50a0021..63fe0258249cd 100644 --- a/app/code/Magento/Catalog/Observer/MenuCategoryData.php +++ b/app/code/Magento/Catalog/Observer/MenuCategoryData.php @@ -8,7 +8,6 @@ /** * Class \Magento\Catalog\Observer\MenuCategoryData * - * @since 2.0.0 */ class MenuCategoryData { @@ -16,7 +15,6 @@ class MenuCategoryData * Catalog category * * @var \Magento\Catalog\Helper\Category - * @since 2.0.0 */ protected $catalogCategory; @@ -24,7 +22,6 @@ class MenuCategoryData * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ private $catalogLayer = null; @@ -32,13 +29,11 @@ class MenuCategoryData * Catalog layer resolver * * @var \Magento\Catalog\Model\Layer\Resolver - * @since 2.0.0 */ protected $layerResolver; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; @@ -46,7 +41,6 @@ class MenuCategoryData * @param \Magento\Catalog\Helper\Category $catalogCategory * @param \Magento\Catalog\Model\Layer\Resolver $layerResolver * @param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Category $catalogCategory, @@ -63,7 +57,6 @@ public function __construct( * * @param \Magento\Framework\Data\Tree\Node $category * @return array - * @since 2.0.0 */ public function getMenuCategoryData($category) { @@ -92,7 +85,6 @@ public function getMenuCategoryData($category) * * @param \Magento\Framework\Data\Tree\Node $category * @return bool - * @since 2.0.0 */ protected function hasActive($category) { @@ -113,7 +105,6 @@ protected function hasActive($category) /** * Get catalog layer * @return \Magento\Catalog\Model\Layer - * @since 2.0.0 */ private function getCatalogLayer() { diff --git a/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php b/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php index b8aff6259fd52..d03a8a64a25c4 100644 --- a/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php +++ b/app/code/Magento/Catalog/Observer/SwitchPriceAttributeScopeOnConfigChange.php @@ -16,25 +16,25 @@ /** * Observer is responsible for changing scope for all price attributes in system * depending on 'Catalog Price Scope' configuration parameter - * @since 2.2.0 + * @since 2.1.3 */ class SwitchPriceAttributeScopeOnConfigChange implements ObserverInterface { /** * @var ReinitableConfigInterface - * @since 2.2.0 + * @since 2.1.3 */ private $config; /** * @var ProductAttributeRepositoryInterface - * @since 2.2.0 + * @since 2.1.3 */ private $productAttributeRepository; /** * @var SearchCriteriaBuilder - * @since 2.2.0 + * @since 2.1.3 */ private $searchCriteriaBuilder; @@ -42,7 +42,7 @@ class SwitchPriceAttributeScopeOnConfigChange implements ObserverInterface * @param ReinitableConfigInterface $config * @param ProductAttributeRepositoryInterface $productAttributeRepository * @param SearchCriteriaBuilder $searchCriteriaBuilder - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ReinitableConfigInterface $config, @@ -61,7 +61,7 @@ public function __construct( * @param EventObserver $observer * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/Execute.php b/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/Execute.php index afc6153099ddd..53e7add165aa0 100644 --- a/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/Execute.php +++ b/app/code/Magento/Catalog/Plugin/Model/Indexer/Category/Product/Execute.php @@ -11,26 +11,22 @@ /** * Class \Magento\Catalog\Plugin\Model\Indexer\Category\Product\Execute * - * @since 2.0.0 */ class Execute { /** * @var \Magento\PageCache\Model\Config - * @since 2.0.0 */ protected $config; /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $typeList; /** * @param \Magento\PageCache\Model\Config $config * @param \Magento\Framework\App\Cache\TypeListInterface $typeList - * @since 2.0.0 */ public function __construct( \Magento\PageCache\Model\Config $config, @@ -46,7 +42,6 @@ public function __construct( * @return AbstractAction * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterExecute(AbstractAction $subject, AbstractAction $result) { 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 3e12bf8be5ac9..a3145b7502467 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,21 +11,18 @@ use Psr\Log\LoggerInterface; /** - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.3 */ class MaxHeapTableSizeProcessorOnFullReindex { /** * @var MaxHeapTableSizeProcessor - * @since 2.0.0 */ protected $maxHeapTableSizeProcessor; /** * @param MaxHeapTableSizeProcessor $maxHeapTableSizeProcessor * @param LoggerInterface $logger - * @since 2.0.0 */ public function __construct( MaxHeapTableSizeProcessor $maxHeapTableSizeProcessor, @@ -39,7 +36,6 @@ public function __construct( * @param Full $subject * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeExecute(Full $subject) { @@ -55,7 +51,6 @@ public function beforeExecute(Full $subject) * @param Full $result * @return Full * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterExecute(Full $subject, Full $result) { 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 ca59e9dc24cfa..1c0bdddfeea65 100644 --- a/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php +++ b/app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php @@ -12,26 +12,22 @@ /** * Class \Magento\Catalog\Plugin\Model\Product\Action\UpdateAttributesFlushCache * - * @since 2.0.0 */ class UpdateAttributesFlushCache { /** * @var CacheContext - * @since 2.0.0 */ protected $cacheContext; /** * @var EventManager - * @since 2.0.0 */ protected $eventManager; /** * @param CacheContext $cacheContext * @param EventManager $eventManager - * @since 2.0.0 */ public function __construct( CacheContext $cacheContext, 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 10c53506e7408..607d7189a0bfc 100644 --- a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php +++ b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Attribute/Save.php @@ -13,26 +13,22 @@ /** * Class \Magento\Catalog\Plugin\Model\ResourceModel\Attribute\Save * - * @since 2.0.0 */ class Save { /** * @var Config - * @since 2.0.0 */ protected $config; /** * @var TypeListInterface - * @since 2.0.0 */ protected $typeList; /** * @param Config $config * @param TypeListInterface $typeList - * @since 2.0.0 */ public function __construct(Config $config, TypeListInterface $typeList) { diff --git a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php index 0df38881751a3..0d8b346a943fd 100644 --- a/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php +++ b/app/code/Magento/Catalog/Plugin/Model/ResourceModel/Config.php @@ -11,7 +11,6 @@ /** * Class \Magento\Catalog\Plugin\Model\ResourceModel\Config * - * @since 2.0.0 */ class Config { @@ -22,15 +21,11 @@ class Config const PRODUCT_LISTING_SORT_BY_ATTRIBUTES_CACHE_ID = 'PRODUCT_LISTING_SORT_BY_ATTRIBUTES'; /**#@-*/ - /** - * @var \Magento\Framework\App\CacheInterface - * @since 2.0.0 - */ + /**#@-*/ protected $cache; /** * @var bool|null - * @since 2.0.0 */ protected $isCacheEnabled = null; @@ -44,7 +39,6 @@ class Config * @param \Magento\Framework\App\CacheInterface $cache * @param \Magento\Framework\App\Cache\StateInterface $cacheState * @param SerializerInterface $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\CacheInterface $cache, @@ -60,7 +54,6 @@ public function __construct( * @param \Magento\Catalog\Model\ResourceModel\Config $config * @param callable $proceed * @return array - * @since 2.0.0 */ public function aroundGetAttributesUsedInListing( \Magento\Catalog\Model\ResourceModel\Config $config, @@ -88,7 +81,6 @@ public function aroundGetAttributesUsedInListing( * @param \Magento\Catalog\Model\ResourceModel\Config $config * @param callable $proceed * @return array - * @since 2.0.0 */ public function aroundGetAttributesUsedForSortBy( \Magento\Catalog\Model\ResourceModel\Config $config, diff --git a/app/code/Magento/Catalog/Pricing/Price/BasePrice.php b/app/code/Magento/Catalog/Pricing/Price/BasePrice.php index d66aff8ad273a..54a13be864db7 100644 --- a/app/code/Magento/Catalog/Pricing/Price/BasePrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/BasePrice.php @@ -11,7 +11,6 @@ /** * Class BasePrice - * @since 2.0.0 */ class BasePrice extends AbstractPrice { @@ -24,7 +23,6 @@ class BasePrice extends AbstractPrice * Get Base Price Value * * @return float|bool - * @since 2.0.0 */ public function getValue() { diff --git a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPrice.php b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPrice.php index 21affa31fa0dd..87d031d8d5b35 100644 --- a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPrice.php @@ -12,7 +12,6 @@ /** * Configured price model - * @since 2.0.0 */ class ConfiguredPrice extends FinalPrice implements ConfiguredPriceInterface { @@ -23,7 +22,6 @@ class ConfiguredPrice extends FinalPrice implements ConfiguredPriceInterface /** * @var null|ItemInterface - * @since 2.0.0 */ protected $item; @@ -33,7 +31,6 @@ class ConfiguredPrice extends FinalPrice implements ConfiguredPriceInterface * @param CalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param ItemInterface $item - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -49,7 +46,6 @@ public function __construct( /** * @param ItemInterface $item * @return $this - * @since 2.0.0 */ public function setItem(ItemInterface $item) { @@ -61,7 +57,6 @@ public function setItem(ItemInterface $item) * Get value of configured options * * @return array - * @since 2.0.0 */ protected function getOptionsValue() { @@ -90,7 +85,6 @@ protected function getOptionsValue() * Price value of product with configured options * * @return bool|float - * @since 2.0.0 */ public function getValue() { diff --git a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php index 8eb1a2f397118..e6d35a0f5239a 100644 --- a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php @@ -10,7 +10,6 @@ /** * Configured price interface - * @since 2.0.0 */ interface ConfiguredPriceInterface { @@ -22,7 +21,6 @@ interface ConfiguredPriceInterface /** * @param ItemInterface $item * @return $this - * @since 2.0.0 */ public function setItem(ItemInterface $item); } diff --git a/app/code/Magento/Catalog/Pricing/Price/CustomOptionPrice.php b/app/code/Magento/Catalog/Pricing/Price/CustomOptionPrice.php index 725555ccb4590..5026286610118 100644 --- a/app/code/Magento/Catalog/Pricing/Price/CustomOptionPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/CustomOptionPrice.php @@ -15,7 +15,6 @@ /** * Class OptionPrice * - * @since 2.0.0 */ class CustomOptionPrice extends AbstractPrice implements CustomOptionPriceInterface { @@ -26,7 +25,6 @@ class CustomOptionPrice extends AbstractPrice implements CustomOptionPriceInterf /** * @var array - * @since 2.0.0 */ protected $priceOptions; @@ -34,7 +32,6 @@ class CustomOptionPrice extends AbstractPrice implements CustomOptionPriceInterf * Code of parent adjustment to be skipped from calculation * * @var string - * @since 2.0.0 */ protected $excludeAdjustment = null; @@ -44,7 +41,6 @@ class CustomOptionPrice extends AbstractPrice implements CustomOptionPriceInterf * @param CalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param array $excludeAdjustment - * @since 2.0.0 */ public function __construct( SaleableInterface $saleableItem, @@ -63,7 +59,6 @@ public function __construct( * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getValue() { @@ -122,7 +117,6 @@ public function getValue() * @param null|bool|string|array $exclude * @param null|array $context * @return AmountInterface|bool|float - * @since 2.0.0 */ public function getCustomAmount($amount = null, $exclude = null, $context = []) { @@ -140,7 +134,6 @@ public function getCustomAmount($amount = null, $exclude = null, $context = []) * * @param bool $getMin * @return float - * @since 2.0.0 */ public function getCustomOptionRange($getMin) { @@ -160,7 +153,6 @@ public function getCustomOptionRange($getMin) * Return price for select custom options * * @return float - * @since 2.0.0 */ public function getSelectedOptions() { @@ -189,7 +181,6 @@ public function getSelectedOptions() * * @param array $values * @return float - * @since 2.0.0 */ protected function processOptions(array $values) { @@ -213,7 +204,6 @@ protected function processOptions(array $values) * Get Product Options * * @return array - * @since 2.0.0 */ public function getOptions() { diff --git a/app/code/Magento/Catalog/Pricing/Price/CustomOptionPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/CustomOptionPriceInterface.php index 25ea6ffd4b731..b969b948a80a5 100644 --- a/app/code/Magento/Catalog/Pricing/Price/CustomOptionPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/CustomOptionPriceInterface.php @@ -9,7 +9,6 @@ * Option price interface * * @api - * @since 2.0.0 */ interface CustomOptionPriceInterface { @@ -22,7 +21,6 @@ interface CustomOptionPriceInterface * Return calculated options * * @return array - * @since 2.0.0 */ public function getOptions(); @@ -31,7 +29,6 @@ public function getOptions(); * * @param bool $getMin * @return float - * @since 2.0.0 */ public function getCustomOptionRange($getMin); } diff --git a/app/code/Magento/Catalog/Pricing/Price/FinalPrice.php b/app/code/Magento/Catalog/Pricing/Price/FinalPrice.php index 5f7ab28634aad..5aea8a7381936 100644 --- a/app/code/Magento/Catalog/Pricing/Price/FinalPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/FinalPrice.php @@ -11,7 +11,6 @@ /** * Final price model - * @since 2.0.0 */ class FinalPrice extends AbstractPrice implements FinalPriceInterface { @@ -22,19 +21,16 @@ class FinalPrice extends AbstractPrice implements FinalPriceInterface /** * @var BasePrice - * @since 2.0.0 */ private $basePrice; /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $minimalPrice; /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $maximalPrice; @@ -42,7 +38,6 @@ class FinalPrice extends AbstractPrice implements FinalPriceInterface * Get Value * * @return float|bool - * @since 2.0.0 */ public function getValue() { @@ -53,7 +48,6 @@ public function getValue() * Get Minimal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinimalPrice() { @@ -73,7 +67,6 @@ public function getMinimalPrice() * Get Maximal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaximalPrice() { @@ -93,7 +86,6 @@ public function getMaximalPrice() * Retrieve base price instance lazily * * @return BasePrice|\Magento\Framework\Pricing\Price\PriceInterface - * @since 2.0.0 */ protected function getBasePrice() { diff --git a/app/code/Magento/Catalog/Pricing/Price/FinalPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/FinalPriceInterface.php index d044d165af41f..4523e054df07c 100644 --- a/app/code/Magento/Catalog/Pricing/Price/FinalPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/FinalPriceInterface.php @@ -10,7 +10,6 @@ * Special price interface * * @api - * @since 2.0.0 */ interface FinalPriceInterface { @@ -18,7 +17,6 @@ interface FinalPriceInterface * Get Minimal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinimalPrice(); @@ -26,7 +24,6 @@ public function getMinimalPrice(); * Get Maximal Price Amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaximalPrice(); } diff --git a/app/code/Magento/Catalog/Pricing/Price/RegularPrice.php b/app/code/Magento/Catalog/Pricing/Price/RegularPrice.php index 0d893f2d46ee1..609255d852da3 100644 --- a/app/code/Magento/Catalog/Pricing/Price/RegularPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/RegularPrice.php @@ -11,7 +11,6 @@ /** * Class RegularPrice - * @since 2.0.0 */ class RegularPrice extends AbstractPrice implements BasePriceProviderInterface { @@ -24,7 +23,6 @@ class RegularPrice extends AbstractPrice implements BasePriceProviderInterface * Get price value * * @return float|bool - * @since 2.0.0 */ public function getValue() { diff --git a/app/code/Magento/Catalog/Pricing/Price/SpecialPrice.php b/app/code/Magento/Catalog/Pricing/Price/SpecialPrice.php index 293f8654793cb..b1bfc6ff4ad6f 100644 --- a/app/code/Magento/Catalog/Pricing/Price/SpecialPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/SpecialPrice.php @@ -14,7 +14,6 @@ /** * Special price model - * @since 2.0.0 */ class SpecialPrice extends AbstractPrice implements SpecialPriceInterface, BasePriceProviderInterface { @@ -25,7 +24,6 @@ class SpecialPrice extends AbstractPrice implements SpecialPriceInterface, BaseP /** * @var TimezoneInterface - * @since 2.0.0 */ protected $localeDate; @@ -35,7 +33,6 @@ class SpecialPrice extends AbstractPrice implements SpecialPriceInterface, BaseP * @param CalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param TimezoneInterface $localeDate - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -50,7 +47,6 @@ public function __construct( /** * @return bool|float - * @since 2.0.0 */ public function getValue() { @@ -69,7 +65,6 @@ public function getValue() * Returns special price * * @return float - * @since 2.0.0 */ public function getSpecialPrice() { @@ -84,7 +79,6 @@ public function getSpecialPrice() * Returns starting date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialFromDate() { @@ -95,7 +89,6 @@ public function getSpecialFromDate() * Returns end date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialToDate() { @@ -104,7 +97,6 @@ public function getSpecialToDate() /** * @return bool - * @since 2.0.0 */ public function isScopeDateInInterval() { @@ -117,7 +109,6 @@ public function isScopeDateInInterval() /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount() { diff --git a/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php index 56bde12f79572..f7a8fa0c9d77c 100644 --- a/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php @@ -8,7 +8,6 @@ /** * Special price interface - * @since 2.0.0 */ interface SpecialPriceInterface { @@ -16,7 +15,6 @@ interface SpecialPriceInterface * Returns special price * * @return float - * @since 2.0.0 */ public function getSpecialPrice(); @@ -24,7 +22,6 @@ public function getSpecialPrice(); * Returns starting date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialFromDate(); @@ -32,19 +29,16 @@ public function getSpecialFromDate(); * Returns end date of the special price * * @return mixed - * @since 2.0.0 */ public function getSpecialToDate(); /** * @return bool - * @since 2.0.0 */ public function isScopeDateInInterval(); /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount(); } diff --git a/app/code/Magento/Catalog/Pricing/Price/TierPrice.php b/app/code/Magento/Catalog/Pricing/Price/TierPrice.php index 525daf3c1fda2..01c837f854856 100644 --- a/app/code/Magento/Catalog/Pricing/Price/TierPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/TierPrice.php @@ -19,7 +19,6 @@ /** * @api - * @since 2.0.0 */ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePriceProviderInterface { @@ -30,13 +29,11 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr /** * @var Session - * @since 2.0.0 */ protected $customerSession; /** * @var int - * @since 2.0.0 */ protected $customerGroup; @@ -44,7 +41,6 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr * Raw price list stored in DB * * @var array - * @since 2.0.0 */ protected $rawPriceList; @@ -52,13 +48,11 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr * Applicable price list * * @var array - * @since 2.0.0 */ protected $priceList; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; @@ -69,7 +63,6 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param Session $customerSession * @param GroupManagementInterface $groupManagement - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -94,7 +87,6 @@ public function __construct( * Get price value * * @return bool|float - * @since 2.0.0 */ public function getValue() { @@ -127,7 +119,6 @@ public function getValue() * @param float $firstPrice * @param float $secondPrice * @return bool - * @since 2.0.0 */ protected function isFirstPriceBetter($firstPrice, $secondPrice) { @@ -136,7 +127,6 @@ protected function isFirstPriceBetter($firstPrice, $secondPrice) /** * @return int - * @since 2.0.0 */ public function getTierPriceCount() { @@ -145,7 +135,6 @@ public function getTierPriceCount() /** * @return array - * @since 2.0.0 */ public function getTierPriceList() { @@ -167,7 +156,6 @@ function (&$priceData) { /** * @param array $priceList * @return array - * @since 2.0.0 */ protected function filterTierPrices(array $priceList) { @@ -207,7 +195,6 @@ protected function filterTierPrices(array $priceList) /** * @return float - * @since 2.0.0 */ protected function getBasePrice() { @@ -218,7 +205,6 @@ protected function getBasePrice() /** * @param AmountInterface $amount * @return float - * @since 2.0.0 */ public function getSavePercent(AmountInterface $amount) { @@ -231,7 +217,6 @@ public function getSavePercent(AmountInterface $amount) /** * @param float|string $price * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected function applyAdjustment($price) { @@ -245,7 +230,6 @@ protected function applyAdjustment($price) * @param int $prevPriceGroup * @param float|string $prevQty * @return bool - * @since 2.0.0 */ protected function canApplyTierPrice(array $currentTierPrice, $prevPriceGroup, $prevQty) { @@ -280,7 +264,6 @@ protected function canApplyTierPrice(array $currentTierPrice, $prevPriceGroup, $ * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function getStoredTierPrices() { @@ -315,7 +298,6 @@ protected function getStoredTierPrices() /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount() { diff --git a/app/code/Magento/Catalog/Pricing/Price/TierPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/TierPriceInterface.php index 89f96f1f364d7..96837e7072667 100644 --- a/app/code/Magento/Catalog/Pricing/Price/TierPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/TierPriceInterface.php @@ -10,25 +10,21 @@ * Tier price interface * * @api - * @since 2.0.0 */ interface TierPriceInterface { /** * @return array - * @since 2.0.0 */ public function getTierPriceList(); /** * @return int - * @since 2.0.0 */ public function getTierPriceCount(); /** * @return bool - * @since 2.0.0 */ public function isPercentageDiscount(); } diff --git a/app/code/Magento/Catalog/Pricing/Render.php b/app/code/Magento/Catalog/Pricing/Render.php index 738310df8b5e2..9a584e46e2cae 100644 --- a/app/code/Magento/Catalog/Pricing/Render.php +++ b/app/code/Magento/Catalog/Pricing/Render.php @@ -18,13 +18,11 @@ * @api * @method string getPriceRender() * @method string getPriceTypeCode() - * @since 2.0.0 */ class Render extends Template { /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; @@ -34,7 +32,6 @@ class Render extends Template * @param Template\Context $context * @param Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -49,7 +46,6 @@ public function __construct( * Produce and return block's html output * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -70,7 +66,6 @@ protected function _toHtml() * Returns saleable item instance * * @return Product - * @since 2.0.0 */ protected function getProduct() { diff --git a/app/code/Magento/Catalog/Pricing/Render/ConfiguredPriceBox.php b/app/code/Magento/Catalog/Pricing/Render/ConfiguredPriceBox.php index d38c6f58d8b14..0722f018ae4eb 100644 --- a/app/code/Magento/Catalog/Pricing/Render/ConfiguredPriceBox.php +++ b/app/code/Magento/Catalog/Pricing/Render/ConfiguredPriceBox.php @@ -10,7 +10,6 @@ /** * Class for configured_price rendering - * @since 2.0.0 */ class ConfiguredPriceBox extends FinalPriceBox { @@ -18,7 +17,6 @@ class ConfiguredPriceBox extends FinalPriceBox * Retrieve an item instance to the configured price model * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php b/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php index d9399a3fd244d..e3b3ec095fafd 100644 --- a/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php +++ b/app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php @@ -22,13 +22,12 @@ * * @method bool getUseLinkForAsLowAs() * @method bool getDisplayMinimalPrice() - * @since 2.0.0 */ class FinalPriceBox extends BasePriceBox { /** * @var SalableResolverInterface - * @since 2.2.0 + * @since 2.1.3 */ private $salableResolver; @@ -46,7 +45,7 @@ class FinalPriceBox extends BasePriceBox * @param array $data * @param SalableResolverInterface $salableResolver * @param MinimalPriceCalculatorInterface $minimalPriceCalculator - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Context $context, @@ -65,7 +64,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -95,7 +93,7 @@ protected function _toHtml() * Check is MSRP applicable for the current product. * * @return bool - * @since 2.2.0 + * @since 2.1.4 */ protected function isMsrpPriceApplicable() { @@ -116,7 +114,6 @@ protected function isMsrpPriceApplicable() * * @param string $html * @return string - * @since 2.0.0 */ protected function wrapResult($html) { @@ -130,7 +127,6 @@ protected function wrapResult($html) * Render minimal amount * * @return string - * @since 2.0.0 */ public function renderAmountMinimal() { @@ -156,7 +152,6 @@ public function renderAmountMinimal() * Define if the special price should be shown * * @return bool - * @since 2.0.0 */ public function hasSpecialPrice() { @@ -169,7 +164,6 @@ public function hasSpecialPrice() * Define if the minimal price should be shown * * @return bool - * @since 2.0.0 */ public function showMinimalPrice() { @@ -188,7 +182,7 @@ public function showMinimalPrice() * Get Key for caching block content * * @return string - * @since 2.2.0 + * @since 2.1.1 */ public function getCacheKey() { @@ -199,7 +193,7 @@ public function getCacheKey() * {@inheritdoc} * * @return array - * @since 2.2.0 + * @since 2.1.1 */ public function getCacheKeyInfo() { @@ -214,7 +208,7 @@ public function getCacheKeyInfo() * By default (if flag is not set) is false * * @return bool - * @since 2.2.0 + * @since 2.1.6 */ public function isProductList() { diff --git a/app/code/Magento/Catalog/Pricing/Render/PriceBox.php b/app/code/Magento/Catalog/Pricing/Render/PriceBox.php index 24f60e1d65aed..190168ed583fc 100644 --- a/app/code/Magento/Catalog/Pricing/Render/PriceBox.php +++ b/app/code/Magento/Catalog/Pricing/Render/PriceBox.php @@ -18,19 +18,16 @@ * * @method string getPriceElementIdPrefix() * @method string getIdSuffix() - * @since 2.0.0 */ class PriceBox extends PriceBoxRender { /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; @@ -43,7 +40,6 @@ class PriceBox extends PriceBoxRender * @param Random $mathRandom * @param array $data * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( Context $context, @@ -64,7 +60,6 @@ public function __construct( * * @param mixed $valueToEncode * @return string - * @since 2.0.0 */ public function jsonEncode($valueToEncode) { @@ -77,7 +72,6 @@ public function jsonEncode($valueToEncode) * @param int $length * @param string|null $chars * @return string - * @since 2.0.0 */ public function getRandomString($length, $chars = null) { @@ -90,7 +84,6 @@ public function getRandomString($length, $chars = null) * @param Product $product * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCanDisplayQty(Product $product) { diff --git a/app/code/Magento/Catalog/Setup/CategorySetup.php b/app/code/Magento/Catalog/Setup/CategorySetup.php index 15c2e31162196..f85407a9a9d7a 100644 --- a/app/code/Magento/Catalog/Setup/CategorySetup.php +++ b/app/code/Magento/Catalog/Setup/CategorySetup.php @@ -17,7 +17,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CategorySetup extends EavSetup { @@ -25,7 +24,6 @@ class CategorySetup extends EavSetup * Category model factory * * @var CategoryFactory - * @since 2.0.0 */ private $categoryFactory; @@ -47,7 +45,6 @@ class CategorySetup extends EavSetup * @param CacheInterface $cache * @param CollectionFactory $attrGroupCollectionFactory * @param CategoryFactory $categoryFactory - * @since 2.0.0 */ public function __construct( ModuleDataSetupInterface $setup, @@ -66,7 +63,6 @@ public function __construct( * @param array $data * @return \Magento\Catalog\Model\Category * @codeCoverageIgnore - * @since 2.0.0 */ public function createCategory($data = []) { @@ -78,7 +74,6 @@ public function createCategory($data = []) * * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getDefaultEntities() { diff --git a/app/code/Magento/Catalog/Setup/InstallData.php b/app/code/Magento/Catalog/Setup/InstallData.php index fd9b8ef683304..a7867dee0fa92 100644 --- a/app/code/Magento/Catalog/Setup/InstallData.php +++ b/app/code/Magento/Catalog/Setup/InstallData.php @@ -14,7 +14,6 @@ /** * @codeCoverageIgnore * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -22,7 +21,6 @@ class InstallData implements InstallDataInterface * Category setup factory * * @var CategorySetupFactory - * @since 2.0.0 */ private $categorySetupFactory; @@ -50,7 +48,6 @@ private function getDefaultCategory() * Init * * @param CategorySetupFactory $categorySetupFactory - * @since 2.0.0 */ public function __construct(CategorySetupFactory $categorySetupFactory) { @@ -62,7 +59,6 @@ public function __construct(CategorySetupFactory $categorySetupFactory) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Catalog/Setup/InstallSchema.php b/app/code/Magento/Catalog/Setup/InstallSchema.php index a7216480b2440..a96f58ecc046a 100644 --- a/app/code/Magento/Catalog/Setup/InstallSchema.php +++ b/app/code/Magento/Catalog/Setup/InstallSchema.php @@ -12,7 +12,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { @@ -20,7 +19,6 @@ class InstallSchema implements InstallSchemaInterface * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @throws \Zend_Db_Exception - * @since 2.0.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 0d0be0ea651a0..4c0c1b0246837 100644 --- a/app/code/Magento/Catalog/Setup/UpgradeData.php +++ b/app/code/Magento/Catalog/Setup/UpgradeData.php @@ -14,7 +14,6 @@ * Upgrade Data script * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class UpgradeData implements UpgradeDataInterface { @@ -22,7 +21,6 @@ class UpgradeData implements UpgradeDataInterface * Category setup factory * * @var CategorySetupFactory - * @since 2.0.0 */ private $categorySetupFactory; @@ -53,7 +51,6 @@ class UpgradeData implements UpgradeDataInterface * @param \Magento\Eav\Setup\EavSetupFactory $eavSetupFactory * @param UpgradeWidgetData $upgradeWidgetData * @param UpgradeWebsiteAttributes $upgradeWebsiteAttributes - * @since 2.0.0 */ public function __construct( CategorySetupFactory $categorySetupFactory, @@ -72,7 +69,6 @@ public function __construct( * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -428,7 +424,7 @@ private function disallowUsingHtmlForProductName(ModuleDataSetupInterface $setup /** * @param CategorySetup $categorySetup * @return void - * @since 2.2.0 + * @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 8edca5616bb21..a6c9a5ec5c992 100755 --- a/app/code/Magento/Catalog/Setup/UpgradeSchema.php +++ b/app/code/Magento/Catalog/Setup/UpgradeSchema.php @@ -15,14 +15,12 @@ /** * Upgrade the Catalog module DB scheme - * @since 2.0.0 */ class UpgradeSchema implements UpgradeSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { @@ -335,7 +333,6 @@ protected function addUniqueKeyToCategoryProductTable(SchemaSetupInterface $setu * * @param SchemaSetupInterface $setup * @return void - * @since 2.0.0 */ protected function createValueToEntityTable(SchemaSetupInterface $setup) { @@ -399,7 +396,6 @@ protected function createValueToEntityTable(SchemaSetupInterface $setup) * * @param SchemaSetupInterface $setup * @return void - * @since 2.0.0 */ protected function addForeignKeys(SchemaSetupInterface $setup) { @@ -438,7 +434,6 @@ protected function addForeignKeys(SchemaSetupInterface $setup) /** * @param SchemaSetupInterface $setup * @return void - * @since 2.0.0 */ private function addSupportVideoMediaAttributes(SchemaSetupInterface $setup) { @@ -533,7 +528,6 @@ private function addSupportVideoMediaAttributes(SchemaSetupInterface $setup) * Remove Group Price * @param SchemaSetupInterface $setup * @return void - * @since 2.0.0 */ private function removeGroupPrice(SchemaSetupInterface $setup) { diff --git a/app/code/Magento/Catalog/Ui/Component/ColumnFactory.php b/app/code/Magento/Catalog/Ui/Component/ColumnFactory.php index 4f874a92d2581..14b35a043c5dd 100644 --- a/app/code/Magento/Catalog/Ui/Component/ColumnFactory.php +++ b/app/code/Magento/Catalog/Ui/Component/ColumnFactory.php @@ -7,19 +7,16 @@ /** * @api - * @since 2.0.0 */ class ColumnFactory { /** * @var \Magento\Framework\View\Element\UiComponentFactory - * @since 2.0.0 */ protected $componentFactory; /** * @var array - * @since 2.0.0 */ protected $jsComponentMap = [ 'text' => 'Magento_Ui/js/grid/columns/column', @@ -30,7 +27,6 @@ class ColumnFactory /** * @var array - * @since 2.0.0 */ protected $dataTypeMap = [ 'default' => 'text', @@ -43,7 +39,6 @@ class ColumnFactory /** * @param \Magento\Framework\View\Element\UiComponentFactory $componentFactory - * @since 2.0.0 */ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $componentFactory) { @@ -55,7 +50,6 @@ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $ * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context * @param array $config * @return \Magento\Ui\Component\Listing\Columns\ColumnInterface - * @since 2.0.0 */ public function create($attribute, $context, array $config = []) { @@ -89,7 +83,6 @@ public function create($attribute, $context, array $config = []) /** * @param string $dataType * @return string - * @since 2.0.0 */ protected function getJsComponent($dataType) { @@ -99,7 +92,6 @@ protected function getJsComponent($dataType) /** * @param \Magento\Catalog\Api\Data\ProductAttributeInterface $attribute * @return string - * @since 2.0.0 */ protected function getDataType($attribute) { @@ -113,7 +105,6 @@ protected function getDataType($attribute) * * @param string $frontendInput * @return string - * @since 2.0.0 */ protected function getFilterType($frontendInput) { diff --git a/app/code/Magento/Catalog/Ui/Component/FilterFactory.php b/app/code/Magento/Catalog/Ui/Component/FilterFactory.php index 22a7edcb7d641..76e2914447ab8 100644 --- a/app/code/Magento/Catalog/Ui/Component/FilterFactory.php +++ b/app/code/Magento/Catalog/Ui/Component/FilterFactory.php @@ -7,19 +7,16 @@ /** * @api - * @since 2.0.0 */ class FilterFactory { /** * @var \Magento\Framework\View\Element\UiComponentFactory - * @since 2.0.0 */ protected $componentFactory; /** * @var array - * @since 2.0.0 */ protected $filterMap = [ 'default' => 'filterInput', @@ -31,7 +28,6 @@ class FilterFactory /** * @param \Magento\Framework\View\Element\UiComponentFactory $componentFactory - * @since 2.0.0 */ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $componentFactory) { @@ -43,7 +39,6 @@ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $ * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context * @param array $config * @return \Magento\Ui\Component\Listing\Columns\ColumnInterface - * @since 2.0.0 */ public function create($attribute, $context, $config = []) { @@ -72,7 +67,6 @@ public function create($attribute, $context, $config = []) /** * @param \Magento\Catalog\Api\Data\ProductAttributeInterface $attribute * @return string - * @since 2.0.0 */ protected function getFilterType($attribute) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/AbstractRepository.php b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/AbstractRepository.php index 181f799d7895f..cd96b4c64389c 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/AbstractRepository.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/AbstractRepository.php @@ -7,26 +7,22 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractRepository implements RepositoryInterface { /** * @var null|\Magento\Catalog\Api\Data\ProductAttributeInterface[] - * @since 2.0.0 */ protected $attributes; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @param \Magento\Catalog\Api\ProductAttributeRepositoryInterface $productAttributeRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $productAttributeRepository, @@ -38,13 +34,11 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ abstract protected function buildSearchCriteria(); /** * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] - * @since 2.0.0 */ public function getList() { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/Repository.php b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/Repository.php index 2b28f1b8ddde3..1bef5902ae685 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/Repository.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/Repository.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Repository extends AbstractRepository { /** * {@inheritdoc} - * @since 2.0.0 */ protected function buildSearchCriteria() { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/RepositoryInterface.php b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/RepositoryInterface.php index 3b57fdf81f7f5..7294c8d2140a9 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/RepositoryInterface.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Attribute/RepositoryInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface RepositoryInterface { @@ -15,7 +14,6 @@ interface RepositoryInterface * Get attributes * * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] - * @since 2.0.0 */ public function getList(); } diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns.php index 128dd90fc1fac..a316ac4843c94 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Columns extends \Magento\Ui\Component\Listing\Columns { @@ -18,13 +17,11 @@ class Columns extends \Magento\Ui\Component\Listing\Columns /** * @var \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface - * @since 2.0.0 */ protected $attributeRepository; /** * @var array - * @since 2.0.0 */ protected $filterMap = [ 'default' => 'text', @@ -40,7 +37,6 @@ class Columns extends \Magento\Ui\Component\Listing\Columns * @param \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface $attributeRepository * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\UiComponent\ContextInterface $context, @@ -56,7 +52,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function prepare() { @@ -81,7 +76,6 @@ public function prepare() * * @param string $frontendInput * @return string - * @since 2.0.0 */ protected function getFilterType($frontendInput) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Price.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Price.php index e3874c088bc32..b7cc46818b311 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Price.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Price.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Price extends \Magento\Ui\Component\Listing\Columns\Column { @@ -21,7 +20,6 @@ class Price extends \Magento\Ui\Component\Listing\Columns\Column /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $localeCurrency; @@ -32,7 +30,6 @@ class Price extends \Magento\Ui\Component\Listing\Columns\Column * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -52,7 +49,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/ProductActions.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/ProductActions.php index e946959810c00..92474f050fa55 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/ProductActions.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/ProductActions.php @@ -14,13 +14,11 @@ * Class ProductActions * * @api - * @since 2.0.0 */ class ProductActions extends Column { /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -30,7 +28,6 @@ class ProductActions extends Column * @param UrlInterface $urlBuilder * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -48,7 +45,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Thumbnail.php b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Thumbnail.php index 875262a9cf660..c4ec0aedfa6b9 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Thumbnail.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Thumbnail.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Thumbnail extends \Magento\Ui\Component\Listing\Columns\Column { @@ -25,7 +24,6 @@ class Thumbnail extends \Magento\Ui\Component\Listing\Columns\Column * @param \Magento\Framework\UrlInterface $urlBuilder * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -45,7 +43,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { @@ -72,7 +69,6 @@ public function prepareDataSource(array $dataSource) * @param array $row * * @return null|string - * @since 2.0.0 */ protected function getAlt($row) { 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 5d66ca2253473..642ba9b967020 100644 --- a/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php +++ b/app/code/Magento/Catalog/Ui/Component/Listing/Columns/Websites.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Websites extends \Magento\Ui\Component\Listing\Columns\Column { @@ -24,7 +23,6 @@ class Websites extends \Magento\Ui\Component\Listing\Columns\Column * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -34,7 +32,6 @@ class Websites extends \Magento\Ui\Component\Listing\Columns\Column * @param StoreManagerInterface $storeManager * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -50,7 +47,6 @@ public function __construct( /** * {@inheritdoc} * @deprecated 2.1.0 - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { @@ -78,7 +74,6 @@ public function prepareDataSource(array $dataSource) /** * Prepare component configuration * @return void - * @since 2.0.0 */ public function prepare() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/AddStoreFieldToCollection.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/AddStoreFieldToCollection.php index a5761bf6b258f..35962ccbfb390 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/AddStoreFieldToCollection.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/AddStoreFieldToCollection.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class AddStoreFieldToCollection implements AddFilterToCollectionInterface { @@ -19,7 +18,6 @@ class AddStoreFieldToCollection implements AddFilterToCollectionInterface * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -27,7 +25,6 @@ class AddStoreFieldToCollection implements AddFilterToCollectionInterface * Construct * * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(StoreManagerInterface $storeManager) { @@ -36,7 +33,6 @@ public function __construct(StoreManagerInterface $storeManager) /** * {@inheritdoc} - * @since 2.0.0 */ public function addFilter(Collection $collection, $field, $condition = null) { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/AddWebsitesFieldToCollection.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/AddWebsitesFieldToCollection.php index 4fc58a8a87372..e1b5f59d0e322 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/AddWebsitesFieldToCollection.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/AddWebsitesFieldToCollection.php @@ -12,13 +12,11 @@ * Class AddWebsitesFieldToCollection * * @api - * @since 2.0.0 */ class AddWebsitesFieldToCollection implements AddFieldToCollectionInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function addField(Collection $collection, $field, $alias = null) { 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 428ef5ef26bee..e1f726d90ff11 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 @@ -45,7 +45,7 @@ class Categories extends AbstractModifier /** * @var array - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @since 2.1.0 */ protected $categoriesTrees = []; @@ -70,7 +70,7 @@ class Categories extends AbstractModifier /** * @var CacheInterface - * @since 2.2.0 + * @since 2.1.3 */ private $cacheManager; @@ -109,8 +109,8 @@ public function __construct( * Retrieve cache interface * * @return CacheInterface - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ private function getCacheManager() { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductDataProvider.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductDataProvider.php index 7b32f8a7c14f5..adba6b38c38ca 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductDataProvider.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/ProductDataProvider.php @@ -11,7 +11,6 @@ * Class ProductDataProvider * * @api - * @since 2.0.0 */ class ProductDataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { @@ -19,19 +18,16 @@ class ProductDataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * Product collection * * @var \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected $collection; /** * @var \Magento\Ui\DataProvider\AddFieldToCollectionInterface[] - * @since 2.0.0 */ protected $addFieldStrategies; /** * @var \Magento\Ui\DataProvider\AddFilterToCollectionInterface[] - * @since 2.0.0 */ protected $addFilterStrategies; @@ -46,7 +42,6 @@ class ProductDataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param \Magento\Ui\DataProvider\AddFilterToCollectionInterface[] $addFilterStrategies * @param array $meta * @param array $data - * @since 2.0.0 */ public function __construct( $name, @@ -68,7 +63,6 @@ public function __construct( * Get data * * @return array - * @since 2.0.0 */ public function getData() { @@ -89,7 +83,6 @@ public function getData() * @param string|array $field * @param string|null $alias * @return void - * @since 2.0.0 */ public function addField($field, $alias = null) { @@ -102,7 +95,6 @@ public function addField($field, $alias = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function addFilter(\Magento\Framework\Api\Filter $filter) { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/Product.php b/app/code/Magento/CatalogImportExport/Model/Export/Product.php index e820b67c6e6a6..aafd8fd696607 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/Product.php @@ -17,7 +17,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity { @@ -25,7 +24,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes that should be exported * * @var string[] - * @since 2.0.0 */ protected $_bannedAttributes = ['media_gallery']; @@ -64,7 +62,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Pairs of attribute set ID-to-name. * * @var array - * @since 2.0.0 */ protected $_attrSetIdToName = []; @@ -72,7 +69,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Categories ID to text-path hash. * * @var array - * @since 2.0.0 */ protected $_categories = []; @@ -80,7 +76,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Root category names for each category * * @var array - * @since 2.0.0 */ protected $_rootCategories = []; @@ -88,7 +83,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes with index (not label) value. * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = [ 'status', @@ -96,7 +90,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity /** * @var array - * @since 2.0.0 */ protected $collectedMultiselectsData = []; @@ -104,7 +97,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Permanent entity columns. * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [self::COL_SKU]; @@ -112,7 +104,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Array of supported product types as keys with appropriate model object as value. * * @var array - * @since 2.0.0 */ protected $_productTypeModels = []; @@ -120,7 +111,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Array of pairs store ID to its code. * * @var array - * @since 2.0.0 */ protected $_storeIdToCode = []; @@ -128,7 +118,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Website ID-to-code. * * @var array - * @since 2.0.0 */ protected $_websiteIdToCode = []; @@ -136,7 +125,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attribute types * * @var array - * @since 2.0.0 */ protected $_attributeTypes = []; @@ -144,7 +132,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes defined by user * * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $userDefinedAttributes = []; @@ -152,7 +140,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Product collection * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_entityCollectionFactory; @@ -160,7 +147,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Product collection * * @var \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected $_entityCollection; @@ -168,7 +154,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Items per page for collection limitation * * @var null - * @since 2.0.0 */ protected $_itemsPerPage = null; @@ -176,67 +161,56 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Header columns for export file * * @var array - * @since 2.0.0 */ protected $_headerColumns = []; /** * @var \Magento\ImportExport\Model\Export\ConfigInterface - * @since 2.0.0 */ protected $_exportConfig; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; /** * @var \Magento\Catalog\Model\ResourceModel\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\Collection - * @since 2.0.0 */ protected $_attrSetColFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Category\Collection - * @since 2.0.0 */ protected $_categoryColFactory; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resourceModel; /** * @var \Magento\CatalogInventory\Model\ResourceModel\Stock\ItemFactory - * @since 2.0.0 */ protected $_itemFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Option\Collection - * @since 2.0.0 */ protected $_optionColFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected $_attributeColFactory; /** * @var \Magento\CatalogImportExport\Model\Export\Product\Type\Factory - * @since 2.0.0 */ protected $_typeFactory; @@ -244,13 +218,11 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Provider of product link types * * @var \Magento\Catalog\Model\Product\LinkTypeProvider - * @since 2.0.0 */ protected $_linkTypeProvider; /** * @var \Magento\CatalogImportExport\Model\Export\RowCustomizerInterface - * @since 2.0.0 */ protected $rowCustomizer; @@ -258,7 +230,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Map between import file fields and system fields/attributes * * @var array - * @since 2.0.0 */ protected $_fieldsMap = [ 'image' => 'base_image', @@ -296,7 +267,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes codes which shows as date * * @var array - * @since 2.2.0 + * @since 2.1.3 */ protected $dateAttrCodes = [ 'special_from_date', @@ -311,7 +282,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * Attributes codes which are appropriate for export and not the part of additional_attributes. * * @var array - * @since 2.0.0 */ protected $_exportMainAttrCodes = [ self::COL_SKU, @@ -396,7 +366,6 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity * @param \Magento\CatalogImportExport\Model\Export\RowCustomizerInterface $rowCustomizer * @param array $dateAttrCodes * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -446,7 +415,6 @@ public function __construct( * Initialize attribute sets code-to-id pairs. * * @return $this - * @since 2.0.0 */ protected function initAttributeSets() { @@ -461,7 +429,6 @@ protected function initAttributeSets() * Initialize categories ID to text-path hash. * * @return $this - * @since 2.0.0 */ protected function initCategories() { @@ -489,7 +456,6 @@ protected function initCategories() * * @throws \Magento\Framework\Exception\LocalizedException * @return $this - * @since 2.0.0 */ protected function initTypeModels() { @@ -531,7 +497,6 @@ protected function initTypeModels() * Initialize website values. * * @return $this - * @since 2.0.0 */ protected function initWebsites() { @@ -547,7 +512,6 @@ protected function initWebsites() * * @param int[] $productIds * @return array - * @since 2.0.0 */ protected function getMediaGallery(array $productIds) { @@ -600,7 +564,6 @@ protected function getMediaGallery(array $productIds) * * @param int[] $productIds * @return array - * @since 2.0.0 */ protected function prepareCatalogInventory(array $productIds) { @@ -635,7 +598,6 @@ protected function prepareCatalogInventory(array $productIds) * * @param int[] $productIds * @return array - * @since 2.0.0 */ protected function prepareLinks(array $productIds) { @@ -705,7 +667,6 @@ protected function prepareLinks(array $productIds) * @param array &$rowCategories * @param int $productId * @return bool - * @since 2.0.0 */ protected function updateDataWithCategoryColumns(&$dataRow, &$rowCategories, $productId) { @@ -728,7 +689,6 @@ protected function updateDataWithCategoryColumns(&$dataRow, &$rowCategories, $pr /** * {@inheritdoc} - * @since 2.0.0 */ public function _getHeaderColumns() { @@ -741,7 +701,6 @@ public function _getHeaderColumns() * @param array $customOptionsData * @param array $stockItemRows * @return void - * @since 2.0.0 */ protected function setHeaderColumns($customOptionsData, $stockItemRows) { @@ -783,7 +742,6 @@ protected function setHeaderColumns($customOptionsData, $stockItemRows) * Get attributes codes which are appropriate for export and not the part of additional_attributes. * * @return array - * @since 2.0.0 */ protected function _getExportMainAttrCodes() { @@ -792,7 +750,6 @@ protected function _getExportMainAttrCodes() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getEntityCollection($resetCollection = false) { @@ -806,7 +763,6 @@ protected function _getEntityCollection($resetCollection = false) * Get items per page * * @return int - * @since 2.0.0 */ protected function getItemsPerPage() { @@ -857,7 +813,6 @@ protected function getItemsPerPage() * @param int $page * @param int $pageSize * @return void - * @since 2.0.0 */ protected function paginateCollection($page, $pageSize) { @@ -868,7 +823,6 @@ protected function paginateCollection($page, $pageSize) * Export process * * @return string - * @since 2.0.0 */ public function export() { @@ -928,7 +882,6 @@ protected function _prepareEntityCollection(\Magento\Eav\Model\Entity\Collection * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function getExportData() { @@ -968,7 +921,6 @@ protected function getExportData() * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function collectRawData() { @@ -1071,7 +1023,7 @@ protected function collectRawData() * * @param string|array $value * @return string|array - * @since 2.2.0 + * @since 2.1.3 */ private function wrapValue($value) { @@ -1088,7 +1040,6 @@ private function wrapValue($value) /** * @return array - * @since 2.0.0 */ protected function collectMultirawData() { @@ -1132,7 +1083,6 @@ protected function collectMultirawData() * @param \Magento\Catalog\Model\Product $item * @param int $storeId * @return bool - * @since 2.0.0 */ protected function hasMultiselectData($item, $storeId) { @@ -1145,7 +1095,6 @@ protected function hasMultiselectData($item, $storeId) * @param string $attrCode * @param int $storeId * @return $this - * @since 2.0.0 */ protected function collectMultiselectValues($item, $attrCode, $storeId) { @@ -1169,7 +1118,6 @@ protected function collectMultiselectValues($item, $attrCode, $storeId) * @param string $code * @param mixed $value * @return bool - * @since 2.0.0 */ protected function isValidAttributeValue($code, $value) { @@ -1299,7 +1247,6 @@ private function appendMultirowData(&$dataRow, &$multiRawData) * @param array $dataRow * @param array $multiRawData * @return array - * @since 2.0.0 */ protected function addMultirowData($dataRow, $multiRawData) { @@ -1313,7 +1260,6 @@ protected function addMultirowData($dataRow, $multiRawData) * @param array $rowData * * @return array - * @since 2.0.0 */ protected function _customFieldsMapping($rowData) { @@ -1332,7 +1278,6 @@ protected function _customFieldsMapping($rowData) * @param array $rowData * * @return array - * @since 2.0.0 */ protected function _customHeadersMapping($rowData) { @@ -1347,7 +1292,6 @@ protected function _customHeadersMapping($rowData) /** * @param array $option * @return string - * @since 2.0.0 */ protected function optionRowToCellString($option) { @@ -1365,7 +1309,6 @@ protected function optionRowToCellString($option) * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function getCustomOptionsData($productIds) { @@ -1437,7 +1380,6 @@ protected function getCustomOptionsData($productIds) * * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $collection * @return \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection - * @since 2.0.0 */ public function filterAttributeCollection(\Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection $collection) { @@ -1472,7 +1414,6 @@ public function filterAttributeCollection(\Magento\Eav\Model\ResourceModel\Entit * Entity attributes collection getter. * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getAttributeCollection() { @@ -1483,7 +1424,6 @@ public function getAttributeCollection() * EAV entity type code getter. * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -1494,7 +1434,6 @@ public function getEntityTypeCode() * Initialize attribute option values and types. * * @return $this - * @since 2.0.0 */ protected function initAttributes() { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/AbstractType.php b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/AbstractType.php index 80f9a6020150e..67ae877f7a620 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/AbstractType.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/AbstractType.php @@ -11,7 +11,6 @@ * Export entity product type abstract model * * @api - * @since 2.0.0 */ abstract class AbstractType { @@ -19,7 +18,6 @@ abstract class AbstractType * Overridden attributes parameters. * * @var array - * @since 2.0.0 */ protected $_attributeOverrides = []; @@ -27,7 +25,6 @@ abstract class AbstractType * Array of attributes codes which are disabled for export. * * @var string[] - * @since 2.0.0 */ protected $_disabledAttrs = []; @@ -35,7 +32,6 @@ abstract class AbstractType * Attributes with index (not label) value. * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = []; @@ -43,7 +39,6 @@ abstract class AbstractType * Return disabled attributes codes. * * @return string[] - * @since 2.0.0 */ public function getDisabledAttrs() { @@ -54,7 +49,6 @@ public function getDisabledAttrs() * Get attribute codes with index (not label) value. * * @return string[] - * @since 2.0.0 */ public function getIndexValueAttributes() { @@ -65,7 +59,6 @@ public function getIndexValueAttributes() * Additional check for model availability. If method returns FALSE - model is not suitable for data processing. * * @return bool - * @since 2.0.0 */ public function isSuitable() { @@ -77,7 +70,6 @@ public function isSuitable() * * @param Attribute $attribute * @return bool - * @since 2.0.0 */ public function overrideAttribute(Attribute $attribute) { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Factory.php b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Factory.php index 71af24bed919f..bd395d5df1663 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Factory.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Factory.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogImportExport\Model\Export\Product\Type\Factory * - * @since 2.0.0 */ class Factory { @@ -20,13 +19,11 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -37,7 +34,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $className * @return \Magento\CatalogImportExport\Model\Export\Product\Type\AbstractType * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($className) { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Simple.php b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Simple.php index fd8c80cb76c6c..a0a0c68042f35 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Simple.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/Product/Type/Simple.php @@ -9,7 +9,6 @@ * Export entity product type simple model * * @api - * @since 2.0.0 */ class Simple extends \Magento\CatalogImportExport\Model\Export\Product\Type\AbstractType { @@ -17,7 +16,6 @@ class Simple extends \Magento\CatalogImportExport\Model\Export\Product\Type\Abst * Overridden attributes parameters. * * @var array - * @since 2.0.0 */ protected $_attributeOverrides = [ 'has_options' => ['source_model' => \Magento\Eav\Model\Entity\Attribute\Source\Boolean::class], @@ -30,7 +28,6 @@ class Simple extends \Magento\CatalogImportExport\Model\Export\Product\Type\Abst * Array of attributes codes which are disabled for export. * * @var string[] - * @since 2.0.0 */ protected $_disabledAttrs = [ 'old_id', diff --git a/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizer/Composite.php b/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizer/Composite.php index 47a6a24bf3d28..17e2a7e857529 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizer/Composite.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizer/Composite.php @@ -12,26 +12,22 @@ * Class Composite * * @api - * @since 2.0.0 */ class Composite implements RowCustomizerInterface { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; /** * @var array - * @since 2.0.0 */ protected $customizers; /** * @param ObjectManagerInterface $objectManager * @param array $customizers - * @since 2.0.0 */ public function __construct(ObjectManagerInterface $objectManager, $customizers = []) { @@ -45,7 +41,6 @@ public function __construct(ObjectManagerInterface $objectManager, $customizers * @param mixed $collection * @param int[] $productIds * @return mixed|void - * @since 2.0.0 */ public function prepareData($collection, $productIds) { @@ -59,7 +54,6 @@ public function prepareData($collection, $productIds) * * @param array $columns * @return array - * @since 2.0.0 */ public function addHeaderColumns($columns) { @@ -75,7 +69,6 @@ public function addHeaderColumns($columns) * @param array $dataRow * @param int $productId * @return array - * @since 2.0.0 */ public function addData($dataRow, $productId) { @@ -91,7 +84,6 @@ public function addData($dataRow, $productId) * @param array $additionalRowsCount * @param int $productId * @return array|mixed - * @since 2.0.0 */ public function getAdditionalRowsCount($additionalRowsCount, $productId) { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizerInterface.php b/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizerInterface.php index ab8b6f0ff113e..2720281ab7304 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizerInterface.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/RowCustomizerInterface.php @@ -9,7 +9,6 @@ * Interface RowCustomizerInterface * * @api - * @since 2.0.0 */ interface RowCustomizerInterface { @@ -19,7 +18,6 @@ interface RowCustomizerInterface * @param mixed $collection * @param int[] $productIds * @return mixed - * @since 2.0.0 */ public function prepareData($collection, $productIds); @@ -28,7 +26,6 @@ public function prepareData($collection, $productIds); * * @param array $columns * @return mixed - * @since 2.0.0 */ public function addHeaderColumns($columns); @@ -38,7 +35,6 @@ public function addHeaderColumns($columns); * @param array $dataRow * @param int $productId * @return mixed - * @since 2.0.0 */ public function addData($dataRow, $productId); @@ -48,7 +44,6 @@ public function addData($dataRow, $productId); * @param array $additionalRowsCount * @param int $productId * @return mixed - * @since 2.0.0 */ public function getAdditionalRowsCount($additionalRowsCount, $productId); } diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Product.php index f30ba62ad27b1..8280cdcdb6f30 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product.php @@ -28,7 +28,6 @@ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @codingStandardsIgnoreFile - * @since 2.0.0 */ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity { @@ -158,7 +157,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Attribute cache * * @var array - * @since 2.0.0 */ protected $_attributeCache = []; @@ -166,7 +164,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Pairs of attribute set ID-to-name. * * @var array - * @since 2.0.0 */ protected $_attrSetIdToName = []; @@ -174,30 +171,29 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Pairs of attribute set name-to-ID. * * @var array - * @since 2.0.0 */ protected $_attrSetNameToId = []; /** * @var string - * @since 2.1.0 + * @since 2.0.3 */ protected $mediaGalleryTableName; /** * @var string - * @since 2.1.0 + * @since 2.0.3 */ protected $mediaGalleryValueTableName; /** * @var string - * @since 2.1.0 + * @since 2.0.3 */ protected $mediaGalleryEntityToValueTableName; /** * @var string - * @since 2.1.0 + * @since 2.0.3 */ protected $productEntityTableName; @@ -205,7 +201,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Attributes with index (not label) value. * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = [ 'status', @@ -216,7 +211,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Links attribute name-to-link type ID. * * @var array - * @since 2.0.0 */ protected $_linkNameToId = [ '_related_' => \Magento\Catalog\Model\Product\Link::LINK_TYPE_RELATED, @@ -228,7 +222,7 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Attributes codes which shows as date * * @var array - * @since 2.2.0 + * @since 2.1.3 */ protected $dateAttrCodes = [ 'special_from_date', @@ -243,7 +237,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Need to log in import history * * @var bool - * @since 2.0.0 */ protected $logInHistory = true; @@ -251,7 +244,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Attribute id for product images storage. * * @var array - * @since 2.0.0 */ protected $_mediaGalleryAttributeId = null; @@ -259,7 +251,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Validation failure message template definitions * * @var array - * @since 2.0.0 */ protected $_messageTemplates = [ ValidatorInterface::ERROR_INVALID_SCOPE => 'Invalid value in Scope column', @@ -302,7 +293,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Map between import file fields and system fields/attributes. * * @var array - * @since 2.0.0 */ protected $_fieldsMap = [ 'image' => 'base_image', @@ -350,7 +340,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * ) * * @var array - * @since 2.0.0 */ protected $_oldSku = []; @@ -358,7 +347,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Column names that holds values with particular meaning. * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = [ self::COL_STORE, @@ -401,7 +389,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /** * @var array - * @since 2.0.0 */ protected $defaultStockData = [ 'manage_stock' => 1, @@ -435,7 +422,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * of media gallery items. * * @var string[] - * @since 2.0.0 */ protected $_imagesArrayKeys = ['image', 'small_image', 'thumbnail', 'swatch_image', '_media_image']; @@ -443,7 +429,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Permanent entity columns. * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [self::COL_SKU]; @@ -451,7 +436,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Array of supported product types as keys with appropriate model object as value. * * @var \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType[] - * @since 2.0.0 */ protected $_productTypeModels = []; @@ -459,7 +443,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Media files uploader * * @var \Magento\CatalogImportExport\Model\Import\Uploader - * @since 2.0.0 */ protected $_fileUploader; @@ -467,7 +450,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Import entity which provide import of product custom options * * @var \Magento\CatalogImportExport\Model\Import\Product\Option - * @since 2.0.0 */ protected $_optionEntity; @@ -475,25 +457,21 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\CatalogInventory\Api\StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @var \Magento\CatalogInventory\Model\Spi\StockStateProviderInterface - * @since 2.0.0 */ protected $stockStateProvider; @@ -501,140 +479,121 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; /** * @var \Magento\ImportExport\Model\Import\Config - * @since 2.0.0 */ protected $_importConfig; /** * @var \Magento\CatalogImportExport\Model\Import\Proxy\Product\ResourceModelFactory - * @since 2.0.0 */ protected $_resourceFactory; /** * @var \Magento\CatalogImportExport\Model\Import\Proxy\Product\ResourceModel - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $_setColFactory; /** * @var \Magento\CatalogImportExport\Model\Import\Product\Type\Factory - * @since 2.0.0 */ protected $_productTypeFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\LinkFactory - * @since 2.0.0 */ protected $_linkFactory; /** * @var \Magento\CatalogImportExport\Model\Import\Proxy\ProductFactory - * @since 2.0.0 */ protected $_proxyProdFactory; /** * @var \Magento\CatalogImportExport\Model\Import\UploaderFactory - * @since 2.0.0 */ protected $_uploaderFactory; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_mediaDirectory; /** * @var \Magento\CatalogInventory\Model\ResourceModel\Stock\ItemFactory - * @since 2.0.0 */ protected $_stockResItemFac; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; /** * @var DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var Product\StoreResolver - * @since 2.0.0 */ protected $storeResolver; /** * @var Product\SkuProcessor - * @since 2.0.0 */ protected $skuProcessor; /** * @var Product\CategoryProcessor - * @since 2.0.0 */ protected $categoryProcessor; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.1.0 + * @since 2.0.1 */ protected $scopeConfig; /** * @var \Magento\Catalog\Model\Product\Url - * @since 2.1.0 + * @since 2.0.1 */ protected $productUrl; /** * @var array - * @since 2.0.0 */ protected $websitesCache = []; /** * @var array - * @since 2.0.0 */ protected $categoriesCache = []; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ protected $productUrlSuffix = []; /** * @var array * @deprecated 2.2.0 - * @since 2.1.0 + * @since 2.0.1 */ protected $productUrlKeys = []; @@ -642,13 +601,11 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Instance of product tax class processor. * * @var Product\TaxClassProcessor - * @since 2.0.0 */ protected $taxClassProcessor; /** * @var Product\Validator - * @since 2.0.0 */ protected $validator; @@ -656,31 +613,26 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Array of validated rows. * * @var array - * @since 2.0.0 */ protected $validatedRows; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ private $_logger; /** * {@inheritdoc} - * @since 2.0.0 */ protected $masterAttributeCode = 'sku'; /** * @var ObjectRelationProcessor - * @since 2.0.0 */ protected $objectRelationProcessor; /** * @var TransactionManagerInterface - * @since 2.0.0 */ protected $transactionManager; @@ -688,7 +640,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Flag for replace operation. * * @var null - * @since 2.0.0 */ protected $_replaceFlag = null; @@ -696,19 +647,18 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Flag for replace operation. * * @var null - * @since 2.0.0 */ protected $cachedImages = null; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ protected $urlKeys = []; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ protected $rowNumbers = []; @@ -732,7 +682,7 @@ 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.2.0 + * @since 2.1.3 */ private $multiLineSeparatorForRegexp; @@ -794,7 +744,6 @@ class Product extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * @throws \Magento\Framework\Exception\LocalizedException * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Json\Helper\Data $jsonHelper, @@ -899,7 +848,6 @@ public function __construct( * @param array $rowData Row data * @param int $rowNum * @return bool - * @since 2.0.0 */ public function isAttributeValid($attrCode, array $attrParams, array $rowData, $rowNum) { @@ -916,7 +864,6 @@ public function isAttributeValid($attrCode, array $attrParams, array $rowData, $ * * Multiple value separator getter. * @return string - * @since 2.0.0 */ public function getMultipleValueSeparator() { @@ -930,7 +877,6 @@ public function getMultipleValueSeparator() * Retrieve instance of product custom options import entity * * @return \Magento\CatalogImportExport\Model\Import\Product\Option - * @since 2.0.0 */ public function getOptionEntity() { @@ -941,7 +887,6 @@ public function getOptionEntity() * Retrieve id of media gallery attribute. * * @return int - * @since 2.0.0 */ public function getMediaGalleryAttributeId() { @@ -956,7 +901,6 @@ public function getMediaGalleryAttributeId() /** * @param string $name * @return Product\Type\AbstractType - * @since 2.0.0 */ public function retrieveProductTypeByName($name) { @@ -971,7 +915,6 @@ public function retrieveProductTypeByName($name) * * @param array $params * @return $this - * @since 2.0.0 */ public function setParameters(array $params) { @@ -985,7 +928,6 @@ public function setParameters(array $params) * Delete products for replacement. * * @return $this - * @since 2.0.0 */ public function deleteProductsForReplacement() { @@ -1003,7 +945,6 @@ public function deleteProductsForReplacement() * * @return $this * @throws \Exception - * @since 2.0.0 */ protected function _deleteProducts() { @@ -1053,7 +994,6 @@ protected function _deleteProducts() * @throws \Exception * @return bool Result of operation. * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _importData() { @@ -1074,7 +1014,6 @@ protected function _importData() * Replace imported products. * * @return $this - * @since 2.0.0 */ protected function _replaceProducts() { @@ -1094,7 +1033,6 @@ protected function _replaceProducts() * Save products data. * * @return $this - * @since 2.0.0 */ protected function _saveProductsData() { @@ -1116,7 +1054,6 @@ protected function _saveProductsData() * Initialize attribute sets code-to-id pairs. * * @return $this - * @since 2.0.0 */ protected function _initAttributeSets() { @@ -1131,7 +1068,6 @@ protected function _initAttributeSets() * Initialize existent product SKUs. * * @return $this - * @since 2.0.0 */ protected function _initSkus() { @@ -1145,7 +1081,6 @@ protected function _initSkus() * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _initTypeModels() { @@ -1181,7 +1116,6 @@ protected function _initTypeModels() /** * Initialize Product error templates - * @since 2.0.0 */ protected function _initErrorTemplates() { @@ -1196,7 +1130,6 @@ protected function _initErrorTemplates() * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _prepareRowForDb(array $rowData) { @@ -1229,7 +1162,6 @@ protected function _prepareRowForDb(array $rowData) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _saveLinks() { @@ -1362,7 +1294,6 @@ protected function _saveLinks() * * @param array $attributesData * @return $this - * @since 2.0.0 */ protected function _saveProductAttributes(array $attributesData) { @@ -1397,7 +1328,6 @@ protected function _saveProductAttributes(array $attributesData) * * @param array $categoriesData * @return $this - * @since 2.0.0 */ protected function _saveProductCategories(array $categoriesData) { @@ -1478,7 +1408,7 @@ public function saveProductEntity(array $entityRowsIn, array $entityRowsUp) /** * Return additional data, needed to select. * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function getOldSkuFieldsForSelect() { @@ -1489,7 +1419,7 @@ private function getOldSkuFieldsForSelect() * Adds newly created products to _oldSku * @param array $newProducts * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function updateOldSku(array $newProducts) { @@ -1527,7 +1457,7 @@ private function getNewSkuFieldsForSelect() /** * Init media gallery resources * @return void - * @since 2.1.0 + * @since 2.0.3 */ protected function initMediaGalleryResources() { @@ -1548,7 +1478,6 @@ protected function initMediaGalleryResources() * * @param array $bunch * @return array - * @since 2.0.0 */ protected function getExistingImages($bunch) { @@ -1599,7 +1528,6 @@ protected function getExistingImages($bunch) /** * @param array $rowData * @return array - * @since 2.0.0 */ public function getImagesFromRow(array $rowData) { @@ -1635,7 +1563,6 @@ public function getImagesFromRow(array $rowData) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _saveProducts() { @@ -1965,7 +1892,6 @@ protected function _saveProducts() /** * @param array $rowData * @return array - * @since 2.0.0 */ protected function processRowCategories($rowData) { @@ -1993,7 +1919,6 @@ protected function processRowCategories($rowData) /** * @param string $productSku * @return array - * @since 2.0.0 */ public function getProductWebsites($productSku) { @@ -2003,7 +1928,6 @@ public function getProductWebsites($productSku) /** * @param string $productSku * @return array - * @since 2.0.0 */ public function getProductCategories($productSku) { @@ -2013,7 +1937,6 @@ public function getProductCategories($productSku) /** * @param string $storeCode * @return array|int|null|string - * @since 2.0.0 */ public function getStoreIdByCode($storeCode) { @@ -2028,7 +1951,6 @@ public function getStoreIdByCode($storeCode) * * @param array $tierPriceData * @return $this - * @since 2.0.0 */ protected function _saveProductTierPrices(array $tierPriceData) { @@ -2068,7 +1990,6 @@ protected function _saveProductTierPrices(array $tierPriceData) * * @return \Magento\CatalogImportExport\Model\Import\Uploader * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getUploader() { @@ -2109,7 +2030,6 @@ protected function _getUploader() /** * @return Uploader * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getUploader() { @@ -2122,7 +2042,6 @@ public function getUploader() * * @param string $fileName * @return string - * @since 2.0.0 */ protected function uploadMediaFiles($fileName, $renameFileOff = false) { @@ -2157,7 +2076,6 @@ private function getSystemFile($fileName) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _saveMediaGallery(array $mediaGalleryData) { @@ -2253,7 +2171,6 @@ protected function _saveMediaGallery(array $mediaGalleryData) * * @param array $websiteData * @return $this - * @since 2.0.0 */ protected function _saveProductWebsites(array $websiteData) { @@ -2291,7 +2208,6 @@ protected function _saveProductWebsites(array $websiteData) * Stock item saving. * * @return $this - * @since 2.0.0 */ protected function _saveStockItem() { @@ -2380,7 +2296,6 @@ private function reindexProducts($productIdsToReindex = []) * * @param string $attrCode * @return mixed - * @since 2.0.0 */ public function retrieveAttributeByCode($attrCode) { @@ -2398,7 +2313,6 @@ public function retrieveAttributeByCode($attrCode) * Attribute set ID-to-name pairs getter. * * @return array - * @since 2.0.0 */ public function getAttrSetIdToName() { @@ -2409,7 +2323,6 @@ public function getAttrSetIdToName() * DB connection getter. * * @return \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ public function getConnection() { @@ -2421,7 +2334,6 @@ public function getConnection() * * @abstract * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -2436,7 +2348,6 @@ public function getEntityTypeCode() * * @var string $sku * @return array - * @since 2.0.0 */ public function getNewSku($sku = null) { @@ -2447,7 +2358,6 @@ public function getNewSku($sku = null) * Get next bunch of validated rows. * * @return array|null - * @since 2.0.0 */ public function getNextBunch() { @@ -2461,7 +2371,6 @@ public function getNextBunch() * new products with the same SKU in different letter cases. * * @return array - * @since 2.0.0 */ public function getOldSku() { @@ -2472,7 +2381,6 @@ public function getOldSku() * Retrieve Category Processor * * @return \Magento\CatalogImportExport\Model\Import\Product\CategoryProcessor - * @since 2.0.0 */ public function getCategoryProcessor() { @@ -2484,7 +2392,6 @@ public function getCategoryProcessor() * * @param array $rowData * @return int - * @since 2.0.0 */ public function getRowScope(array $rowData) { @@ -2503,7 +2410,6 @@ public function getRowScope(array $rowData) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function validateRow(array $rowData, $rowNum) { @@ -2638,7 +2544,7 @@ public function validateRow(array $rowData, $rowNum) /** * @param array $rowData * @return bool - * @since 2.1.0 + * @since 2.0.8 */ private function isNeedToValidateUrlKey($rowData) { @@ -2673,7 +2579,6 @@ private function prepareNewSkuData($sku) * @param array $rowData * * @return array - * @since 2.0.0 */ private function _parseAdditionalAttributes($rowData) { @@ -2695,7 +2600,7 @@ private function _parseAdditionalAttributes($rowData) * * @param string $additionalAttributes Attributes data that will be parsed * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function parseAdditionalAttributes($additionalAttributes) { @@ -2716,7 +2621,7 @@ 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.2.0 + * @since 2.1.3 */ private function parseAttributesWithoutWrappedValues($attributesData) { @@ -2756,7 +2661,7 @@ 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.2.0 + * @since 2.1.3 */ private function parseAttributesWithWrappedValues($attributesData) { @@ -2781,7 +2686,7 @@ private function parseAttributesWithWrappedValues($attributesData) * @param string $values * @param string $delimiter * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function parseMultiselectValues($values, $delimiter = self::PSEUDO_MULTI_LINE_SEPARATOR) { @@ -2800,7 +2705,7 @@ 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.2.0 + * @since 2.1.3 */ private function getMultiLineSeparatorForRegexp() { @@ -2818,7 +2723,6 @@ private function getMultiLineSeparatorForRegexp() * @param array $rowData * * @return array - * @since 2.0.0 */ private function _setStockUseConfigFieldsValues($rowData) { @@ -2843,7 +2747,6 @@ private function _setStockUseConfigFieldsValues($rowData) * @param array $rowData * * @return array - * @since 2.0.0 */ private function _customFieldsMapping($rowData) { @@ -2872,7 +2775,6 @@ private function _customFieldsMapping($rowData) * Validate data rows and save bunches to DB * * @return $this - * @since 2.0.0 */ protected function _saveValidatedBunches() { @@ -2904,7 +2806,7 @@ protected function _saveValidatedBunches() * Check that url_keys are not assigned to other products in DB * * @return void - * @since 2.1.0 + * @since 2.0.1 */ protected function checkUrlKeyDuplicates() { @@ -2933,7 +2835,7 @@ protected function checkUrlKeyDuplicates() * * @param int $storeId * @return string - * @since 2.1.0 + * @since 2.0.1 */ protected function getProductUrlSuffix($storeId = null) { @@ -2950,7 +2852,7 @@ protected function getProductUrlSuffix($storeId = null) /** * @param array $rowData * @return string - * @since 2.1.0 + * @since 2.0.1 */ protected function getUrlKey($rowData) { @@ -2967,7 +2869,7 @@ protected function getUrlKey($rowData) /** * @return Proxy\Product\ResourceModel - * @since 2.1.0 + * @since 2.0.1 */ protected function getResource() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php index 43fdb03aa4b9d..8c55f28a586ec 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/CategoryProcessor.php @@ -9,7 +9,6 @@ * Class CategoryProcessor * * @api - * @since 2.0.0 */ class CategoryProcessor { @@ -20,7 +19,6 @@ class CategoryProcessor /** * @var \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory - * @since 2.0.0 */ protected $categoryColFactory; @@ -28,7 +26,6 @@ class CategoryProcessor * Categories text-path to ID hash. * * @var array - * @since 2.0.0 */ protected $categories = []; @@ -36,7 +33,6 @@ class CategoryProcessor * Categories id to object cache. * * @var array - * @since 2.0.0 */ protected $categoriesCache = []; @@ -44,7 +40,6 @@ class CategoryProcessor * Instance of catalog category factory. * * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; @@ -59,7 +54,6 @@ class CategoryProcessor /** * @param \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryColFactory * @param \Magento\Catalog\Model\CategoryFactory $categoryFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryColFactory, @@ -72,7 +66,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function initCategories() { @@ -110,7 +103,6 @@ protected function initCategories() * @param int $parentId * * @return int - * @since 2.0.0 */ protected function createCategory($name, $parentId) { @@ -137,7 +129,6 @@ protected function createCategory($name, $parentId) * @param string $categoryPath * * @return int - * @since 2.0.0 */ protected function upsertCategory($categoryPath) { @@ -169,7 +160,6 @@ protected function upsertCategory($categoryPath) * @param string $categoriesSeparator * * @return array - * @since 2.0.0 */ public function upsertCategories($categoriesString, $categoriesSeparator) { @@ -235,7 +225,6 @@ public function clearFailedCategories() * @param int $categoryId * * @return \Magento\Catalog\Model\Category|null - * @since 2.0.0 */ public function getCategoryById($categoryId) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php index 146b4142d68bf..22306f727ed4e 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Option.php @@ -21,7 +21,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity { @@ -67,7 +66,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * All stores code-ID pairs * * @var array - * @since 2.0.0 */ protected $_storeCodeToId = []; @@ -75,7 +73,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * List of products sku-ID pairs * * @var array - * @since 2.0.0 */ protected $_productsSkuToId = []; @@ -83,7 +80,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Instance of import/export resource helper * * @var \Magento\ImportExport\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; @@ -91,7 +87,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Flag for global prices property * * @var bool - * @since 2.0.0 */ protected $_isPriceGlobal; @@ -99,7 +94,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * List of specific custom option types * * @var array - * @since 2.0.0 */ protected $_specificTypes = [ 'date' => ['price', 'sku'], @@ -118,7 +112,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Keep product id value for every row which will be imported * * @var int - * @since 2.0.0 */ protected $_rowProductId; @@ -126,7 +119,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Keep product sku value for every row during validation * * @var string - * @since 2.0.0 */ protected $_rowProductSku; @@ -134,7 +126,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Keep store id value for every row which will be imported * * @var int - * @since 2.0.0 */ protected $_rowStoreId; @@ -142,7 +133,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Keep information about row status * * @var int - * @since 2.0.0 */ protected $_rowIsMain; @@ -150,7 +140,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Keep type value for every row which will be imported * * @var int - * @since 2.0.0 */ protected $_rowType; @@ -158,7 +147,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product model instance * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_productModel; @@ -166,7 +154,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * DB data source model * * @var \Magento\ImportExport\Model\ResourceModel\Import\Data - * @since 2.0.0 */ protected $_dataSourceModel; @@ -174,7 +161,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * DB connection * * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; @@ -182,7 +168,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Custom options tables * * @var array - * @since 2.0.0 */ protected $_tables = [ 'catalog_product_entity' => null, @@ -198,7 +183,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Parent import product entity * * @var \Magento\CatalogImportExport\Model\Import\Product - * @since 2.0.0 */ protected $_productEntity; @@ -206,7 +190,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Existing custom options data * * @var array - * @since 2.0.0 */ protected $_oldCustomOptions; @@ -214,7 +197,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * New custom options data for existing products * * @var array - * @since 2.0.0 */ protected $_newOptionsOldData = []; @@ -222,7 +204,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * New custom options data for not existing products * * @var array - * @since 2.0.0 */ protected $_newOptionsNewData = []; @@ -230,7 +211,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * New custom options counter * * @var int - * @since 2.0.0 */ protected $_newCustomOptionId = 0; @@ -238,7 +218,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Product options collection * * @var \Magento\Catalog\Model\ResourceModel\Product\Option\Collection - * @since 2.0.0 */ protected $_optionCollection; @@ -269,19 +248,13 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity /**#@-*/ - /** - * Collection by pages iterator - * - * @var \Magento\ImportExport\Model\ResourceModel\CollectionByPagesIterator - * @since 2.0.0 - */ + /**#@-*/ protected $_byPagesIterator; /** * Number of items to fetch from db in one query * * @var int - * @since 2.0.0 */ protected $_pageSize; @@ -289,7 +262,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -297,49 +269,41 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\ImportExport\Model\ImportFactory - * @since 2.0.0 */ protected $_importFactory; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Option\CollectionFactory - * @since 2.0.0 */ protected $_optionColFactory; /** * @var \Magento\ImportExport\Model\ResourceModel\CollectionByPagesIteratorFactory - * @since 2.0.0 */ protected $_colIteratorFactory; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $dateTime; @@ -375,7 +339,6 @@ class Option extends \Magento\ImportExport\Model\Import\Entity\AbstractEntity * @throws \Magento\Framework\Exception\LocalizedException * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\ImportExport\Model\ResourceModel\Import\Data $importData, @@ -439,7 +402,6 @@ public function __construct( * Initialization of error message templates * * @return $this - * @since 2.0.0 */ protected function _initMessageTemplates() { @@ -494,7 +456,6 @@ protected function _initMessageTemplates() * * @param array $data * @return $this - * @since 2.0.0 */ protected function _initTables(array $data) { @@ -516,7 +477,6 @@ protected function _initTables(array $data) * * @param array $data * @return $this - * @since 2.0.0 */ protected function _initStores(array $data) { @@ -537,7 +497,6 @@ protected function _initStores(array $data) * @param array $data * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _initSourceEntities(array $data) { @@ -581,7 +540,6 @@ protected function _initSourceEntities(array $data) * Load exiting custom options data * * @return $this - * @since 2.0.0 */ protected function _initOldCustomOptions() { @@ -631,7 +589,6 @@ protected function _initOldCustomOptions() * Imported entity type code getter * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -645,7 +602,6 @@ public function getEntityTypeCode() * - custom options with the same name have different data types. * * @return bool - * @since 2.0.0 */ public function validateAmbiguousData() { @@ -673,7 +629,6 @@ public function validateAmbiguousData() * Find options with the same titles for input data * * @return array - * @since 2.0.0 */ protected function _findNewOptionsWithTheSameTitles() { @@ -692,7 +647,6 @@ protected function _findNewOptionsWithTheSameTitles() * * @param array $sourceProductData * @return array - * @since 2.0.0 */ protected function _getNewOptionsWithTheSameTitlesErrorRows(array $sourceProductData) { @@ -721,7 +675,6 @@ protected function _getNewOptionsWithTheSameTitlesErrorRows(array $sourceProduct * Find options with the same titles in DB * * @return array - * @since 2.0.0 */ protected function _findOldOptionsWithTheSameTitles() { @@ -755,7 +708,6 @@ protected function _findOldOptionsWithTheSameTitles() * Find source file options, which have analogs in DB with the same name, but with different type * * @return array - * @since 2.0.0 */ protected function _findNewOldOptionsTypeMismatch() { @@ -787,7 +739,6 @@ protected function _findNewOldOptionsTypeMismatch() * @param array $newOptionData * @param array $newOptionTitles * @return bool|int - * @since 2.0.0 */ protected function _findExistingOptionId(array $newOptionData, array $newOptionTitles) { @@ -811,7 +762,6 @@ protected function _findExistingOptionId(array $newOptionData, array $newOptionT * @param string $errorCode * @param array $errorNumbers * @return void - * @since 2.0.0 */ protected function _addRowsErrors($errorCode, array $errorNumbers) { @@ -826,7 +776,6 @@ protected function _addRowsErrors($errorCode, array $errorNumbers) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateMainRow(array $rowData, $rowNumber) { @@ -862,7 +811,6 @@ protected function _validateMainRow(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateMainRowAdditionalData(array $rowData, $rowNumber) { @@ -880,7 +828,6 @@ protected function _validateMainRowAdditionalData(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return void - * @since 2.0.0 */ protected function _saveNewOptionData(array $rowData, $rowNumber) { @@ -942,7 +889,6 @@ protected function _saveNewOptionData(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateSecondaryRow(array $rowData, $rowNumber) { @@ -976,7 +922,6 @@ protected function _validateSecondaryRow(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ public function validateRow(array $rowData, $rowNumber) { @@ -1015,7 +960,6 @@ public function validateRow(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateSpecificTypeParameters(array $rowData, $rowNumber) { @@ -1043,7 +987,6 @@ protected function _validateSpecificTypeParameters(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateSpecificParameterData($typeParameter, array $rowData, $rowNumber) { @@ -1067,7 +1010,6 @@ protected function _validateSpecificParameterData($typeParameter, array $rowData * * @param array $rowData * @return bool - * @since 2.0.0 */ protected function _isRowWithCustomOption(array $rowData) { @@ -1081,7 +1023,6 @@ protected function _isRowWithCustomOption(array $rowData) * * @param array $rowData * @return bool - * @since 2.0.0 */ protected function _isMainOptionRow(array $rowData) { @@ -1093,7 +1034,6 @@ protected function _isMainOptionRow(array $rowData) * * @param array $rowData * @return bool - * @since 2.0.0 */ protected function _isSecondaryOptionRow(array $rowData) { @@ -1107,7 +1047,6 @@ protected function _isSecondaryOptionRow(array $rowData) * @param array &$titles * @param array $typeValues * @return bool - * @since 2.0.0 */ protected function _isReadyForSaving(array &$options, array &$titles, array $typeValues) { @@ -1131,7 +1070,6 @@ protected function _isReadyForSaving(array &$options, array &$titles, array $typ * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _getMultiRowFormat($rowData) { @@ -1229,7 +1167,6 @@ private function addFileOptions($result, $optionRow) * * @return boolean * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _importData() { @@ -1325,7 +1262,6 @@ protected function _importData() * Load data of existed products * * @return $this - * @since 2.0.0 */ protected function _initProductsSku() { @@ -1351,7 +1287,6 @@ protected function _initProductsSku() * @param array &$products * @param array &$prices * @return array|null - * @since 2.0.0 */ protected function _collectOptionMainData( array $rowData, @@ -1399,7 +1334,6 @@ protected function _collectOptionMainData( * @param array &$childCount * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _collectOptionTypeData( array $rowData, @@ -1462,7 +1396,6 @@ protected function _collectOptionTypeData( * @param int $prevOptionId * @param array &$titles * @return void - * @since 2.0.0 */ protected function _collectOptionTitle(array $rowData, $prevOptionId, array &$titles) { @@ -1484,7 +1417,6 @@ protected function _collectOptionTitle(array $rowData, $prevOptionId, array &$ti * @param array &$prices * @param array &$typeValues * @return $this - * @since 2.0.0 */ protected function _compareOptionsWithExisting(array &$options, array &$titles, array &$prices, array &$typeValues) { @@ -1513,7 +1445,6 @@ protected function _compareOptionsWithExisting(array &$options, array &$titles, * * @param array $rowData * @return bool - * @since 2.0.0 */ protected function _parseRequiredData(array $rowData) { @@ -1556,7 +1487,6 @@ protected function _parseRequiredData(array $rowData) * * @param string $type * @return bool - * @since 2.0.0 */ protected function _isRowHasSpecificType($type) { @@ -1573,7 +1503,6 @@ protected function _isRowHasSpecificType($type) * @param array $rowData * @param int $productId * @return array - * @since 2.0.0 */ protected function _getProductData(array $rowData, $productId) { @@ -1599,7 +1528,6 @@ protected function _getProductData(array $rowData, $productId) * @param int $optionId * @param string $type * @return array - * @since 2.0.0 */ protected function _getOptionData(array $rowData, $productId, $optionId, $type) { @@ -1638,7 +1566,6 @@ protected function _getOptionData(array $rowData, $productId, $optionId, $type) * @param int $optionId * @param string $type * @return array|bool - * @since 2.0.0 */ protected function _getPriceData(array $rowData, $optionId, $type) { @@ -1677,7 +1604,6 @@ protected function _getPriceData(array $rowData, $optionId, $type) * @param bool $defaultStore * @return array|false * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _getSpecificTypeData(array $rowData, $optionTypeId, $defaultStore = true) { @@ -1710,7 +1636,6 @@ protected function _getSpecificTypeData(array $rowData, $optionTypeId, $defaultS * * @param array $productIds * @return $this - * @since 2.0.0 */ protected function _deleteEntities(array $productIds) { @@ -1727,7 +1652,6 @@ protected function _deleteEntities(array $productIds) * * @param array $optionIds * @return $this - * @since 2.0.0 */ protected function _deleteSpecificTypeValues(array $optionIds) { @@ -1744,7 +1668,6 @@ protected function _deleteSpecificTypeValues(array $optionIds) * * @param array $options Options data * @return $this - * @since 2.0.0 */ protected function _saveOptions(array $options) { @@ -1758,7 +1681,6 @@ protected function _saveOptions(array $options) * * @param array $titles Option titles data * @return $this - * @since 2.0.0 */ protected function _saveTitles(array $titles) { @@ -1784,7 +1706,6 @@ protected function _saveTitles(array $titles) * * @param array $prices Option prices data * @return $this - * @since 2.0.0 */ protected function _savePrices(array $prices) { @@ -1804,7 +1725,6 @@ protected function _savePrices(array $prices) * * @param array $typeValues Option type values * @return $this - * @since 2.0.0 */ protected function _saveSpecificTypeValues(array $typeValues) { @@ -1829,7 +1749,6 @@ protected function _saveSpecificTypeValues(array $typeValues) * * @param array $typePrices option type prices * @return $this - * @since 2.0.0 */ protected function _saveSpecificTypePrices(array $typePrices) { @@ -1857,7 +1776,6 @@ protected function _saveSpecificTypePrices(array $typePrices) * * @param array $typeTitles Option type titles * @return $this - * @since 2.0.0 */ protected function _saveSpecificTypeTitles(array $typeTitles) { @@ -1887,7 +1805,6 @@ protected function _saveSpecificTypeTitles(array $typeTitles) * * @param array $data Product data which will be updated * @return $this - * @since 2.0.0 */ protected function _updateProducts(array $data) { @@ -1908,7 +1825,6 @@ protected function _updateProducts(array $data) * @param array $rowData * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _parseCustomOptions($rowData) { @@ -1951,7 +1867,6 @@ protected function _parseCustomOptions($rowData) * Clear product sku to id array. * * @return $this - * @since 2.0.0 */ public function clearProductsSkuToId() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/RowValidatorInterface.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/RowValidatorInterface.php index 3199d835ce433..8cd3d168c771a 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/RowValidatorInterface.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/RowValidatorInterface.php @@ -9,7 +9,6 @@ * Interface RowValidatorInterface * * @api - * @since 2.0.0 */ interface RowValidatorInterface extends \Magento\Framework\Validator\ValidatorInterface { @@ -95,7 +94,6 @@ interface RowValidatorInterface extends \Magento\Framework\Validator\ValidatorIn * * @param \Magento\CatalogImportExport\Model\Import\Product $context * @return $this - * @since 2.0.0 */ public function init($context); } diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php index 77280155c05ee..fb4b790fd5f43 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/SkuProcessor.php @@ -9,19 +9,16 @@ * Class SkuProcessor * * @api - * @since 2.0.0 */ class SkuProcessor { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var array - * @since 2.0.0 */ protected $oldSkus; @@ -36,13 +33,11 @@ class SkuProcessor * ) * * @var array - * @since 2.0.0 */ protected $newSkus; /** * @var array - * @since 2.0.0 */ protected $productTypeModels; @@ -72,7 +67,6 @@ class SkuProcessor /** * @param \Magento\Catalog\Model\ProductFactory $productFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $productFactory @@ -83,7 +77,6 @@ public function __construct( /** * @param array $typeModels * @return $this - * @since 2.0.0 */ public function setTypeModels($typeModels) { @@ -95,7 +88,6 @@ public function setTypeModels($typeModels) * Get old skus array. * * @return array - * @since 2.0.0 */ public function getOldSkus() { @@ -109,7 +101,6 @@ public function getOldSkus() * Reload old skus. * * @return $this - * @since 2.0.0 */ public function reloadOldSkus() { @@ -122,7 +113,6 @@ public function reloadOldSkus() * @param string $sku * @param array $data * @return $this - * @since 2.0.0 */ public function addNewSku($sku, $data) { @@ -136,7 +126,6 @@ public function addNewSku($sku, $data) * @param string $key * @param mixed $data * @return $this - * @since 2.0.0 */ public function setNewSkuData($sku, $key, $data) { @@ -150,7 +139,6 @@ public function setNewSkuData($sku, $key, $data) /** * @param null|string $sku * @return array|null - * @since 2.0.0 */ public function getNewSku($sku = null) { @@ -165,7 +153,6 @@ public function getNewSku($sku = null) * Get skus data. * * @return array - * @since 2.0.0 */ protected function _getSkus() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/StoreResolver.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/StoreResolver.php index fef2fff2d05c4..2d70d9b1daf21 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/StoreResolver.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/StoreResolver.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\StoreResolver * - * @since 2.0.0 */ class StoreResolver { @@ -16,7 +15,6 @@ class StoreResolver * Store manager instance. * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -24,7 +22,6 @@ class StoreResolver * Website code-to-ID * * @var array - * @since 2.0.0 */ protected $websiteCodeToId = []; @@ -32,7 +29,6 @@ class StoreResolver * Website code to store code-to-ID pairs which it consists. * * @var array - * @since 2.0.0 */ protected $websiteCodeToStoreIds = []; @@ -40,7 +36,6 @@ class StoreResolver * All stores code-ID pairs. * * @var array - * @since 2.0.0 */ protected $storeCodeToId = []; @@ -48,13 +43,11 @@ class StoreResolver * Store ID to its website stores IDs. * * @var array - * @since 2.0.0 */ protected $storeIdToWebsiteStoreIds = []; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -65,7 +58,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan * Initialize website values. * * @return $this - * @since 2.0.0 */ protected function _initWebsites() { @@ -80,7 +72,6 @@ protected function _initWebsites() /** * @param null|string $code * @return array|string|null - * @since 2.0.0 */ public function getWebsiteCodeToId($code = null) { @@ -96,7 +87,6 @@ public function getWebsiteCodeToId($code = null) /** * @param null|string $code * @return array|string|null - * @since 2.0.0 */ public function getWebsiteCodeToStoreIds($code = null) { @@ -113,7 +103,6 @@ public function getWebsiteCodeToStoreIds($code = null) * Initialize stores hash. * * @return $this - * @since 2.0.0 */ protected function _initStores() { @@ -127,7 +116,6 @@ protected function _initStores() /** * @param null|string $code * @return array|string|null - * @since 2.0.0 */ public function getStoreCodeToId($code = null) { @@ -143,7 +131,6 @@ public function getStoreCodeToId($code = null) /** * @param null|string $code * @return array|string|null - * @since 2.0.0 */ public function getStoreIdToWebsiteStoreIds($code = null) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/TaxClassProcessor.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/TaxClassProcessor.php index 86fbd6b6028b0..019555b4b0c49 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/TaxClassProcessor.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/TaxClassProcessor.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\TaxClassProcessor * - * @since 2.0.0 */ class TaxClassProcessor { @@ -24,7 +23,6 @@ class TaxClassProcessor * Tax classes. * * @var array - * @since 2.0.0 */ protected $taxClasses; @@ -32,7 +30,6 @@ class TaxClassProcessor * Instance of tax class collection factory. * * @var \Magento\Tax\Model\ResourceModel\TaxClass\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -40,14 +37,12 @@ class TaxClassProcessor * Instance of tax model factory. * * @var \Magento\Tax\Model\ClassModelFactory - * @since 2.0.0 */ protected $classModelFactory; /** * @param \Magento\Tax\Model\ResourceModel\TaxClass\CollectionFactory $collectionFactory * @param \Magento\Tax\Model\ClassModelFactory $classModelFactory - * @since 2.0.0 */ public function __construct( \Magento\Tax\Model\ResourceModel\TaxClass\CollectionFactory $collectionFactory, @@ -62,7 +57,6 @@ public function __construct( * Initiate tax classes. * * @return $this - * @since 2.0.0 */ protected function initTaxClasses() { @@ -83,7 +77,6 @@ protected function initTaxClasses() * @param string $taxClassName * @param AbstractType $productTypeModel * @return integer - * @since 2.0.0 */ protected function createTaxClass($taxClassName, AbstractType $productTypeModel) { @@ -106,7 +99,6 @@ protected function createTaxClass($taxClassName, AbstractType $productTypeModel) * @param string $taxClassName * @param AbstractType $productTypeModel * @return object - * @since 2.0.0 */ public function upsertTaxClass($taxClassName, AbstractType $productTypeModel) { 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 a22622ab7d4b5..900a036a573c2 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php @@ -17,7 +17,6 @@ * * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractType { @@ -25,7 +24,6 @@ abstract class AbstractType * Common attributes cache * * @var array - * @since 2.0.0 */ public static $commonAttributesCache = []; @@ -33,7 +31,6 @@ abstract class AbstractType * Attribute Code to Id cache * * @var array - * @since 2.0.0 */ public static $attributeCodeToId = []; @@ -51,7 +48,6 @@ abstract class AbstractType * ... * * @var array - * @since 2.0.0 */ protected $_attributes = []; @@ -59,7 +55,6 @@ abstract class AbstractType * Attributes' codes which will be allowed anyway, independently from its visibility property. * * @var string[] - * @since 2.0.0 */ protected $_forcedAttributesCodes = []; @@ -67,7 +62,6 @@ abstract class AbstractType * Attributes with index (not label) value. * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = []; @@ -75,7 +69,6 @@ abstract class AbstractType * Validation failure entity specific message template definitions * * @var array - * @since 2.0.0 */ protected $_messageTemplates = []; @@ -83,7 +76,6 @@ abstract class AbstractType * Validation failure general message template definitions * * @var array - * @since 2.0.0 */ protected $_genericMessageTemplates = [ RowValidatorInterface::ERROR_INVALID_WEIGHT => 'Weight value is incorrect', @@ -94,7 +86,6 @@ abstract class AbstractType * Column names that holds values with particular meaning. * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = []; @@ -102,7 +93,6 @@ abstract class AbstractType * Custom entity type fields mapping. * * @var string[] - * @since 2.0.0 */ protected $_customFieldsMapping = []; @@ -110,7 +100,6 @@ abstract class AbstractType * Product entity object. * * @var \Magento\CatalogImportExport\Model\Import\Product - * @since 2.0.0 */ protected $_entityModel; @@ -118,31 +107,26 @@ abstract class AbstractType * Product type (simple, etc.). * * @var string - * @since 2.0.0 */ protected $_type; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $_attrSetColFac; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected $_prodAttrColFac; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -171,7 +155,6 @@ abstract class AbstractType * @param array $params * @param MetadataPool|null $metadataPool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attrSetColFac, @@ -207,7 +190,6 @@ public function __construct( /** * @param array $templateCollection * @return $this - * @since 2.0.0 */ protected function initMessageTemplates(array $templateCollection) { @@ -226,7 +208,6 @@ protected function initMessageTemplates(array $templateCollection) * @param mixed $attribute * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _addAttributeParams($attrSetName, array $attrParams, $attribute) { @@ -242,7 +223,6 @@ protected function _addAttributeParams($attrSetName, array $attrParams, $attribu * @param string $attributeCode * @param string $attributeSet * @return array - * @since 2.0.0 */ public function retrieveAttribute($attributeCode, $attributeSet) { @@ -257,7 +237,6 @@ public function retrieveAttribute($attributeCode, $attributeSet) * * @param array|string $attrSetData Product row data or simply attribute set name. * @return array - * @since 2.0.0 */ protected function _getProductAttributes($attrSetData) { @@ -272,7 +251,6 @@ protected function _getProductAttributes($attrSetData) * Initialize attributes parameters for all attributes' sets. * * @return $this - * @since 2.0.0 */ protected function _initAttributes() { @@ -321,7 +299,6 @@ protected function _initAttributes() * @param string $attributeSetName * @param array $attributeIds * @return void - * @since 2.0.0 */ protected function attachAttributesById($attributeSetName, $attributeIds) { @@ -366,7 +343,6 @@ protected function attachAttributesById($attributeSetName, $attributeIds) * * @param string $attributeCode * @return mixed - * @since 2.0.0 */ public function retrieveAttributeFromCache($attributeCode) { @@ -387,7 +363,6 @@ public function retrieveAttributeFromCache($attributeCode) * @param string $optionValue * * @return $this - * @since 2.0.0 */ public function addAttributeOption($code, $optionKey, $optionValue) { @@ -405,7 +380,6 @@ public function addAttributeOption($code, $optionKey, $optionValue) * @param string $attrCode * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _isAttributeRequiredCheckNeeded($attrCode) { @@ -419,7 +393,6 @@ protected function _isAttributeRequiredCheckNeeded($attrCode) * @param int $rowNum * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _isParticularAttributesValid(array $rowData, $rowNum) { @@ -431,7 +404,6 @@ protected function _isParticularAttributesValid(array $rowData, $rowNum) * * @param string $value * @return int - * @since 2.0.0 */ protected function _isPriceCorr($value) { @@ -442,7 +414,6 @@ protected function _isPriceCorr($value) * Particular attribute names getter. * * @return string[] - * @since 2.0.0 */ public function getParticularAttributes() { @@ -453,7 +424,6 @@ public function getParticularAttributes() * Return entity custom Fields mapping. * * @return string[] - * @since 2.0.0 */ public function getCustomFieldsMapping() { @@ -468,7 +438,6 @@ public function getCustomFieldsMapping() * @param bool $isNewProduct Optional * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true) { @@ -510,7 +479,6 @@ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true) * Additional check for model availability. If method returns FALSE - model is not suitable for data processing. * * @return bool - * @since 2.0.0 */ public function isSuitable() { @@ -526,7 +494,6 @@ public function isSuitable() * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDefaultValue = true) { @@ -563,7 +530,6 @@ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDe * * @param array $rowData * @return array - * @since 2.0.0 */ public function clearEmptyData(array $rowData) { @@ -579,7 +545,6 @@ public function clearEmptyData(array $rowData) * Save product type specific data. * * @return $this - * @since 2.0.0 */ public function saveData() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Factory.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Factory.php index 185b578812cb2..61153c0a555cc 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Factory.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Factory.php @@ -7,7 +7,6 @@ /** * Import product type factory - * @since 2.0.0 */ class Factory { @@ -15,13 +14,11 @@ class Factory * Object Manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $arguments * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($className, array $arguments = []) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Simple.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Simple.php index 1bd7edf067f68..66bd323182a06 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Simple.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Simple.php @@ -9,7 +9,6 @@ * Import entity simple product type * * @api - * @since 2.0.0 */ class Simple extends \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType { @@ -17,7 +16,6 @@ class Simple extends \Magento\CatalogImportExport\Model\Import\Product\Type\Abst * Attributes' codes which will be allowed anyway, independently from its visibility property. * * @var string[] - * @since 2.0.0 */ protected $_forcedAttributesCodes = [ 'related_tgtr_position_behavior', diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Virtual.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Virtual.php index 0683d5866d6c6..adeae073fa229 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Virtual.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Type/Virtual.php @@ -9,7 +9,6 @@ * Import entity virtual product type * * @api - * @since 2.0.0 */ class Virtual extends \Magento\CatalogImportExport\Model\Import\Product\Type\Simple { @@ -24,7 +23,6 @@ class Virtual extends \Magento\CatalogImportExport\Model\Import\Product\Type\Sim * @param array $rowData * @param bool $withDefaultValue * @return array - * @since 2.0.0 */ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDefaultValue = true) { @@ -38,7 +36,6 @@ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDe * * @param array $rowData * @return array - * @since 2.0.0 */ protected function setWeightVirtualProduct(array $rowData) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php index 1f53f03626773..3433fab59ed95 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php @@ -12,37 +12,31 @@ * Class Validator * * @api - * @since 2.0.0 */ class Validator extends AbstractValidator implements RowValidatorInterface { /** * @var RowValidatorInterface[]|AbstractValidator[] - * @since 2.0.0 */ protected $validators = []; /** * @var \Magento\CatalogImportExport\Model\Import\Product - * @since 2.0.0 */ protected $context; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @var array - * @since 2.0.0 */ protected $_uniqueAttributes; /** * @var array - * @since 2.0.0 */ protected $_rowData; @@ -55,7 +49,6 @@ class Validator extends AbstractValidator implements RowValidatorInterface /** * @param \Magento\Framework\Stdlib\StringUtils $string * @param RowValidatorInterface[] $validators - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -69,7 +62,6 @@ public function __construct( * @param mixed $attrCode * @param string $type * @return bool - * @since 2.0.0 */ protected function textValidation($attrCode, $type) { @@ -92,7 +84,7 @@ protected function textValidation($attrCode, $type) * @param array $possibleOptions * @param string $value * @return bool - * @since 2.2.0 + * @since 2.1.3 */ private function validateOption($attrCode, $possibleOptions, $value) { @@ -116,7 +108,6 @@ private function validateOption($attrCode, $possibleOptions, $value) * @param mixed $attrCode * @param string $type * @return bool - * @since 2.0.0 */ protected function numericValidation($attrCode, $type) { @@ -145,7 +136,6 @@ protected function numericValidation($attrCode, $type) * @param array $attributeParams * @param array $rowData * @return bool - * @since 2.0.0 */ public function isRequiredAttributeValid($attrCode, array $attributeParams, array $rowData) { @@ -170,7 +160,6 @@ public function isRequiredAttributeValid($attrCode, array $attributeParams, arra * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function isAttributeValid($attrCode, array $attrParams, array $rowData) { @@ -271,7 +260,6 @@ public function getInvalidAttribute() /** * @return bool * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function isValidAttributes() { @@ -297,7 +285,6 @@ protected function isValidAttributes() /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid($value) { @@ -318,7 +305,6 @@ public function isValid($value) * * @param array $rowData * @return int - * @since 2.0.0 */ public function getRowScope(array $rowData) { @@ -331,7 +317,6 @@ public function getRowScope(array $rowData) /** * @param \Magento\CatalogImportExport\Model\Import\Product $context * @return $this - * @since 2.0.0 */ public function init($context) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractImportValidator.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractImportValidator.php index 8e4512bab931f..81f198969c997 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractImportValidator.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractImportValidator.php @@ -11,20 +11,17 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\AbstractImportValidator * - * @since 2.0.0 */ abstract class AbstractImportValidator extends AbstractValidator implements RowValidatorInterface { /** * @var \Magento\CatalogImportExport\Model\Import\Product - * @since 2.0.0 */ protected $context; /** * @param \Magento\CatalogImportExport\Model\Import\Product $context * @return $this - * @since 2.0.0 */ public function init($context) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractPrice.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractPrice.php index b73cee48d09ae..8a184727b8c34 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractPrice.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/AbstractPrice.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\AbstractPrice * - * @since 2.0.0 */ abstract class AbstractPrice extends AbstractImportValidator implements RowValidatorInterface { /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var \Magento\Framework\Api\SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; @@ -30,14 +27,12 @@ abstract class AbstractPrice extends AbstractImportValidator implements RowValid * Customer groups ID-to-name. * * @var array - * @since 2.0.0 */ protected $customerGroups = []; /** * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder - * @since 2.0.0 */ public function __construct( \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, @@ -49,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function init($context) { 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 9807fc2aa5eb6..19c191ade7920 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\Media * - * @since 2.0.0 */ class Media extends AbstractImportValidator implements RowValidatorInterface { @@ -51,7 +50,6 @@ public function __construct(Validator $validator = null) /** * @var array - * @since 2.0.0 */ protected $mediaAttributes = ['image', 'small_image', 'thumbnail']; @@ -60,7 +58,6 @@ public function __construct(Validator $validator = null) * @return bool * @deprecated 2.2.0 As this method doesn't give guarantee of correct url validation. * @see \Magento\Framework\Url\Validator::isValid() It provides better url validation. - * @since 2.0.0 */ protected function checkValidUrl($string) { @@ -70,7 +67,6 @@ protected function checkValidUrl($string) /** * @param string $string * @return bool - * @since 2.0.0 */ protected function checkPath($string) { @@ -80,7 +76,6 @@ protected function checkPath($string) /** * @param string $path * @return bool - * @since 2.0.0 */ protected function checkFileExists($path) { @@ -93,7 +88,6 @@ protected function checkFileExists($path) * @param array $value * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Quantity.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Quantity.php index 1376e71b05737..728d3e4d17621 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Quantity.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Quantity.php @@ -9,13 +9,11 @@ /** * Class Quantity - * @since 2.0.0 */ class Quantity extends AbstractImportValidator implements RowValidatorInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/SuperProductsSku.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/SuperProductsSku.php index 2a3de3a505ae6..d06e5a651027a 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/SuperProductsSku.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/SuperProductsSku.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\SuperProductsSku * - * @since 2.0.0 */ class SuperProductsSku extends AbstractImportValidator implements RowValidatorInterface { /** * @var SkuProcessor - * @since 2.0.0 */ protected $skuProcessor; /** * @param SkuProcessor $skuProcessor - * @since 2.0.0 */ public function __construct( SkuProcessor $skuProcessor @@ -33,7 +30,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/TierPrice.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/TierPrice.php index 748636e503a88..c498434deae1f 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/TierPrice.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/TierPrice.php @@ -10,13 +10,11 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\TierPrice * - * @since 2.0.0 */ class TierPrice extends AbstractPrice implements RowValidatorInterface { /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $storeResolver; @@ -24,7 +22,6 @@ class TierPrice extends AbstractPrice implements RowValidatorInterface * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver - * @since 2.0.0 */ public function __construct( \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, @@ -38,7 +35,6 @@ public function __construct( /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Website.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Website.php index 305650e16296e..3a8a6f91a5386 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Website.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Website.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\Website * - * @since 2.0.0 */ class Website extends AbstractImportValidator implements RowValidatorInterface { /** * @var \Magento\CatalogImportExport\Model\Import\Product\StoreResolver - * @since 2.0.0 */ protected $storeResolver; /** * @param \Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver - * @since 2.0.0 */ public function __construct(\Magento\CatalogImportExport\Model\Import\Product\StoreResolver $storeResolver) { @@ -32,7 +29,6 @@ public function __construct(\Magento\CatalogImportExport\Model\Import\Product\St /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Weight.php b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Weight.php index d3619279e8152..5ab71ec24c1ce 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Weight.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Weight.php @@ -10,13 +10,11 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Product\Validator\Weight * - * @since 2.0.0 */ class Weight extends AbstractImportValidator implements RowValidatorInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid($value) { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product.php index 8aef1eb331ac9..2f3e9a297b7fa 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Proxy\Product * - * @since 2.0.0 */ class Product extends \Magento\Catalog\Model\Product { @@ -22,7 +21,6 @@ class Product extends \Magento\Catalog\Model\Product * DO NOT Initialize resources. * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product/ResourceModel.php b/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product/ResourceModel.php index 3b28142b3a45e..31393e65db212 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product/ResourceModel.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Proxy/Product/ResourceModel.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogImportExport\Model\Import\Proxy\Product\ResourceModel * - * @since 2.0.0 */ class ResourceModel extends \Magento\Catalog\Model\ResourceModel\Product { diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php b/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php index e4ce5ff2aeeb4..03d773aa91aa4 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Uploader.php @@ -12,7 +12,6 @@ * Import entity product model * * @api - * @since 2.0.0 */ class Uploader extends \Magento\MediaStorage\Model\File\Uploader { @@ -29,7 +28,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Temp directory. * * @var string - * @since 2.0.0 */ protected $_tmpDir = ''; @@ -37,7 +35,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Destination directory. * * @var string - * @since 2.0.0 */ protected $_destDir = ''; @@ -45,7 +42,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * All mime types. * * @var array - * @since 2.0.0 */ protected $_allowedMimeTypes = [ 'jpg' => 'image/jpeg', @@ -60,7 +56,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Image factory. * * @var \Magento\Framework\Image\AdapterFactory - * @since 2.0.0 */ protected $_imageFactory; @@ -68,7 +63,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Validator. * * @var \Magento\MediaStorage\Model\File\Validator\NotProtectedExtension - * @since 2.0.0 */ protected $_validator; @@ -76,7 +70,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Instance of filesystem directory write interface. * * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_directory; @@ -84,7 +77,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Instance of filesystem read factory. * * @var \Magento\Framework\Filesystem\File\ReadFactory - * @since 2.0.0 */ protected $_readFactory; @@ -92,7 +84,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Instance of media file storage database. * * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $_coreFileStorageDb; @@ -100,7 +91,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * Instance of media file storage. * * @var \Magento\MediaStorage\Helper\File\Storage - * @since 2.0.0 */ protected $_coreFileStorage; @@ -113,7 +103,6 @@ class Uploader extends \Magento\MediaStorage\Model\File\Uploader * @param \Magento\Framework\Filesystem\File\ReadFactory $readFactory * @param null $filePath * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function __construct( \Magento\MediaStorage\Helper\File\Storage\Database $coreFileStorageDb, @@ -139,7 +128,6 @@ public function __construct( * Initiate uploader default settings * * @return void - * @since 2.0.0 */ public function init() { @@ -158,7 +146,6 @@ public function init() * @param string $fileName * @param bool $renameFileOff * @return array - * @since 2.0.0 */ public function move($fileName, $renameFileOff = false) { @@ -195,7 +182,6 @@ public function move($fileName, $renameFileOff = false) * @param string $filePath * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _setUploadFile($filePath) { @@ -214,7 +200,6 @@ protected function _setUploadFile($filePath) * * @param string $filePath * @return array - * @since 2.0.0 */ protected function _readFileInfo($filePath) { @@ -234,7 +219,6 @@ protected function _readFileInfo($filePath) * * @return void * @throws \Exception - * @since 2.0.0 */ protected function _validateFile() { @@ -265,7 +249,6 @@ protected function _validateFile() * * @param string $ext * @return string - * @since 2.0.0 */ protected function _getMimeTypeByExt($ext) { @@ -279,7 +262,6 @@ protected function _getMimeTypeByExt($ext) * Obtain TMP file path prefix * * @return string - * @since 2.0.0 */ public function getTmpDir() { @@ -291,7 +273,6 @@ public function getTmpDir() * * @param string $path * @return bool - * @since 2.0.0 */ public function setTmpDir($path) { @@ -306,7 +287,6 @@ public function setTmpDir($path) * Obtain destination file path prefix * * @return string - * @since 2.0.0 */ public function getDestDir() { @@ -318,7 +298,6 @@ public function getDestDir() * * @param string $path * @return bool - * @since 2.0.0 */ public function setDestDir($path) { @@ -335,7 +314,6 @@ public function setDestDir($path) * @param string $tmpPath * @param string $destPath * @return bool - * @since 2.0.0 */ protected function _moveFile($tmpPath, $destPath) { @@ -354,7 +332,6 @@ protected function _moveFile($tmpPath, $destPath) /** * {@inheritdoc} - * @since 2.0.0 */ protected function chmod($file) { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Category/Product/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Category/Product/Plugin/Import.php index ef68f0950c236..b22c8a63eb09a 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Category/Product/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Category/Product/Plugin/Import.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Category\Product\Plugin\Import * - * @since 2.0.0 */ class Import { /** * @var \Magento\Catalog\Model\Indexer\Category\Product\Processor - * @since 2.0.0 */ protected $_indexerCategoryProductProcessor; /** * @param \Magento\Catalog\Model\Indexer\Category\Product\Processor $indexerCategoryProductProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Category\Product\Processor $indexerCategoryProductProcessor) { @@ -38,7 +35,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Category\Product\Proc * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $import) { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Category/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Category/Plugin/Import.php index c0fb09fc397d4..77693eb460078 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Category/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Category/Plugin/Import.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Product\Category\Plugin\Import * - * @since 2.0.0 */ class Import { /** * @var \Magento\Catalog\Model\Indexer\Product\Category\Processor - * @since 2.0.0 */ protected $_indexerProductCategoryProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Category\Processor $indexerProductCategoryProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Category\Processor $indexerProductCategoryProcessor) { @@ -38,7 +35,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Category\Proc * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $import) { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Eav/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Eav/Plugin/Import.php index 60c81b875c8b3..e39fe85cee6e6 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Eav/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Eav/Plugin/Import.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Product\Eav\Plugin\Import * - * @since 2.0.0 */ class Import { /** * @var \Magento\Catalog\Model\Indexer\Product\Eav\Processor - * @since 2.0.0 */ protected $_indexerEavProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Eav\Processor $indexerEavProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor $indexerEavProcessor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Eav\Processor * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $import) { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Flat/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Flat/Plugin/Import.php index f3472c299f6fe..0c9aa05bef551 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Flat/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Flat/Plugin/Import.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Product\Flat\Plugin\Import * - * @since 2.0.0 */ class Import { /** * @var \Magento\Catalog\Model\Indexer\Product\Flat\Processor - * @since 2.0.0 */ protected $_productFlatIndexerProcessor; /** * @param \Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processor $productFlatIndexerProcessor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Catalog\Model\Indexer\Product\Flat\Processo * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $import) { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Price/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Price/Plugin/Import.php index 08f6eddeb898a..a7bb96e395fe1 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Price/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Product/Price/Plugin/Import.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Product\Price\Plugin\Import * - * @since 2.0.0 */ class Import extends \Magento\Catalog\Model\Indexer\Product\Price\Plugin\AbstractPlugin { @@ -20,7 +19,6 @@ class Import extends \Magento\Catalog\Model\Indexer\Product\Price\Plugin\Abstrac * @return bool * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $result) { @@ -34,7 +32,6 @@ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $ * Get price indexer * * @return \Magento\Framework\Indexer\IndexerInterface - * @since 2.0.0 */ protected function getPriceIndexer() { diff --git a/app/code/Magento/CatalogImportExport/Model/Indexer/Stock/Plugin/Import.php b/app/code/Magento/CatalogImportExport/Model/Indexer/Stock/Plugin/Import.php index ad86888f16647..db3848e590114 100644 --- a/app/code/Magento/CatalogImportExport/Model/Indexer/Stock/Plugin/Import.php +++ b/app/code/Magento/CatalogImportExport/Model/Indexer/Stock/Plugin/Import.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogImportExport\Model\Indexer\Stock\Plugin\Import * - * @since 2.0.0 */ class Import { /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $_stockndexerProcessor; /** * @param \Magento\CatalogInventory\Model\Indexer\Stock\Processor $stockndexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\CatalogInventory\Model\Indexer\Stock\Processor $stockndexerProcessor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\CatalogInventory\Model\Indexer\Stock\Proces * * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(\Magento\ImportExport\Model\Import $subject, $import) { diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockCollectionInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockCollectionInterface.php index d1d70c1e95fe5..9249da56d8186 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockCollectionInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockCollectionInterface.php @@ -14,7 +14,6 @@ /** * Interface StockCollectionInterface * @api - * @since 2.0.0 */ interface StockCollectionInterface extends SearchResultsInterface { @@ -22,7 +21,6 @@ interface StockCollectionInterface extends SearchResultsInterface * Get items * * @return \Magento\CatalogInventory\Api\Data\StockInterface[] - * @since 2.0.0 */ public function getItems(); @@ -31,7 +29,6 @@ public function getItems(); * * @param \Magento\CatalogInventory\Api\Data\StockInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockInterface.php index d16c8fbf543ae..f3288d632cfb1 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockInterface.php @@ -10,7 +10,6 @@ /** * Interface Stock * @api - * @since 2.0.0 */ interface StockInterface extends ExtensibleDataInterface { @@ -22,7 +21,6 @@ interface StockInterface extends ExtensibleDataInterface * Retrieve stock identifier * * @return int - * @since 2.0.0 */ public function getStockId(); @@ -31,7 +29,6 @@ public function getStockId(); * * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId); @@ -39,7 +36,6 @@ public function setStockId($stockId); * Retrieve stock name * * @return string - * @since 2.0.0 */ public function getStockName(); @@ -48,7 +44,6 @@ public function getStockName(); * * @param string $stockName * @return $this - * @since 2.0.0 */ public function setStockName($stockName); @@ -56,7 +51,6 @@ public function setStockName($stockName); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CatalogInventory\Api\Data\StockExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -65,7 +59,6 @@ public function getExtensionAttributes(); * * @param \Magento\CatalogInventory\Api\Data\StockExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockItemCollectionInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockItemCollectionInterface.php index f101e921de98d..9a36d0caa0bd2 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockItemCollectionInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockItemCollectionInterface.php @@ -14,7 +14,6 @@ /** * Interface StockItemCollectionInterface * @api - * @since 2.0.0 */ interface StockItemCollectionInterface extends SearchResultsInterface { @@ -22,7 +21,6 @@ interface StockItemCollectionInterface extends SearchResultsInterface * Get items * * @return \Magento\CatalogInventory\Api\Data\StockItemInterface[] - * @since 2.0.0 */ public function getItems(); @@ -31,7 +29,6 @@ public function getItems(); * * @param \Magento\CatalogInventory\Api\Data\StockItemInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); @@ -39,7 +36,6 @@ public function setItems(array $items); * Get search criteria. * * @return \Magento\CatalogInventory\Api\StockItemCriteriaInterface - * @since 2.0.0 */ public function getSearchCriteria(); } diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php index 1d861dd142115..63dc05ec57c0a 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockItemInterface.php @@ -10,7 +10,6 @@ /** * Interface StockItem * @api - * @since 2.0.0 */ interface StockItemInterface extends ExtensibleDataInterface { @@ -57,27 +56,23 @@ interface StockItemInterface extends ExtensibleDataInterface /** * @return int|null - * @since 2.0.0 */ public function getItemId(); /** * @param int $itemId * @return $this - * @since 2.0.0 */ public function setItemId($itemId); /** * @return int|null - * @since 2.0.0 */ public function getProductId(); /** * @param int $productId * @return $this - * @since 2.0.0 */ public function setProductId($productId); @@ -85,7 +80,6 @@ public function setProductId($productId); * Retrieve stock identifier * * @return int|null - * @since 2.0.0 */ public function getStockId(); @@ -94,20 +88,17 @@ public function getStockId(); * * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId); /** * @return float - * @since 2.0.0 */ public function getQty(); /** * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty); @@ -115,7 +106,6 @@ public function setQty($qty); * Retrieve Stock Availability * * @return bool|int - * @since 2.0.0 */ public function getIsInStock(); @@ -124,42 +114,36 @@ public function getIsInStock(); * * @param bool|int $isInStock * @return $this - * @since 2.0.0 */ public function setIsInStock($isInStock); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsQtyDecimal(); /** * @param bool $isQtyDecimal * @return $this - * @since 2.0.0 */ public function setIsQtyDecimal($isQtyDecimal); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getShowDefaultNotificationMessage(); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigMinQty(); /** * @param bool $useConfigMinQty * @return $this - * @since 2.0.0 */ public function setUseConfigMinQty($useConfigMinQty); @@ -167,7 +151,6 @@ public function setUseConfigMinQty($useConfigMinQty); * Retrieve minimal quantity available for item status in stock * * @return float - * @since 2.0.0 */ public function getMinQty(); @@ -176,20 +159,17 @@ public function getMinQty(); * * @param float $minQty * @return $this - * @since 2.0.0 */ public function setMinQty($minQty); /** * @return int - * @since 2.0.0 */ public function getUseConfigMinSaleQty(); /** * @param int $useConfigMinSaleQty * @return $this - * @since 2.0.0 */ public function setUseConfigMinSaleQty($useConfigMinSaleQty); @@ -197,7 +177,6 @@ public function setUseConfigMinSaleQty($useConfigMinSaleQty); * Retrieve Minimum Qty Allowed in Shopping Cart or NULL when there is no limitation * * @return float - * @since 2.0.0 */ public function getMinSaleQty(); @@ -206,21 +185,18 @@ public function getMinSaleQty(); * * @param float $minSaleQty * @return $this - * @since 2.0.0 */ public function setMinSaleQty($minSaleQty); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigMaxSaleQty(); /** * @param bool $useConfigMaxSaleQty * @return $this - * @since 2.0.0 */ public function setUseConfigMaxSaleQty($useConfigMaxSaleQty); @@ -228,7 +204,6 @@ public function setUseConfigMaxSaleQty($useConfigMaxSaleQty); * Retrieve Maximum Qty Allowed in Shopping Cart data wrapper * * @return float - * @since 2.0.0 */ public function getMaxSaleQty(); @@ -237,21 +212,18 @@ public function getMaxSaleQty(); * * @param float $maxSaleQty * @return $this - * @since 2.0.0 */ public function setMaxSaleQty($maxSaleQty); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigBackorders(); /** * @param bool $useConfigBackorders * @return $this - * @since 2.0.0 */ public function setUseConfigBackorders($useConfigBackorders); @@ -259,7 +231,6 @@ public function setUseConfigBackorders($useConfigBackorders); * Retrieve backorders status * * @return int - * @since 2.0.0 */ public function getBackorders(); @@ -268,21 +239,18 @@ public function getBackorders(); * * @param int $backOrders * @return $this - * @since 2.0.0 */ public function setBackorders($backOrders); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigNotifyStockQty(); /** * @param bool $useConfigNotifyStockQty * @return $this - * @since 2.0.0 */ public function setUseConfigNotifyStockQty($useConfigNotifyStockQty); @@ -290,7 +258,6 @@ public function setUseConfigNotifyStockQty($useConfigNotifyStockQty); * Retrieve Notify for Quantity Below data wrapper * * @return float - * @since 2.0.0 */ public function getNotifyStockQty(); @@ -299,21 +266,18 @@ public function getNotifyStockQty(); * * @param float $notifyStockQty * @return $this - * @since 2.0.0 */ public function setNotifyStockQty($notifyStockQty); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigQtyIncrements(); /** * @param bool $useConfigQtyIncrements * @return $this - * @since 2.0.0 */ public function setUseConfigQtyIncrements($useConfigQtyIncrements); @@ -321,7 +285,6 @@ public function setUseConfigQtyIncrements($useConfigQtyIncrements); * Retrieve Quantity Increments data wrapper * * @return float|false - * @since 2.0.0 */ public function getQtyIncrements(); @@ -330,21 +293,18 @@ public function getQtyIncrements(); * * @param float $qtyIncrements * @return $this - * @since 2.0.0 */ public function setQtyIncrements($qtyIncrements); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigEnableQtyInc(); /** * @param bool $useConfigEnableQtyInc * @return $this - * @since 2.0.0 */ public function setUseConfigEnableQtyInc($useConfigEnableQtyInc); @@ -353,7 +313,6 @@ public function setUseConfigEnableQtyInc($useConfigEnableQtyInc); * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getEnableQtyIncrements(); @@ -362,21 +321,18 @@ public function getEnableQtyIncrements(); * * @param bool $enableQtyIncrements * @return $this - * @since 2.0.0 */ public function setEnableQtyIncrements($enableQtyIncrements); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigManageStock(); /** * @param bool $useConfigManageStock * @return $this - * @since 2.0.0 */ public function setUseConfigManageStock($useConfigManageStock); @@ -385,54 +341,46 @@ public function setUseConfigManageStock($useConfigManageStock); * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getManageStock(); /** * @param bool $manageStock * @return $this - * @since 2.0.0 */ public function setManageStock($manageStock); /** * @return string - * @since 2.0.0 */ public function getLowStockDate(); /** * @param string $lowStockDate * @return $this - * @since 2.0.0 */ public function setLowStockDate($lowStockDate); /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsDecimalDivided(); /** * @param bool $isDecimalDivided * @return $this - * @since 2.0.0 */ public function setIsDecimalDivided($isDecimalDivided); /** * @return int - * @since 2.0.0 */ public function getStockStatusChangedAuto(); /** * @param int $stockStatusChangedAuto * @return $this - * @since 2.0.0 */ public function setStockStatusChangedAuto($stockStatusChangedAuto); @@ -440,7 +388,6 @@ public function setStockStatusChangedAuto($stockStatusChangedAuto); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -449,7 +396,6 @@ public function getExtensionAttributes(); * * @param \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockStatusCollectionInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockStatusCollectionInterface.php index 16b70bcd25f4c..b7535645e117f 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockStatusCollectionInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockStatusCollectionInterface.php @@ -10,7 +10,6 @@ /** * Stock Status collection interface * @api - * @since 2.0.0 */ interface StockStatusCollectionInterface extends SearchResultsInterface { @@ -18,7 +17,6 @@ interface StockStatusCollectionInterface extends SearchResultsInterface * Get items * * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface[] - * @since 2.0.0 */ public function getItems(); @@ -27,7 +25,6 @@ public function getItems(); * * @param \Magento\CatalogInventory\Api\Data\StockStatusInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); @@ -35,7 +32,6 @@ public function setItems(array $items); * Get search criteria. * * @return \Magento\CatalogInventory\Api\StockStatusCriteriaInterface - * @since 2.0.0 */ public function getSearchCriteria(); } diff --git a/app/code/Magento/CatalogInventory/Api/Data/StockStatusInterface.php b/app/code/Magento/CatalogInventory/Api/Data/StockStatusInterface.php index d97b45b32dff7..4282d6b238854 100644 --- a/app/code/Magento/CatalogInventory/Api/Data/StockStatusInterface.php +++ b/app/code/Magento/CatalogInventory/Api/Data/StockStatusInterface.php @@ -10,7 +10,6 @@ /** * Interface StockStatusInterface * @api - * @since 2.0.0 */ interface StockStatusInterface extends ExtensibleDataInterface { @@ -27,59 +26,50 @@ interface StockStatusInterface extends ExtensibleDataInterface /** * @return int - * @since 2.0.0 */ public function getProductId(); /** * @param int $productId * @return $this - * @since 2.0.0 */ public function setProductId($productId); /** * @return int - * @since 2.0.0 */ public function getStockId(); /** * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId); /** * @return int - * @since 2.0.0 */ public function getQty(); /** * @param int $qty * @return $this - * @since 2.0.0 */ public function setQty($qty); /** * @return int - * @since 2.0.0 */ public function getStockStatus(); /** * @param int $stockStatus * @return $this - * @since 2.0.0 */ public function setStockStatus($stockStatus); /** * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem(); @@ -87,7 +77,6 @@ public function getStockItem(); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -96,7 +85,6 @@ public function getExtensionAttributes(); * * @param \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Api/StockConfigurationInterface.php b/app/code/Magento/CatalogInventory/Api/StockConfigurationInterface.php index edacf2ab2dcde..7f4afea26d437 100644 --- a/app/code/Magento/CatalogInventory/Api/StockConfigurationInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockConfigurationInterface.php @@ -8,7 +8,6 @@ /** * Interface StockConfigurationInterface * @api - * @since 2.0.0 */ interface StockConfigurationInterface { @@ -16,14 +15,12 @@ interface StockConfigurationInterface * Retrieve Default Scope ID * * @return int - * @since 2.0.0 */ public function getDefaultScopeId(); /** * @param int $filter * @return int[] - * @since 2.0.0 */ public function getIsQtyTypeIds($filter = null); @@ -32,7 +29,6 @@ public function getIsQtyTypeIds($filter = null); * * @param int $productTypeId * @return bool - * @since 2.0.0 */ public function isQty($productTypeId); @@ -41,14 +37,12 @@ public function isQty($productTypeId); * * @param int $storeId * @return bool - * @since 2.0.0 */ public function canSubtractQty($storeId = null); /** * @param int $storeId * @return float - * @since 2.0.0 */ public function getMinQty($storeId = null); @@ -56,21 +50,18 @@ public function getMinQty($storeId = null); * @param int $storeId * @param int $customerGroupId * @return float - * @since 2.0.0 */ public function getMinSaleQty($storeId = null, $customerGroupId = null); /** * @param int $storeId * @return float - * @since 2.0.0 */ public function getMaxSaleQty($storeId = null); /** * @param int $storeId * @return float - * @since 2.0.0 */ public function getNotifyStockQty($storeId = null); @@ -80,14 +71,12 @@ public function getNotifyStockQty($storeId = null); * @param int $storeId * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getEnableQtyIncrements($storeId = null); /** * @param int $storeId * @return int - * @since 2.0.0 */ public function getQtyIncrements($store = null); @@ -96,7 +85,6 @@ public function getQtyIncrements($store = null); * * @param int $storeId * @return int - * @since 2.0.0 */ public function getBackorders($storeId = null); @@ -105,7 +93,6 @@ public function getBackorders($storeId = null); * * @param int $storeId * @return int - * @since 2.0.0 */ public function getManageStock($storeId = null); @@ -115,7 +102,6 @@ public function getManageStock($storeId = null); * @param int $storeId * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCanBackInStock($storeId = null); @@ -124,7 +110,6 @@ public function getCanBackInStock($storeId = null); * * @param int $storeId * @return bool - * @since 2.0.0 */ public function isShowOutOfStock($storeId = null); @@ -133,7 +118,6 @@ public function isShowOutOfStock($storeId = null); * * @param int $storeId * @return bool - * @since 2.0.0 */ public function isAutoReturnEnabled($storeId = null); @@ -143,7 +127,6 @@ public function isAutoReturnEnabled($storeId = null); * * @param int $storeId * @return bool - * @since 2.0.0 */ public function isDisplayProductStockStatus($storeId = null); @@ -151,7 +134,6 @@ public function isDisplayProductStockStatus($storeId = null); * @param string $field * @param int $storeId * @return string - * @since 2.0.0 */ public function getDefaultConfigValue($field, $storeId = null); @@ -159,7 +141,6 @@ public function getDefaultConfigValue($field, $storeId = null); * Retrieve inventory item options (used in config) * * @return string[] - * @since 2.0.0 */ public function getConfigItemOptions(); } diff --git a/app/code/Magento/CatalogInventory/Api/StockCriteriaInterface.php b/app/code/Magento/CatalogInventory/Api/StockCriteriaInterface.php index b793dce2a1cb8..a838901f77dbc 100644 --- a/app/code/Magento/CatalogInventory/Api/StockCriteriaInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockCriteriaInterface.php @@ -8,7 +8,6 @@ /** * Interface StockCriteriaInterface * @api - * @since 2.0.0 */ interface StockCriteriaInterface extends \Magento\Framework\Api\CriteriaInterface { @@ -17,7 +16,6 @@ interface StockCriteriaInterface extends \Magento\Framework\Api\CriteriaInterfac * * @param \Magento\CatalogInventory\Api\StockCriteriaInterface $criteria * @return bool - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockCriteriaInterface $criteria); @@ -26,7 +24,6 @@ public function addCriteria(\Magento\CatalogInventory\Api\StockCriteriaInterface * * @param int $scope * @return bool - * @since 2.0.0 */ public function setScopeFilter($scope); } diff --git a/app/code/Magento/CatalogInventory/Api/StockIndexInterface.php b/app/code/Magento/CatalogInventory/Api/StockIndexInterface.php index b0632c68be8f2..13ffb054d925e 100644 --- a/app/code/Magento/CatalogInventory/Api/StockIndexInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockIndexInterface.php @@ -8,7 +8,6 @@ /** * Interface StockIndexInterface * @api - * @since 2.0.0 */ interface StockIndexInterface { @@ -18,7 +17,6 @@ interface StockIndexInterface * @param int $productId * @param int $scopeId * @return bool - * @since 2.0.0 */ public function rebuild($productId = null, $scopeId = null); } diff --git a/app/code/Magento/CatalogInventory/Api/StockItemCriteriaInterface.php b/app/code/Magento/CatalogInventory/Api/StockItemCriteriaInterface.php index 24f745076cde6..3d5041f26d49e 100644 --- a/app/code/Magento/CatalogInventory/Api/StockItemCriteriaInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockItemCriteriaInterface.php @@ -8,7 +8,6 @@ /** * Interface StockItemCriteriaInterface * @api - * @since 2.0.0 */ interface StockItemCriteriaInterface extends \Magento\Framework\Api\CriteriaInterface { @@ -17,7 +16,6 @@ interface StockItemCriteriaInterface extends \Magento\Framework\Api\CriteriaInte * * @param \Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria * @return bool - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria); @@ -26,7 +24,6 @@ public function addCriteria(\Magento\CatalogInventory\Api\StockItemCriteriaInter * * @param int $storeId * @return bool - * @since 2.0.0 */ public function setStockStatus($storeId = null); @@ -35,7 +32,6 @@ public function setStockStatus($storeId = null); * * @param \Magento\CatalogInventory\Api\Data\StockInterface $stock * @return bool - * @since 2.0.0 */ public function setStockFilter($stock); @@ -44,7 +40,6 @@ public function setStockFilter($stock); * * @param int $scope * @return bool - * @since 2.0.0 */ public function setScopeFilter($scope); @@ -53,7 +48,6 @@ public function setScopeFilter($scope); * * @param int|int[] $products * @return bool - * @since 2.0.0 */ public function setProductsFilter($products); @@ -62,7 +56,6 @@ public function setProductsFilter($products); * * @param bool $isStockManagedInConfig * @return bool - * @since 2.0.0 */ public function setManagedFilter($isStockManagedInConfig); @@ -72,7 +65,6 @@ public function setManagedFilter($isStockManagedInConfig); * @param string $comparisonMethod * @param float $qty * @return bool - * @since 2.0.0 */ public function setQtyFilter($comparisonMethod, $qty); } diff --git a/app/code/Magento/CatalogInventory/Api/StockItemRepositoryInterface.php b/app/code/Magento/CatalogInventory/Api/StockItemRepositoryInterface.php index 2e42fb06cacfa..98627910d9669 100644 --- a/app/code/Magento/CatalogInventory/Api/StockItemRepositoryInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockItemRepositoryInterface.php @@ -8,7 +8,6 @@ /** * Interface StockItemRepository * @api - * @since 2.0.0 */ interface StockItemRepositoryInterface { @@ -17,7 +16,6 @@ interface StockItemRepositoryInterface * * @param \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem); @@ -26,7 +24,6 @@ public function save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stoc * * @param int $stockItemId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function get($stockItemId); @@ -35,7 +32,6 @@ public function get($stockItemId); * * @param \Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria * @return \Magento\CatalogInventory\Api\Data\StockItemCollectionInterface - * @since 2.0.0 */ public function getList(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria); @@ -44,14 +40,12 @@ public function getList(\Magento\CatalogInventory\Api\StockItemCriteriaInterface * * @param \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ public function delete(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem); /** * @param int $id * @return bool - * @since 2.0.0 */ public function deleteById($id); } diff --git a/app/code/Magento/CatalogInventory/Api/StockManagementInterface.php b/app/code/Magento/CatalogInventory/Api/StockManagementInterface.php index 28a47fc798e06..ef4df59671c86 100644 --- a/app/code/Magento/CatalogInventory/Api/StockManagementInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface StockManagementInterface * @api - * @since 2.0.0 */ interface StockManagementInterface { @@ -19,7 +18,6 @@ interface StockManagementInterface * @param float $qty * @param int $scopeId * @return bool - * @since 2.0.0 */ public function backItemQty($productId, $qty, $scopeId = null); } diff --git a/app/code/Magento/CatalogInventory/Api/StockRegistryInterface.php b/app/code/Magento/CatalogInventory/Api/StockRegistryInterface.php index eb12a224028e1..db70ae18c3c32 100644 --- a/app/code/Magento/CatalogInventory/Api/StockRegistryInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockRegistryInterface.php @@ -8,14 +8,12 @@ /** * Interface StockRegistryInterface * @api - * @since 2.0.0 */ interface StockRegistryInterface { /** * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function getStock($scopeId = null); @@ -23,7 +21,6 @@ public function getStock($scopeId = null); * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem($productId, $scopeId = null); @@ -32,7 +29,6 @@ public function getStockItem($productId, $scopeId = null); * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getStockItemBySku($productSku, $scopeId = null); @@ -40,7 +36,6 @@ public function getStockItemBySku($productSku, $scopeId = null); * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function getStockStatus($productId, $scopeId = null); @@ -49,7 +44,6 @@ public function getStockStatus($productId, $scopeId = null); * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getStockStatusBySku($productSku, $scopeId = null); @@ -59,7 +53,6 @@ public function getStockStatusBySku($productSku, $scopeId = null); * @param int $productId * @param int $scopeId * @return int - * @since 2.0.0 */ public function getProductStockStatus($productId, $scopeId = null); @@ -68,7 +61,6 @@ public function getProductStockStatus($productId, $scopeId = null); * @param int $scopeId * @return int * @throw \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getProductStockStatusBySku($productSku, $scopeId = null); @@ -80,7 +72,6 @@ public function getProductStockStatusBySku($productSku, $scopeId = null); * @param int $currentPage * @param int $pageSize * @return \Magento\CatalogInventory\Api\Data\StockStatusCollectionInterface - * @since 2.0.0 */ public function getLowStockItems($scopeId, $qty, $currentPage = 1, $pageSize = 0); @@ -89,7 +80,6 @@ public function getLowStockItems($scopeId, $qty, $currentPage = 1, $pageSize = 0 * @param \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem * @return int * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function updateStockItemBySku($productSku, \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem); } diff --git a/app/code/Magento/CatalogInventory/Api/StockRepositoryInterface.php b/app/code/Magento/CatalogInventory/Api/StockRepositoryInterface.php index 7c78b683ca745..2cb94a8a29b6c 100644 --- a/app/code/Magento/CatalogInventory/Api/StockRepositoryInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockRepositoryInterface.php @@ -8,7 +8,6 @@ /** * Interface StockRepositoryInterface * @api - * @since 2.0.0 */ interface StockRepositoryInterface { @@ -17,7 +16,6 @@ interface StockRepositoryInterface * * @param \Magento\CatalogInventory\Api\Data\StockInterface $stock * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function save(\Magento\CatalogInventory\Api\Data\StockInterface $stock); @@ -26,7 +24,6 @@ public function save(\Magento\CatalogInventory\Api\Data\StockInterface $stock); * * @param int $stockId * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function get($stockId); @@ -35,7 +32,6 @@ public function get($stockId); * * @param \Magento\CatalogInventory\Api\StockCriteriaInterface $collectionBuilder * @return \Magento\CatalogInventory\Api\Data\StockCollectionInterface - * @since 2.0.0 */ public function getList(StockCriteriaInterface $collectionBuilder); @@ -44,7 +40,6 @@ public function getList(StockCriteriaInterface $collectionBuilder); * * @param \Magento\CatalogInventory\Api\Data\StockInterface $stock * @return bool - * @since 2.0.0 */ public function delete(\Magento\CatalogInventory\Api\Data\StockInterface $stock); } diff --git a/app/code/Magento/CatalogInventory/Api/StockStateInterface.php b/app/code/Magento/CatalogInventory/Api/StockStateInterface.php index 92b87506adc8e..eb45b96fcb9e7 100644 --- a/app/code/Magento/CatalogInventory/Api/StockStateInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockStateInterface.php @@ -8,7 +8,6 @@ /** * Interface StockStateInterface * @api - * @since 2.0.0 */ interface StockStateInterface { @@ -16,7 +15,6 @@ interface StockStateInterface * @param int $productId * @param int $scopeId * @return bool - * @since 2.0.0 */ public function verifyStock($productId, $scopeId = null); @@ -24,7 +22,6 @@ public function verifyStock($productId, $scopeId = null); * @param int $productId * @param int $scopeId * @return bool - * @since 2.0.0 */ public function verifyNotification($productId, $scopeId = null); @@ -35,7 +32,6 @@ public function verifyNotification($productId, $scopeId = null); * @param float $origQty * @param int $scopeId * @return int - * @since 2.0.0 */ public function checkQuoteItemQty($productId, $itemQty, $qtyToCheck, $origQty, $scopeId = null); @@ -47,7 +43,6 @@ public function checkQuoteItemQty($productId, $itemQty, $qtyToCheck, $origQty, $ * @param int $scopeId * @throws \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function checkQty($productId, $qty, $scopeId = null); @@ -59,7 +54,6 @@ public function checkQty($productId, $qty, $scopeId = null); * @param float $qty * @param int $scopeId * @return float - * @since 2.0.0 */ public function suggestQty($productId, $qty, $scopeId = null); @@ -69,7 +63,6 @@ public function suggestQty($productId, $qty, $scopeId = null); * @param int $productId * @param int $scopeId * @return float - * @since 2.0.0 */ public function getStockQty($productId, $scopeId = null); } diff --git a/app/code/Magento/CatalogInventory/Api/StockStatusCriteriaInterface.php b/app/code/Magento/CatalogInventory/Api/StockStatusCriteriaInterface.php index 9cc3dd220a411..5c2cc18061f36 100644 --- a/app/code/Magento/CatalogInventory/Api/StockStatusCriteriaInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockStatusCriteriaInterface.php @@ -8,7 +8,6 @@ /** * Interface StockStatusCriteriaInterface * @api - * @since 2.0.0 */ interface StockStatusCriteriaInterface extends \Magento\Framework\Api\CriteriaInterface { @@ -17,7 +16,6 @@ interface StockStatusCriteriaInterface extends \Magento\Framework\Api\CriteriaIn * * @param \Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria * @return bool - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria); @@ -26,7 +24,6 @@ public function addCriteria(\Magento\CatalogInventory\Api\StockStatusCriteriaInt * * @param int $scope * @return bool - * @since 2.0.0 */ public function setScopeFilter($scope); @@ -35,7 +32,6 @@ public function setScopeFilter($scope); * * @param int $products * @return bool - * @since 2.0.0 */ public function setProductsFilter($products); @@ -44,7 +40,6 @@ public function setProductsFilter($products); * * @param float $qty * @return bool - * @since 2.0.0 */ public function setQtyFilter($qty); } diff --git a/app/code/Magento/CatalogInventory/Api/StockStatusRepositoryInterface.php b/app/code/Magento/CatalogInventory/Api/StockStatusRepositoryInterface.php index 7dfe5f3075186..2219e73a187b5 100644 --- a/app/code/Magento/CatalogInventory/Api/StockStatusRepositoryInterface.php +++ b/app/code/Magento/CatalogInventory/Api/StockStatusRepositoryInterface.php @@ -8,7 +8,6 @@ /** * Interface StockStatusRepositoryInterface * @api - * @since 2.0.0 */ interface StockStatusRepositoryInterface { @@ -17,7 +16,6 @@ interface StockStatusRepositoryInterface * * @param \Magento\CatalogInventory\Api\Data\StockStatusInterface $stockStatus * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function save(\Magento\CatalogInventory\Api\Data\StockStatusInterface $stockStatus); @@ -26,7 +24,6 @@ public function save(\Magento\CatalogInventory\Api\Data\StockStatusInterface $st * * @param string $stockStatusId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function get($stockStatusId); @@ -35,7 +32,6 @@ public function get($stockStatusId); * * @param \Magento\CatalogInventory\Api\StockStatusCriteriaInterface $searchCriteria * @return \Magento\CatalogInventory\Api\Data\StockStatusCollectionInterface - * @since 2.0.0 */ public function getList(StockStatusCriteriaInterface $searchCriteria); @@ -44,7 +40,6 @@ public function getList(StockStatusCriteriaInterface $searchCriteria); * * @param \Magento\CatalogInventory\Api\Data\StockStatusInterface $stockStatus * @return bool - * @since 2.0.0 */ public function delete(\Magento\CatalogInventory\Api\Data\StockStatusInterface $stockStatus); } diff --git a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Customergroup.php b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Customergroup.php index eadfb11f0a11e..dc992378d128b 100644 --- a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Customergroup.php +++ b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Customergroup.php @@ -12,7 +12,6 @@ /** * HTML select element block with customer groups options - * @since 2.0.0 */ class Customergroup extends \Magento\Framework\View\Element\Html\Select { @@ -20,7 +19,6 @@ class Customergroup extends \Magento\Framework\View\Element\Html\Select * Customer groups cache * * @var array - * @since 2.0.0 */ private $_customerGroups; @@ -28,25 +26,21 @@ class Customergroup extends \Magento\Framework\View\Element\Html\Select * Flag whether to add group all option or no * * @var bool - * @since 2.0.0 */ protected $_addGroupAllOption = true; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; @@ -58,7 +52,6 @@ class Customergroup extends \Magento\Framework\View\Element\Html\Select * @param GroupRepositoryInterface $groupRepository * @param SearchCriteriaBuilder $searchCriteriaBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Context $context, @@ -79,7 +72,6 @@ public function __construct( * * @param int $groupId return name by customer group id * @return array|string - * @since 2.0.0 */ protected function _getCustomerGroups($groupId = null) { @@ -100,7 +92,6 @@ protected function _getCustomerGroups($groupId = null) /** * @param string $value * @return $this - * @since 2.0.0 */ public function setInputName($value) { @@ -111,7 +102,6 @@ public function setInputName($value) * Render block HTML * * @return string - * @since 2.0.0 */ public function _toHtml() { diff --git a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php index 63c5d73468514..e2dcd0a0a33b0 100644 --- a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php +++ b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php @@ -9,13 +9,11 @@ * Adminhtml catalog inventory "Minimum Qty Allowed in Shopping Cart" field * * @api - * @since 2.0.0 */ class Minsaleqty extends \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray { /** * @var Customergroup - * @since 2.0.0 */ protected $_groupRenderer; @@ -23,7 +21,6 @@ class Minsaleqty extends \Magento\Config\Block\System\Config\Form\Field\FieldArr * Retrieve group column renderer * * @return Customergroup - * @since 2.0.0 */ protected function _getGroupRenderer() { @@ -42,7 +39,6 @@ protected function _getGroupRenderer() * Prepare to render * * @return void - * @since 2.0.0 */ protected function _prepareToRender() { @@ -60,7 +56,6 @@ protected function _prepareToRender() * * @param \Magento\Framework\DataObject $row * @return void - * @since 2.0.0 */ protected function _prepareArrayRow(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php index 7d13516b001ef..89bb921c84e21 100644 --- a/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php +++ b/app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Stock extends \Magento\Framework\Data\Form\Element\Select { @@ -23,7 +22,6 @@ class Stock extends \Magento\Framework\Data\Form\Element\Select * Quantity field element * * @var \Magento\Framework\Data\Form\Element\Text - * @since 2.0.0 */ protected $_qty; @@ -31,7 +29,6 @@ class Stock extends \Magento\Framework\Data\Form\Element\Select * Is product composite * * @var bool - * @since 2.0.0 */ protected $_isProductComposite; @@ -39,7 +36,6 @@ class Stock extends \Magento\Framework\Data\Form\Element\Select * Text element factory * * @var \Magento\Framework\Data\Form\Element\TextFactory - * @since 2.0.0 */ protected $_factoryText; @@ -47,7 +43,6 @@ class Stock extends \Magento\Framework\Data\Form\Element\Select * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; @@ -58,7 +53,6 @@ class Stock extends \Magento\Framework\Data\Form\Element\Select * @param \Magento\Framework\Data\Form\Element\TextFactory $factoryText * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -80,7 +74,6 @@ public function __construct( * Create quantity field * * @return \Magento\Framework\Data\Form\Element\Text - * @since 2.0.0 */ protected function _createQtyElement() { @@ -94,7 +87,6 @@ protected function _createQtyElement() * Join quantity and in stock elements' html * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -110,7 +102,6 @@ public function getElementHtml() * * @param Form $form * @return Form - * @since 2.0.0 */ public function setForm($form) { @@ -123,7 +114,6 @@ public function setForm($form) * * @param array|string $value * @return $this - * @since 2.0.0 */ public function setValue($value) { @@ -139,7 +129,6 @@ public function setValue($value) * * @param string $name * @return void - * @since 2.0.0 */ public function setName($name) { @@ -151,7 +140,6 @@ public function setName($name) * Get whether product is composite * * @return bool - * @since 2.0.0 */ protected function _isProductComposite() { @@ -165,7 +153,6 @@ protected function _isProductComposite() * Disable fields depending on product type * * @return $this - * @since 2.0.0 */ protected function _disableFields() { @@ -187,7 +174,6 @@ protected function _disableFields() * @param string $quantityFieldId * @param string $inStockFieldId * @return string - * @since 2.0.0 */ protected function _getJs($quantityFieldId, $inStockFieldId) { diff --git a/app/code/Magento/CatalogInventory/Block/Plugin/ProductView.php b/app/code/Magento/CatalogInventory/Block/Plugin/ProductView.php index 7978dd85d3d09..5d521cb44c8a5 100644 --- a/app/code/Magento/CatalogInventory/Block/Plugin/ProductView.php +++ b/app/code/Magento/CatalogInventory/Block/Plugin/ProductView.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogInventory\Block\Plugin\ProductView * - * @since 2.0.0 */ class ProductView { /** * @var StockRegistryInterface - * @since 2.0.0 */ private $stockRegistry; /** * @param StockRegistryInterface $stockRegistry - * @since 2.0.0 */ public function __construct( StockRegistryInterface $stockRegistry @@ -34,7 +31,6 @@ public function __construct( * @param \Magento\Catalog\Block\Product\View $block * @param array $validators * @return array - * @since 2.0.0 */ public function afterGetQuantityValidators( \Magento\Catalog\Block\Product\View $block, diff --git a/app/code/Magento/CatalogInventory/Block/Qtyincrements.php b/app/code/Magento/CatalogInventory/Block/Qtyincrements.php index 476ee28a3f914..9efdf4d673c21 100644 --- a/app/code/Magento/CatalogInventory/Block/Qtyincrements.php +++ b/app/code/Magento/CatalogInventory/Block/Qtyincrements.php @@ -13,7 +13,6 @@ * Product qty increments block * * @api - * @since 2.0.0 */ class Qtyincrements extends Template implements IdentityInterface { @@ -21,7 +20,6 @@ class Qtyincrements extends Template implements IdentityInterface * Qty Increments cache * * @var float|false - * @since 2.0.0 */ protected $_qtyIncrements; @@ -29,13 +27,11 @@ class Qtyincrements extends Template implements IdentityInterface * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; @@ -44,7 +40,6 @@ class Qtyincrements extends Template implements IdentityInterface * @param \Magento\Framework\Registry $registry * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -61,7 +56,6 @@ public function __construct( * Retrieve current product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -72,7 +66,6 @@ public function getProduct() * Retrieve current product name * * @return string - * @since 2.0.0 */ public function getProductName() { @@ -83,7 +76,6 @@ public function getProductName() * Retrieve product qty increments * * @return float|false - * @since 2.0.0 */ public function getProductQtyIncrements() { @@ -104,7 +96,6 @@ public function getProductQtyIncrements() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php b/app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php index 8afbfd8f62159..568fa600ec52d 100644 --- a/app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php +++ b/app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php @@ -10,7 +10,6 @@ /** * Product stock qty abstract block - * @since 2.0.0 */ abstract class AbstractStockqty extends \Magento\Framework\View\Element\Template { @@ -25,19 +24,16 @@ abstract class AbstractStockqty extends \Magento\Framework\View\Element\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\CatalogInventory\Api\StockStateInterface - * @since 2.0.0 */ protected $stockState; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; @@ -47,7 +43,6 @@ abstract class AbstractStockqty extends \Magento\Framework\View\Element\Template * @param \Magento\CatalogInventory\Api\StockStateInterface $stockState * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -67,7 +62,6 @@ public function __construct( * Retrieve current product object * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -78,7 +72,6 @@ public function getProduct() * Retrieve current product stock qty * * @return float - * @since 2.0.0 */ public function getStockQty() { @@ -98,7 +91,6 @@ public function getStockQty() * * @param Product $product * @return float - * @since 2.0.0 */ public function getProductStockQty($product) { @@ -109,7 +101,6 @@ public function getProductStockQty($product) * Retrieve threshold of qty to display stock qty message * * @return string - * @since 2.0.0 */ public function getThresholdQty() { @@ -127,7 +118,6 @@ public function getThresholdQty() * Retrieve id of message placeholder in template * * @return string - * @since 2.0.0 */ public function getPlaceholderId() { @@ -138,7 +128,6 @@ public function getPlaceholderId() * Retrieve visibility of stock qty message * * @return bool - * @since 2.0.0 */ public function isMsgVisible() { @@ -149,7 +138,6 @@ public function isMsgVisible() * Retrieve current product qty left in stock * * @return float - * @since 2.0.0 */ public function getStockQtyLeft() { diff --git a/app/code/Magento/CatalogInventory/Block/Stockqty/Composite.php b/app/code/Magento/CatalogInventory/Block/Stockqty/Composite.php index b18f7191b6718..36e0171a787dc 100644 --- a/app/code/Magento/CatalogInventory/Block/Stockqty/Composite.php +++ b/app/code/Magento/CatalogInventory/Block/Stockqty/Composite.php @@ -10,7 +10,6 @@ /** * Product stock qty block for abstract composite product - * @since 2.0.0 */ abstract class Composite extends DefaultStockqty { @@ -18,7 +17,6 @@ abstract class Composite extends DefaultStockqty * Child products cache * * @var Product[] - * @since 2.0.0 */ private $_childProducts; @@ -26,7 +24,6 @@ abstract class Composite extends DefaultStockqty * Retrieve child products * * @return Product[] - * @since 2.0.0 */ abstract protected function _getChildProducts(); @@ -34,7 +31,6 @@ abstract protected function _getChildProducts(); * Retrieve child products (using cache) * * @return Product[] - * @since 2.0.0 */ public function getChildProducts() { @@ -48,7 +44,6 @@ public function getChildProducts() * Retrieve id of details table placeholder in template * * @return string - * @since 2.0.0 */ public function getDetailsPlaceholderId() { diff --git a/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php b/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php index 5cb871d486139..ebb6b03c11f4f 100644 --- a/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php +++ b/app/code/Magento/CatalogInventory/Block/Stockqty/DefaultStockqty.php @@ -10,7 +10,6 @@ * Product stock qty default block * * @api - * @since 2.0.0 */ class DefaultStockqty extends AbstractStockqty implements \Magento\Framework\DataObject\IdentityInterface { @@ -18,7 +17,6 @@ class DefaultStockqty extends AbstractStockqty implements \Magento\Framework\Dat * Render block HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -32,7 +30,6 @@ protected function _toHtml() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/CatalogInventory/Block/Stockqty/Type/Grouped.php b/app/code/Magento/CatalogInventory/Block/Stockqty/Type/Grouped.php index 45a32a96ed5cd..1b9ba426fc8a6 100644 --- a/app/code/Magento/CatalogInventory/Block/Stockqty/Type/Grouped.php +++ b/app/code/Magento/CatalogInventory/Block/Stockqty/Type/Grouped.php @@ -10,7 +10,6 @@ /** * Product stock qty block for grouped product type - * @since 2.0.0 */ class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite { @@ -18,7 +17,6 @@ class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite * Retrieve child products * * @return Product[] - * @since 2.0.0 */ protected function _getChildProducts() { diff --git a/app/code/Magento/CatalogInventory/Helper/Data.php b/app/code/Magento/CatalogInventory/Helper/Data.php index c51d2640e8d99..c18aacd08d6de 100644 --- a/app/code/Magento/CatalogInventory/Helper/Data.php +++ b/app/code/Magento/CatalogInventory/Helper/Data.php @@ -8,7 +8,6 @@ /** * Catalog Inventory default helper - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { diff --git a/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php b/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php index bdf651b3dc580..baa1a9e02ab9e 100644 --- a/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php +++ b/app/code/Magento/CatalogInventory/Helper/Minsaleqty.php @@ -13,7 +13,6 @@ /** * MinSaleQty value manipulation helper - * @since 2.0.0 */ class Minsaleqty { @@ -21,19 +20,16 @@ class Minsaleqty * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; @@ -54,7 +50,6 @@ class Minsaleqty * @param \Magento\Framework\Math\Random $mathRandom * @param GroupManagementInterface $groupManagement * @param Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -73,7 +68,6 @@ public function __construct( * * @param int|float|string|null $qty * @return float|null - * @since 2.0.0 */ protected function fixQty($qty) { @@ -85,7 +79,6 @@ protected function fixQty($qty) * * @param int|float|string|array $value * @return string - * @since 2.0.0 */ protected function serializeValue($value) { @@ -113,7 +106,6 @@ protected function serializeValue($value) * * @param int|float|string $value * @return array - * @since 2.0.0 */ protected function unserializeValue($value) { @@ -131,7 +123,6 @@ protected function unserializeValue($value) * * @param string|array $value * @return bool - * @since 2.0.0 */ protected function isEncodedArrayFieldValue($value) { @@ -155,7 +146,6 @@ protected function isEncodedArrayFieldValue($value) * * @param array $value * @return array - * @since 2.0.0 */ protected function encodeArrayFieldValue(array $value) { @@ -172,7 +162,6 @@ protected function encodeArrayFieldValue(array $value) * * @param array $value * @return array - * @since 2.0.0 */ protected function decodeArrayFieldValue(array $value) { @@ -198,7 +187,6 @@ protected function decodeArrayFieldValue(array $value) * @param int $customerGroupId * @param null|string|bool|int|Store $store * @return float|null - * @since 2.0.0 */ public function getConfigValue($customerGroupId, $store = null) { @@ -232,7 +220,6 @@ public function getConfigValue($customerGroupId, $store = null) * * @param string|array $value * @return array - * @since 2.0.0 */ public function makeArrayFieldValue($value) { @@ -248,7 +235,6 @@ public function makeArrayFieldValue($value) * * @param string|array $value * @return string - * @since 2.0.0 */ public function makeStorableArrayFieldValue($value) { @@ -263,7 +249,6 @@ public function makeStorableArrayFieldValue($value) * Return the all customer group id * * @return int - * @since 2.0.0 */ protected function getAllCustomersGroupId() { diff --git a/app/code/Magento/CatalogInventory/Helper/Stock.php b/app/code/Magento/CatalogInventory/Helper/Stock.php index c4d4fd13f6b71..faa7e6bc32afc 100644 --- a/app/code/Magento/CatalogInventory/Helper/Stock.php +++ b/app/code/Magento/CatalogInventory/Helper/Stock.php @@ -17,7 +17,6 @@ /** * Class Stock * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Stock { @@ -25,7 +24,6 @@ class Stock * Store model manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -33,25 +31,21 @@ class Stock * Core store config * * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var Status - * @since 2.0.0 */ protected $stockStatusResource; /** * @var StatusFactory - * @since 2.0.0 */ protected $stockStatusFactory; /** * @var StockRegistryProviderInterface - * @since 2.0.0 */ private $stockRegistryProvider; @@ -66,7 +60,6 @@ class Stock * @param ScopeConfigInterface $scopeConfig * @param StatusFactory $stockStatusFactory * @param StockRegistryProviderInterface $stockRegistryProvider - * @since 2.0.0 */ public function __construct( StoreManagerInterface $storeManager, @@ -86,7 +79,6 @@ public function __construct( * @param Product $product * @param int $status * @return void - * @since 2.0.0 */ public function assignStatusToProduct(Product $product, $status = null) { @@ -104,7 +96,6 @@ public function assignStatusToProduct(Product $product, $status = null) * @param AbstractCollection $productCollection * @deprecated 2.1.0 Use Stock::addIsInStockFilterToCollection instead * @return void - * @since 2.0.0 */ public function addStockStatusToProducts(AbstractCollection $productCollection) { @@ -122,7 +113,6 @@ public function addStockStatusToProducts(AbstractCollection $productCollection) * * @param \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection $collection * @return void - * @since 2.0.0 */ public function addInStockFilterToCollection($collection) { @@ -155,7 +145,6 @@ public function addInStockFilterToCollection($collection) * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return void - * @since 2.0.0 */ public function addIsInStockFilterToCollection($collection) { @@ -176,7 +165,6 @@ public function addIsInStockFilterToCollection($collection) /** * @return Status - * @since 2.0.0 */ protected function getStockStatusResource() { diff --git a/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php b/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php index 0c31feaeb6e84..abaef96a3a2cd 100644 --- a/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php +++ b/app/code/Magento/CatalogInventory/Model/AddStockStatusToCollection.php @@ -10,20 +10,20 @@ /** * Catalog inventory module plugin - * @since 2.1.0 + * @since 2.0.9 */ class AddStockStatusToCollection { /** * @var \Magento\CatalogInventory\Helper\Stock - * @since 2.1.0 + * @since 2.0.9 */ protected $stockHelper; /** * @param \Magento\CatalogInventory\Model\Configuration $configuration * @param \Magento\CatalogInventory\Helper\Stock $stockHelper - * @since 2.1.0 + * @since 2.0.9 */ public function __construct( \Magento\CatalogInventory\Helper\Stock $stockHelper @@ -36,7 +36,7 @@ public function __construct( * @param bool $printQuery * @param bool $logQuery * @return array - * @since 2.1.0 + * @since 2.0.9 */ public function beforeLoad(Collection $productCollection, $printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php b/app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php index 7a0388ce31072..da496f7a3d258 100644 --- a/app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php +++ b/app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php @@ -19,13 +19,11 @@ * @method \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface getExtensionAttributes() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Item extends \Magento\CatalogInventory\Model\Stock\Item implements IdentityInterface { /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; @@ -44,7 +42,6 @@ class Item extends \Magento\CatalogInventory\Model\Stock\Item implements Identit * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -83,7 +80,6 @@ public function __construct( * Getter for customer group id, return default group if not set * * @return int - * @since 2.0.0 */ public function getCustomerGroupId() { @@ -97,7 +93,6 @@ public function getCustomerGroupId() * Check if qty check can be skipped. Skip checking in adminhtml area * * @return bool - * @since 2.0.0 */ protected function _isQtyCheckApplicable() { @@ -108,7 +103,6 @@ protected function _isQtyCheckApplicable() * Check if notification message should be added despite of backorders notification flag * * @return bool - * @since 2.0.0 */ protected function _hasDefaultNotificationMessage() { @@ -117,7 +111,6 @@ protected function _hasDefaultNotificationMessage() /** * @return bool - * @since 2.0.0 */ public function hasAdminArea() { @@ -127,7 +120,6 @@ public function hasAdminArea() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getShowDefaultNotificationMessage() { @@ -136,7 +128,6 @@ public function getShowDefaultNotificationMessage() /** * @inheritdoc - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/CatalogInventory/Model/Config/Backend/AbstractValue.php b/app/code/Magento/CatalogInventory/Model/Config/Backend/AbstractValue.php index 29145afda7625..acd1e06202531 100644 --- a/app/code/Magento/CatalogInventory/Model/Config/Backend/AbstractValue.php +++ b/app/code/Magento/CatalogInventory/Model/Config/Backend/AbstractValue.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogInventory\Model\Config\Backend\AbstractValue * - * @since 2.0.0 */ abstract class AbstractValue extends \Magento\Framework\App\Config\Value { /** * @var \Magento\CatalogInventory\Api\StockIndexInterface - * @since 2.0.0 */ protected $stockIndex; /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $_stockIndexerProcessor; @@ -38,7 +35,6 @@ abstract class AbstractValue extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, diff --git a/app/code/Magento/CatalogInventory/Model/Config/Backend/Backorders.php b/app/code/Magento/CatalogInventory/Model/Config/Backend/Backorders.php index 3d31c789f06a0..1061065baf625 100644 --- a/app/code/Magento/CatalogInventory/Model/Config/Backend/Backorders.php +++ b/app/code/Magento/CatalogInventory/Model/Config/Backend/Backorders.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogInventory\Model\Config\Backend\Backorders * - * @since 2.0.0 */ class Backorders extends AbstractValue { @@ -22,7 +21,6 @@ class Backorders extends AbstractValue * After change Catalog Inventory Backorders value process * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/CatalogInventory/Model/Config/Backend/Managestock.php b/app/code/Magento/CatalogInventory/Model/Config/Backend/Managestock.php index e115a1d46783e..40b84019c5cc3 100644 --- a/app/code/Magento/CatalogInventory/Model/Config/Backend/Managestock.php +++ b/app/code/Magento/CatalogInventory/Model/Config/Backend/Managestock.php @@ -14,14 +14,12 @@ /** * Class \Magento\CatalogInventory\Model\Config\Backend\Managestock * - * @since 2.0.0 */ class Managestock extends AbstractValue { /** * After change Catalog Inventory Manage Stock value process * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/CatalogInventory/Model/Config/Backend/ShowOutOfStock.php b/app/code/Magento/CatalogInventory/Model/Config/Backend/ShowOutOfStock.php index cfa3854ff0d3a..742904f168ff3 100644 --- a/app/code/Magento/CatalogInventory/Model/Config/Backend/ShowOutOfStock.php +++ b/app/code/Magento/CatalogInventory/Model/Config/Backend/ShowOutOfStock.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogInventory\Model\Config\Backend\ShowOutOfStock * - * @since 2.0.0 */ class ShowOutOfStock extends AbstractValue { diff --git a/app/code/Magento/CatalogInventory/Model/Configuration.php b/app/code/Magento/CatalogInventory/Model/Configuration.php index 38d6c981ad8e6..69d1bbf790fb8 100644 --- a/app/code/Magento/CatalogInventory/Model/Configuration.php +++ b/app/code/Magento/CatalogInventory/Model/Configuration.php @@ -13,7 +13,6 @@ /** * Class Configuration - * @since 2.0.0 */ class Configuration implements StockConfigurationInterface { @@ -104,7 +103,6 @@ class Configuration implements StockConfigurationInterface /** * @var ConfigInterface - * @since 2.0.0 */ protected $config; @@ -112,13 +110,11 @@ class Configuration implements StockConfigurationInterface * Core store config * * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var MinsaleqtyHelper - * @since 2.0.0 */ protected $minsaleqtyHelper; @@ -126,13 +122,11 @@ class Configuration implements StockConfigurationInterface * All product types registry in scope of quantity availability * * @var array - * @since 2.0.0 */ protected $isQtyTypeIds; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -141,7 +135,6 @@ class Configuration implements StockConfigurationInterface * @param ScopeConfigInterface $scopeConfig * @param MinsaleqtyHelper $minsaleqtyHelper * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( ConfigInterface $config, @@ -157,7 +150,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getDefaultScopeId() { @@ -169,7 +161,6 @@ public function getDefaultScopeId() /** * @param int|null $filter * @return array - * @since 2.0.0 */ public function getIsQtyTypeIds($filter = null) { @@ -193,7 +184,6 @@ public function getIsQtyTypeIds($filter = null) /** * @param int $productTypeId * @return bool - * @since 2.0.0 */ public function isQty($productTypeId) { @@ -206,7 +196,6 @@ public function isQty($productTypeId) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ public function canSubtractQty($store = null) { @@ -220,7 +209,6 @@ public function canSubtractQty($store = null) /** * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return float - * @since 2.0.0 */ public function getMinQty($store = null) { @@ -235,7 +223,6 @@ public function getMinQty($store = null) * @param null|string|bool|int|\Magento\Store\Model\Store $store * @param int $customerGroupId * @return float - * @since 2.0.0 */ public function getMinSaleQty($store = null, $customerGroupId = null) { @@ -245,7 +232,6 @@ public function getMinSaleQty($store = null, $customerGroupId = null) /** * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return float|null - * @since 2.0.0 */ public function getMaxSaleQty($store = null) { @@ -259,7 +245,6 @@ public function getMaxSaleQty($store = null) /** * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return float - * @since 2.0.0 */ public function getNotifyStockQty($store = null) { @@ -276,7 +261,6 @@ public function getNotifyStockQty($store = null) * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getEnableQtyIncrements($store = null) { @@ -290,7 +274,6 @@ public function getEnableQtyIncrements($store = null) /** * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return int - * @since 2.0.0 */ public function getQtyIncrements($store = null) { @@ -306,7 +289,6 @@ public function getQtyIncrements($store = null) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return int - * @since 2.0.0 */ public function getBackorders($store = null) { @@ -322,7 +304,6 @@ public function getBackorders($store = null) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return int - * @since 2.0.0 */ public function getManageStock($store = null) { @@ -339,7 +320,6 @@ public function getManageStock($store = null) * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getCanBackInStock($store = null) { @@ -355,7 +335,6 @@ public function getCanBackInStock($store = null) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ public function isShowOutOfStock($store = null) { @@ -371,7 +350,6 @@ public function isShowOutOfStock($store = null) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ public function isAutoReturnEnabled($store = null) { @@ -388,7 +366,6 @@ public function isAutoReturnEnabled($store = null) * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return bool - * @since 2.0.0 */ public function isDisplayProductStockStatus($store = null) { @@ -403,7 +380,6 @@ public function isDisplayProductStockStatus($store = null) * @param string $field * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return string|null - * @since 2.0.0 */ public function getDefaultConfigValue($field, $store = null) { @@ -432,7 +408,6 @@ public function getStockThresholdQty($store = null) * Retrieve inventory item options (used in config) * * @return string[] - * @since 2.0.0 */ public function getConfigItemOptions() { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php index 09036405f1b85..cb1bfd851c6b8 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock.php @@ -10,31 +10,27 @@ /** * Class \Magento\CatalogInventory\Model\Indexer\Stock * - * @since 2.0.0 */ class Stock implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Action\Row - * @since 2.0.0 */ protected $_productStockIndexerRow; /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Action\Rows - * @since 2.0.0 */ protected $_productStockIndexerRows; /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Action\Full - * @since 2.0.0 */ protected $_productStockIndexerFull; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ private $cacheContext; @@ -42,7 +38,6 @@ class Stock implements \Magento\Framework\Indexer\ActionInterface, \Magento\Fram * @param Stock\Action\Row $productStockIndexerRow * @param Stock\Action\Rows $productStockIndexerRows * @param Stock\Action\Full $productStockIndexerFull - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Model\Indexer\Stock\Action\Row $productStockIndexerRow, @@ -60,7 +55,6 @@ public function __construct( * @param int[] $ids * * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -72,7 +66,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -91,7 +84,6 @@ public function executeFull() * @param int[] $ids * * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -104,7 +96,6 @@ public function executeList(array $ids) * @param int $id * * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -115,8 +106,8 @@ public function executeRow($id) * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.0.11 */ 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 4788ea835e0a9..3e1ccba58a39c 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php @@ -15,7 +15,6 @@ * Abstract action reindex class * * @package Magento\CatalogInventory\Model\Indexer\Stock - * @since 2.0.0 */ abstract class AbstractAction { @@ -23,25 +22,21 @@ abstract class AbstractAction * Resource instance * * @var Resource - * @since 2.0.0 */ protected $_resource; /** * @var \Magento\CatalogInventory\Model\ResourceModel\Indexer\StockFactory - * @since 2.0.0 */ protected $_indexerFactory; /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_catalogProductType; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $_connection; @@ -50,7 +45,6 @@ abstract class AbstractAction * Sorted by priority * * @var array - * @since 2.0.0 */ protected $_indexers = []; @@ -58,19 +52,16 @@ abstract class AbstractAction * Flag that defines if need to use "_idx" index table suffix instead of "_tmp" * * @var bool - * @since 2.0.0 */ protected $_isNeedUseIdxTable = false; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.0.0 */ private $cacheContext; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ private $eventManager; @@ -86,7 +77,6 @@ abstract class AbstractAction * @param \Magento\Catalog\Model\Product\Type $catalogProductType * @param \Magento\Framework\Indexer\CacheContext $cacheContext * @param \Magento\Framework\Event\ManagerInterface $eventManager - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -108,7 +98,6 @@ public function __construct( * @param array|int $ids * * @return void - * @since 2.0.0 */ abstract public function execute($ids); @@ -116,7 +105,6 @@ abstract public function execute($ids); * Retrieve connection instance * * @return bool|\Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected function _getConnection() { @@ -130,7 +118,6 @@ protected function _getConnection() * Retrieve Stock Indexer Models per Product Type * * @return \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\StockInterface[] - * @since 2.0.0 */ protected function _getTypeIndexers() { @@ -153,7 +140,6 @@ protected function _getTypeIndexers() * * @param string $entityName * @return string - * @since 2.0.0 */ protected function _getTable($entityName) { @@ -165,7 +151,6 @@ protected function _getTable($entityName) * * @param int|array $childIds * @return array - * @since 2.0.0 */ public function getRelationsByChild($childIds) { @@ -181,7 +166,6 @@ public function getRelationsByChild($childIds) * Reindex all * * @return void - * @since 2.0.0 */ public function reindexAll() { @@ -199,7 +183,6 @@ public function reindexAll() * Synchronize data between index storage and original storage * * @return $this - * @since 2.0.0 */ protected function _syncData() { @@ -221,7 +204,6 @@ protected function _syncData() * @param string $tableName * * @return void - * @since 2.0.0 */ protected function _deleteOldRelations($tableName) { @@ -243,7 +225,6 @@ protected function _deleteOldRelations($tableName) * * @param array $productIds * @return $this - * @since 2.0.0 */ protected function _reindexRows($productIds = []) { @@ -308,7 +289,6 @@ private function getCacheCleaner() * * @param bool|null $value * @return bool - * @since 2.0.0 */ public function useIdxTable($value = null) { @@ -322,7 +302,6 @@ public function useIdxTable($value = null) * Retrieve temporary index table name * * @return string - * @since 2.0.0 */ protected function _getIdxTable() { @@ -336,7 +315,6 @@ protected function _getIdxTable() * Clean up temporary index table * * @return void - * @since 2.0.0 */ public function clearTemporaryIndexTable() { 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 13f22b4a922b8..4ec526c1e20b4 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php @@ -27,7 +27,6 @@ * * @package Magento\CatalogInventory\Model\Indexer\Stock\Action * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Full extends AbstractAction { @@ -120,7 +119,6 @@ public function __construct( * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute($ids = null) { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Row.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Row.php index ee19e31c33236..c7dfcffee3d31 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Row.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Row.php @@ -12,7 +12,6 @@ * Class Row reindex action * * @package Magento\CatalogInventory\Model\Indexer\Stock\Action - * @since 2.0.0 */ class Row extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction { @@ -23,7 +22,6 @@ class Row extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction * @throws \Magento\Framework\Exception\LocalizedException * * @return void - * @since 2.0.0 */ public function execute($id = null) { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Rows.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Rows.php index c9c177ea1d066..f107955f0201e 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Rows.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Rows.php @@ -12,7 +12,6 @@ * Class Rows reindex action for mass actions * * @package Magento\CatalogInventory\Model\Indexer\Stock\Action - * @since 2.0.0 */ class Rows extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction { @@ -23,7 +22,6 @@ class Rows extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction * @throws \Magento\Framework\Exception\LocalizedException * * @return void - * @since 2.0.0 */ public function execute($ids) { diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Plugin/StoreGroup.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Plugin/StoreGroup.php index 8baca68fd23ff..ef3f055e24017 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Plugin/StoreGroup.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Plugin/StoreGroup.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogInventory\Model\Indexer\Stock\Plugin\StoreGroup * - * @since 2.0.0 */ class StoreGroup { /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $_indexerProcessor; /** * @param \Magento\CatalogInventory\Model\Indexer\Stock\Processor $indexerProcessor - * @since 2.0.0 */ public function __construct(\Magento\CatalogInventory\Model\Indexer\Stock\Processor $indexerProcessor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\CatalogInventory\Model\Indexer\Stock\Proces * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave( \Magento\Store\Model\ResourceModel\Group $subject, diff --git a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Processor.php b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Processor.php index 996cc8f059ecd..96e54145dbd35 100644 --- a/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Processor.php +++ b/app/code/Magento/CatalogInventory/Model/Indexer/Stock/Processor.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogInventory\Model\Indexer\Stock\Processor * - * @since 2.0.0 */ class Processor extends \Magento\Framework\Indexer\AbstractProcessor { diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php b/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php index aa130e57afc12..b12e486fb0822 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/AfterProductLoad.php @@ -11,19 +11,16 @@ * @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.0.0 */ class AfterProductLoad { /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ private $stockRegistry; /** * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry @@ -36,7 +33,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function afterLoad(\Magento\Catalog\Model\Product $product) { diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php b/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php index 871f0a7fa86b5..27575fa955232 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/AroundProductRepositorySave.php @@ -17,7 +17,6 @@ * @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.0.0 */ class AroundProductRepositorySave { diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/FilterCustomAttribute.php b/app/code/Magento/CatalogInventory/Model/Plugin/FilterCustomAttribute.php index 2bccbde200917..a9d68424dbc1b 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/FilterCustomAttribute.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/FilterCustomAttribute.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogInventory\Model\Plugin\FilterCustomAttribute * - * @since 2.0.0 */ class FilterCustomAttribute { /** * @var array - * @since 2.0.0 */ private $blackList; /** * @param array $blackList - * @since 2.0.0 */ public function __construct(array $blackList = []) { @@ -39,7 +36,6 @@ public function __construct(array $blackList = []) * @return \Magento\Eav\Model\AttributeRepository * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterGetCustomAttributesMetadata(Repository $repository, array $attributes) { diff --git a/app/code/Magento/CatalogInventory/Model/Plugin/Layer.php b/app/code/Magento/CatalogInventory/Model/Plugin/Layer.php index 496861748dfa7..bcfcdb9ac61af 100644 --- a/app/code/Magento/CatalogInventory/Model/Plugin/Layer.php +++ b/app/code/Magento/CatalogInventory/Model/Plugin/Layer.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogInventory\Model\Plugin\Layer * - * @since 2.0.0 */ class Layer { @@ -16,7 +15,6 @@ class Layer * Stock status instance * * @var \Magento\CatalogInventory\Helper\Stock - * @since 2.0.0 */ protected $stockHelper; @@ -24,14 +22,12 @@ class Layer * Store config instance * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @param \Magento\CatalogInventory\Helper\Stock $stockHelper * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Helper\Stock $stockHelper, @@ -49,7 +45,6 @@ public function __construct( * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforePrepareProductCollection( \Magento\Catalog\Model\Layer $subject, @@ -65,7 +60,6 @@ public function beforePrepareProductCollection( * Get config value for 'display out of stock' option * * @return bool - * @since 2.0.0 */ protected function _isEnabledShowOutOfStock() { diff --git a/app/code/Magento/CatalogInventory/Model/Product/CopyConstructor/CatalogInventory.php b/app/code/Magento/CatalogInventory/Model/Product/CopyConstructor/CatalogInventory.php index 835baca220636..9dd37276d8d65 100644 --- a/app/code/Magento/CatalogInventory/Model/Product/CopyConstructor/CatalogInventory.php +++ b/app/code/Magento/CatalogInventory/Model/Product/CopyConstructor/CatalogInventory.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogInventory\Model\Product\CopyConstructor\CatalogInventory * - * @since 2.0.0 */ class CatalogInventory implements \Magento\Catalog\Model\Product\CopyConstructorInterface { /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry @@ -34,7 +31,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Product $duplicate * @return void - * @since 2.0.0 */ public function build(\Magento\Catalog\Model\Product $product, \Magento\Catalog\Model\Product $duplicate) { diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php index 7a98958667fa1..3667836bdf75c 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php @@ -19,31 +19,26 @@ /** * @api - * @since 2.0.0 */ class QuantityValidator { /** * @var QuantityValidator\Initializer\Option - * @since 2.0.0 */ protected $optionInitializer; /** * @var QuantityValidator\Initializer\StockItem - * @since 2.0.0 */ protected $stockItemInitializer; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\CatalogInventory\Api\StockStateInterface - * @since 2.0.0 */ protected $stockState; @@ -53,7 +48,6 @@ class QuantityValidator * @param StockRegistryInterface $stockRegistry * @param StockStateInterface $stockState * @return void - * @since 2.0.0 */ public function __construct( Option $optionInitializer, @@ -102,7 +96,6 @@ private function addErrorInfoToQuote($result, $quoteItem) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function validate(Observer $observer) { @@ -229,7 +222,6 @@ public function validate(Observer $observer) * @param \Magento\Quote\Model\Quote\Item $item * @param int $code * @return void - * @since 2.0.0 */ protected function _removeErrorsFromQuoteAndItem($item, $code) { diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/Option.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/Option.php index 72334503db8fe..d3fbf1cb35f0b 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/Option.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/Option.php @@ -12,25 +12,21 @@ /** * Class \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator\Initializer\Option * - * @since 2.0.0 */ class Option { /** * @var QuoteItemQtyList - * @since 2.0.0 */ protected $quoteItemQtyList; /** * @var StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var StockStateInterface - * @since 2.0.0 */ protected $stockState; @@ -38,7 +34,6 @@ class Option * @param QuoteItemQtyList $quoteItemQtyList * @param StockRegistryInterface $stockRegistry * @param StockStateInterface $stockState - * @since 2.0.0 */ public function __construct( QuoteItemQtyList $quoteItemQtyList, @@ -58,7 +53,6 @@ public function __construct( * * @return \Magento\CatalogInventory\Model\Stock\Item * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getStockItem( \Magento\Quote\Model\Quote\Item\Option $option, @@ -94,7 +88,6 @@ public function getStockItem( * * @return \Magento\Framework\DataObject * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function initialize( \Magento\Quote\Model\Quote\Item\Option $option, 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 e414dfde8cf3d..68ab1dcf4510e 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 @@ -10,25 +10,21 @@ /** * @deprecated 2.2.0 No more used - * @since 2.0.0 */ class QtyProcessor { /** * @var QuoteItemQtyList - * @since 2.0.0 */ protected $quoteItemQtyList; /** * @var Item - * @since 2.0.0 */ protected $item; /** * @param QuoteItemQtyList $quoteItemQtyList - * @since 2.0.0 */ public function __construct(QuoteItemQtyList $quoteItemQtyList) { @@ -39,7 +35,6 @@ public function __construct(QuoteItemQtyList $quoteItemQtyList) * @param Item $quoteItem * @return $this * @deprecated 2.2.0 No more used - * @since 2.0.0 */ public function setItem(Item $quoteItem) { @@ -51,7 +46,6 @@ public function setItem(Item $quoteItem) * @param float $qty * @return float|int * @deprecated 2.2.0 No more used - * @since 2.0.0 */ public function getRowQty($qty) { @@ -66,7 +60,6 @@ public function getRowQty($qty) * @param int $qty * @return int * @deprecated 2.2.0 No more used - * @since 2.0.0 */ public function getQtyForCheck($qty) { diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/StockItem.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/StockItem.php index abccb83fbaa8b..1134291a5bf1a 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/StockItem.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/StockItem.php @@ -12,25 +12,21 @@ /** * Class \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator\Initializer\StockItem * - * @since 2.0.0 */ class StockItem { /** * @var QuoteItemQtyList - * @since 2.0.0 */ protected $quoteItemQtyList; /** * @var ConfigInterface - * @since 2.0.0 */ protected $typeConfig; /** * @var StockStateInterface - * @since 2.0.0 */ protected $stockState; @@ -38,7 +34,6 @@ class StockItem * @param ConfigInterface $typeConfig * @param QuoteItemQtyList $quoteItemQtyList * @param StockStateInterface $stockState - * @since 2.0.0 */ public function __construct( ConfigInterface $typeConfig, @@ -61,7 +56,6 @@ public function __construct( * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function initialize( \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem, diff --git a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php index 41c907ae88b69..dbde4cc345431 100644 --- a/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php +++ b/app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/QuoteItemQtyList.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator\QuoteItemQtyList * - * @since 2.0.0 */ class QuoteItemQtyList { @@ -17,7 +16,6 @@ class QuoteItemQtyList * data is valid if you check quote item qty and use singleton instance * * @var array - * @since 2.0.0 */ protected $_checkedQuoteItems = []; @@ -31,7 +29,6 @@ class QuoteItemQtyList * @param float $itemQty * * @return int - * @since 2.0.0 */ public function getQty($productId, $quoteItemId, $quoteId, $itemQty) { 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 ed5abe4fd696a..5b4b7c5a8a7dd 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php @@ -17,7 +17,6 @@ * CatalogInventory Default Stock Status Indexer Resource Model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class DefaultStock extends AbstractIndexer implements StockInterface { @@ -25,7 +24,6 @@ class DefaultStock extends AbstractIndexer implements StockInterface * Current Product Type Id * * @var string - * @since 2.0.0 */ protected $_typeId; @@ -33,7 +31,6 @@ class DefaultStock extends AbstractIndexer implements StockInterface * Product Type is composite flag * * @var bool - * @since 2.0.0 */ protected $_isComposite = false; @@ -41,7 +38,6 @@ class DefaultStock extends AbstractIndexer implements StockInterface * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -73,7 +69,6 @@ class DefaultStock extends AbstractIndexer implements StockInterface * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -90,7 +85,6 @@ public function __construct( * Initialize connection and define main table name * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -102,7 +96,6 @@ protected function _construct() * * @return $this * @throws \Exception - * @since 2.0.0 */ public function reindexAll() { @@ -123,7 +116,6 @@ public function reindexAll() * * @param int|array $entityIds * @return $this - * @since 2.0.0 */ public function reindexEntity($entityIds) { @@ -166,7 +158,6 @@ public function setActionType($type) * * @param string $typeId * @return $this - * @since 2.0.0 */ public function setTypeId($typeId) { @@ -179,7 +170,6 @@ public function setTypeId($typeId) * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getTypeId() { @@ -194,7 +184,6 @@ public function getTypeId() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setIsComposite($flag) { @@ -207,7 +196,6 @@ public function setIsComposite($flag) * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsComposite() { @@ -218,7 +206,6 @@ public function getIsComposite() * Retrieve is Global Manage Stock enabled * * @return bool - * @since 2.0.0 */ protected function _isManageStock() { @@ -235,7 +222,6 @@ protected function _isManageStock() * @param bool $usePrimaryTable use primary or temporary index table * @return \Magento\Framework\DB\Select * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getStockStatusSelect($entityIds = null, $usePrimaryTable = false) { @@ -283,7 +269,6 @@ protected function _getStockStatusSelect($entityIds = null, $usePrimaryTable = f * * @param int|array $entityIds the product limitation * @return $this - * @since 2.0.0 */ protected function _prepareIndexTable($entityIds = null) { @@ -301,7 +286,6 @@ protected function _prepareIndexTable($entityIds = null) * * @param array|int $entityIds * @return $this - * @since 2.0.0 */ protected function _updateIndex($entityIds) { @@ -354,7 +338,6 @@ private function deleteOldRecords(array $ids) * * @param array $data * @return $this - * @since 2.0.0 */ protected function _updateIndexTable($data) { @@ -374,7 +357,6 @@ protected function _updateIndexTable($data) * @param string $table * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdxTable($table = null) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/StockInterface.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/StockInterface.php index 94ec070fb8198..40bdc6b7809d9 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/StockInterface.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/Stock/StockInterface.php @@ -8,7 +8,6 @@ /** * CatalogInventory Stock Indexer Interface * @api - * @since 2.0.0 */ interface StockInterface { @@ -16,7 +15,6 @@ interface StockInterface * Reindex all stock status data * * @return $this - * @since 2.0.0 */ public function reindexAll(); @@ -25,7 +23,6 @@ public function reindexAll(); * * @param int|array $entityIds * @return $this - * @since 2.0.0 */ public function reindexEntity($entityIds); @@ -34,7 +31,6 @@ public function reindexEntity($entityIds); * * @param string $typeId * @return $this - * @since 2.0.0 */ public function setTypeId($typeId); @@ -43,7 +39,6 @@ public function setTypeId($typeId); * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getTypeId(); } diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/StockFactory.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/StockFactory.php index b91d5580dc171..016e7a17eb2ac 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/StockFactory.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Indexer/StockFactory.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class StockFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -25,13 +23,11 @@ class StockFactory * Default Stock Indexer resource model name * * @var string - * @since 2.0.0 */ protected $_defaultIndexer = \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\DefaultStock::class; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -45,7 +41,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param array $data * @return \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\StockInterface * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($indexerClassName = '', array $data = []) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php index c983dc302aa1e..52bffc92cdc1f 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Product/StockStatusBaseSelectProcessor.php @@ -14,13 +14,13 @@ /** * Class StockStatusBaseSelectProcessor - * @since 2.2.0 + * @since 2.1.3 */ class StockStatusBaseSelectProcessor implements BaseSelectProcessorInterface { /** * @var ResourceConnection - * @since 2.2.0 + * @since 2.1.3 */ private $resource; @@ -33,7 +33,7 @@ class StockStatusBaseSelectProcessor implements BaseSelectProcessorInterface /** * @param ResourceConnection $resource * @param \Magento\CatalogInventory\Api\StockConfigurationInterface|null $stockConfig - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ResourceConnection $resource, @@ -49,7 +49,7 @@ public function __construct( * * @param Select $select * @return Select - * @since 2.2.0 + * @since 2.1.3 */ public function process(Select $select) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/QtyCounterInterface.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/QtyCounterInterface.php index 7c34101d0ea65..d127db245a22f 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/QtyCounterInterface.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/QtyCounterInterface.php @@ -7,7 +7,6 @@ /** * Correct particular stock products qty - * @since 2.0.0 */ interface QtyCounterInterface { @@ -18,7 +17,6 @@ interface QtyCounterInterface * @param int $websiteId * @param string $operator +/- * @return void - * @since 2.0.0 */ public function correctItemsQty(array $items, $websiteId, $operator); } diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php index 2459689beba11..62ce1d9086498 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php @@ -11,13 +11,11 @@ /** * Stock resource model - * @since 2.0.0 */ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implements QtyCounterInterface { /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; @@ -25,7 +23,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Is initialized configuration flag * * @var bool - * @since 2.0.0 */ protected $_isConfig; @@ -33,7 +30,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Manage Stock flag * * @var bool - * @since 2.0.0 */ protected $_isConfigManageStock; @@ -41,7 +37,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Backorders * * @var bool - * @since 2.0.0 */ protected $_isConfigBackorders; @@ -49,7 +44,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Minimum quantity allowed in shopping card * * @var int - * @since 2.0.0 */ protected $_configMinQty; @@ -57,7 +51,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Product types that could have quantities * * @var array - * @since 2.0.0 */ protected $_configTypeIds; @@ -65,7 +58,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Notify for quantity below _configNotifyStockQty value * * @var int - * @since 2.0.0 */ protected $_configNotifyStockQty; @@ -73,20 +65,17 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var StoreManagerInterface * @deprecated 2.1.0 - * @since 2.0.0 */ protected $storeManager; @@ -97,7 +86,6 @@ class Stock extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb impleme * @param StockConfigurationInterface $stockConfiguration * @param StoreManagerInterface $storeManager * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -118,7 +106,6 @@ public function __construct( * Define main table and initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -131,7 +118,6 @@ protected function _construct() * @param int[] $productIds * @param int $websiteId * @return array - * @since 2.0.0 */ public function lockProductsStock($productIds, $websiteId) { @@ -160,7 +146,6 @@ public function lockProductsStock($productIds, $websiteId) /** * {@inheritdoc} - * @since 2.0.0 */ public function correctItemsQty(array $items, $websiteId, $operator) { @@ -188,7 +173,6 @@ public function correctItemsQty(array $items, $websiteId, $operator) * Load some inventory configuration settings * * @return void - * @since 2.0.0 */ protected function _initConfig() { @@ -218,7 +202,6 @@ protected function _initConfig() * @param string|int $website * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function updateSetOutOfStock($website = null) { @@ -254,7 +237,6 @@ public function updateSetOutOfStock($website = null) * @param int|string $website * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function updateSetInStock($website) { @@ -288,7 +270,6 @@ public function updateSetInStock($website) * @param int|string $website * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function updateLowStockDate($website) { @@ -326,7 +307,6 @@ public function updateLowStockDate($website) * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param array $fields * @return $this - * @since 2.0.0 */ public function addLowStockFilter(\Magento\Catalog\Model\ResourceModel\Product\Collection $collection, $fields) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Collection.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Collection.php index 139f12946ac70..0dbd6a1e94270 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Collection.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Collection.php @@ -12,13 +12,11 @@ /** * Class Collection * @package Magento\CatalogInventory\Model\ResourceModel\Stock - * @since 2.0.0 */ class Collection extends AbstractSearchResult implements StockCollectionInterface { /** * @inheritdoc - * @since 2.0.0 */ protected function init() { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item.php index a480d0b04b1a7..895fffaa4f80b 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item.php @@ -13,7 +13,6 @@ /** * Stock item resource model - * @since 2.0.0 */ class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -21,13 +20,11 @@ class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Whether index events should be processed immediately * * @var bool - * @since 2.0.0 */ protected $processIndexEvents = true; /** * @var Processor - * @since 2.0.0 */ protected $stockIndexerProcessor; @@ -35,7 +32,6 @@ class Item extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Model\ResourceModel\Db\Context $context * @param Processor $processor * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -50,7 +46,6 @@ public function __construct( * Define main table and initialize connection * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -64,7 +59,6 @@ protected function _construct() * @param int $productId * @param int $stockId * @return $this - * @since 2.0.0 */ public function loadByProductId(\Magento\CatalogInventory\Api\Data\StockItemInterface $item, $productId, $stockId) { @@ -87,7 +81,6 @@ public function loadByProductId(\Magento\CatalogInventory\Api\Data\StockItemInte * @param int $value * @param \Magento\CatalogInventory\Model\Stock\Item $object * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getLoadSelect($field, $value, $object) { @@ -102,7 +95,6 @@ protected function _getLoadSelect($field, $value, $object) * @param \Magento\Framework\DataObject $object * @param string $table * @return array - * @since 2.0.0 */ protected function _prepareDataForTable(\Magento\Framework\DataObject $object, $table) { @@ -125,7 +117,6 @@ protected function _prepareDataForTable(\Magento\Framework\DataObject $object, $ * * @param AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterSave(AbstractModel $object) { @@ -142,7 +133,6 @@ protected function _afterSave(AbstractModel $object) * * @param bool $process * @return $this - * @since 2.0.0 */ public function setProcessIndexEvents($process = true) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/Collection.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/Collection.php index 0d041cf910102..56aa2fb891237 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/Collection.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/Collection.php @@ -12,13 +12,11 @@ /** * Class Collection * @package Magento\CatalogInventory\Model\ResourceModel\Stock\Item - * @since 2.0.0 */ class Collection extends AbstractSearchResult implements StockItemCollectionInterface { /** * @inheritdoc - * @since 2.0.0 */ protected function init() { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteria.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteria.php index b0b02e71f70bf..fd67b0f82a5bd 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteria.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteria.php @@ -12,13 +12,11 @@ /** * Class StockItemCriteria - * @since 2.0.0 */ class StockItemCriteria extends AbstractCriteria implements \Magento\CatalogInventory\Api\StockItemCriteriaInterface { /** * @param string $mapper - * @since 2.0.0 */ public function __construct($mapper = '') { @@ -28,7 +26,6 @@ public function __construct($mapper = '') /** * @inheritdoc - * @since 2.0.0 */ public function setStockStatus($storeId = null) { @@ -38,7 +35,6 @@ public function setStockStatus($storeId = null) /** * @inheritdoc - * @since 2.0.0 */ public function setStockFilter($stock) { @@ -48,7 +44,6 @@ public function setStockFilter($stock) /** * @inheritdoc - * @since 2.0.0 */ public function setScopeFilter($scope) { @@ -58,7 +53,6 @@ public function setScopeFilter($scope) /** * @inheritdoc - * @since 2.0.0 */ public function setProductsFilter($products) { @@ -68,7 +62,6 @@ public function setProductsFilter($products) /** * @inheritdoc - * @since 2.0.0 */ public function setManagedFilter($isStockManagedInConfig) { @@ -78,7 +71,6 @@ public function setManagedFilter($isStockManagedInConfig) /** * @inheritdoc - * @since 2.0.0 */ public function setQtyFilter($comparisonMethod, $qty) { @@ -91,7 +83,6 @@ public function setQtyFilter($comparisonMethod, $qty) * * @param \Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria * @return bool - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria) { 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 6f12ebb17ca6e..5d6abfc5c1b75 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Item/StockItemCriteriaMapper.php @@ -19,7 +19,6 @@ * Interface StockItemCriteriaMapper * @package Magento\CatalogInventory\Model\ResourceModel\Stock\Status * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockItemCriteriaMapper extends GenericMapper { @@ -43,7 +42,6 @@ class StockItemCriteriaMapper extends GenericMapper * @param StoreManagerInterface $storeManager * @param MapperFactory $mapperFactory * @param Select $select - * @since 2.0.0 */ public function __construct( Logger $logger, @@ -59,7 +57,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ protected function init() { @@ -69,7 +66,6 @@ protected function init() /** * @inheritdoc - * @since 2.0.0 */ public function mapInitialCondition() { @@ -82,7 +78,6 @@ public function mapInitialCondition() /** * @inheritdoc - * @since 2.0.0 */ public function mapStockFilter($stock) { @@ -94,7 +89,6 @@ public function mapStockFilter($stock) /** * @inheritdoc - * @since 2.0.0 */ public function mapWebsiteFilter($website) { @@ -106,7 +100,6 @@ public function mapWebsiteFilter($website) /** * @inheritdoc - * @since 2.0.0 */ public function mapProductsFilter($products) { @@ -130,7 +123,6 @@ public function mapProductsFilter($products) /** * @inheritdoc * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function mapStockStatus($storeId = null) { @@ -149,7 +141,6 @@ public function mapStockStatus($storeId = null) /** * @inheritdoc - * @since 2.0.0 */ public function mapManagedFilter($isStockManagedInConfig) { @@ -163,7 +154,6 @@ public function mapManagedFilter($isStockManagedInConfig) /** * @inheritdoc * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function mapQtyFilter($comparisonMethod, $qty) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php index f1c032587e584..76baac07de919 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status.php @@ -12,7 +12,6 @@ /** * CatalogInventory Stock Status per website Resource Model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -21,7 +20,6 @@ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * * @var \Magento\Store\Model\StoreManagerInterface * @deprecated 2.1.0 - * @since 2.0.0 */ protected $_storeManager; @@ -29,13 +27,11 @@ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Website model factory * * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; @@ -51,7 +47,6 @@ class Status extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\WebsiteFactory $websiteFactory * @param \Magento\Eav\Model\Config $eavConfig * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -71,7 +66,6 @@ public function __construct( * Resource model initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -87,7 +81,6 @@ protected function _construct() * @param int|null $websiteId * @param int $stockId * @return $this - * @since 2.0.0 */ public function saveProductStatus( $productId, @@ -132,7 +125,6 @@ public function saveProductStatus( * @param int $websiteId * @param int $stockId * @return array - * @since 2.0.0 */ public function getProductsStockStatuses($productIds, $websiteId, $stockId = Stock::DEFAULT_STOCK_ID) { @@ -153,7 +145,6 @@ public function getProductsStockStatuses($productIds, $websiteId, $stockId = Sto * Return array as key website_id, value store_id * * @return array - * @since 2.0.0 */ public function getWebsiteStores() { @@ -167,7 +158,6 @@ public function getWebsiteStores() * * @param array|int $productIds * @return array - * @since 2.0.0 */ public function getProductsType($productIds) { @@ -192,7 +182,6 @@ public function getProductsType($productIds) * @param int $lastEntityId * @param int $limit * @return array - * @since 2.0.0 */ public function getProductCollection($lastEntityId = 0, $limit = 1000) { @@ -213,7 +202,6 @@ public function getProductCollection($lastEntityId = 0, $limit = 1000) * @param \Magento\Store\Model\Website $website * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return Status - * @since 2.0.0 */ public function addStockStatusToSelect(\Magento\Framework\DB\Select $select, \Magento\Store\Model\Website $website) { @@ -231,7 +219,7 @@ 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.1.0 + * @since 2.0.9 */ public function addStockDataToCollection($collection, $isFilterInStock) { @@ -266,7 +254,6 @@ public function addStockDataToCollection($collection, $isFilterInStock) * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return $this - * @since 2.0.0 */ public function addIsInStockFilterToCollection($collection) { @@ -299,7 +286,6 @@ public function addIsInStockFilterToCollection($collection) * @param int[] $productIds * @param int $storeId * @return array - * @since 2.0.0 */ public function getProductStatus($productIds, $storeId = null) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/Collection.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/Collection.php index a129758b2f0bb..408f42f6a8c58 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/Collection.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/Collection.php @@ -12,13 +12,11 @@ /** * Class Collection * @package Magento\CatalogInventory\Model\ResourceModel\Stock\Status - * @since 2.0.0 */ class Collection extends AbstractSearchResult implements StockStatusCollectionInterface { /** * @inheritdoc - * @since 2.0.0 */ protected function init() { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteria.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteria.php index f8f0269c0c156..563a36194c990 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteria.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteria.php @@ -12,13 +12,11 @@ /** * Class StockStatusCriteria - * @since 2.0.0 */ class StockStatusCriteria extends AbstractCriteria implements \Magento\CatalogInventory\Api\StockStatusCriteriaInterface { /** * @param string $mapper - * @since 2.0.0 */ public function __construct($mapper = '') { @@ -28,7 +26,6 @@ public function __construct($mapper = '') /** * @inheritdoc - * @since 2.0.0 */ public function setScopeFilter($scope) { @@ -37,7 +34,6 @@ public function setScopeFilter($scope) /** * @inheritdoc - * @since 2.0.0 */ public function setProductsFilter($products) { @@ -46,7 +42,6 @@ public function setProductsFilter($products) /** * @inheritdoc - * @since 2.0.0 */ public function setQtyFilter($qty) { @@ -55,7 +50,6 @@ public function setQtyFilter($qty) /** * @inheritdoc - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteriaMapper.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteriaMapper.php index e5218b6b9d0da..820ccc7ff5cfb 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteriaMapper.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteriaMapper.php @@ -11,13 +11,11 @@ /** * Class StockStatusCriteriaMapper * @package Magento\CatalogInventory\Model\ResourceModel\Stock\Status - * @since 2.0.0 */ class StockStatusCriteriaMapper extends GenericMapper { /** * @inheritdoc - * @since 2.0.0 */ protected function init() { @@ -28,7 +26,6 @@ protected function init() * Apply initial query parameters * * @return void - * @since 2.0.0 */ public function mapInitialCondition() { @@ -44,7 +41,6 @@ public function mapInitialCondition() * * @param int|\Magento\Store\Model\Website $website * @return void - * @since 2.0.0 */ public function mapWebsiteFilter($website) { @@ -59,7 +55,6 @@ public function mapWebsiteFilter($website) * * @param int|array|\Magento\Catalog\Model\Product|\Magento\Catalog\Model\Product[] $products * @return void - * @since 2.0.0 */ public function mapProductsFilter($products) { @@ -85,7 +80,6 @@ public function mapProductsFilter($products) * * @param float|int $qty * @return void - * @since 2.0.0 */ public function mapQtyFilter($qty) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteria.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteria.php index c17dc4d8788e0..60fa22e3c6781 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteria.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteria.php @@ -9,13 +9,11 @@ /** * Class StockCriteria - * @since 2.0.0 */ class StockCriteria extends AbstractCriteria implements \Magento\CatalogInventory\Api\StockCriteriaInterface { /** * @param string $mapper - * @since 2.0.0 */ public function __construct($mapper = '') { @@ -26,7 +24,6 @@ public function __construct($mapper = '') /** * @inheritdoc - * @since 2.0.0 */ public function setScopeFilter($scope) { @@ -39,7 +36,6 @@ public function setScopeFilter($scope) * * @param \Magento\CatalogInventory\Api\StockCriteriaInterface $criteria * @return bool - * @since 2.0.0 */ public function addCriteria(\Magento\CatalogInventory\Api\StockCriteriaInterface $criteria) { diff --git a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteriaMapper.php b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteriaMapper.php index 388a72fcc13fd..33eee7dff10ad 100644 --- a/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteriaMapper.php +++ b/app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/StockCriteriaMapper.php @@ -11,13 +11,11 @@ /** * Class StockCriteriaMapper * @package Magento\CatalogInventory\Model\ResourceModel\Stock - * @since 2.0.0 */ class StockCriteriaMapper extends GenericMapper { /** * @inheritdoc - * @since 2.0.0 */ protected function init() { diff --git a/app/code/Magento/CatalogInventory/Model/Source/Backorders.php b/app/code/Magento/CatalogInventory/Model/Source/Backorders.php index f9074b4cb6f31..4bdedac279b67 100644 --- a/app/code/Magento/CatalogInventory/Model/Source/Backorders.php +++ b/app/code/Magento/CatalogInventory/Model/Source/Backorders.php @@ -8,13 +8,11 @@ /** * Back orders source class * @api - * @since 2.0.0 */ class Backorders implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/CatalogInventory/Model/Source/Stock.php b/app/code/Magento/CatalogInventory/Model/Source/Stock.php index 7ee4857f59bf3..0a3e8db196567 100644 --- a/app/code/Magento/CatalogInventory/Model/Source/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/Source/Stock.php @@ -10,7 +10,6 @@ /** * CatalogInventory Stock source model * @api - * @since 2.0.0 */ class Stock extends AbstractSource { @@ -18,7 +17,6 @@ class Stock extends AbstractSource * Retrieve option array * * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/CatalogInventory/Model/Spi/StockRegistryProviderInterface.php b/app/code/Magento/CatalogInventory/Model/Spi/StockRegistryProviderInterface.php index 44b77dd487840..f711268bc7930 100644 --- a/app/code/Magento/CatalogInventory/Model/Spi/StockRegistryProviderInterface.php +++ b/app/code/Magento/CatalogInventory/Model/Spi/StockRegistryProviderInterface.php @@ -7,14 +7,12 @@ /** * Interface StockRegistryProviderInterface - * @since 2.0.0 */ interface StockRegistryProviderInterface { /** * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function getStock($scopeId); @@ -22,7 +20,6 @@ public function getStock($scopeId); * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem($productId, $scopeId); @@ -30,7 +27,6 @@ public function getStockItem($productId, $scopeId); * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function getStockStatus($productId, $scopeId); } diff --git a/app/code/Magento/CatalogInventory/Model/Spi/StockStateProviderInterface.php b/app/code/Magento/CatalogInventory/Model/Spi/StockStateProviderInterface.php index 97d4901263c51..89fb54e7e496b 100644 --- a/app/code/Magento/CatalogInventory/Model/Spi/StockStateProviderInterface.php +++ b/app/code/Magento/CatalogInventory/Model/Spi/StockStateProviderInterface.php @@ -9,21 +9,18 @@ /** * Interface StockStateProviderInterface - * @since 2.0.0 */ interface StockStateProviderInterface { /** * @param StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ public function verifyStock(StockItemInterface $stockItem); /** * @param StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ public function verifyNotification(StockItemInterface $stockItem); @@ -33,7 +30,6 @@ public function verifyNotification(StockItemInterface $stockItem); * @param int|float $qtyToCheck * @param int|float $origQty * @return int - * @since 2.0.0 */ public function checkQuoteItemQty(StockItemInterface $stockItem, $itemQty, $qtyToCheck, $origQty = 0); @@ -44,7 +40,6 @@ public function checkQuoteItemQty(StockItemInterface $stockItem, $itemQty, $qtyT * @param int|float $qty * @exception \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function checkQty(StockItemInterface $stockItem, $qty); @@ -55,7 +50,6 @@ public function checkQty(StockItemInterface $stockItem, $qty); * @param StockItemInterface $stockItem * @param int|float $qty * @return int|float - * @since 2.0.0 */ public function suggestQty(StockItemInterface $stockItem, $qty); @@ -63,7 +57,6 @@ public function suggestQty(StockItemInterface $stockItem, $qty); * @param StockItemInterface $stockItem * @param int|float $qty * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function checkQtyIncrements(StockItemInterface $stockItem, $qty); @@ -72,7 +65,6 @@ public function checkQtyIncrements(StockItemInterface $stockItem, $qty); * * @param StockItemInterface $stockItem * @return float - * @since 2.0.0 */ public function getStockQty(StockItemInterface $stockItem); } diff --git a/app/code/Magento/CatalogInventory/Model/Stock.php b/app/code/Magento/CatalogInventory/Model/Stock.php index e66379b3973fc..f36d49f632fa1 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock.php +++ b/app/code/Magento/CatalogInventory/Model/Stock.php @@ -11,7 +11,6 @@ /** * Class Stock * - * @since 2.0.0 */ class Stock extends AbstractExtensibleModel implements StockInterface { @@ -56,7 +55,6 @@ class Stock extends AbstractExtensibleModel implements StockInterface /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -69,7 +67,6 @@ protected function _construct() * Retrieve stock identifier * * @return int|null - * @since 2.0.0 */ public function getStockId() { @@ -80,7 +77,6 @@ public function getStockId() * Retrieve website identifier * * @return int - * @since 2.0.0 */ public function getWebsiteId() { @@ -91,7 +87,6 @@ public function getWebsiteId() * Retrieve Stock Name * * @return string - * @since 2.0.0 */ public function getStockName() { @@ -103,7 +98,6 @@ public function getStockName() * * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId) { @@ -115,7 +109,6 @@ public function setStockId($stockId) * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId) { @@ -127,7 +120,6 @@ public function setWebsiteId($websiteId) * * @param string $stockName * @return $this - * @since 2.0.0 */ public function setStockName($stockName) { @@ -138,7 +130,6 @@ public function setStockName($stockName) * {@inheritdoc} * * @return \Magento\CatalogInventory\Api\Data\StockExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -150,7 +141,6 @@ public function getExtensionAttributes() * * @param \Magento\CatalogInventory\Api\Data\StockExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Model/Stock/Item.php b/app/code/Magento/CatalogInventory/Model/Stock/Item.php index c83d158babf47..15200cf453d43 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/Item.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/Item.php @@ -19,7 +19,6 @@ * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessivePublicCount) - * @since 2.0.0 */ class Item extends AbstractExtensibleModel implements StockItemInterface { @@ -52,31 +51,26 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * Store model manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @var StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockItemRepository; /** * @var float|false - * @since 2.0.0 */ protected $qtyIncrements; @@ -84,7 +78,6 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * Store id * * @var int|null - * @since 2.0.0 */ protected $storeId; @@ -92,13 +85,11 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * Customer group id * * @var int|null - * @since 2.0.0 */ protected $customerGroupId; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; @@ -116,7 +107,6 @@ class Item extends AbstractExtensibleModel implements StockItemInterface * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -152,7 +142,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -161,7 +150,6 @@ protected function _construct() /** * @return int|null - * @since 2.0.0 */ public function getItemId() { @@ -172,7 +160,6 @@ public function getItemId() * Retrieve Website Id * * @return int - * @since 2.0.0 */ public function getWebsiteId() { @@ -187,7 +174,6 @@ public function getWebsiteId() * Retrieve stock identifier * * @return int - * @since 2.0.0 */ public function getStockId() { @@ -202,7 +188,6 @@ public function getStockId() * Retrieve Product Id * * @return int - * @since 2.0.0 */ public function getProductId() { @@ -212,7 +197,6 @@ public function getProductId() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getStockStatusChangedAuto() { @@ -221,7 +205,6 @@ public function getStockStatusChangedAuto() /** * @return float - * @since 2.0.0 */ public function getQty() { @@ -232,7 +215,6 @@ public function getQty() * Retrieve Stock Availability * * @return bool|int - * @since 2.0.0 */ public function getIsInStock() { @@ -245,7 +227,6 @@ public function getIsInStock() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsQtyDecimal() { @@ -255,7 +236,6 @@ public function getIsQtyDecimal() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsDecimalDivided() { @@ -264,7 +244,6 @@ public function getIsDecimalDivided() /** * @return string Timestamp - * @since 2.0.0 */ public function getLowStockDate() { @@ -276,7 +255,6 @@ public function getLowStockDate() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getShowDefaultNotificationMessage() { @@ -286,7 +264,6 @@ public function getShowDefaultNotificationMessage() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigMinQty() { @@ -297,7 +274,6 @@ public function getUseConfigMinQty() * Retrieve minimal quantity available for item status in stock * * @return float - * @since 2.0.0 */ public function getMinQty() { @@ -312,7 +288,6 @@ public function getMinQty() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigMinSaleQty() { @@ -323,7 +298,6 @@ public function getUseConfigMinSaleQty() * Retrieve Minimum Qty Allowed in Shopping Cart or NULL when there is no limitation * * @return float - * @since 2.0.0 */ public function getMinSaleQty() { @@ -339,7 +313,6 @@ public function getMinSaleQty() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigMaxSaleQty() { @@ -350,7 +323,6 @@ public function getUseConfigMaxSaleQty() * Retrieve Maximum Qty Allowed in Shopping Cart data wrapper * * @return float - * @since 2.0.0 */ public function getMaxSaleQty() { @@ -366,7 +338,6 @@ public function getMaxSaleQty() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigNotifyStockQty() { @@ -377,7 +348,6 @@ public function getUseConfigNotifyStockQty() * Retrieve Notify for Quantity Below data wrapper * * @return float - * @since 2.0.0 */ public function getNotifyStockQty() { @@ -390,7 +360,6 @@ public function getNotifyStockQty() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigEnableQtyInc() { @@ -402,7 +371,6 @@ public function getUseConfigEnableQtyInc() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getEnableQtyIncrements() { @@ -417,7 +385,6 @@ public function getEnableQtyIncrements() * * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigQtyIncrements() { @@ -428,7 +395,6 @@ public function getUseConfigQtyIncrements() * Retrieve Quantity Increments * * @return int|false - * @since 2.0.0 */ public function getQtyIncrements() { @@ -450,7 +416,6 @@ public function getQtyIncrements() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigBackorders() { @@ -461,7 +426,6 @@ public function getUseConfigBackorders() * Retrieve backorders status * * @return int - * @since 2.0.0 */ public function getBackorders() { @@ -474,7 +438,6 @@ public function getBackorders() /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getUseConfigManageStock() { @@ -485,7 +448,6 @@ public function getUseConfigManageStock() * Retrieve can Manage Stock * * @return int - * @since 2.0.0 */ public function getManageStock() { @@ -503,7 +465,6 @@ public function getManageStock() * @param string $quoteError * @param string $errorIndex * @return $this - * @since 2.0.0 */ protected function _addQuoteItemError( \Magento\Quote\Model\Quote\Item $item, @@ -523,7 +484,6 @@ protected function _addQuoteItemError( * * @return $this * @throws \Exception - * @since 2.0.0 */ public function save() { @@ -536,7 +496,6 @@ public function save() * * @param Product $product * @return $this - * @since 2.0.0 */ public function setProduct(Product $product) { @@ -554,7 +513,6 @@ public function setProduct(Product $product) * * @param int $value Value of store id * @return $this - * @since 2.0.0 */ public function setStoreId($value) { @@ -566,7 +524,6 @@ public function setStoreId($value) * Retrieve Store Id (product or current) * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -580,7 +537,6 @@ public function getStoreId() * Getter for customer group id, return current customer group if not set * * @return int - * @since 2.0.0 */ public function getCustomerGroupId() { @@ -595,7 +551,6 @@ public function getCustomerGroupId() * * @param int $value Value of customer group id * @return $this - * @since 2.0.0 */ public function setCustomerGroupId($value) { @@ -608,7 +563,6 @@ public function setCustomerGroupId($value) /** * @param int $itemId * @return $this - * @since 2.0.0 */ public function setItemId($itemId) { @@ -618,7 +572,6 @@ public function setItemId($itemId) /** * @param int $productId * @return $this - * @since 2.0.0 */ public function setProductId($productId) { @@ -630,7 +583,6 @@ public function setProductId($productId) * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId) { @@ -642,7 +594,6 @@ public function setWebsiteId($websiteId) * * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId) { @@ -652,7 +603,6 @@ public function setStockId($stockId) /** * @param float $qty * @return $this - * @since 2.0.0 */ public function setQty($qty) { @@ -664,7 +614,6 @@ public function setQty($qty) * * @param bool|int $isInStock * @return $this - * @since 2.0.0 */ public function setIsInStock($isInStock) { @@ -674,7 +623,6 @@ public function setIsInStock($isInStock) /** * @param bool $isQtyDecimal * @return $this - * @since 2.0.0 */ public function setIsQtyDecimal($isQtyDecimal) { @@ -684,7 +632,6 @@ public function setIsQtyDecimal($isQtyDecimal) /** * @param bool $useConfigMinQty * @return $this - * @since 2.0.0 */ public function setUseConfigMinQty($useConfigMinQty) { @@ -696,7 +643,6 @@ public function setUseConfigMinQty($useConfigMinQty) * * @param float $minQty * @return $this - * @since 2.0.0 */ public function setMinQty($minQty) { @@ -706,7 +652,6 @@ public function setMinQty($minQty) /** * @param int $useConfigMinSaleQty * @return $this - * @since 2.0.0 */ public function setUseConfigMinSaleQty($useConfigMinSaleQty) { @@ -718,7 +663,6 @@ public function setUseConfigMinSaleQty($useConfigMinSaleQty) * * @param float $minSaleQty * @return $this - * @since 2.0.0 */ public function setMinSaleQty($minSaleQty) { @@ -728,7 +672,6 @@ public function setMinSaleQty($minSaleQty) /** * @param bool $useConfigMaxSaleQty * @return $this - * @since 2.0.0 */ public function setUseConfigMaxSaleQty($useConfigMaxSaleQty) { @@ -740,7 +683,6 @@ public function setUseConfigMaxSaleQty($useConfigMaxSaleQty) * * @param float $maxSaleQty * @return $this - * @since 2.0.0 */ public function setMaxSaleQty($maxSaleQty) { @@ -750,7 +692,6 @@ public function setMaxSaleQty($maxSaleQty) /** * @param bool $useConfigBackorders * @return $this - * @since 2.0.0 */ public function setUseConfigBackorders($useConfigBackorders) { @@ -762,7 +703,6 @@ public function setUseConfigBackorders($useConfigBackorders) * * @param int $backOrders * @return $this - * @since 2.0.0 */ public function setBackorders($backOrders) { @@ -772,7 +712,6 @@ public function setBackorders($backOrders) /** * @param bool $useConfigNotifyStockQty * @return $this - * @since 2.0.0 */ public function setUseConfigNotifyStockQty($useConfigNotifyStockQty) { @@ -784,7 +723,6 @@ public function setUseConfigNotifyStockQty($useConfigNotifyStockQty) * * @param float $notifyStockQty * @return $this - * @since 2.0.0 */ public function setNotifyStockQty($notifyStockQty) { @@ -794,7 +732,6 @@ public function setNotifyStockQty($notifyStockQty) /** * @param bool $useConfigQtyIncrements * @return $this - * @since 2.0.0 */ public function setUseConfigQtyIncrements($useConfigQtyIncrements) { @@ -806,7 +743,6 @@ public function setUseConfigQtyIncrements($useConfigQtyIncrements) * * @param float $qtyIncrements * @return $this - * @since 2.0.0 */ public function setQtyIncrements($qtyIncrements) { @@ -816,7 +752,6 @@ public function setQtyIncrements($qtyIncrements) /** * @param bool $useConfigEnableQtyInc * @return $this - * @since 2.0.0 */ public function setUseConfigEnableQtyInc($useConfigEnableQtyInc) { @@ -828,7 +763,6 @@ public function setUseConfigEnableQtyInc($useConfigEnableQtyInc) * * @param bool $enableQtyIncrements * @return $this - * @since 2.0.0 */ public function setEnableQtyIncrements($enableQtyIncrements) { @@ -838,7 +772,6 @@ public function setEnableQtyIncrements($enableQtyIncrements) /** * @param bool $useConfigManageStock * @return $this - * @since 2.0.0 */ public function setUseConfigManageStock($useConfigManageStock) { @@ -848,7 +781,6 @@ public function setUseConfigManageStock($useConfigManageStock) /** * @param bool $manageStock * @return $this - * @since 2.0.0 */ public function setManageStock($manageStock) { @@ -858,7 +790,6 @@ public function setManageStock($manageStock) /** * @param string $lowStockDate * @return $this - * @since 2.0.0 */ public function setLowStockDate($lowStockDate) { @@ -868,7 +799,6 @@ public function setLowStockDate($lowStockDate) /** * @param bool $isDecimalDivided * @return $this - * @since 2.0.0 */ public function setIsDecimalDivided($isDecimalDivided) { @@ -878,7 +808,6 @@ public function setIsDecimalDivided($isDecimalDivided) /** * @param int $stockStatusChangedAuto * @return $this - * @since 2.0.0 */ public function setStockStatusChangedAuto($stockStatusChangedAuto) { @@ -889,7 +818,6 @@ public function setStockStatusChangedAuto($stockStatusChangedAuto) * {@inheritdoc} * * @return \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -901,7 +829,6 @@ public function getExtensionAttributes() * * @param \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockItemExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Model/Stock/Status.php b/app/code/Magento/CatalogInventory/Model/Stock/Status.php index 2721e99be4fc7..9a56c8e8804ec 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/Status.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/Status.php @@ -14,7 +14,6 @@ /** * CatalogInventory Stock Status - * @since 2.0.0 */ class Status extends AbstractExtensibleModel implements StockStatusInterface { @@ -45,7 +44,6 @@ class Status extends AbstractExtensibleModel implements StockStatusInterface * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -73,7 +71,6 @@ public function __construct( * Init resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -84,7 +81,6 @@ protected function _construct() /** * @return int - * @since 2.0.0 */ public function getProductId() { @@ -93,7 +89,6 @@ public function getProductId() /** * @return int - * @since 2.0.0 */ public function getWebsiteId() { @@ -102,7 +97,6 @@ public function getWebsiteId() /** * @return int - * @since 2.0.0 */ public function getStockId() { @@ -111,7 +105,6 @@ public function getStockId() /** * @return int - * @since 2.0.0 */ public function getQty() { @@ -120,7 +113,6 @@ public function getQty() /** * @return int - * @since 2.0.0 */ public function getStockStatus() { @@ -131,7 +123,6 @@ public function getStockStatus() /** * @return StockItemInterface - * @since 2.0.0 */ public function getStockItem() { @@ -143,7 +134,6 @@ public function getStockItem() /** * @param int $productId * @return $this - * @since 2.0.0 */ public function setProductId($productId) { @@ -153,7 +143,6 @@ public function setProductId($productId) /** * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId) { @@ -163,7 +152,6 @@ public function setWebsiteId($websiteId) /** * @param int $stockId * @return $this - * @since 2.0.0 */ public function setStockId($stockId) { @@ -173,7 +161,6 @@ public function setStockId($stockId) /** * @param int $qty * @return $this - * @since 2.0.0 */ public function setQty($qty) { @@ -183,7 +170,6 @@ public function setQty($qty) /** * @param int $stockStatus * @return $this - * @since 2.0.0 */ public function setStockStatus($stockStatus) { @@ -194,7 +180,6 @@ public function setStockStatus($stockStatus) * {@inheritdoc} * * @return \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -206,7 +191,6 @@ public function getExtensionAttributes() * * @param \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CatalogInventory\Api\Data\StockStatusExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php index 7dc9a2e72e160..3492a5ed2fcff 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php @@ -27,73 +27,61 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockItemRepository implements StockItemRepositoryInterface { /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @var StockStateProviderInterface - * @since 2.0.0 */ protected $stockStateProvider; /** * @var StockItemResource - * @since 2.0.0 */ protected $resource; /** * @var StockItemInterfaceFactory - * @since 2.0.0 */ protected $stockItemFactory; /** * @var StockItemCollectionInterfaceFactory - * @since 2.0.0 */ protected $stockItemCollectionFactory; /** * @var ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var QueryBuilderFactory - * @since 2.0.0 */ protected $queryBuilderFactory; /** * @var MapperFactory - * @since 2.0.0 */ protected $mapperFactory; /** * @var TimezoneInterface - * @since 2.0.0 */ protected $localeDate; /** * @var Processor - * @since 2.0.0 */ protected $indexProcessor; /** * @var DateTime - * @since 2.0.0 */ protected $dateTime; @@ -105,7 +93,7 @@ class StockItemRepository implements StockItemRepositoryInterface /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.2.0 + * @since 2.1.3 */ protected $productCollectionFactory; @@ -125,7 +113,6 @@ class StockItemRepository implements StockItemRepositoryInterface * @param DateTime $dateTime * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory|null $collectionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( StockConfigurationInterface $stockConfiguration, @@ -158,7 +145,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ public function save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem) { @@ -207,7 +193,6 @@ public function save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stoc /** * @inheritdoc - * @since 2.0.0 */ public function get($stockItemId) { @@ -221,7 +206,6 @@ public function get($stockItemId) /** * @inheritdoc - * @since 2.0.0 */ public function getList(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria) { @@ -235,7 +219,6 @@ public function getList(\Magento\CatalogInventory\Api\StockItemCriteriaInterface /** * @inheritdoc - * @since 2.0.0 */ public function delete(StockItemInterface $stockItem) { @@ -254,7 +237,6 @@ public function delete(StockItemInterface $stockItem) /** * @inheritdoc - * @since 2.0.0 */ public function deleteById($id) { diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php index 67a47f2bf228d..84e4be91c42fb 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockRepository.php @@ -20,37 +20,31 @@ /** * Class StockRepository * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockRepository implements StockRepositoryInterface { /** * @var StockResource - * @since 2.0.0 */ protected $resource; /** * @var StockFactory - * @since 2.0.0 */ protected $stockFactory; /** * @var StockCollectionInterfaceFactory - * @since 2.0.0 */ protected $stockCollectionFactory; /** * @var QueryBuilderFactory - * @since 2.0.0 */ protected $queryBuilderFactory; /** * @var MapperFactory - * @since 2.0.0 */ protected $mapperFactory; @@ -66,7 +60,6 @@ class StockRepository implements StockRepositoryInterface * @param StockCollectionInterfaceFactory $collectionFactory * @param QueryBuilderFactory $queryBuilderFactory * @param MapperFactory $mapperFactory - * @since 2.0.0 */ public function __construct( StockResource $resource, @@ -86,7 +79,6 @@ public function __construct( * @param StockInterface $stock * @return StockInterface * @throws CouldNotSaveException - * @since 2.0.0 */ public function save(StockInterface $stock) { @@ -102,7 +94,6 @@ public function save(StockInterface $stock) * @param int $stockId * @return StockInterface * @throws NoSuchEntityException - * @since 2.0.0 */ public function get($stockId) { @@ -117,7 +108,6 @@ public function get($stockId) /** * @param \Magento\CatalogInventory\Api\StockCriteriaInterface $criteria * @return \Magento\CatalogInventory\Api\Data\StockCollectionInterface - * @since 2.0.0 */ public function getList(\Magento\CatalogInventory\Api\StockCriteriaInterface $criteria) { @@ -133,7 +123,6 @@ public function getList(\Magento\CatalogInventory\Api\StockCriteriaInterface $cr * @param StockInterface $stock * @return bool|true * @throws CouldNotDeleteException - * @since 2.0.0 */ public function delete(StockInterface $stock) { @@ -153,7 +142,6 @@ public function delete(StockInterface $stock) * @param int $id * @return bool * @throws CouldNotDeleteException - * @since 2.0.0 */ public function deleteById($id) { diff --git a/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php b/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php index 3b8d71f5e64cb..09aaefd36cd7c 100644 --- a/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php +++ b/app/code/Magento/CatalogInventory/Model/Stock/StockStatusRepository.php @@ -18,37 +18,31 @@ /** * Class StockStatusRepository * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockStatusRepository implements StockStatusRepositoryInterface { /** * @var StockStatusResource - * @since 2.0.0 */ protected $resource; /** * @var StatusFactory - * @since 2.0.0 */ protected $stockStatusFactory; /** * @var StockStatusCollectionInterfaceFactory - * @since 2.0.0 */ protected $stockStatusCollectionFactory; /** * @var QueryBuilderFactory - * @since 2.0.0 */ protected $queryBuilderFactory; /** * @var MapperFactory - * @since 2.0.0 */ protected $mapperFactory; @@ -64,7 +58,6 @@ class StockStatusRepository implements StockStatusRepositoryInterface * @param StockStatusCollectionInterfaceFactory $collectionFactory * @param QueryBuilderFactory $queryBuilderFactory * @param MapperFactory $mapperFactory - * @since 2.0.0 */ public function __construct( StockStatusResource $resource, @@ -84,7 +77,6 @@ public function __construct( * @param StockStatusInterface $stockStatus * @return StockStatusInterface * @throws CouldNotSaveException - * @since 2.0.0 */ public function save(StockStatusInterface $stockStatus) { @@ -99,7 +91,6 @@ public function save(StockStatusInterface $stockStatus) /** * @param string $stockStatusId * @return StockStatusInterface|Status - * @since 2.0.0 */ public function get($stockStatusId) { @@ -111,7 +102,6 @@ public function get($stockStatusId) /** * @param \Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria * @return \Magento\CatalogInventory\Api\Data\StockStatusCollectionInterface - * @since 2.0.0 */ public function getList(\Magento\CatalogInventory\Api\StockStatusCriteriaInterface $criteria) { @@ -127,7 +117,6 @@ public function getList(\Magento\CatalogInventory\Api\StockStatusCriteriaInterfa * @param StockStatusInterface $stockStatus * @return bool|true * @throws CouldNotDeleteException - * @since 2.0.0 */ public function delete(StockStatusInterface $stockStatus) { @@ -147,7 +136,6 @@ public function delete(StockStatusInterface $stockStatus) * @param int $id * @return bool * @throws CouldNotDeleteException - * @since 2.0.0 */ public function deleteById($id) { diff --git a/app/code/Magento/CatalogInventory/Model/StockIndex.php b/app/code/Magento/CatalogInventory/Model/StockIndex.php index 5cdd89abc3a6e..d930925022738 100644 --- a/app/code/Magento/CatalogInventory/Model/StockIndex.php +++ b/app/code/Magento/CatalogInventory/Model/StockIndex.php @@ -18,31 +18,26 @@ /** * Class StockIndex * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockIndex implements StockIndexInterface { /** * @var StockRegistryProviderInterface - * @since 2.0.0 */ protected $stockRegistryProvider; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\CatalogInventory\Model\ResourceModel\Stock\Status - * @since 2.0.0 */ protected $stockStatusResource; /** * @var ProductType - * @since 2.0.0 */ protected $productType; @@ -50,7 +45,6 @@ class StockIndex implements StockIndexInterface * Retrieve website models * * @var array - * @since 2.0.0 */ protected $websites; @@ -58,7 +52,6 @@ class StockIndex implements StockIndexInterface * Product Type Instances cache * * @var array - * @since 2.0.0 */ protected $productTypes = []; @@ -67,7 +60,6 @@ class StockIndex implements StockIndexInterface * @param ProductRepositoryInterface $productRepository * @param ProductWebsite $productWebsite * @param ProductType $productType - * @since 2.0.0 */ public function __construct( StockRegistryProviderInterface $stockRegistryProvider, @@ -89,7 +81,6 @@ public function __construct( * @deprecated 2.1.0 * @return true * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function rebuild($productId = null, $scopeId = null) { @@ -120,7 +111,6 @@ public function rebuild($productId = null, $scopeId = null) * @param int $websiteId * @deprecated 2.1.0 * @return void - * @since 2.0.0 */ public function updateProductStockStatus($productId, $websiteId) { @@ -145,7 +135,6 @@ public function updateProductStockStatus($productId, $websiteId) * @param int $status * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function processChildren( $productId, @@ -209,7 +198,6 @@ protected function processChildren( * * @param int|null $websiteId * @return array - * @since 2.0.0 */ protected function getWebsitesWithDefaultStores($websiteId = null) { @@ -231,7 +219,6 @@ protected function getWebsitesWithDefaultStores($websiteId = null) * @param int $productId * @param int $websiteId * @return $this - * @since 2.0.0 */ protected function processParents($productId, $websiteId) { @@ -262,7 +249,6 @@ protected function processParents($productId, $websiteId) * as key - type code, value - instance model * * @return array - * @since 2.0.0 */ protected function getProductTypeInstances() { @@ -278,7 +264,6 @@ protected function getProductTypeInstances() /** * @return \Magento\CatalogInventory\Model\ResourceModel\Stock\Status - * @since 2.0.0 */ protected function getStockStatusResource() { diff --git a/app/code/Magento/CatalogInventory/Model/StockManagement.php b/app/code/Magento/CatalogInventory/Model/StockManagement.php index 1a0aa38965783..06599446a9ea9 100644 --- a/app/code/Magento/CatalogInventory/Model/StockManagement.php +++ b/app/code/Magento/CatalogInventory/Model/StockManagement.php @@ -15,43 +15,36 @@ /** * Class StockManagement - * @since 2.0.0 */ class StockManagement implements StockManagementInterface { /** * @var StockRegistryProviderInterface - * @since 2.0.0 */ protected $stockRegistryProvider; /** * @var StockState - * @since 2.0.0 */ protected $stockState; /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var ResourceStock - * @since 2.0.0 */ protected $resource; /** * @var QtyCounterInterface - * @since 2.0.0 */ private $qtyCounter; @@ -62,7 +55,6 @@ class StockManagement implements StockManagementInterface * @param StockConfigurationInterface $stockConfiguration * @param ProductRepositoryInterface $productRepository * @param QtyCounterInterface $qtyCounter - * @since 2.0.0 */ public function __construct( ResourceStock $stockResource, @@ -89,7 +81,6 @@ public function __construct( * @return StockItemInterface[] * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function registerProductsSale($items, $websiteId = null) { @@ -138,7 +129,6 @@ public function registerProductsSale($items, $websiteId = null) * @param string[] $items * @param int $websiteId * @return bool - * @since 2.0.0 */ public function revertProductsSale($items, $websiteId = null) { @@ -156,7 +146,6 @@ public function revertProductsSale($items, $websiteId = null) * @param float $qty * @param int $scopeId * @return bool - * @since 2.0.0 */ public function backItemQty($productId, $qty, $scopeId = null) { @@ -184,7 +173,6 @@ public function backItemQty($productId, $qty, $scopeId = null) * * @param int $productId * @return string - * @since 2.0.0 */ protected function getProductType($productId) { @@ -193,7 +181,6 @@ protected function getProductType($productId) /** * @return ResourceStock - * @since 2.0.0 */ protected function getResource() { @@ -205,7 +192,6 @@ protected function getResource() * * @param StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ protected function canSubtractQty(StockItemInterface $stockItem) { diff --git a/app/code/Magento/CatalogInventory/Model/StockRegistry.php b/app/code/Magento/CatalogInventory/Model/StockRegistry.php index 46354c26af371..d688132fdb916 100644 --- a/app/code/Magento/CatalogInventory/Model/StockRegistry.php +++ b/app/code/Magento/CatalogInventory/Model/StockRegistry.php @@ -17,37 +17,31 @@ * Class StockRegistry * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockRegistry implements StockRegistryInterface { /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @var StockRegistryProviderInterface - * @since 2.0.0 */ protected $stockRegistryProvider; /** * @var ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var StockItemRepositoryInterface - * @since 2.0.0 */ protected $stockItemRepository; /** * @var \Magento\CatalogInventory\Api\StockItemCriteriaInterfaceFactory - * @since 2.0.0 */ protected $criteriaFactory; @@ -57,7 +51,6 @@ class StockRegistry implements StockRegistryInterface * @param StockItemRepositoryInterface $stockItemRepository * @param StockItemCriteriaInterfaceFactory $criteriaFactory * @param ProductFactory $productFactory - * @since 2.0.0 */ public function __construct( StockConfigurationInterface $stockConfiguration, @@ -76,7 +69,6 @@ public function __construct( /** * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function getStock($scopeId = null) { @@ -88,7 +80,6 @@ public function getStock($scopeId = null) * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem($productId, $scopeId = null) { @@ -101,7 +92,6 @@ public function getStockItem($productId, $scopeId = null) * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getStockItemBySku($productSku, $scopeId = null) { @@ -114,7 +104,6 @@ public function getStockItemBySku($productSku, $scopeId = null) * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function getStockStatus($productId, $scopeId = null) { @@ -127,7 +116,6 @@ public function getStockStatus($productId, $scopeId = null) * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getStockStatusBySku($productSku, $scopeId = null) { @@ -141,7 +129,6 @@ public function getStockStatusBySku($productSku, $scopeId = null) * @param int $productId * @param int $scopeId * @return int - * @since 2.0.0 */ public function getProductStockStatus($productId, $scopeId = null) { @@ -155,7 +142,6 @@ public function getProductStockStatus($productId, $scopeId = null) * @param null $scopeId * @return int * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getProductStockStatusBySku($productSku, $scopeId = null) { @@ -166,7 +152,6 @@ public function getProductStockStatusBySku($productSku, $scopeId = null) /** * @inheritdoc - * @since 2.0.0 */ public function getLowStockItems($scopeId, $qty, $currentPage = 1, $pageSize = 0) { @@ -180,7 +165,6 @@ public function getLowStockItems($scopeId, $qty, $currentPage = 1, $pageSize = 0 /** * @inheritdoc - * @since 2.0.0 */ public function updateStockItemBySku($productSku, \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem) { @@ -200,7 +184,6 @@ public function updateStockItemBySku($productSku, \Magento\CatalogInventory\Api\ * @param string $productSku * @return int * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ protected function resolveProductId($productSku) { diff --git a/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php b/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php index 56e70dbe3058a..80d28adbb1a64 100644 --- a/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php +++ b/app/code/Magento/CatalogInventory/Model/StockRegistryProvider.php @@ -20,61 +20,51 @@ /** * Class StockRegistryProvider * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class StockRegistryProvider implements StockRegistryProviderInterface { /** * @var StockRepositoryInterface - * @since 2.0.0 */ protected $stockRepository; /** * @var StockInterfaceFactory - * @since 2.0.0 */ protected $stockFactory; /** * @var StockItemRepositoryInterface - * @since 2.0.0 */ protected $stockItemRepository; /** * @var StockItemInterfaceFactory - * @since 2.0.0 */ protected $stockItemFactory; /** * @var StockStatusRepositoryInterface - * @since 2.0.0 */ protected $stockStatusRepository; /** * @var StockStatusInterfaceFactory - * @since 2.0.0 */ protected $stockStatusFactory; /** * @var StockCriteriaInterfaceFactory - * @since 2.0.0 */ protected $stockCriteriaFactory; /** * @var StockItemCriteriaInterfaceFactory - * @since 2.0.0 */ protected $stockItemCriteriaFactory; /** * @var StockStatusCriteriaInterfaceFactory - * @since 2.0.0 */ protected $stockStatusCriteriaFactory; @@ -95,7 +85,6 @@ class StockRegistryProvider implements StockRegistryProviderInterface * @param StockItemCriteriaInterfaceFactory $stockItemCriteriaFactory * @param StockStatusCriteriaInterfaceFactory $stockStatusCriteriaFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( StockRepositoryInterface $stockRepository, @@ -122,7 +111,6 @@ public function __construct( /** * @param int|null $scopeId * @return \Magento\CatalogInventory\Api\Data\StockInterface - * @since 2.0.0 */ public function getStock($scopeId) { @@ -145,7 +133,6 @@ public function getStock($scopeId) * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockItemInterface - * @since 2.0.0 */ public function getStockItem($productId, $scopeId) { @@ -168,7 +155,6 @@ public function getStockItem($productId, $scopeId) * @param int $productId * @param int $scopeId * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface - * @since 2.0.0 */ public function getStockStatus($productId, $scopeId) { diff --git a/app/code/Magento/CatalogInventory/Model/StockState.php b/app/code/Magento/CatalogInventory/Model/StockState.php index 4e4c2435203e3..ac6dc16366798 100644 --- a/app/code/Magento/CatalogInventory/Model/StockState.php +++ b/app/code/Magento/CatalogInventory/Model/StockState.php @@ -12,25 +12,21 @@ /** * Interface StockState - * @since 2.0.0 */ class StockState implements StockStateInterface { /** * @var StockStateProviderInterface - * @since 2.0.0 */ protected $stockStateProvider; /** * @var StockRegistryProviderInterface - * @since 2.0.0 */ protected $stockRegistryProvider; /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; @@ -38,7 +34,6 @@ class StockState implements StockStateInterface * @param StockStateProviderInterface $stockStateProvider * @param StockRegistryProviderInterface $stockRegistryProvider * @param StockConfigurationInterface $stockConfiguration - * @since 2.0.0 */ public function __construct( StockStateProviderInterface $stockStateProvider, @@ -54,7 +49,6 @@ public function __construct( * @param int $productId * @param int $scopeId * @return bool - * @since 2.0.0 */ public function verifyStock($productId, $scopeId = null) { @@ -69,7 +63,6 @@ public function verifyStock($productId, $scopeId = null) * @param int $productId * @param int $scopeId * @return bool - * @since 2.0.0 */ public function verifyNotification($productId, $scopeId = null) { @@ -88,7 +81,6 @@ public function verifyNotification($productId, $scopeId = null) * @param int $scopeId * @exception \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function checkQty($productId, $qty, $scopeId = null) { @@ -107,7 +99,6 @@ public function checkQty($productId, $qty, $scopeId = null) * @param float $qty * @param int $scopeId * @return float - * @since 2.0.0 */ public function suggestQty($productId, $qty, $scopeId = null) { @@ -124,7 +115,6 @@ public function suggestQty($productId, $qty, $scopeId = null) * @param int $productId * @param int $scopeId * @return float - * @since 2.0.0 */ public function getStockQty($productId, $scopeId = null) { @@ -140,7 +130,6 @@ public function getStockQty($productId, $scopeId = null) * @param float $qty * @param int $websiteId * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function checkQtyIncrements($productId, $qty, $websiteId = null) { @@ -158,7 +147,6 @@ public function checkQtyIncrements($productId, $qty, $websiteId = null) * @param float $origQty * @param int $scopeId * @return int - * @since 2.0.0 */ public function checkQuoteItemQty($productId, $itemQty, $qtyToCheck, $origQty, $scopeId = null) { diff --git a/app/code/Magento/CatalogInventory/Model/StockStateProvider.php b/app/code/Magento/CatalogInventory/Model/StockStateProvider.php index c50ec85b6a1dc..4cffc678314b2 100644 --- a/app/code/Magento/CatalogInventory/Model/StockStateProvider.php +++ b/app/code/Magento/CatalogInventory/Model/StockStateProvider.php @@ -17,37 +17,31 @@ /** * Interface StockStateProvider - * @since 2.0.0 */ class StockStateProvider implements StockStateProviderInterface { /** * @var MathDivision - * @since 2.0.0 */ protected $mathDivision; /** * @var FormatInterface - * @since 2.0.0 */ protected $localeFormat; /** * @var ObjectFactory - * @since 2.0.0 */ protected $objectFactory; /** * @var ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var bool - * @since 2.0.0 */ protected $qtyCheckApplicable; @@ -57,7 +51,6 @@ class StockStateProvider implements StockStateProviderInterface * @param ObjectFactory $objectFactory * @param ProductFactory $productFactory * @param bool $qtyCheckApplicable - * @since 2.0.0 */ public function __construct( MathDivision $mathDivision, @@ -76,7 +69,6 @@ public function __construct( /** * @param StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ public function verifyStock(StockItemInterface $stockItem) { @@ -94,7 +86,6 @@ public function verifyStock(StockItemInterface $stockItem) /** * @param StockItemInterface $stockItem * @return bool - * @since 2.0.0 */ public function verifyNotification(StockItemInterface $stockItem) { @@ -110,7 +101,6 @@ public function verifyNotification(StockItemInterface $stockItem) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function checkQuoteItemQty(StockItemInterface $stockItem, $qty, $summaryQty, $origQty = 0) { @@ -242,7 +232,6 @@ public function checkQuoteItemQty(StockItemInterface $stockItem, $qty, $summaryQ * @param int|float $qty * @exception \Magento\Framework\Exception\LocalizedException * @return bool - * @since 2.0.0 */ public function checkQty(StockItemInterface $stockItem, $qty) { @@ -271,7 +260,6 @@ public function checkQty(StockItemInterface $stockItem, $qty) * @param StockItemInterface $stockItem * @param int|float $qty * @return int|float - * @since 2.0.0 */ public function suggestQty(StockItemInterface $stockItem, $qty) { @@ -309,7 +297,6 @@ public function suggestQty(StockItemInterface $stockItem, $qty) * @param StockItemInterface $stockItem * @param float|int $qty * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function checkQtyIncrements(StockItemInterface $stockItem, $qty) { @@ -347,7 +334,6 @@ public function checkQtyIncrements(StockItemInterface $stockItem, $qty) * @return float * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function getStockQty(StockItemInterface $stockItem) { @@ -385,7 +371,6 @@ public function getStockQty(StockItemInterface $stockItem) /** * @param string|float|int|null $qty * @return float|null - * @since 2.0.0 */ protected function getNumber($qty) { diff --git a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minqty.php b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minqty.php index ac10831c18918..f49d41b5dd656 100644 --- a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minqty.php +++ b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minqty.php @@ -8,7 +8,6 @@ /** * Minimum product qty backend model - * @since 2.0.0 */ class Minqty extends \Magento\Framework\App\Config\Value { @@ -16,7 +15,6 @@ class Minqty extends \Magento\Framework\App\Config\Value * Validate minimum product qty value * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php index 0881722d6d3e6..af510381bc211 100644 --- a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php +++ b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php @@ -7,7 +7,6 @@ /** * Backend for serialized array data - * @since 2.0.0 */ class Minsaleqty extends \Magento\Framework\App\Config\Value { @@ -15,7 +14,6 @@ class Minsaleqty extends \Magento\Framework\App\Config\Value * Catalog inventory minsaleqty * * @var \Magento\CatalogInventory\Helper\Minsaleqty - * @since 2.0.0 */ protected $_catalogInventoryMinsaleqty = null; @@ -28,7 +26,6 @@ class Minsaleqty extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( * Process data after load * * @return void - * @since 2.0.0 */ protected function _afterLoad() { @@ -61,7 +57,6 @@ protected function _afterLoad() * Prepare data before save * * @return void - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Qtyincrements.php b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Qtyincrements.php index 6971330e48efb..f34d765b0e5f0 100644 --- a/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Qtyincrements.php +++ b/app/code/Magento/CatalogInventory/Model/System/Config/Backend/Qtyincrements.php @@ -9,7 +9,6 @@ /** * Backend for qty increments - * @since 2.0.0 */ class Qtyincrements extends \Magento\Framework\App\Config\Value { @@ -18,7 +17,6 @@ class Qtyincrements extends \Magento\Framework\App\Config\Value * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/CatalogInventory/Observer/AddInventoryDataObserver.php b/app/code/Magento/CatalogInventory/Observer/AddInventoryDataObserver.php index 7cf6f68b04968..3f92fffa599bd 100644 --- a/app/code/Magento/CatalogInventory/Observer/AddInventoryDataObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/AddInventoryDataObserver.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogInventory\Observer\AddInventoryDataObserver * - * @since 2.0.0 */ class AddInventoryDataObserver implements ObserverInterface { /** * @var \Magento\CatalogInventory\Helper\Stock - * @since 2.0.0 */ protected $stockHelper; /** * @param \Magento\CatalogInventory\Helper\Stock $stockHelper - * @since 2.0.0 */ public function __construct(\Magento\CatalogInventory\Helper\Stock $stockHelper) { @@ -36,7 +33,6 @@ public function __construct(\Magento\CatalogInventory\Helper\Stock $stockHelper) * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/CancelOrderItemObserver.php b/app/code/Magento/CatalogInventory/Observer/CancelOrderItemObserver.php index 6fd697ee49536..1e99794d68a40 100644 --- a/app/code/Magento/CatalogInventory/Observer/CancelOrderItemObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/CancelOrderItemObserver.php @@ -12,26 +12,22 @@ /** * Catalog inventory module observer - * @since 2.0.0 */ class CancelOrderItemObserver implements ObserverInterface { /** * @var StockManagementInterface - * @since 2.0.0 */ protected $stockManagement; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $priceIndexer; /** * @param StockManagementInterface $stockManagement * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $priceIndexer - * @since 2.0.0 */ public function __construct( StockManagementInterface $stockManagement, @@ -46,7 +42,6 @@ public function __construct( * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/CheckoutAllSubmitAfterObserver.php b/app/code/Magento/CatalogInventory/Observer/CheckoutAllSubmitAfterObserver.php index 9c4bac42b4610..e921c06ff508e 100644 --- a/app/code/Magento/CatalogInventory/Observer/CheckoutAllSubmitAfterObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/CheckoutAllSubmitAfterObserver.php @@ -12,26 +12,22 @@ /** * Class \Magento\CatalogInventory\Observer\CheckoutAllSubmitAfterObserver * - * @since 2.0.0 */ class CheckoutAllSubmitAfterObserver implements ObserverInterface { /** * @var SubtractQuoteInventoryObserver - * @since 2.0.0 */ protected $subtractQuoteInventoryObserver; /** * @var ReindexQuoteInventoryObserver - * @since 2.0.0 */ protected $reindexQuoteInventoryObserver; /** * @param SubtractQuoteInventoryObserver $subtractQuoteInventoryObserver * @param ReindexQuoteInventoryObserver $reindexQuoteInventoryObserver - * @since 2.0.0 */ public function __construct( SubtractQuoteInventoryObserver $subtractQuoteInventoryObserver, @@ -46,7 +42,6 @@ public function __construct( * * @param EventObserver $observer * @return $this - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/DisplayProductStatusInfoObserver.php b/app/code/Magento/CatalogInventory/Observer/DisplayProductStatusInfoObserver.php index cf9c52b94274a..dbd3ded30c1e6 100644 --- a/app/code/Magento/CatalogInventory/Observer/DisplayProductStatusInfoObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/DisplayProductStatusInfoObserver.php @@ -12,19 +12,16 @@ /** * Catalog inventory module observer - * @since 2.0.0 */ class DisplayProductStatusInfoObserver implements ObserverInterface { /** * @var StockConfigurationInterface - * @since 2.0.0 */ protected $stockConfiguration; /** * @param StockConfigurationInterface $stockConfiguration - * @since 2.0.0 */ public function __construct(StockConfigurationInterface $stockConfiguration) { @@ -36,7 +33,6 @@ public function __construct(StockConfigurationInterface $stockConfiguration) * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/ItemsForReindex.php b/app/code/Magento/CatalogInventory/Observer/ItemsForReindex.php index b2b8fa0885c39..e72b5d2ff210e 100644 --- a/app/code/Magento/CatalogInventory/Observer/ItemsForReindex.php +++ b/app/code/Magento/CatalogInventory/Observer/ItemsForReindex.php @@ -9,20 +9,17 @@ /** * Class \Magento\CatalogInventory\Observer\ItemsForReindex * - * @since 2.0.0 */ class ItemsForReindex { /** * @var array - * @since 2.0.0 */ protected $itemsForReindex; /** * @param array $items * @return void - * @since 2.0.0 */ public function setItems(array $items) { @@ -31,7 +28,6 @@ public function setItems(array $items) /** * @return array - * @since 2.0.0 */ public function getItems() { @@ -40,7 +36,6 @@ public function getItems() /** * @return void - * @since 2.0.0 */ public function clear() { diff --git a/app/code/Magento/CatalogInventory/Observer/ProductQty.php b/app/code/Magento/CatalogInventory/Observer/ProductQty.php index fac21a01b955d..0a9a3783bc800 100644 --- a/app/code/Magento/CatalogInventory/Observer/ProductQty.php +++ b/app/code/Magento/CatalogInventory/Observer/ProductQty.php @@ -10,7 +10,6 @@ /** * Prepare array with information about used product qty and product stock item - * @since 2.0.0 */ class ProductQty { @@ -19,7 +18,6 @@ class ProductQty * * @param array $relatedItems * @return array - * @since 2.0.0 */ public function getProductQty($relatedItems) { @@ -47,7 +45,6 @@ public function getProductQty($relatedItems) * @param QuoteItem $quoteItem * @param array &$items * @return void - * @since 2.0.0 */ protected function _addItemToQtyArray(QuoteItem $quoteItem, &$items) { diff --git a/app/code/Magento/CatalogInventory/Observer/QuantityValidatorObserver.php b/app/code/Magento/CatalogInventory/Observer/QuantityValidatorObserver.php index 3205960c06c8c..0a59e4271bb67 100644 --- a/app/code/Magento/CatalogInventory/Observer/QuantityValidatorObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/QuantityValidatorObserver.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogInventory\Observer\QuantityValidatorObserver * - * @since 2.0.0 */ class QuantityValidatorObserver implements ObserverInterface { /** * @var \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator $quantityValidator - * @since 2.0.0 */ protected $quantityValidator; /** * @param \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator $quantityValidator - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Model\Quote\Item\QuantityValidator $quantityValidator @@ -35,7 +32,6 @@ public function __construct( /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/ReindexQuoteInventoryObserver.php b/app/code/Magento/CatalogInventory/Observer/ReindexQuoteInventoryObserver.php index 4ca2d27af4e85..140e7adf77f30 100644 --- a/app/code/Magento/CatalogInventory/Observer/ReindexQuoteInventoryObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/ReindexQuoteInventoryObserver.php @@ -12,25 +12,21 @@ /** * Class \Magento\CatalogInventory\Observer\ReindexQuoteInventoryObserver * - * @since 2.0.0 */ class ReindexQuoteInventoryObserver implements ObserverInterface { /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $stockIndexerProcessor; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $priceIndexer; /** * @var \Magento\CatalogInventory\Observer\ItemsForReindex - * @since 2.0.0 */ protected $itemsForReindex; @@ -38,7 +34,6 @@ class ReindexQuoteInventoryObserver implements ObserverInterface * @param \Magento\CatalogInventory\Model\Indexer\Stock\Processor $stockIndexerProcessor * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $priceIndexer * @param ItemsForReindex $itemsForReindex - * @since 2.0.0 */ public function __construct( \Magento\CatalogInventory\Model\Indexer\Stock\Processor $stockIndexerProcessor, @@ -55,7 +50,6 @@ public function __construct( * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/RevertQuoteInventoryObserver.php b/app/code/Magento/CatalogInventory/Observer/RevertQuoteInventoryObserver.php index 57cfeec531459..93a50cc9a7a4d 100644 --- a/app/code/Magento/CatalogInventory/Observer/RevertQuoteInventoryObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/RevertQuoteInventoryObserver.php @@ -12,31 +12,26 @@ /** * Catalog inventory module observer - * @since 2.0.0 */ class RevertQuoteInventoryObserver implements ObserverInterface { /** * @var ProductQty - * @since 2.0.0 */ protected $productQty; /** * @var StockManagementInterface - * @since 2.0.0 */ protected $stockManagement; /** * @var \Magento\CatalogInventory\Model\Indexer\Stock\Processor - * @since 2.0.0 */ protected $stockIndexerProcessor; /** * @var \Magento\Catalog\Model\Indexer\Product\Price\Processor - * @since 2.0.0 */ protected $priceIndexer; @@ -46,7 +41,6 @@ class RevertQuoteInventoryObserver implements ObserverInterface * @param StockManagementInterface $stockManagement * @param \Magento\CatalogInventory\Model\Indexer\Stock\Processor $stockIndexerProcessor * @param \Magento\Catalog\Model\Indexer\Product\Price\Processor $priceIndexer - * @since 2.0.0 */ public function __construct( ProductQty $productQty, @@ -65,7 +59,6 @@ public function __construct( * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php b/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php index f659f40ac2092..16e1f6b76a088 100644 --- a/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php @@ -21,19 +21,16 @@ * @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.0.0 */ class SaveInventoryDataObserver implements ObserverInterface { /** * @var StockConfigurationInterface - * @since 2.0.0 */ private $stockConfiguration; /** * @var StockRegistryInterface - * @since 2.0.0 */ private $stockRegistry; @@ -45,7 +42,6 @@ class SaveInventoryDataObserver implements ObserverInterface /** * @var array - * @since 2.0.0 */ private $paramListToCheck = [ 'use_config_min_qty' => [ @@ -82,7 +78,6 @@ class SaveInventoryDataObserver implements ObserverInterface * @param StockConfigurationInterface $stockConfiguration * @param StockRegistryInterface $stockRegistry * @param StockItemValidator $stockItemValidator - * @since 2.0.0 */ public function __construct( StockConfigurationInterface $stockConfiguration, @@ -102,7 +97,6 @@ public function __construct( * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/SubtractQuoteInventoryObserver.php b/app/code/Magento/CatalogInventory/Observer/SubtractQuoteInventoryObserver.php index 5af3a2cdd0c90..6fbec08e4805b 100644 --- a/app/code/Magento/CatalogInventory/Observer/SubtractQuoteInventoryObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/SubtractQuoteInventoryObserver.php @@ -12,25 +12,21 @@ /** * Catalog inventory module observer - * @since 2.0.0 */ class SubtractQuoteInventoryObserver implements ObserverInterface { /** * @var StockManagementInterface - * @since 2.0.0 */ protected $stockManagement; /** * @var ProductQty - * @since 2.0.0 */ protected $productQty; /** * @var \Magento\CatalogInventory\Observer\ItemsForReindex - * @since 2.0.0 */ protected $itemsForReindex; @@ -39,7 +35,6 @@ class SubtractQuoteInventoryObserver implements ObserverInterface * @param StockManagementInterface $stockManagement * @param ProductQty $productQty * @param ItemsForReindex $itemsForReindex - * @since 2.0.0 */ public function __construct( StockManagementInterface $stockManagement, @@ -59,7 +54,6 @@ public function __construct( * * @param EventObserver $observer * @return $this - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Observer/UpdateItemsStockUponConfigChangeObserver.php b/app/code/Magento/CatalogInventory/Observer/UpdateItemsStockUponConfigChangeObserver.php index a48b1bba4afe7..47ee6512920d8 100644 --- a/app/code/Magento/CatalogInventory/Observer/UpdateItemsStockUponConfigChangeObserver.php +++ b/app/code/Magento/CatalogInventory/Observer/UpdateItemsStockUponConfigChangeObserver.php @@ -11,19 +11,16 @@ /** * Catalog inventory module observer - * @since 2.0.0 */ class UpdateItemsStockUponConfigChangeObserver implements ObserverInterface { /** * @var \Magento\CatalogInventory\Model\ResourceModel\Stock - * @since 2.0.0 */ protected $resourceStock; /** * @param \Magento\CatalogInventory\Model\ResourceModel\Stock $resourceStock - * @since 2.0.0 */ public function __construct(\Magento\CatalogInventory\Model\ResourceModel\Stock $resourceStock) { @@ -35,7 +32,6 @@ public function __construct(\Magento\CatalogInventory\Model\ResourceModel\Stock * * @param EventObserver $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CatalogInventory/Setup/InstallData.php b/app/code/Magento/CatalogInventory/Setup/InstallData.php index 0639e5c7c67bd..6fd1745574266 100644 --- a/app/code/Magento/CatalogInventory/Setup/InstallData.php +++ b/app/code/Magento/CatalogInventory/Setup/InstallData.php @@ -14,7 +14,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -22,7 +21,6 @@ class InstallData implements InstallDataInterface * EAV setup factory * * @var EavSetupFactory - * @since 2.0.0 */ private $eavSetupFactory; @@ -30,7 +28,6 @@ class InstallData implements InstallDataInterface * Init * * @param EavSetupFactory $eavSetupFactory - * @since 2.0.0 */ public function __construct(EavSetupFactory $eavSetupFactory) { @@ -39,7 +36,6 @@ public function __construct(EavSetupFactory $eavSetupFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogInventory/Setup/InstallSchema.php b/app/code/Magento/CatalogInventory/Setup/InstallSchema.php index ab095c82d8561..5479b69f8314f 100644 --- a/app/code/Magento/CatalogInventory/Setup/InstallSchema.php +++ b/app/code/Magento/CatalogInventory/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogInventory/Setup/UpgradeData.php b/app/code/Magento/CatalogInventory/Setup/UpgradeData.php index 7f5f35bfeea6f..d2d84eb0a18c0 100644 --- a/app/code/Magento/CatalogInventory/Setup/UpgradeData.php +++ b/app/code/Magento/CatalogInventory/Setup/UpgradeData.php @@ -18,25 +18,25 @@ /** * Upgrade Data script * @codeCoverageIgnore - * @since 2.2.0 + * @since 2.1.3 */ class UpgradeData implements UpgradeDataInterface { /** * @var StockConfigurationInterface - * @since 2.2.0 + * @since 2.1.3 */ private $configuration; /** * @var AbstractProcessor - * @since 2.2.0 + * @since 2.1.3 */ private $indexerProcessor; /** * @var StoreManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeManager; @@ -58,7 +58,7 @@ class UpgradeData implements UpgradeDataInterface * @param AbstractProcessor $indexerProcessor * @param FieldDataConverterFactory $fieldDataConverterFactory * @param QueryModifierFactory $queryModifierFactory - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( StockConfigurationInterface $configuration, @@ -76,7 +76,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.3 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -94,7 +94,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface /** * @param ModuleDataSetupInterface $setup * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function upgradeCatalogInventoryStockItem($setup) { diff --git a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFieldToCollection.php b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFieldToCollection.php index fffe53dbac1a7..0afbb072ea986 100644 --- a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFieldToCollection.php +++ b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFieldToCollection.php @@ -10,13 +10,11 @@ /** * Class AddQuantityFieldToCollection - * @since 2.0.0 */ class AddQuantityFieldToCollection implements AddFieldToCollectionInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function addField(Collection $collection, $field, $alias = null) { diff --git a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFilterToCollection.php b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFilterToCollection.php index b7750d09e04f7..c7a6012ba8bd7 100644 --- a/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFilterToCollection.php +++ b/app/code/Magento/CatalogInventory/Ui/DataProvider/Product/AddQuantityFilterToCollection.php @@ -11,13 +11,11 @@ /** * Class AddQuantityFilterToCollection - * @since 2.0.0 */ class AddQuantityFilterToCollection implements AddFilterToCollectionInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function addFilter(Collection $collection, $field, $condition = null) { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php index 6b9c7f16c50d5..ba0ac0f53a430 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Catalog extends \Magento\Backend\Block\Widget\Grid\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { 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 28d58d7b80f8b..5c659f5cd5f33 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 @@ -13,19 +13,16 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Promo\Catalog\Edit\Tab\Conditions * - * @since 2.0.0 */ class Conditions extends Generic implements TabInterface { /** * @var \Magento\Backend\Block\Widget\Form\Renderer\Fieldset - * @since 2.0.0 */ protected $_rendererFieldset; /** * @var \Magento\Rule\Block\Conditions - * @since 2.0.0 */ protected $_conditions; @@ -36,7 +33,6 @@ class Conditions extends Generic implements TabInterface * @param \Magento\Rule\Block\Conditions $conditions * @param \Magento\Backend\Block\Widget\Form\Renderer\Fieldset $rendererFieldset * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -56,7 +52,6 @@ public function __construct( * * @return \Magento\Framework\Phrase * @codeCoverageIgnore - * @since 2.0.0 */ public function getTabLabel() { @@ -68,7 +63,6 @@ public function getTabLabel() * * @return \Magento\Framework\Phrase * @codeCoverageIgnore - * @since 2.0.0 */ public function getTabTitle() { @@ -80,7 +74,6 @@ public function getTabTitle() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function canShowTab() { @@ -92,7 +85,6 @@ public function canShowTab() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function isHidden() { @@ -137,7 +129,6 @@ public function isAjaxLoaded() /** * @return Form - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php index 752a0a1745a11..e62191185ecc9 100644 --- a/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php +++ b/app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Widget/Chooser/Sku.php @@ -17,31 +17,26 @@ /** * Class \Magento\CatalogRule\Block\Adminhtml\Promo\Widget\Chooser\Sku * - * @since 2.0.0 */ class Sku extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Catalog\Model\Product\Type - * @since 2.0.0 */ protected $_catalogType; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_cpCollection; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected $_cpCollectionInstance; /** * @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory - * @since 2.0.0 */ protected $_eavAttSetCollection; @@ -52,7 +47,6 @@ class Sku extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $cpCollection * @param \Magento\Catalog\Model\Product\Type $catalogType * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -70,7 +64,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -96,7 +89,6 @@ protected function _construct() /** * @param Column $column * @return $this - * @since 2.0.0 */ protected function _addColumnFilterToCollection($column) { @@ -121,7 +113,6 @@ protected function _addColumnFilterToCollection($column) * Prepare Catalog Product Collection for attribute SKU in Promo Conditions SKU chooser * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -142,7 +133,6 @@ protected function _prepareCollection() * Get catalog product resource collection instance * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ protected function _getCpCollectionInstance() { @@ -156,7 +146,6 @@ protected function _getCpCollectionInstance() * Define Cooser Grid Columns and filters * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -218,7 +207,6 @@ protected function _prepareColumns() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -230,7 +218,6 @@ public function getGridUrl() /** * @return mixed - * @since 2.0.0 */ protected function _getSelectedProducts() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog.php index 8c4c8b7bfacf6..9510549ae421d 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog.php @@ -19,7 +19,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog * - * @since 2.0.0 */ abstract class Catalog extends Action { @@ -35,7 +34,6 @@ abstract class Catalog extends Action * * * @var string - * @since 2.0.0 */ protected $_dirtyRulesNoticeMessage; @@ -43,7 +41,6 @@ abstract class Catalog extends Action * Core registry * * @var Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -51,7 +48,6 @@ abstract class Catalog extends Action * Date filter instance * * @var \Magento\Framework\Stdlib\DateTime\Filter\Date - * @since 2.0.0 */ protected $_dateFilter; @@ -61,7 +57,6 @@ abstract class Catalog extends Action * @param Context $context * @param Registry $coreRegistry * @param Date $dateFilter - * @since 2.0.0 */ public function __construct(Context $context, Registry $coreRegistry, Date $dateFilter) { @@ -74,7 +69,6 @@ public function __construct(Context $context, Registry $coreRegistry, Date $date * Init action * * @return $this - * @since 2.0.0 */ protected function _initAction() { @@ -94,7 +88,6 @@ protected function _initAction() * @param string $dirtyRulesNoticeMessage * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function setDirtyRulesNoticeMessage($dirtyRulesNoticeMessage) { @@ -105,7 +98,6 @@ public function setDirtyRulesNoticeMessage($dirtyRulesNoticeMessage) * Get dirty rules notice message * * @return string - * @since 2.0.0 */ public function getDirtyRulesNoticeMessage() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/ApplyRules.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/ApplyRules.php index 8949c6b97047d..6a734902640e9 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/ApplyRules.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/ApplyRules.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\ApplyRules * - * @since 2.0.0 */ class ApplyRules extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { @@ -20,7 +19,6 @@ class ApplyRules extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog * Apply all active catalog price rules * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Chooser.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Chooser.php index 6b03607969b3d..8ea897f6d1e03 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Chooser.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Chooser.php @@ -9,13 +9,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Delete.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Delete.php index 29e0976f5f28c..b0aab15be12d3 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Delete.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Delete.php @@ -11,13 +11,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\Delete * - * @since 2.0.0 */ class Delete extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Edit.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Edit.php index 02c98b4380ba5..cf44d8ac1faf0 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Edit.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Edit.php @@ -9,13 +9,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\Edit * - * @since 2.0.0 */ class Edit extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Index.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Index.php index a4354fb8ed59b..b4dc88663ff22 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Index.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\Index * - * @since 2.0.0 */ class Index extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewAction.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewAction.php index 9689800120b09..c6a0fa9fc0daf 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewAction.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewAction.php @@ -9,13 +9,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewActionHtml.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewActionHtml.php index f55aa72b36d56..f14ec21ec2d37 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewActionHtml.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewActionHtml.php @@ -11,13 +11,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\NewActionHtml * - * @since 2.0.0 */ class NewActionHtml extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewConditionHtml.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewConditionHtml.php index b2525730a7853..a30363712279a 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewConditionHtml.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/NewConditionHtml.php @@ -11,13 +11,11 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog\NewConditionHtml * - * @since 2.0.0 */ class NewConditionHtml extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { /** * @return void - * @since 2.0.0 */ public function execute() { 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 8d13a46a3999f..6d2b11d4ec687 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php @@ -14,7 +14,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Catalog { @@ -44,7 +43,6 @@ public function __construct( /** * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Index.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Index.php index dbd47389ed4f0..329a245d02aee 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Index.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\App\Action { @@ -22,7 +21,6 @@ class Index extends \Magento\Backend\App\Action /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget.php index fc3196cb3ccec..bba4733210170 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget * - * @since 2.0.0 */ abstract class Widget extends Action { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/CategoriesJson.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/CategoriesJson.php index 7ab3a76e2ab72..4d181559adf81 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/CategoriesJson.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/CategoriesJson.php @@ -13,7 +13,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget\CategoriesJson * - * @since 2.0.0 */ class CategoriesJson extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget { @@ -21,14 +20,12 @@ class CategoriesJson extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Wid * Core registry * * @var Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @param Context $context * @param Registry $coreRegistry - * @since 2.0.0 */ public function __construct(Context $context, Registry $coreRegistry) { @@ -40,7 +37,6 @@ public function __construct(Context $context, Registry $coreRegistry) * Initialize category object in registry * * @return Category - * @since 2.0.0 */ protected function _initCategory() { @@ -75,7 +71,6 @@ protected function _initCategory() * Get tree node (Ajax version) * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/Chooser.php b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/Chooser.php index 4a7233c739b43..6fb8f75f535d0 100644 --- a/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/Chooser.php +++ b/app/code/Magento/CatalogRule/Controller/Adminhtml/Promo/Widget/Chooser.php @@ -9,7 +9,6 @@ /** * Class \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget { @@ -17,7 +16,6 @@ class Chooser extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget * Prepare block for chooser * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Cron/DailyCatalogUpdate.php b/app/code/Magento/CatalogRule/Cron/DailyCatalogUpdate.php index ad495103488a7..7830a216e85bd 100644 --- a/app/code/Magento/CatalogRule/Cron/DailyCatalogUpdate.php +++ b/app/code/Magento/CatalogRule/Cron/DailyCatalogUpdate.php @@ -9,19 +9,16 @@ /** * Class \Magento\CatalogRule\Cron\DailyCatalogUpdate * - * @since 2.0.0 */ class DailyCatalogUpdate { /** * @var \Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor - * @since 2.0.0 */ protected $ruleProductProcessor; /** * @param \Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor $ruleProductProcessor - * @since 2.0.0 */ public function __construct(\Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor $ruleProductProcessor) { @@ -35,7 +32,6 @@ public function __construct(\Magento\CatalogRule\Model\Indexer\Rule\RuleProductP * we should generate data for interval -1 day ... +1 day * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogRule/Helper/Data.php b/app/code/Magento/CatalogRule/Helper/Data.php index 01ecf23edd0e0..72d35ae40df15 100644 --- a/app/code/Magento/CatalogRule/Helper/Data.php +++ b/app/code/Magento/CatalogRule/Helper/Data.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogRule\Helper\Data * - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -23,7 +22,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param int $ruleAmount * @param float $price * @return float|int - * @since 2.0.0 */ public function calcPriceRule($actionOperator, $ruleAmount, $price) { diff --git a/app/code/Magento/CatalogRule/Model/Flag.php b/app/code/Magento/CatalogRule/Model/Flag.php index 98bb61e775ce7..df52fa0b69e9d 100644 --- a/app/code/Magento/CatalogRule/Model/Flag.php +++ b/app/code/Magento/CatalogRule/Model/Flag.php @@ -8,7 +8,6 @@ /** * Flag indicates that some rules have changed but changes have not been applied yet. - * @since 2.0.0 */ class Flag extends \Magento\Framework\Flag { @@ -16,7 +15,6 @@ class Flag extends \Magento\Framework\Flag * Flag code * * @var string - * @since 2.0.0 */ protected $_flagCode = 'catalog_rules_dirty'; } diff --git a/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php b/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php index 219e8e4786db8..98b1da56b6471 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php @@ -13,13 +13,11 @@ /** * Class \Magento\CatalogRule\Model\Indexer\AbstractIndexer * - * @since 2.0.0 */ abstract class AbstractIndexer implements IndexerActionInterface, MviewActionInterface, IdentityInterface { /** * @var IndexBuilder - * @since 2.0.0 */ protected $indexBuilder; @@ -27,26 +25,24 @@ abstract class AbstractIndexer implements IndexerActionInterface, MviewActionInt * Application Event Dispatcher * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Framework\App\CacheInterface - * @since 2.1.0 + * @since 2.0.11 */ private $cacheManager; /** * @var \Magento\Framework\Indexer\CacheContext - * @since 2.1.0 + * @since 2.0.11 */ protected $cacheContext; /** * @param IndexBuilder $indexBuilder * @param \Magento\Framework\Event\ManagerInterface $eventManager - * @since 2.0.0 */ public function __construct( IndexBuilder $indexBuilder, @@ -61,7 +57,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -72,7 +67,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -87,7 +81,6 @@ public function executeFull() * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getIdentities() { @@ -104,7 +97,6 @@ public function getIdentities() * @param int[] $ids * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -121,7 +113,6 @@ public function executeList(array $ids) * * @param int[] $ids * @return void - * @since 2.0.0 */ abstract protected function doExecuteList($ids); @@ -131,7 +122,6 @@ abstract protected function doExecuteList($ids); * @param int $id * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ public function executeRow($id) { @@ -149,15 +139,14 @@ public function executeRow($id) * @param int $id * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ abstract protected function doExecuteRow($id); /** * @return \Magento\Framework\App\CacheInterface|mixed * - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.0.11 */ private function getCacheManager() { @@ -173,8 +162,8 @@ private function getCacheManager() * Get cache context * * @return \Magento\Framework\Indexer\CacheContext - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.0.11 */ protected function getCacheContext() { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php b/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php index 678e679022107..45c52b637630a 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/IndexBuilder.php @@ -17,7 +17,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class IndexBuilder { @@ -37,79 +36,66 @@ class IndexBuilder * * @var array * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_catalogRuleGroupWebsiteColumnsList = ['rule_id', 'customer_group_id', 'website_id']; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var RuleCollectionFactory - * @since 2.0.0 */ protected $ruleCollectionFactory; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $logger; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateFormat; /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var Product[] - * @since 2.0.0 */ protected $loadedProducts; /** * @var int - * @since 2.0.0 */ protected $batchCount; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -174,7 +160,6 @@ class IndexBuilder * @param \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor|null $pricesPersistor * @param \Magento\Catalog\Model\ResourceModel\Indexer\ActiveTableSwitcher|null $activeTableSwitcher * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( RuleCollectionFactory $ruleCollectionFactory, @@ -236,7 +221,6 @@ public function __construct( * @param int $id * @return void * @api - * @since 2.0.0 */ public function reindexById($id) { @@ -250,7 +234,6 @@ public function reindexById($id) * @throws \Magento\Framework\Exception\LocalizedException * @return void * @api - * @since 2.0.0 */ public function reindexByIds(array $ids) { @@ -269,7 +252,6 @@ public function reindexByIds(array $ids) * * @param array $ids * @return void - * @since 2.0.0 */ protected function doReindexByIds($ids) { @@ -288,7 +270,6 @@ protected function doReindexByIds($ids) * @throws \Magento\Framework\Exception\LocalizedException * @return void * @api - * @since 2.0.0 */ public function reindexFull() { @@ -306,7 +287,6 @@ public function reindexFull() * Full reindex Template method * * @return void - * @since 2.0.0 */ protected function doReindexFull() { @@ -339,7 +319,6 @@ protected function doReindexFull() * * @param array $productIds * @return void - * @since 2.0.0 */ protected function cleanByIds($productIds) { @@ -369,7 +348,6 @@ protected function cleanByIds($productIds) * @return $this * @throws \Exception * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function applyRule(Rule $rule, $product) { @@ -438,7 +416,6 @@ protected function applyRule(Rule $rule, $product) /** * @param string $tableName * @return string - * @since 2.0.0 */ protected function getTable($tableName) { @@ -450,7 +427,6 @@ protected function getTable($tableName) * @return $this * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleProduct::execute - * @since 2.0.0 */ protected function updateRuleProductData(Rule $rule) { @@ -478,7 +454,6 @@ protected function updateRuleProductData(Rule $rule) * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleProductPrice::execute * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite::execute - * @since 2.0.0 */ protected function applyAllRules(Product $product = null) { @@ -493,7 +468,6 @@ protected function applyAllRules(Product $product = null) * @return $this * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\ReindexRuleGroupWebsite::execute - * @since 2.0.0 */ protected function updateCatalogRuleGroupWebsiteData() { @@ -505,7 +479,6 @@ protected function updateCatalogRuleGroupWebsiteData() * Clean rule price index * * @return $this - * @since 2.0.0 */ protected function deleteOldData() { @@ -519,7 +492,6 @@ protected function deleteOldData() * @return float * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\ProductPriceCalculator::calculate - * @since 2.0.0 */ protected function calcRuleProductPrice($ruleData, $productData = null) { @@ -533,7 +505,6 @@ protected function calcRuleProductPrice($ruleData, $productData = null) * @throws \Magento\Framework\Exception\LocalizedException * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\RuleProductsSelectBuilder::build - * @since 2.0.0 */ protected function getRuleProductsStmt($websiteId, Product $product = null) { @@ -546,7 +517,6 @@ protected function getRuleProductsStmt($websiteId, Product $product = null) * @throws \Exception * @deprecated 2.2.0 * @see \Magento\CatalogRule\Model\Indexer\RuleProductPricesPersistor::execute - * @since 2.0.0 */ protected function saveRuleProductPrices($arrData) { @@ -558,7 +528,6 @@ protected function saveRuleProductPrices($arrData) * Get active rules * * @return array - * @since 2.0.0 */ protected function getActiveRules() { @@ -569,7 +538,6 @@ protected function getActiveRules() * Get active rules * * @return array - * @since 2.0.0 */ protected function getAllRules() { @@ -579,7 +547,6 @@ protected function getAllRules() /** * @param int $productId * @return Product - * @since 2.0.0 */ protected function getProduct($productId) { @@ -592,7 +559,6 @@ protected function getProduct($productId) /** * @param \Exception $e * @return void - * @since 2.0.0 */ protected function critical($e) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleIndexer.php b/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleIndexer.php index 5259b0bd54d1f..684bbab73859b 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleIndexer.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleIndexer.php @@ -10,13 +10,11 @@ /** * Class \Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer * - * @since 2.0.0 */ class ProductRuleIndexer extends AbstractIndexer { /** * {@inheritdoc} - * @since 2.0.0 */ protected function doExecuteList($ids) { @@ -26,7 +24,6 @@ protected function doExecuteList($ids) /** * {@inheritdoc} - * @since 2.0.0 */ protected function doExecuteRow($id) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleProcessor.php b/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleProcessor.php index 2b5025f883735..ea0c946576695 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleProcessor.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/Product/ProductRuleProcessor.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogRule\Model\Indexer\Product\ProductRuleProcessor * - * @since 2.0.0 */ class ProductRuleProcessor extends AbstractProcessor { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductIndexer.php b/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductIndexer.php index 6771f15506be0..ffadc11d5b8ce 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductIndexer.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductIndexer.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogRule\Model\Indexer\Rule\RuleProductIndexer * - * @since 2.0.0 */ class RuleProductIndexer extends AbstractIndexer { @@ -18,7 +17,6 @@ class RuleProductIndexer extends AbstractIndexer * {@inheritdoc} * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function doExecuteList($ids) { @@ -30,7 +28,6 @@ protected function doExecuteList($ids) * {@inheritdoc} * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function doExecuteRow($id) { diff --git a/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductProcessor.php b/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductProcessor.php index 371c7a4c60fa5..d9d5116b7a077 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductProcessor.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/Rule/RuleProductProcessor.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor * - * @since 2.0.0 */ class RuleProductProcessor extends AbstractProcessor { diff --git a/app/code/Magento/CatalogRule/Model/Product/PriceModifier.php b/app/code/Magento/CatalogRule/Model/Product/PriceModifier.php index 80c5669aa99ff..73ab3924b5b7e 100644 --- a/app/code/Magento/CatalogRule/Model/Product/PriceModifier.php +++ b/app/code/Magento/CatalogRule/Model/Product/PriceModifier.php @@ -14,19 +14,16 @@ /** * Class \Magento\CatalogRule\Model\Product\PriceModifier * - * @since 2.0.0 */ class PriceModifier implements PriceModifierInterface { /** * @var \Magento\CatalogRule\Model\RuleFactory - * @since 2.0.0 */ protected $ruleFactory; /** * @param RuleFactory $ruleFactory - * @since 2.0.0 */ public function __construct(RuleFactory $ruleFactory) { @@ -39,7 +36,6 @@ public function __construct(RuleFactory $ruleFactory) * @param mixed $price * @param Product $product * @return mixed - * @since 2.0.0 */ public function modifyPrice($price, Product $product) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Grid/Collection.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Grid/Collection.php index 1345ec8f696a5..0e82ea9c8017d 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Grid/Collection.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Grid/Collection.php @@ -8,13 +8,11 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Grid\Collection * - * @since 2.0.0 */ class Collection extends \Magento\CatalogRule\Model\ResourceModel\Rule\Collection { /** * @return $this - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php index 32fc89c7ff914..48b73f042349a 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php @@ -14,49 +14,49 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Product\LinkedProductSelectBuilderByCatalogRulePrice * - * @since 2.2.0 + * @since 2.1.1 */ class LinkedProductSelectBuilderByCatalogRulePrice implements LinkedProductSelectBuilderInterface { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.1 */ private $storeManager; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.2.0 + * @since 2.1.1 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.2.0 + * @since 2.1.1 */ private $customerSession; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.2.0 + * @since 2.1.1 */ private $dateTime; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.2.0 + * @since 2.1.1 */ private $localeDate; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.1 */ private $metadataPool; /** * @var BaseSelectProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $baseSelectProcessor; @@ -68,7 +68,7 @@ class LinkedProductSelectBuilderByCatalogRulePrice implements LinkedProductSelec * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param BaseSelectProcessorInterface $baseSelectProcessor - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -91,7 +91,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.1 */ public function build($productId) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php index 9aa94c08a4bb0..40c20fc706cc8 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule.php @@ -17,7 +17,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource { @@ -28,7 +27,6 @@ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -36,7 +34,6 @@ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource * Catalog rule data * * @var \Magento\CatalogRule\Helper\Data - * @since 2.0.0 */ protected $_catalogRuleData = null; @@ -44,43 +41,36 @@ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $_coreDate; /** * @var \Magento\Catalog\Model\Product\ConditionFactory - * @since 2.0.0 */ protected $_conditionFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; @@ -104,7 +94,6 @@ class Rule extends \Magento\Rule\Model\ResourceModel\AbstractResource * @param PriceCurrencyInterface $priceCurrency * @param null $connectionName * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -137,7 +126,6 @@ public function __construct( * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -147,7 +135,6 @@ protected function _construct() /** * @param \Magento\Framework\Model\AbstractModel $rule * @return $this - * @since 2.0.0 */ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $rule) { @@ -172,7 +159,6 @@ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $rule) * @param int $gId * @param int $pId * @return float|false - * @since 2.0.0 */ public function getRulePrice($date, $wId, $gId, $pId) { @@ -193,7 +179,6 @@ public function getRulePrice($date, $wId, $gId, $pId) * @param int $customerGroupId * @param array $productIds * @return array - * @since 2.0.0 */ public function getRulePrices(\DateTimeInterface $date, $websiteId, $customerGroupId, $productIds) { @@ -216,7 +201,6 @@ public function getRulePrices(\DateTimeInterface $date, $websiteId, $customerGro * @param int $customerGroupId * @param int $productId * @return array - * @since 2.0.0 */ public function getRulesFromProduct($date, $websiteId, $customerGroupId, $productId) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php index 89f2d1c74f765..656c569016664 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Collection.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Rule\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection { @@ -19,7 +18,6 @@ class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\Abstr * Store associated with rule entities information map * * @var array - * @since 2.0.0 */ protected $_associatedEntitiesMap; @@ -59,7 +57,6 @@ public function __construct( * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -72,7 +69,6 @@ protected function _construct() * @param string $attributeCode * @return $this * @api - * @since 2.0.0 */ public function addAttributeInConditionFilter($attributeCode) { diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price.php index 055a042522a02..ef4b4512265ae 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Rule\Product\Price * - * @since 2.0.0 */ class Price extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -23,7 +22,6 @@ class Price extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -41,7 +39,6 @@ protected function _construct() * @param array $updateFields the array of fields for compare with rule price and update * @param string $websiteDate * @return \Magento\CatalogRule\Model\ResourceModel\Rule\Product\Price - * @since 2.0.0 */ public function applyPriceRuleToIndexTable( \Magento\Framework\DB\Select $select, diff --git a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price/Collection.php b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price/Collection.php index bcee1508eb302..4df44e5df729f 100644 --- a/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price/Collection.php +++ b/app/code/Magento/CatalogRule/Model/ResourceModel/Rule/Product/Price/Collection.php @@ -8,14 +8,12 @@ /** * Class \Magento\CatalogRule\Model\ResourceModel\Rule\Product\Price\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { /** * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -29,7 +27,6 @@ protected function _construct() /** * @return array * @api - * @since 2.0.0 */ public function getProductIds() { diff --git a/app/code/Magento/CatalogRule/Model/Rule.php b/app/code/Magento/CatalogRule/Model/Rule.php index 28aee013008ca..8ec23142a0b7a 100644 --- a/app/code/Magento/CatalogRule/Model/Rule.php +++ b/app/code/Magento/CatalogRule/Model/Rule.php @@ -24,7 +24,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessivePublicCount) - * @since 2.0.0 */ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, IdentityInterface { @@ -32,7 +31,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'catalogrule_rule'; @@ -42,7 +40,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * In observe method you can use $observer->getEvent()->getRule() in this case * * @var string - * @since 2.0.0 */ protected $_eventObject = 'rule'; @@ -50,7 +47,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Store matched product Ids * * @var array - * @since 2.0.0 */ protected $_productIds; @@ -58,7 +54,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Limitation for products collection * * @var int|array|null - * @since 2.0.0 */ protected $_productsFilter = null; @@ -66,7 +61,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Store current date at "Y-m-d H:i:s" format * * @var string - * @since 2.0.0 */ protected $_now; @@ -74,7 +68,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Cached data of prices calculated by price rules * * @var array - * @since 2.0.0 */ protected static $_priceRulesData = []; @@ -82,73 +75,61 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * Catalog rule data * * @var \Magento\CatalogRule\Helper\Data - * @since 2.0.0 */ protected $_catalogRuleData; /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypesList; /** * @var array - * @since 2.0.0 */ protected $_relatedCacheTypes; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Framework\Model\ResourceModel\Iterator - * @since 2.0.0 */ protected $_resourceIterator; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\CatalogRule\Model\Rule\Condition\CombineFactory - * @since 2.0.0 */ protected $_combineFactory; /** * @var \Magento\CatalogRule\Model\Rule\Action\CollectionFactory - * @since 2.0.0 */ protected $_actionCollectionFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $_productFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; /** * @var \Magento\CatalogRule\Model\Indexer\Rule\RuleProductProcessor; - * @since 2.0.0 */ protected $_ruleProductProcessor; @@ -185,7 +166,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel implements RuleInterface, I * @param \Magento\Framework\Serialize\Serializer\Json $serializer * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -242,7 +222,6 @@ public function __construct( * Init resource model and id field * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -255,7 +234,6 @@ protected function _construct() * Getter for rule conditions collection * * @return \Magento\Rule\Model\Condition\Combine - * @since 2.0.0 */ public function getConditionsInstance() { @@ -266,7 +244,6 @@ public function getConditionsInstance() * Getter for rule actions collection * * @return \Magento\CatalogRule\Model\Rule\Action\Collection - * @since 2.0.0 */ public function getActionsInstance() { @@ -277,7 +254,6 @@ public function getActionsInstance() * Get catalog rule customer group Ids * * @return array|null - * @since 2.0.0 */ public function getCustomerGroupIds() { @@ -292,7 +268,6 @@ public function getCustomerGroupIds() * Retrieve current date for current rule * * @return string - * @since 2.0.0 */ public function getNow() { @@ -308,7 +283,6 @@ public function getNow() * @param string $now * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function setNow($now) { @@ -319,7 +293,6 @@ public function setNow($now) * Get array of product ids which are matched by rule * * @return array - * @since 2.0.0 */ public function getMatchingProductIds() { @@ -355,7 +328,6 @@ public function getMatchingProductIds() * * @param array $args * @return void - * @since 2.0.0 */ public function callbackValidateProduct($args) { @@ -376,7 +348,6 @@ public function callbackValidateProduct($args) * Prepare website map * * @return array - * @since 2.0.0 */ protected function _getWebsitesMap() { @@ -394,7 +365,6 @@ protected function _getWebsitesMap() /** * {@inheritdoc} - * @since 2.0.0 */ public function validateData(\Magento\Framework\DataObject $dataObject) { @@ -417,7 +387,6 @@ public function validateData(\Magento\Framework\DataObject $dataObject) * @param string|int|float $discount * * @return array Validation errors - * @since 2.0.0 */ protected function validateDiscount($action, $discount) { @@ -448,7 +417,6 @@ protected function validateDiscount($action, $discount) * @param float $price * @return float|null * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function calcProductPriceRule(Product $product, $price) { @@ -502,7 +470,6 @@ public function calcProductPriceRule(Product $product, $price) * @param array $customerGroupId * @param int $productId * @return array - * @since 2.0.0 */ protected function _getRulesFromProduct($dateTs, $websiteId, $customerGroupId, $productId) { @@ -515,7 +482,6 @@ protected function _getRulesFromProduct($dateTs, $websiteId, $customerGroupId, $ * @param int|array $productIds * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function setProductsFilter($productIds) { @@ -527,7 +493,6 @@ public function setProductsFilter($productIds) * * @return array|int|null * @codeCoverageIgnore - * @since 2.0.0 */ public function getProductsFilter() { @@ -538,7 +503,6 @@ public function getProductsFilter() * Invalidate related cache types * * @return $this - * @since 2.0.0 */ protected function _invalidateCache() { @@ -552,7 +516,6 @@ protected function _invalidateCache() * {@inheritdoc} * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -582,7 +545,6 @@ public function reindex() * {@inheritdoc} * * @return $this - * @since 2.0.0 */ public function afterDelete() { @@ -594,7 +556,6 @@ public function afterDelete() * Check if rule behavior changed * * @return bool - * @since 2.0.0 */ public function isRuleBehaviorChanged() { @@ -615,7 +576,6 @@ public function isRuleBehaviorChanged() * @param array $array2 * * @return array - * @since 2.0.0 */ protected function dataDiff($array1, $array2) { @@ -868,7 +828,7 @@ private function getRuleConditionConverter() /** * @inheritDoc - * @since 2.2.0 + * @since 2.1.1 */ public function getIdentities() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php b/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php index 56a874afef053..9237ba54d3efc 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Action/Collection.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Collection extends \Magento\Rule\Model\Action\Collection { @@ -16,7 +15,6 @@ class Collection extends \Magento\Rule\Model\Action\Collection * @param \Magento\Framework\View\LayoutInterface $layout * @param \Magento\Rule\Model\ActionFactory $actionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Asset\Repository $assetRepo, @@ -30,7 +28,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getNewChildSelectOptions() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Action/Product.php b/app/code/Magento/CatalogRule/Model/Rule/Action/Product.php index 865cc8ac54283..5092d319bc1d9 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Action/Product.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Action/Product.php @@ -8,13 +8,11 @@ /** * Class \Magento\CatalogRule\Model\Rule\Action\Product * - * @since 2.0.0 */ class Product extends \Magento\Rule\Model\Action\AbstractAction { /** * @return $this - * @since 2.0.0 */ public function loadAttributeOptions() { @@ -24,7 +22,6 @@ public function loadAttributeOptions() /** * @return $this - * @since 2.0.0 */ public function loadOperatorOptions() { @@ -41,7 +38,6 @@ public function loadOperatorOptions() /** * @return string - * @since 2.0.0 */ public function asHtml() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Condition/Combine.php b/app/code/Magento/CatalogRule/Model/Rule/Condition/Combine.php index b3e8770206301..9b19096857662 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Condition/Combine.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Condition/Combine.php @@ -12,13 +12,11 @@ /** * Class \Magento\CatalogRule\Model\Rule\Condition\Combine * - * @since 2.0.0 */ class Combine extends \Magento\Rule\Model\Condition\Combine { /** * @var \Magento\CatalogRule\Model\Rule\Condition\ProductFactory - * @since 2.0.0 */ protected $_productFactory; @@ -26,7 +24,6 @@ class Combine extends \Magento\Rule\Model\Condition\Combine * @param \Magento\Rule\Model\Condition\Context $context * @param \Magento\CatalogRule\Model\Rule\Condition\ProductFactory $conditionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Rule\Model\Condition\Context $context, @@ -40,7 +37,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getNewChildSelectOptions() { @@ -69,7 +65,6 @@ public function getNewChildSelectOptions() /** * @param array $productCollection * @return $this - * @since 2.0.0 */ public function collectValidatedAttributes($productCollection) { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Condition/Product.php b/app/code/Magento/CatalogRule/Model/Rule/Condition/Product.php index 79c235efcde48..51cb6638af48b 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Condition/Product.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Condition/Product.php @@ -11,7 +11,6 @@ /** * @method string getAttribute() Returns attribute code - * @since 2.0.0 */ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct { @@ -20,7 +19,6 @@ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct * * @param \Magento\Catalog\Model\Product|\Magento\Framework\Model\AbstractModel $model * @return bool - * @since 2.0.0 */ public function validate(\Magento\Framework\Model\AbstractModel $model) { @@ -48,7 +46,6 @@ public function validate(\Magento\Framework\Model\AbstractModel $model) * @param \Magento\Framework\Model\AbstractModel $model * @param mixed $oldAttrValue * @return void - * @since 2.0.0 */ protected function _restoreOldAttrValue(\Magento\Framework\Model\AbstractModel $model, $oldAttrValue) { @@ -65,7 +62,6 @@ protected function _restoreOldAttrValue(\Magento\Framework\Model\AbstractModel $ * * @param \Magento\Catalog\Model\Product|\Magento\Framework\Model\AbstractModel $model * @return $this - * @since 2.0.0 */ protected function _setAttributeValue(\Magento\Framework\Model\AbstractModel $model) { @@ -98,7 +94,6 @@ protected function _setAttributeValue(\Magento\Framework\Model\AbstractModel $mo * @param mixed $value * @param \Magento\Catalog\Model\Product|\Magento\Framework\Model\AbstractModel $model * @return mixed - * @since 2.0.0 */ protected function _prepareDatetimeValue($value, \Magento\Framework\Model\AbstractModel $model) { @@ -116,7 +111,6 @@ protected function _prepareDatetimeValue($value, \Magento\Framework\Model\Abstra * @param mixed $value * @param \Magento\Catalog\Model\Product|\Magento\Framework\Model\AbstractModel $model * @return mixed - * @since 2.0.0 */ protected function _prepareMultiselectValue($value, \Magento\Framework\Model\AbstractModel $model) { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Job.php b/app/code/Magento/CatalogRule/Model/Rule/Job.php index d833a03a5b3bd..ecc7a0f6db0dd 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Job.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Job.php @@ -26,13 +26,11 @@ /** * @api - * @since 2.0.0 */ class Job extends \Magento\Framework\DataObject { /** * @var RuleProductProcessor - * @since 2.0.0 */ protected $ruleProcessor; @@ -40,7 +38,6 @@ class Job extends \Magento\Framework\DataObject * Basic object initialization * * @param RuleProductProcessor $ruleProcessor - * @since 2.0.0 */ public function __construct(RuleProductProcessor $ruleProcessor) { @@ -52,7 +49,6 @@ public function __construct(RuleProductProcessor $ruleProcessor) * * @return \Magento\CatalogRule\Model\Rule\Job * @api - * @since 2.0.0 */ public function applyAll() { diff --git a/app/code/Magento/CatalogRule/Model/Rule/Product/Price.php b/app/code/Magento/CatalogRule/Model/Rule/Product/Price.php index ab01480bb1ec3..07c1093cc0eff 100644 --- a/app/code/Magento/CatalogRule/Model/Rule/Product/Price.php +++ b/app/code/Magento/CatalogRule/Model/Rule/Product/Price.php @@ -33,7 +33,6 @@ /** * Class \Magento\CatalogRule\Model\Rule\Product\Price * - * @since 2.0.0 */ class Price extends \Magento\Framework\Model\AbstractModel { @@ -41,7 +40,6 @@ class Price extends \Magento\Framework\Model\AbstractModel * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -59,7 +57,6 @@ protected function _construct() * @param array $updateFields the array fields for compare with rule price and update * @param string $websiteDate * @return $this - * @since 2.0.0 */ public function applyPriceRuleToIndexTable( Select $select, diff --git a/app/code/Magento/CatalogRule/Observer/PrepareCatalogProductCollectionPricesObserver.php b/app/code/Magento/CatalogRule/Observer/PrepareCatalogProductCollectionPricesObserver.php index 956ba4abba834..75a208e87100b 100644 --- a/app/code/Magento/CatalogRule/Observer/PrepareCatalogProductCollectionPricesObserver.php +++ b/app/code/Magento/CatalogRule/Observer/PrepareCatalogProductCollectionPricesObserver.php @@ -20,43 +20,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class PrepareCatalogProductCollectionPricesObserver implements ObserverInterface { /** * @var CustomerModelSession - * @since 2.0.0 */ protected $customerSession; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $localeDate; /** * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @since 2.0.0 */ protected $resourceRuleFactory; /** * @var \Magento\CatalogRule\Observer\RulePricesStorage - * @since 2.0.0 */ protected $rulePricesStorage; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; @@ -67,7 +60,6 @@ class PrepareCatalogProductCollectionPricesObserver implements ObserverInterface * @param TimezoneInterface $localeDate * @param CustomerModelSession $customerSession * @param GroupManagementInterface $groupManagement - * @since 2.0.0 */ public function __construct( RulePricesStorage $rulePricesStorage, @@ -90,7 +82,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogRule/Observer/ProcessAdminFinalPriceObserver.php b/app/code/Magento/CatalogRule/Observer/ProcessAdminFinalPriceObserver.php index d12b0d0b8246b..d653e3955ec43 100644 --- a/app/code/Magento/CatalogRule/Observer/ProcessAdminFinalPriceObserver.php +++ b/app/code/Magento/CatalogRule/Observer/ProcessAdminFinalPriceObserver.php @@ -20,7 +20,6 @@ /** * Class \Magento\CatalogRule\Observer\ProcessAdminFinalPriceObserver * - * @since 2.0.0 */ class ProcessAdminFinalPriceObserver implements ObserverInterface { @@ -28,25 +27,21 @@ class ProcessAdminFinalPriceObserver implements ObserverInterface * Core registry * * @var Registry - * @since 2.0.0 */ protected $coreRegistry; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $localeDate; /** * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @since 2.0.0 */ protected $resourceRuleFactory; /** * @var \Magento\CatalogRule\Observer\RulePricesStorage - * @since 2.0.0 */ protected $rulePricesStorage; @@ -55,7 +50,6 @@ class ProcessAdminFinalPriceObserver implements ObserverInterface * @param Registry $coreRegistry * @param \Magento\CatalogRule\Model\ResourceModel\RuleFactory $resourceRuleFactory * @param TimezoneInterface $localeDate - * @since 2.0.0 */ public function __construct( RulePricesStorage $rulePricesStorage, @@ -74,7 +68,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogRule/Observer/ProcessFrontFinalPriceObserver.php b/app/code/Magento/CatalogRule/Observer/ProcessFrontFinalPriceObserver.php index bdbf7f7f8b99e..defc58bea1183 100644 --- a/app/code/Magento/CatalogRule/Observer/ProcessFrontFinalPriceObserver.php +++ b/app/code/Magento/CatalogRule/Observer/ProcessFrontFinalPriceObserver.php @@ -20,37 +20,31 @@ /** * Class \Magento\CatalogRule\Observer\ProcessFrontFinalPriceObserver * - * @since 2.0.0 */ class ProcessFrontFinalPriceObserver implements ObserverInterface { /** * @var CustomerModelSession - * @since 2.0.0 */ protected $customerSession; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $localeDate; /** * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @since 2.0.0 */ protected $resourceRuleFactory; /** * @var \Magento\CatalogRule\Observer\RulePricesStorage - * @since 2.0.0 */ protected $rulePricesStorage; @@ -60,7 +54,6 @@ class ProcessFrontFinalPriceObserver implements ObserverInterface * @param StoreManagerInterface $storeManager * @param TimezoneInterface $localeDate * @param CustomerModelSession $customerSession - * @since 2.0.0 */ public function __construct( RulePricesStorage $rulePricesStorage, @@ -81,7 +74,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogRule/Observer/RulePricesStorage.php b/app/code/Magento/CatalogRule/Observer/RulePricesStorage.php index c5b07593a4cde..7653772fec13c 100644 --- a/app/code/Magento/CatalogRule/Observer/RulePricesStorage.php +++ b/app/code/Magento/CatalogRule/Observer/RulePricesStorage.php @@ -9,7 +9,6 @@ /** * Class \Magento\CatalogRule\Observer\RulePricesStorage * - * @since 2.0.0 */ class RulePricesStorage { @@ -18,14 +17,12 @@ class RulePricesStorage * Prices collected per website, customer group, date and product * * @var array - * @since 2.0.0 */ private $rulePrices = []; /** * @param string $id * @return false|float - * @since 2.0.0 */ public function getRulePrice($id) { @@ -35,7 +32,6 @@ public function getRulePrice($id) /** * @param string $id * @return bool - * @since 2.0.0 */ public function hasRulePrice($id) { @@ -46,7 +42,6 @@ public function hasRulePrice($id) * @param string $id * @param float $price * @return void - * @since 2.0.0 */ public function setRulePrice($id, $price) { diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/Category.php b/app/code/Magento/CatalogRule/Plugin/Indexer/Category.php index fca4fcd3f9419..55c83175807fa 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Category.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Category.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\Category * - * @since 2.0.0 */ class Category { /** * @var ProductRuleProcessor - * @since 2.0.0 */ protected $productRuleProcessor; /** * @param ProductRuleProcessor $productRuleProcessor - * @since 2.0.0 */ public function __construct( ProductRuleProcessor $productRuleProcessor @@ -36,7 +33,6 @@ public function __construct( * @return \Magento\Catalog\Model\Category * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterSave( \Magento\Catalog\Model\Category $subject, @@ -56,7 +52,6 @@ public function afterSave( * @return \Magento\Catalog\Model\Category * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete( \Magento\Catalog\Model\Category $subject, diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/CustomerGroup.php b/app/code/Magento/CatalogRule/Plugin/Indexer/CustomerGroup.php index a009b556d9a5b..363814b2d5987 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/CustomerGroup.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/CustomerGroup.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\CustomerGroup * - * @since 2.0.0 */ class CustomerGroup { /** * @var RuleProductProcessor - * @since 2.0.0 */ protected $ruleProductProcessor; /** * @param RuleProductProcessor $ruleProductProcessor - * @since 2.0.0 */ public function __construct(RuleProductProcessor $ruleProductProcessor) { @@ -36,7 +33,6 @@ public function __construct(RuleProductProcessor $ruleProductProcessor) * @return Group * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete( Group $subject, diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/ImportExport.php b/app/code/Magento/CatalogRule/Plugin/Indexer/ImportExport.php index c1bfb6f22e6dd..95c9a1cebe448 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/ImportExport.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/ImportExport.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\ImportExport * - * @since 2.0.0 */ class ImportExport { /** * @var RuleProductProcessor - * @since 2.0.0 */ protected $ruleProductProcessor; /** * @param RuleProductProcessor $ruleProductProcessor - * @since 2.0.0 */ public function __construct(RuleProductProcessor $ruleProductProcessor) { @@ -38,7 +35,6 @@ public function __construct(RuleProductProcessor $ruleProductProcessor) * @return bool * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterImportSource(Import $subject, $result) { diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Attribute.php b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Attribute.php index ce7cc4ad0bc52..927a25df413d1 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Attribute.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Attribute.php @@ -15,25 +15,21 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\Product\Attribute * - * @since 2.0.0 */ class Attribute { /** * @var RuleCollectionFactory - * @since 2.0.0 */ protected $ruleCollectionFactory; /** * @var RuleProductProcessor - * @since 2.0.0 */ protected $ruleProductProcessor; /** * @var ManagerInterface - * @since 2.0.0 */ protected $messageManager; @@ -41,7 +37,6 @@ class Attribute * @param RuleCollectionFactory $ruleCollectionFactory * @param RuleProductProcessor $ruleProductProcessor * @param ManagerInterface $messageManager - * @since 2.0.0 */ public function __construct( RuleCollectionFactory $ruleCollectionFactory, @@ -59,7 +54,6 @@ public function __construct( * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterSave( \Magento\Catalog\Model\ResourceModel\Eav\Attribute $subject, @@ -77,7 +71,6 @@ public function afterSave( * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete( \Magento\Catalog\Model\ResourceModel\Eav\Attribute $subject, @@ -95,7 +88,6 @@ public function afterDelete( * * @param string $attributeCode * @return $this - * @since 2.0.0 */ protected function checkCatalogRulesAvailability($attributeCode) { @@ -133,7 +125,6 @@ protected function checkCatalogRulesAvailability($attributeCode) * @param Combine $combine * @param string $attributeCode * @return void - * @since 2.0.0 */ protected function removeAttributeFromConditions(Combine $combine, $attributeCode) { 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 59bea5b1f365b..5050eb91b15d9 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Product/Save/ApplyRules.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRules * - * @since 2.0.0 */ class ApplyRules { /** * @var ProductRuleProcessor - * @since 2.0.0 */ protected $productRuleProcessor; /** * @param ProductRuleProcessor $productRuleProcessor - * @since 2.0.0 */ public function __construct(ProductRuleProcessor $productRuleProcessor) { 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 68a520c824d8f..60580607c2278 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,19 @@ /** * Plugin for Magento\Catalog\Model\Product - * @since 2.1.0 + * @since 2.0.1 */ class ApplyRulesAfterReindex { /** * @var ProductRuleProcessor - * @since 2.1.0 + * @since 2.0.1 */ protected $productRuleProcessor; /** * @param ProductRuleProcessor $productRuleProcessor - * @since 2.1.0 + * @since 2.0.1 */ public function __construct(ProductRuleProcessor $productRuleProcessor) { diff --git a/app/code/Magento/CatalogRule/Plugin/Indexer/Website.php b/app/code/Magento/CatalogRule/Plugin/Indexer/Website.php index eeb73dc2cbf9c..e60f7c906bd2d 100644 --- a/app/code/Magento/CatalogRule/Plugin/Indexer/Website.php +++ b/app/code/Magento/CatalogRule/Plugin/Indexer/Website.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogRule\Plugin\Indexer\Website * - * @since 2.0.0 */ class Website { /** * @var RuleProductProcessor - * @since 2.0.0 */ protected $ruleProductProcessor; /** * @param RuleProductProcessor $ruleProductProcessor - * @since 2.0.0 */ public function __construct(RuleProductProcessor $ruleProductProcessor) { @@ -37,7 +34,6 @@ public function __construct(RuleProductProcessor $ruleProductProcessor) * @return \Magento\Store\Model\Website * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete( \Magento\Store\Model\Website $subject, diff --git a/app/code/Magento/CatalogRule/Plugin/Model/Product/Action.php b/app/code/Magento/CatalogRule/Plugin/Model/Product/Action.php index 1ea30f9e0554c..da6426a1824d9 100644 --- a/app/code/Magento/CatalogRule/Plugin/Model/Product/Action.php +++ b/app/code/Magento/CatalogRule/Plugin/Model/Product/Action.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogRule\Plugin\Model\Product\Action * - * @since 2.0.0 */ class Action { /** * @var ProductRuleProcessor - * @since 2.0.0 */ protected $productRuleProcessor; /** * @param ProductRuleProcessor $productRuleProcessor - * @since 2.0.0 */ public function __construct(ProductRuleProcessor $productRuleProcessor) { @@ -38,7 +35,6 @@ public function __construct(ProductRuleProcessor $productRuleProcessor) * * @SuppressWarnings(PHPMD.UnusedFormatParameter) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterUpdateAttributes(ProductAction $object, ProductAction $result) { diff --git a/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php b/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php index 666def8255c87..e0b26f4480cf9 100644 --- a/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php +++ b/app/code/Magento/CatalogRule/Pricing/Price/CatalogRulePrice.php @@ -19,7 +19,6 @@ /** * Class CatalogRulePrice - * @since 2.0.0 */ class CatalogRulePrice extends AbstractPrice implements BasePriceProviderInterface { @@ -30,32 +29,28 @@ class CatalogRulePrice extends AbstractPrice implements BasePriceProviderInterfa /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Store\Model\StoreManager - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\CatalogRule\Model\ResourceModel\RuleFactory - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ protected $resourceRuleFactory; /** * @var \Magento\CatalogRule\Model\ResourceModel\Rule - * @since 2.2.0 + * @since 2.1.1 */ private $ruleResource; @@ -68,7 +63,6 @@ class CatalogRulePrice extends AbstractPrice implements BasePriceProviderInterfa * @param StoreManager $storeManager * @param Session $customerSession * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency - * @since 2.0.0 */ public function __construct( Product $saleableItem, @@ -91,7 +85,6 @@ public function __construct( * Returns catalog rule value * * @return float|boolean - * @since 2.0.0 */ public function getValue() { @@ -118,8 +111,8 @@ public function getValue() /** * @return Rule - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.1 + * @since 2.1.1 */ private function getRuleResource() { diff --git a/app/code/Magento/CatalogRule/Setup/InstallData.php b/app/code/Magento/CatalogRule/Setup/InstallData.php index 7011181a83dc6..47591f838d185 100644 --- a/app/code/Magento/CatalogRule/Setup/InstallData.php +++ b/app/code/Magento/CatalogRule/Setup/InstallData.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogRule/Setup/InstallSchema.php b/app/code/Magento/CatalogRule/Setup/InstallSchema.php index 48775fd51d781..a12856d92422a 100644 --- a/app/code/Magento/CatalogRule/Setup/InstallSchema.php +++ b/app/code/Magento/CatalogRule/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php index b366053bf5725..bf9dce287eee0 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/ConfigurableProductsProvider.php @@ -9,13 +9,11 @@ /** * Class \Magento\CatalogRuleConfigurable\Plugin\CatalogRule\Model\ConfigurableProductsProvider * - * @since 2.0.0 */ class ConfigurableProductsProvider { /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ private $resource; @@ -27,7 +25,6 @@ class ConfigurableProductsProvider /** * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\ResourceConnection $resource) { @@ -37,7 +34,6 @@ public function __construct(\Magento\Framework\App\ResourceConnection $resource) /** * @param array $ids * @return array - * @since 2.0.0 */ public function getIds(array $ids) { diff --git a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Indexer/ProductRuleReindex.php b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Indexer/ProductRuleReindex.php index 4089532204f08..9c66719334639 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Indexer/ProductRuleReindex.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Indexer/ProductRuleReindex.php @@ -11,26 +11,22 @@ /** * Class ReindexProduct. Add configurable sub-products to reindex - * @since 2.0.0 */ class ProductRuleReindex { /** * @var \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.0.0 */ private $configurable; /** * @var \Magento\CatalogRuleConfigurable\Plugin\CatalogRule\Model\ConfigurableProductsProvider - * @since 2.0.0 */ private $configurableProductsProvider; /** * @param Configurable $configurable * @param ConfigurableProductsProvider $configurableProductsProvider - * @since 2.0.0 */ public function __construct( Configurable $configurable, @@ -46,7 +42,6 @@ public function __construct( * @param int $id * * @return void - * @since 2.0.0 */ public function aroundExecuteRow( \Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer $subject, @@ -66,7 +61,6 @@ public function aroundExecuteRow( * @param array $ids * * @return void - * @since 2.0.0 */ public function aroundExecuteList( \Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer $subject, @@ -86,7 +80,6 @@ public function aroundExecuteList( * @param \Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer $subject * * @return array - * @since 2.0.0 */ private function reindexSubProducts( array $configurableIds, 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 e4dbd98733ae9..80cf8548b5de4 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/ConfigurableProductHandler.php @@ -11,19 +11,16 @@ /** * Add configurable sub products to catalog rule indexer on full reindex - * @since 2.0.0 */ class ConfigurableProductHandler { /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.0.0 */ private $configurable; /** * @var \Magento\CatalogRuleConfigurable\Plugin\CatalogRule\Model\ConfigurableProductsProvider - * @since 2.0.0 */ private $configurableProductsProvider; @@ -36,7 +33,6 @@ class ConfigurableProductHandler /** * @param \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $configurable * @param ConfigurableProductsProvider $configurableProductsProvider - * @since 2.0.0 */ public function __construct( \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $configurable, @@ -51,7 +47,6 @@ public function __construct( * @param array $productIds * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterGetMatchingProductIds(\Magento\CatalogRule\Model\Rule $rule, array $productIds) { 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 368a745815189..f194a0f885760 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/CatalogRule/Model/Rule/Validation.php @@ -13,19 +13,16 @@ /** * Class Validation. Call validate method for configurable product instead simple product - * @since 2.0.0 */ class Validation { /** * @var Configurable - * @since 2.0.0 */ private $configurable; /** * @param Configurable $configurableType - * @since 2.0.0 */ public function __construct(Configurable $configurableType) { 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 b68d845f173d5..27f7370f41704 100644 --- a/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php +++ b/app/code/Magento/CatalogRuleConfigurable/Plugin/ConfigurableProduct/Model/ResourceModel/AddCatalogRulePrice.php @@ -12,7 +12,7 @@ /** * Class \Magento\CatalogRuleConfigurable\Plugin\ConfigurableProduct\Model\ResourceModel\AddCatalogRulePrice * - * @since 2.2.0 + * @since 2.1.1 */ class AddCatalogRulePrice { @@ -24,7 +24,7 @@ class AddCatalogRulePrice /** * @param \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessorFactory $catalogRuleCollectionFactory - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessorFactory $catalogRuleCollectionFactory @@ -37,7 +37,7 @@ public function __construct( * @param bool $printQuery * @param bool $logQuery * @return array - * @since 2.2.0 + * @since 2.1.1 */ public function beforeLoad(Collection $productCollection, $printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/CatalogSearch/Block/Advanced/Form.php b/app/code/Magento/CatalogSearch/Block/Advanced/Form.php index 4f05f6043f397..574f0ed264c5d 100644 --- a/app/code/Magento/CatalogSearch/Block/Advanced/Form.php +++ b/app/code/Magento/CatalogSearch/Block/Advanced/Form.php @@ -22,7 +22,6 @@ /** * @api - * @since 2.0.0 */ class Form extends Template { @@ -30,7 +29,6 @@ class Form extends Template * Currency factory * * @var CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; @@ -38,7 +36,6 @@ class Form extends Template * Catalog search advanced * * @var Advanced - * @since 2.0.0 */ protected $_catalogSearchAdvanced; @@ -47,7 +44,6 @@ class Form extends Template * @param Advanced $catalogSearchAdvanced * @param CurrencyFactory $currencyFactory * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -62,7 +58,6 @@ public function __construct( /** * @return AbstractBlock - * @since 2.0.0 */ public function _prepareLayout() { @@ -87,7 +82,6 @@ public function _prepareLayout() * Retrieve collection of product searchable attributes * * @return DbCollection - * @since 2.0.0 */ public function getSearchableAttributes() { @@ -100,7 +94,6 @@ public function getSearchableAttributes() * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeLabel($attribute) { @@ -112,7 +105,6 @@ public function getAttributeLabel($attribute) * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeValidationClass($attribute) { @@ -125,7 +117,6 @@ public function getAttributeValidationClass($attribute) * @param AbstractAttribute $attribute * @param string|null $part * @return mixed|string - * @since 2.0.0 */ public function getAttributeValue($attribute, $part = null) { @@ -145,7 +136,6 @@ public function getAttributeValue($attribute, $part = null) * Retrieve the list of available currencies * * @return array - * @since 2.0.0 */ public function getAvailableCurrencies() { @@ -175,7 +165,6 @@ public function getAvailableCurrencies() * Count available currencies * * @return int - * @since 2.0.0 */ public function getCurrencyCount() { @@ -187,7 +176,6 @@ public function getCurrencyCount() * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getCurrency($attribute) { @@ -208,7 +196,6 @@ public function getCurrency($attribute) * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeInputType($attribute) { @@ -242,7 +229,6 @@ public function getAttributeInputType($attribute) * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeSelectElement($attribute) { @@ -281,7 +267,6 @@ public function getAttributeSelectElement($attribute) * * @param AbstractAttribute $attribute * @return string - * @since 2.0.0 */ public function getAttributeYesNoElement($attribute) { @@ -309,7 +294,6 @@ public function getAttributeYesNoElement($attribute) /** * @return BlockInterface - * @since 2.0.0 */ protected function _getSelectBlock() { @@ -323,7 +307,6 @@ protected function _getSelectBlock() /** * @return BlockInterface|mixed - * @since 2.0.0 */ protected function _getDateBlock() { @@ -339,7 +322,6 @@ protected function _getDateBlock() * Retrieve search form action url * * @return string - * @since 2.0.0 */ public function getSearchPostUrl() { @@ -352,7 +334,6 @@ public function getSearchPostUrl() * @param AbstractAttribute $attribute * @param string $part * @return string - * @since 2.0.0 */ public function getDateInput($attribute, $part = 'from') { diff --git a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php index 0271663565936..83cc8891c4fff 100644 --- a/app/code/Magento/CatalogSearch/Block/Advanced/Result.php +++ b/app/code/Magento/CatalogSearch/Block/Advanced/Result.php @@ -17,7 +17,6 @@ * Advanced search result * * @api - * @since 2.0.0 */ class Result extends Template { @@ -25,7 +24,6 @@ class Result extends Template * Url factory * * @var UrlFactory - * @since 2.0.0 */ protected $_urlFactory; @@ -33,7 +31,6 @@ class Result extends Template * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $_catalogLayer; @@ -41,7 +38,6 @@ class Result extends Template * Catalog search advanced * * @var Advanced - * @since 2.0.0 */ protected $_catalogSearchAdvanced; @@ -51,7 +47,6 @@ class Result extends Template * @param LayerResolver $layerResolver * @param UrlFactory $urlFactory * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -68,7 +63,6 @@ public function __construct( /** * @return AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -108,7 +102,6 @@ private function getPageTitle() * Set order options * * @return void - * @since 2.0.0 */ public function setListOrders() { @@ -125,7 +118,6 @@ public function setListOrders() * Set view mode options * * @return void - * @since 2.0.0 */ public function setListModes() { @@ -134,7 +126,6 @@ public function setListModes() /** * @return void - * @since 2.0.0 */ public function setListCollection() { @@ -143,7 +134,6 @@ public function setListCollection() /** * @return Collection - * @since 2.0.0 */ protected function _getProductCollection() { @@ -152,7 +142,6 @@ protected function _getProductCollection() /** * @return Advanced - * @since 2.0.0 */ public function getSearchModel() { @@ -161,7 +150,6 @@ public function getSearchModel() /** * @return mixed - * @since 2.0.0 */ public function getResultCount() { @@ -174,7 +162,6 @@ public function getResultCount() /** * @return string - * @since 2.0.0 */ public function getProductListHtml() { @@ -183,7 +170,6 @@ public function getProductListHtml() /** * @return string - * @since 2.0.0 */ public function getFormUrl() { @@ -197,7 +183,6 @@ public function getFormUrl() /** * @return array - * @since 2.0.0 */ public function getSearchCriterias() { diff --git a/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php b/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php index 7a47bccf101c9..caabec6cbf8b0 100644 --- a/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php +++ b/app/code/Magento/CatalogSearch/Block/Plugin/FrontTabPlugin.php @@ -12,19 +12,16 @@ /** * Plugin for Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front - * @since 2.0.0 */ class FrontTabPlugin { /** * @var Weight - * @since 2.0.0 */ private $weightSource; /** * @param Weight $weightSource - * @since 2.0.0 */ public function __construct(Weight $weightSource) { diff --git a/app/code/Magento/CatalogSearch/Block/Result.php b/app/code/Magento/CatalogSearch/Block/Result.php index 4186724948b3f..2a4e38038fb88 100644 --- a/app/code/Magento/CatalogSearch/Block/Result.php +++ b/app/code/Magento/CatalogSearch/Block/Result.php @@ -17,7 +17,6 @@ * Product search result block * * @api - * @since 2.0.0 */ class Result extends Template { @@ -25,7 +24,6 @@ class Result extends Template * Catalog Product collection * * @var Collection - * @since 2.0.0 */ protected $productCollection; @@ -33,7 +31,6 @@ class Result extends Template * Catalog search data * * @var Data - * @since 2.0.0 */ protected $catalogSearchData; @@ -41,13 +38,11 @@ class Result extends Template * Catalog layer * * @var \Magento\Catalog\Model\Layer - * @since 2.0.0 */ protected $catalogLayer; /** * @var QueryFactory - * @since 2.0.0 */ private $queryFactory; @@ -57,7 +52,6 @@ class Result extends Template * @param Data $catalogSearchData * @param QueryFactory $queryFactory * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -76,7 +70,6 @@ public function __construct( * Retrieve query model object * * @return \Magento\Search\Model\Query - * @since 2.0.0 */ protected function _getQuery() { @@ -87,7 +80,6 @@ protected function _getQuery() * Prepare layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -116,7 +108,6 @@ protected function _prepareLayout() * Retrieve additional blocks html * * @return string - * @since 2.0.0 */ public function getAdditionalHtml() { @@ -127,7 +118,6 @@ public function getAdditionalHtml() * Retrieve search list toolbar block * * @return ListProduct - * @since 2.0.0 */ public function getListBlock() { @@ -138,7 +128,6 @@ public function getListBlock() * Set search available list orders * * @return $this - * @since 2.0.0 */ public function setListOrders() { @@ -163,7 +152,6 @@ public function setListOrders() * Set available view mode * * @return $this - * @since 2.0.0 */ public function setListModes() { @@ -176,7 +164,6 @@ public function setListModes() * Retrieve Search result list HTML output * * @return string - * @since 2.0.0 */ public function getProductListHtml() { @@ -187,7 +174,6 @@ public function getProductListHtml() * Retrieve loaded category collection * * @return Collection - * @since 2.0.0 */ protected function _getProductCollection() { @@ -202,7 +188,6 @@ protected function _getProductCollection() * Get search query text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getSearchQueryText() { @@ -213,7 +198,6 @@ public function getSearchQueryText() * Retrieve search result count * * @return string - * @since 2.0.0 */ public function getResultCount() { @@ -229,7 +213,6 @@ public function getResultCount() * Retrieve No Result or Minimum query length Text * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getNoResultText() { @@ -243,7 +226,6 @@ public function getNoResultText() * Retrieve Note messages * * @return array - * @since 2.0.0 */ public function getNoteMessages() { diff --git a/app/code/Magento/CatalogSearch/Controller/Advanced/Index.php b/app/code/Magento/CatalogSearch/Controller/Advanced/Index.php index 8cd23b16ddaed..9226108040bcb 100644 --- a/app/code/Magento/CatalogSearch/Controller/Advanced/Index.php +++ b/app/code/Magento/CatalogSearch/Controller/Advanced/Index.php @@ -11,13 +11,11 @@ /** * Class \Magento\CatalogSearch\Controller\Advanced\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogSearch/Controller/Advanced/Result.php b/app/code/Magento/CatalogSearch/Controller/Advanced/Result.php index 4533e57945a2b..7c9471d573cc7 100644 --- a/app/code/Magento/CatalogSearch/Controller/Advanced/Result.php +++ b/app/code/Magento/CatalogSearch/Controller/Advanced/Result.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogSearch\Controller\Advanced\Result * - * @since 2.0.0 */ class Result extends \Magento\Framework\App\Action\Action { @@ -22,7 +21,6 @@ class Result extends \Magento\Framework\App\Action\Action * Url factory * * @var UrlFactory - * @since 2.0.0 */ protected $_urlFactory; @@ -30,7 +28,6 @@ class Result extends \Magento\Framework\App\Action\Action * Catalog search advanced * * @var ModelAdvanced - * @since 2.0.0 */ protected $_catalogSearchAdvanced; @@ -40,7 +37,6 @@ class Result extends \Magento\Framework\App\Action\Action * @param Context $context * @param ModelAdvanced $catalogSearchAdvanced * @param UrlFactory $urlFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -54,7 +50,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogSearch/Controller/Result/Index.php b/app/code/Magento/CatalogSearch/Controller/Result/Index.php index 4816b3edf3bb4..eaec501a128c8 100644 --- a/app/code/Magento/CatalogSearch/Controller/Result/Index.php +++ b/app/code/Magento/CatalogSearch/Controller/Result/Index.php @@ -16,7 +16,6 @@ /** * Class \Magento\CatalogSearch\Controller\Result\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { @@ -24,19 +23,16 @@ class Index extends \Magento\Framework\App\Action\Action * Catalog session * * @var Session - * @since 2.0.0 */ protected $_catalogSession; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var QueryFactory - * @since 2.0.0 */ private $_queryFactory; @@ -44,7 +40,6 @@ class Index extends \Magento\Framework\App\Action\Action * Catalog Layer Resolver * * @var Resolver - * @since 2.0.0 */ private $layerResolver; @@ -54,7 +49,6 @@ class Index extends \Magento\Framework\App\Action\Action * @param StoreManagerInterface $storeManager * @param QueryFactory $queryFactory * @param Resolver $layerResolver - * @since 2.0.0 */ public function __construct( Context $context, @@ -74,7 +68,6 @@ public function __construct( * Display search result * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogSearch/Helper/Data.php b/app/code/Magento/CatalogSearch/Helper/Data.php index 43dbddb3c14e9..4f14edc8c772d 100644 --- a/app/code/Magento/CatalogSearch/Helper/Data.php +++ b/app/code/Magento/CatalogSearch/Helper/Data.php @@ -9,7 +9,6 @@ * Catalog search helper * * @api - * @since 2.0.0 */ class Data extends \Magento\Search\Helper\Data { @@ -17,7 +16,6 @@ class Data extends \Magento\Search\Helper\Data * Retrieve advanced search URL * * @return string - * @since 2.0.0 */ public function getAdvancedSearchUrl() { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Aggregation/DataProvider.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Aggregation/DataProvider.php index 25af0d36e0a5b..a2242ff0f355b 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Aggregation/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Aggregation/DataProvider.php @@ -20,37 +20,31 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class DataProvider implements DataProviderInterface { /** * @var Config - * @since 2.0.0 */ private $eavConfig; /** * @var Resource - * @since 2.0.0 */ private $resource; /** * @var ScopeResolverInterface - * @since 2.0.0 */ private $scopeResolver; /** * @var Session - * @since 2.0.0 */ private $customerSession; /** * @var AdapterInterface - * @since 2.0.0 */ private $connection; @@ -59,7 +53,6 @@ class DataProvider implements DataProviderInterface * @param ResourceConnection $resource * @param ScopeResolverInterface $scopeResolver * @param Session $customerSession - * @since 2.0.0 */ public function __construct( Config $eavConfig, @@ -76,7 +69,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getDataSet( BucketInterface $bucket, @@ -133,7 +125,6 @@ public function getDataSet( /** * {@inheritdoc} - * @since 2.0.0 */ public function execute(Select $select) { @@ -142,7 +133,6 @@ public function execute(Select $select) /** * @return Select - * @since 2.0.0 */ private function getSelect() { 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 f42bcf5234939..ed4d255ba49d1 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Dynamic/DataProvider.php @@ -20,43 +20,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class DataProvider implements DataProviderInterface { /** * @var Resource - * @since 2.0.0 */ private $resource; /** * @var Range - * @since 2.0.0 */ private $range; /** * @var Session - * @since 2.0.0 */ private $customerSession; /** * @var MysqlDataProviderInterface - * @since 2.0.0 */ private $dataProvider; /** * @var IntervalFactory - * @since 2.0.0 */ private $intervalFactory; /** * @var AdapterInterface - * @since 2.0.0 */ private $connection; @@ -73,7 +66,6 @@ class DataProvider implements DataProviderInterface * @param MysqlDataProviderInterface $dataProvider * @param IntervalFactory $intervalFactory * @param StoreManager $storeManager - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -94,7 +86,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getRange() { @@ -103,7 +94,6 @@ public function getRange() /** * {@inheritdoc} - * @since 2.0.0 */ public function getAggregations(\Magento\Framework\Search\Dynamic\EntityStorage $entityStorage) { @@ -131,7 +121,6 @@ public function getAggregations(\Magento\Framework\Search\Dynamic\EntityStorage /** * {@inheritdoc} - * @since 2.0.0 */ public function getInterval( BucketInterface $bucket, @@ -145,7 +134,6 @@ public function getInterval( /** * {@inheritdoc} - * @since 2.0.0 */ public function getAggregation( BucketInterface $bucket, @@ -175,7 +163,6 @@ public function getAggregation( /** * {@inheritdoc} - * @since 2.0.0 */ public function prepareData($range, array $dbRanges) { @@ -201,7 +188,6 @@ public function prepareData($range, array $dbRanges) /** * @return Select - * @since 2.0.0 */ private function getSelect() { @@ -211,7 +197,6 @@ private function getSelect() /** * @param Select $select * @return Select - * @since 2.0.0 */ private function setCustomerGroupId($select) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Field/Resolver.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Field/Resolver.php index e8466c8cb336c..6b5868d7478b8 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Field/Resolver.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Field/Resolver.php @@ -13,26 +13,22 @@ /** * Class \Magento\CatalogSearch\Model\Adapter\Mysql\Field\Resolver * - * @since 2.0.0 */ class Resolver implements ResolverInterface { /** * @var AttributeCollection - * @since 2.0.0 */ private $attributeCollection; /** * @var FieldFactory - * @since 2.0.0 */ private $fieldFactory; /** * @param AttributeCollection $attributeCollection * @param FieldFactory $fieldFactory - * @since 2.0.0 */ public function __construct( AttributeCollection $attributeCollection, @@ -44,7 +40,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function resolve(array $fields) { 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 18dbae554a714..fa1be66b88460 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Filter/Preprocessor.php @@ -25,43 +25,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Preprocessor implements PreprocessorInterface { /** * @var ConditionManager - * @since 2.0.0 */ private $conditionManager; /** * @var ScopeResolverInterface - * @since 2.0.0 */ private $scopeResolver; /** * @var Config - * @since 2.0.0 */ private $config; /** * @var Resource - * @since 2.0.0 */ private $resource; /** * @var string - * @since 2.0.0 */ private $attributePrefix; /** * @var AdapterInterface - * @since 2.0.0 */ private $connection; @@ -102,7 +95,6 @@ class Preprocessor implements PreprocessorInterface * * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( ConditionManager $conditionManager, @@ -139,7 +131,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function process(FilterInterface $filter, $isNegation, $query) { @@ -151,7 +142,6 @@ public function process(FilterInterface $filter, $isNegation, $query) * @param bool $isNegation * @param string $query * @return string - * @since 2.0.0 */ private function processQueryWithField(FilterInterface $filter, $isNegation, $query) { @@ -229,7 +219,6 @@ private function processQueryWithField(FilterInterface $filter, $isNegation, $qu * @param string $query * @param Attribute $attribute * @return string - * @since 2.0.0 */ private function processRangeNumeric(FilterInterface $filter, $query, $attribute) { @@ -262,7 +251,6 @@ private function processRangeNumeric(FilterInterface $filter, $query, $attribute * @param FilterInterface $filter * @param bool $isNegation * @return string - * @since 2.0.0 */ private function processTermSelect(FilterInterface $filter, $isNegation) { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Plugin/Aggregation/Category/DataProvider.php b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Plugin/Aggregation/Category/DataProvider.php index 1705e5082e722..42bf33964fe6d 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Plugin/Aggregation/Category/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Mysql/Plugin/Aggregation/Category/DataProvider.php @@ -16,19 +16,16 @@ /** * Class \Magento\CatalogSearch\Model\Adapter\Mysql\Plugin\Aggregation\Category\DataProvider * - * @since 2.0.0 */ class DataProvider { /** * @var Resource - * @since 2.0.0 */ private $resource; /** * @var ScopeResolverInterface - * @since 2.0.0 */ private $scopeResolver; @@ -36,7 +33,6 @@ class DataProvider * Category factory * * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; @@ -45,7 +41,6 @@ class DataProvider * @param ResourceConnection $resource * @param ScopeResolverInterface $scopeResolver * @param Resolver $layerResolver - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -66,7 +61,6 @@ public function __construct( * @param Table $entityIdsTable * @return Select * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetDataSet( \Magento\CatalogSearch\Model\Adapter\Mysql\Aggregation\DataProvider $subject, diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Options.php b/app/code/Magento/CatalogSearch/Model/Adapter/Options.php index a3fb2a533b5e7..0e8cb32b4c6cd 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Options.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Options.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Options implements OptionsInterface { @@ -21,13 +20,11 @@ class Options implements OptionsInterface /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @param ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct(ScopeConfigInterface $scopeConfig) { @@ -36,7 +33,6 @@ public function __construct(ScopeConfigInterface $scopeConfig) /** * {@inheritdoc} - * @since 2.0.0 */ public function get() { diff --git a/app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php b/app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php index 0b05d5d4ee2b0..28e4ac4ca7198 100644 --- a/app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php +++ b/app/code/Magento/CatalogSearch/Model/Adminhtml/System/Config/Backend/Engine.php @@ -8,13 +8,11 @@ /** * @author Magento Core Team * @api - * @since 2.0.0 */ class Engine extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -27,7 +25,6 @@ class Engine extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( * Invalidate catalog search index if engine was changed * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/CatalogSearch/Model/Advanced.php b/app/code/Magento/CatalogSearch/Model/Advanced.php index aa9a5a90906bb..6598c6e76609c 100644 --- a/app/code/Magento/CatalogSearch/Model/Advanced.php +++ b/app/code/Magento/CatalogSearch/Model/Advanced.php @@ -43,7 +43,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Advanced extends \Magento\Framework\Model\AbstractModel { @@ -51,7 +50,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * User friendly search criteria list * * @var array - * @since 2.0.0 */ protected $_searchCriterias = []; @@ -59,7 +57,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Product collection * * @var ProductCollection - * @since 2.0.0 */ protected $_productCollection; @@ -67,7 +64,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Initialize dependencies * * @var Config - * @since 2.0.0 */ protected $_catalogConfig; @@ -75,7 +71,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Catalog product visibility * * @var Visibility - * @since 2.0.0 */ protected $_catalogProductVisibility; @@ -83,7 +78,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Attribute collection factory * * @var AttributeCollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -91,7 +85,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -99,7 +92,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Product factory * * @var ProductFactory - * @since 2.0.0 */ protected $_productFactory; @@ -107,7 +99,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Currency factory * * @var CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; @@ -115,7 +106,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * Advanced Collection Factory * * @var ProductCollectionFactory - * @since 2.0.0 */ protected $productCollectionFactory; @@ -135,7 +125,6 @@ class Advanced extends \Magento\Framework\Model\AbstractModel * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( Context $context, @@ -174,7 +163,6 @@ public function __construct( * @throws LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function addFilters($values) { @@ -248,7 +236,6 @@ public function addFilters($values) * Retrieve array of attributes used in advanced search * * @return array|\Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getAttributes() { @@ -274,7 +261,6 @@ public function getAttributes() * Retrieve advanced search product collection * * @return Collection - * @since 2.0.0 */ public function getProductCollection() { @@ -295,7 +281,6 @@ public function getProductCollection() * * @param Collection $collection * @return $this - * @since 2.0.0 */ public function prepareProductCollection($collection) { @@ -314,7 +299,6 @@ public function prepareProductCollection($collection) * @param EntityAttribute $attribute * @param mixed $value * @return void - * @since 2.0.0 */ protected function addSearchCriteria($attribute, $value) { @@ -333,7 +317,6 @@ protected function addSearchCriteria($attribute, $value) * @return string|bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function getPreparedSearchCriteria($attribute, $value) { @@ -400,7 +383,6 @@ protected function getPreparedSearchCriteria($attribute, $value) * Returns prepared search criterias in text * * @return array - * @since 2.0.0 */ public function getSearchCriterias() { diff --git a/app/code/Magento/CatalogSearch/Model/Advanced/Request/Builder.php b/app/code/Magento/CatalogSearch/Model/Advanced/Request/Builder.php index c09ca9679742b..2bc63d30fa5e6 100644 --- a/app/code/Magento/CatalogSearch/Model/Advanced/Request/Builder.php +++ b/app/code/Magento/CatalogSearch/Model/Advanced/Request/Builder.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Builder extends RequestBuilder { @@ -18,7 +17,6 @@ class Builder extends RequestBuilder * @param array|string $attributeValue * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function bindRequestValue($attributeCode, $attributeValue) { diff --git a/app/code/Magento/CatalogSearch/Model/Autocomplete/DataProvider.php b/app/code/Magento/CatalogSearch/Model/Autocomplete/DataProvider.php index 2871152893e87..28cd32c89459a 100644 --- a/app/code/Magento/CatalogSearch/Model/Autocomplete/DataProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Autocomplete/DataProvider.php @@ -14,7 +14,6 @@ /** * Class \Magento\CatalogSearch\Model\Autocomplete\DataProvider * - * @since 2.0.0 */ class DataProvider implements DataProviderInterface { @@ -22,7 +21,6 @@ class DataProvider implements DataProviderInterface * Query factory * * @var QueryFactory - * @since 2.0.0 */ protected $queryFactory; @@ -30,14 +28,12 @@ class DataProvider implements DataProviderInterface * Autocomplete result item factory * * @var ItemFactory - * @since 2.0.0 */ protected $itemFactory; /** * @param QueryFactory $queryFactory * @param ItemFactory $itemFactory - * @since 2.0.0 */ public function __construct( QueryFactory $queryFactory, @@ -49,7 +45,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getItems() { @@ -74,7 +69,6 @@ public function getItems() * Retrieve suggest collection for query * * @return Collection - * @since 2.0.0 */ private function getSuggestCollection() { diff --git a/app/code/Magento/CatalogSearch/Model/Fulltext.php b/app/code/Magento/CatalogSearch/Model/Fulltext.php index 13cc2b9ee6e01..c7943508df17c 100644 --- a/app/code/Magento/CatalogSearch/Model/Fulltext.php +++ b/app/code/Magento/CatalogSearch/Model/Fulltext.php @@ -23,7 +23,6 @@ * @method \Magento\CatalogSearch\Model\Fulltext setStoreId(int $value) * @method string getDataIndex() * @method \Magento\CatalogSearch\Model\Fulltext setDataIndex(string $value) - * @since 2.0.0 */ class Fulltext extends \Magento\Framework\Model\AbstractModel { @@ -31,7 +30,6 @@ class Fulltext extends \Magento\Framework\Model\AbstractModel * Catalog search data * * @var QueryFactory - * @since 2.0.0 */ protected $queryFactory = null; @@ -39,7 +37,6 @@ class Fulltext extends \Magento\Framework\Model\AbstractModel * Core store config * * @var ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -51,7 +48,6 @@ class Fulltext extends \Magento\Framework\Model\AbstractModel * @param AbstractResource $resource * @param DbCollection $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -69,7 +65,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -80,7 +75,6 @@ protected function _construct() * Reset search results cache * * @return $this - * @since 2.0.0 */ public function resetSearchResults() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php index 9574c69f3ad88..e982f5ad73cb5 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext.php @@ -17,7 +17,6 @@ * Provide functionality for Fulltext Search indexing. * * @api - * @since 2.0.0 */ class Fulltext implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface { @@ -28,43 +27,36 @@ class Fulltext implements \Magento\Framework\Indexer\ActionInterface, \Magento\F /** * @var array index structure - * @since 2.0.0 */ protected $data; /** * @var IndexerHandlerFactory - * @since 2.0.0 */ private $indexerHandlerFactory; /** * @var StoreManagerInterface - * @since 2.0.0 */ private $storeManager; /** * @var \Magento\Framework\Search\Request\DimensionFactory - * @since 2.0.0 */ private $dimensionFactory; /** * @var \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full - * @since 2.0.0 */ private $fullAction; /** * @var FulltextResource - * @since 2.0.0 */ private $fulltextResource; /** * @var \Magento\Framework\Search\Request\Config - * @since 2.0.0 */ private $searchRequestConfig; @@ -90,7 +82,6 @@ class Fulltext implements \Magento\Framework\Indexer\ActionInterface, \Magento\F * @param array $data * @param IndexSwitcherInterface $indexSwitcher * @param Scope\State $indexScopeState - * @since 2.0.0 */ public function __construct( FullFactory $fullActionFactory, @@ -125,7 +116,6 @@ public function __construct( * * @param int[] $ids * @return void - * @since 2.0.0 */ public function execute($ids) { @@ -146,7 +136,6 @@ public function execute($ids) * Execute full indexation * * @return void - * @since 2.0.0 */ public function executeFull() { @@ -174,7 +163,6 @@ public function executeFull() * * @param int[] $ids * @return void - * @since 2.0.0 */ public function executeList(array $ids) { @@ -186,7 +174,6 @@ public function executeList(array $ids) * * @param int $id * @return void - * @since 2.0.0 */ public function executeRow($id) { 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 47f4f96df8d01..ae7dc5479faf5 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.1.0 + * @since 2.0.1 */ class DataProvider { @@ -19,7 +19,7 @@ class DataProvider * Searchable attributes cache * * @var \Magento\Eav\Model\Entity\Attribute[] - * @since 2.1.0 + * @since 2.0.1 */ private $searchableAttributes; @@ -27,7 +27,7 @@ class DataProvider * Index values separator * * @var string - * @since 2.1.0 + * @since 2.0.1 */ private $separator = ' | '; @@ -35,7 +35,7 @@ class DataProvider * Product Type Instances cache * * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $productTypes = []; @@ -43,13 +43,13 @@ class DataProvider * Product Emulators cache * * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $productEmulators = []; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.1.0 + * @since 2.0.1 */ private $productAttributeCollectionFactory; @@ -57,7 +57,7 @@ class DataProvider * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.1.0 + * @since 2.0.1 */ private $eavConfig; @@ -65,7 +65,7 @@ class DataProvider * Catalog product type * * @var \Magento\Catalog\Model\Product\Type - * @since 2.1.0 + * @since 2.0.1 */ private $catalogProductType; @@ -73,7 +73,7 @@ class DataProvider * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.1.0 + * @since 2.0.1 */ private $eventManager; @@ -81,25 +81,25 @@ class DataProvider * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.1.0 + * @since 2.0.1 */ private $storeManager; /** * @var \Magento\CatalogSearch\Model\ResourceModel\Engine - * @since 2.1.0 + * @since 2.0.1 */ private $engine; /** * @var Resource - * @since 2.1.0 + * @since 2.0.1 */ private $resource; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.1.0 + * @since 2.0.1 */ private $connection; @@ -124,7 +124,7 @@ class DataProvider * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool - * @since 2.1.0 + * @since 2.0.1 */ public function __construct( ResourceConnection $resource, @@ -152,7 +152,7 @@ public function __construct( * * @param string|string[] $table * @return string - * @since 2.1.0 + * @since 2.0.1 */ private function getTable($table) { @@ -168,7 +168,7 @@ private function getTable($table) * @param int $lastProductId * @param int $limit * @return array - * @since 2.1.0 + * @since 2.0.1 */ public function getSearchableProducts( $storeId, @@ -206,7 +206,7 @@ public function getSearchableProducts( * * @param string $backendType * @return \Magento\Eav\Model\Entity\Attribute[] - * @since 2.1.0 + * @since 2.0.1 */ public function getSearchableAttributes($backendType = null) { @@ -253,7 +253,7 @@ public function getSearchableAttributes($backendType = null) * * @param int|string $attribute * @return \Magento\Eav\Model\Entity\Attribute - * @since 2.1.0 + * @since 2.0.1 */ public function getSearchableAttribute($attribute) { @@ -279,7 +279,7 @@ public function getSearchableAttribute($attribute) * @param string $field * @param string $backendType * @return \Zend_Db_Expr - * @since 2.1.0 + * @since 2.0.1 */ private function unifyField($field, $backendType = 'varchar') { @@ -298,7 +298,7 @@ private function unifyField($field, $backendType = 'varchar') * @param array $productIds * @param array $attributeTypes * @return array - * @since 2.1.0 + * @since 2.0.1 */ public function getProductAttributes($storeId, array $productIds, array $attributeTypes) { @@ -360,7 +360,7 @@ public function getProductAttributes($storeId, array $productIds, array $attribu * * @param string $typeId * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.1.0 + * @since 2.0.1 */ private function getProductTypeInstance($typeId) { @@ -378,7 +378,7 @@ private function getProductTypeInstance($typeId) * @param int $productId Product Entity Id * @param string $typeId Super Product Link Type * @return array|null - * @since 2.1.0 + * @since 2.0.1 */ public function getProductChildIds($productId, $typeId) { @@ -414,7 +414,7 @@ public function getProductChildIds($productId, $typeId) * * @param string $typeId * @return \Magento\Framework\DataObject - * @since 2.1.0 + * @since 2.0.1 */ private function getProductEmulator($typeId) { @@ -434,7 +434,7 @@ private function getProductEmulator($typeId) * @param int $storeId * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.1.0 + * @since 2.0.1 */ public function prepareProductIndex($indexData, $productData, $storeId) { @@ -498,7 +498,7 @@ public function prepareProductIndex($indexData, $productData, $storeId) * @param mixed $valueId * @param int $storeId * @return string - * @since 2.1.0 + * @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 b07feff536044..18adc0e9982c5 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php @@ -20,7 +20,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Full { @@ -33,7 +32,6 @@ class Full * Searchable attributes cache * * @var \Magento\Eav\Model\Entity\Attribute[] - * @since 2.0.0 */ protected $searchableAttributes; @@ -43,7 +41,6 @@ class Full * @var string * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$separator - * @since 2.0.0 */ protected $separator = ' | '; @@ -52,7 +49,6 @@ class Full * * @var \DateTime[] * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $dates = []; @@ -62,7 +58,6 @@ class Full * @var array * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$productTypes - * @since 2.0.0 */ protected $productTypes = []; @@ -72,13 +67,11 @@ class Full * @var array * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$productEmulators - * @since 2.0.0 */ protected $productEmulators = []; /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $productAttributeCollectionFactory; @@ -86,7 +79,6 @@ class Full * Catalog product status * * @var \Magento\Catalog\Model\Product\Attribute\Source\Status - * @since 2.0.0 */ protected $catalogProductStatus; @@ -94,7 +86,6 @@ class Full * Eav config * * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; @@ -104,7 +95,6 @@ class Full * @var \Magento\Catalog\Model\Product\Type * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$catalogProductType - * @since 2.0.0 */ protected $catalogProductType; @@ -112,7 +102,6 @@ class Full * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; @@ -121,7 +110,6 @@ class Full * * @var \Magento\Framework\App\Config\ScopeConfigInterface * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $scopeConfig; @@ -131,74 +119,63 @@ class Full * @var \Magento\Store\Model\StoreManagerInterface * @deprecated 2.2.0 Moved to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::$storeManager - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\CatalogSearch\Model\ResourceModel\Engine - * @since 2.0.0 */ protected $engine; /** * @var \Magento\Framework\Indexer\SaveHandler\IndexerInterface * @deprecated 2.2.0 As part of self::cleanIndex() - * @since 2.0.0 */ protected $indexHandler; /** * @var \Magento\Framework\Stdlib\DateTime * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Framework\Locale\ResolverInterface * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $localeResolver; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $localeDate; /** * @var Resource - * @since 2.0.0 */ protected $resource; /** * @var \Magento\CatalogSearch\Model\ResourceModel\Fulltext * @deprecated 2.2.0 Not used anymore - * @since 2.0.0 */ protected $fulltextResource; /** * @var \Magento\Framework\Search\Request\Config * @deprecated 2.2.0 As part of self::reindexAll() - * @since 2.0.0 */ protected $searchRequestConfig; /** * @var \Magento\Framework\Search\Request\DimensionFactory * @deprecated 2.2.0 As part of self::cleanIndex() - * @since 2.0.0 */ private $dimensionFactory; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -206,13 +183,13 @@ class Full * @var \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\IndexIteratorFactory * @deprecated 2.2.0 DataProvider used directly without IndexIterator * @see self::$dataProvider - * @since 2.1.0 + * @since 2.0.1 */ private $iteratorFactory; /** * @var \Magento\Framework\EntityManager\MetadataPool - * @since 2.2.0 + * @since 2.1.6 */ private $metadataPool; @@ -244,7 +221,6 @@ class Full * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param DataProvider $dataProvider * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -298,7 +274,6 @@ public function __construct( * @deprecated 2.2.0 Please use \Magento\CatalogSearch\Model\Indexer\Fulltext::executeFull instead * @see \Magento\CatalogSearch\Model\Indexer\Fulltext::executeFull * @return void - * @since 2.0.0 */ public function reindexAll() { @@ -315,7 +290,6 @@ public function reindexAll() * * @param string|string[] $table * @return string - * @since 2.0.0 */ protected function getTable($table) { @@ -327,7 +301,6 @@ protected function getTable($table) * * @param int[] $entityIds * @return int[] - * @since 2.0.0 */ protected function getProductIdsFromParents(array $entityIds) { @@ -360,7 +333,6 @@ protected function getProductIdsFromParents(array $entityIds) * @param int $storeId Store View Id * @param int[] $productIds Product Entity Id * @return \Generator - * @since 2.0.0 */ public function rebuildStoreIndex($storeId, $productIds = null) { @@ -512,7 +484,6 @@ private function getChildProductsIndex($parentId, array $relatedProducts, array * @deprecated 2.2.0 As part of self::reindexAll() * @param int $storeId * @return void - * @since 2.0.0 */ protected function cleanIndex($storeId) { @@ -525,7 +496,6 @@ protected function cleanIndex($storeId) * * @return \Magento\Eav\Model\Config * @deprecated 2.2.0 Use $self::$eavConfig directly - * @since 2.0.0 */ protected function getEavConfig() { @@ -538,7 +508,6 @@ protected function getEavConfig() * @param string $backendType * @deprecated 2.2.0 see DataProvider::getSearchableAttributes() * @return \Magento\Eav\Model\Entity\Attribute[] - * @since 2.0.0 */ protected function getSearchableAttributes($backendType = null) { @@ -551,7 +520,6 @@ protected function getSearchableAttributes($backendType = null) * @param int|string $attribute * @deprecated 2.2.0 see DataProvider::getSearchableAttributes() * @return \Magento\Eav\Model\Entity\Attribute - * @since 2.0.0 */ protected function getSearchableAttribute($attribute) { @@ -566,7 +534,6 @@ protected function getSearchableAttribute($attribute) * @param string $field * @param string $backendType * @return \Zend_Db_Expr - * @since 2.0.0 */ protected function unifyField($field, $backendType = 'varchar') { @@ -585,7 +552,6 @@ protected function unifyField($field, $backendType = 'varchar') * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::getProductTypeInstance() * @param string $typeId * @return \Magento\Catalog\Model\Product\Type\AbstractType - * @since 2.0.0 */ protected function getProductTypeInstance($typeId) { @@ -604,7 +570,6 @@ protected function getProductTypeInstance($typeId) * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider::getProductEmulator() * @param string $typeId * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function getProductEmulator($typeId) { 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 f1a217c481bf8..7e1b8f0574574 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/IndexIterator.php @@ -13,103 +13,103 @@ * @deprecated 2.2.0 No more used * @see \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full * @api - * @since 2.1.0 + * @since 2.0.1 */ class IndexIterator implements \Iterator { /** * @var \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\DataProvider - * @since 2.1.0 + * @since 2.0.1 */ private $dataProvider; /** * @var int - * @since 2.1.0 + * @since 2.0.1 */ private $storeId; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $staticFields; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $productIds; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $dynamicFields; /** * @var \Magento\Eav\Model\Entity\Attribute - * @since 2.1.0 + * @since 2.0.1 */ private $visibility; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $allowedVisibility; /** * @var \Magento\Eav\Model\Entity\Attribute - * @since 2.1.0 + * @since 2.0.1 */ private $status; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $statusIds; /** * @var int - * @since 2.1.0 + * @since 2.0.1 */ private $lastProductId = 0; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $products = []; /** * @var null - * @since 2.1.0 + * @since 2.0.1 */ private $current = null; /** * @var bool - * @since 2.1.0 + * @since 2.0.1 */ private $isValid = true; /** * @var null - * @since 2.1.0 + * @since 2.0.1 */ private $key = null; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $productAttributes = []; /** * @var array - * @since 2.1.0 + * @since 2.0.1 */ private $productRelations = []; @@ -127,7 +127,7 @@ class IndexIterator implements \Iterator * @param array $statusIds * * @SuppressWarnings(Magento.TypeDuplication) - * @since 2.1.0 + * @since 2.0.1 */ public function __construct( DataProvider $dataProvider, @@ -155,7 +155,7 @@ public function __construct( * {@inheritDoc} * * @deprecated 2.2.0 Since class is deprecated - * @since 2.1.0 + * @since 2.0.1 */ public function current() { @@ -166,7 +166,7 @@ public function current() * {@inheritDoc} * * @deprecated 2.2.0 Since class is deprecated - * @since 2.1.0 + * @since 2.0.1 */ public function next() { @@ -265,7 +265,7 @@ public function next() * {@inheritDoc} * * @deprecated 2.2.0 Since class is deprecated - * @since 2.1.0 + * @since 2.0.1 */ public function key() { @@ -276,7 +276,7 @@ public function key() * {@inheritDoc} * * @deprecated 2.2.0 Since class is deprecated - * @since 2.1.0 + * @since 2.0.1 */ public function valid() { @@ -287,7 +287,7 @@ public function valid() * {@inheritDoc} * * @deprecated 2.2.0 Since class is deprecated - * @since 2.1.0 + * @since 2.0.1 */ public function rewind() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/AbstractPlugin.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/AbstractPlugin.php index ce7819efcad60..5d4096a3afab0 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/AbstractPlugin.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/AbstractPlugin.php @@ -10,19 +10,16 @@ /** * Abstract plugin for indexers - * @since 2.0.0 */ abstract class AbstractPlugin { /** * @var IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @param IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct(IndexerRegistry $indexerRegistry) { @@ -34,7 +31,6 @@ public function __construct(IndexerRegistry $indexerRegistry) * * @param int $productId * @return void - * @since 2.0.0 */ protected function reindexRow($productId) { @@ -50,7 +46,6 @@ protected function reindexRow($productId) * * @param int[] $productIds * @return void - * @since 2.0.0 */ protected function reindexList(array $productIds) { 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 40aa1d53d8be4..b4e943f04bd03 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Attribute.php @@ -10,13 +10,11 @@ /** * Class \Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Attribute * - * @since 2.0.0 */ class Attribute extends AbstractPlugin { /** * @var \Magento\Framework\Search\Request\Config - * @since 2.0.0 */ private $config; @@ -41,7 +39,6 @@ class Attribute extends AbstractPlugin /** * @param \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry * @param \Magento\Framework\Search\Request\Config $config - * @since 2.0.0 */ public function __construct( \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, 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 8f6ed2e2f45f6..df40efc02f631 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Plugin/Product.php @@ -12,7 +12,6 @@ /** * Class \Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product * - * @since 2.0.0 */ class Product extends AbstractPlugin { @@ -23,7 +22,6 @@ class Product extends AbstractPlugin * @param \Closure $proceed * @param AbstractModel $product * @return ResourceProduct - * @since 2.0.0 */ public function aroundSave(ResourceProduct $productResource, \Closure $proceed, AbstractModel $product) { @@ -37,7 +35,6 @@ public function aroundSave(ResourceProduct $productResource, \Closure $proceed, * @param \Closure $proceed * @param AbstractModel $product * @return ResourceProduct - * @since 2.0.0 */ public function aroundDelete(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 fa942b6529174..edbb0f50c2e21 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 @@ -10,7 +10,6 @@ /** * Plugin for Magento\Catalog\Model\Product\Action - * @since 2.0.0 */ class Action extends AbstractIndexerPlugin { 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 ce45f4201fd17..99dffb141f39f 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 @@ -12,7 +12,6 @@ /** * Plugin for Magento\Store\Model\ResourceModel\Group - * @since 2.0.0 */ class Group extends AbstractIndexerPlugin { @@ -64,7 +63,6 @@ public function afterSave(StoreGroupResourceModel $subject, StoreGroupResourceMo * @return StoreGroupResourceModel * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete(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 c44d3a4a25dc9..4b7ecf7fee4b8 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 @@ -12,7 +12,6 @@ /** * Plugin for Magento\Store\Model\ResourceModel\Store - * @since 2.0.0 */ class View extends AbstractIndexerPlugin { @@ -64,7 +63,6 @@ public function afterSave(StoreResourceModel $subject, StoreResourceModel $resul * @return StoreResourceModel * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterDelete(StoreResourceModel $subject, StoreResourceModel $result) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Store.php b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Store.php index 839e48c51441f..9f02229334eed 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Store.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Store.php @@ -14,25 +14,21 @@ /** * Class \Magento\CatalogSearch\Model\Indexer\Fulltext\Store * - * @since 2.0.0 */ class Store implements ObserverInterface { /** * @var DimensionFactory - * @since 2.0.0 */ private $dimensionFactory; /** * @var IndexerHandlerFactory - * @since 2.0.0 */ private $indexerHandlerFactory; /** * @var ConfigInterface - * @since 2.0.0 */ private $indexerConfig; @@ -40,7 +36,6 @@ class Store implements ObserverInterface * @param DimensionFactory $dimensionFactory * @param ConfigInterface $indexerConfig * @param IndexerHandlerFactory $indexerHandlerFactory - * @since 2.0.0 */ public function __construct( DimensionFactory $dimensionFactory, @@ -55,7 +50,6 @@ public function __construct( /** * @param \Magento\Store\Model\Store $store * @return void - * @since 2.0.0 */ private function clearIndex(\Magento\Store\Model\Store $store) { @@ -71,7 +65,6 @@ private function clearIndex(\Magento\Store\Model\Store $store) /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructure.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructure.php index 09b44bd0b5d8b..f08dc7f558f93 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructure.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexStructure.php @@ -16,26 +16,22 @@ /** * @api - * @since 2.0.0 */ class IndexStructure implements IndexStructureInterface { /** * @var Resource - * @since 2.0.0 */ private $resource; /** * @var IndexScopeResolver - * @since 2.0.0 */ private $indexScopeResolver; /** * @param ResourceConnection $resource * @param IndexScopeResolverInterface $indexScopeResolver - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -49,7 +45,6 @@ public function __construct( * @param string $index * @param Dimension[] $dimensions * @return void - * @since 2.0.0 */ public function delete($index, array $dimensions = []) { @@ -65,7 +60,6 @@ public function delete($index, array $dimensions = []) * @param array $dimensions * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @return void - * @since 2.0.0 */ public function create($index, array $fields, array $dimensions = []) { @@ -76,7 +70,6 @@ public function create($index, array $fields, array $dimensions = []) * @param string $tableName * @throws \Zend_Db_Exception * @return void - * @since 2.0.0 */ protected function createFulltextIndex($tableName) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandler.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandler.php index 27546e14fe0c3..607197b11a609 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandler.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandler.php @@ -15,55 +15,46 @@ /** * @api - * @since 2.0.0 */ class IndexerHandler implements IndexerInterface { /** * @var IndexStructureInterface - * @since 2.0.0 */ private $indexStructure; /** * @var array - * @since 2.0.0 */ private $data; /** * @var array - * @since 2.0.0 */ private $fields; /** * @var Resource|Resource - * @since 2.0.0 */ private $resource; /** * @var Batch - * @since 2.0.0 */ private $batch; /** * @var Config - * @since 2.0.0 */ private $eavConfig; /** * @var int - * @since 2.0.0 */ private $batchSize; /** * @var IndexScopeResolverInterface - * @since 2.0.0 */ private $indexScopeResolver; @@ -75,7 +66,6 @@ class IndexerHandler implements IndexerInterface * @param IndexScopeResolverInterface $indexScopeResolver * @param array $data * @param int $batchSize - * @since 2.0.0 */ public function __construct( IndexStructureInterface $indexStructure, @@ -100,7 +90,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function saveIndex($dimensions, \Traversable $documents) { @@ -111,7 +100,6 @@ public function saveIndex($dimensions, \Traversable $documents) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteIndex($dimensions, \Traversable $documents) { @@ -123,7 +111,6 @@ public function deleteIndex($dimensions, \Traversable $documents) /** * {@inheritdoc} - * @since 2.0.0 */ public function cleanIndex($dimensions) { @@ -133,7 +120,6 @@ public function cleanIndex($dimensions) /** * {@inheritdoc} - * @since 2.0.0 */ public function isAvailable() { @@ -143,7 +129,6 @@ public function isAvailable() /** * @param Dimension[] $dimensions * @return string - * @since 2.0.0 */ private function getTableName($dimensions) { @@ -152,7 +137,6 @@ private function getTableName($dimensions) /** * @return string - * @since 2.0.0 */ private function getIndexName() { @@ -163,7 +147,6 @@ private function getIndexName() * @param array $documents * @param Dimension[] $dimensions * @return void - * @since 2.0.0 */ private function insertDocuments(array $documents, array $dimensions) { @@ -181,7 +164,6 @@ private function insertDocuments(array $documents, array $dimensions) /** * @param array $documents * @return array - * @since 2.0.0 */ private function prepareSearchableFields(array $documents) { @@ -201,7 +183,6 @@ private function prepareSearchableFields(array $documents) /** * @return void - * @since 2.0.0 */ private function prepareFields() { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandlerFactory.php b/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandlerFactory.php index fd94e42f2f55c..4c613e64dd75b 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandlerFactory.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/IndexerHandlerFactory.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class IndexerHandlerFactory { @@ -20,7 +19,6 @@ class IndexerHandlerFactory * Object Manager instance * * @var ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager = null; @@ -28,13 +26,11 @@ class IndexerHandlerFactory * Instance name to create * * @var string - * @since 2.0.0 */ protected $handlers = null; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; @@ -42,7 +38,6 @@ class IndexerHandlerFactory * Configuration path by which current indexer handler stored * * @var string - * @since 2.0.0 */ private $configPath; @@ -53,7 +48,6 @@ class IndexerHandlerFactory * @param ScopeConfigInterface $scopeConfig * @param string $configPath * @param string[] $handlers - * @since 2.0.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -72,7 +66,6 @@ public function __construct( * * @param array $data * @return IndexerInterface - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/Mview/Action.php b/app/code/Magento/CatalogSearch/Model/Indexer/Mview/Action.php index 415b7803f9806..bdc65fafd2e1d 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/Mview/Action.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/Mview/Action.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogSearch\Model\Indexer\Mview\Action * - * @since 2.0.0 */ class Action implements ActionInterface { /** * @var IndexerInterfaceFactory - * @since 2.0.0 */ private $indexerFactory; /** * @param IndexerInterfaceFactory $indexerFactory - * @since 2.0.0 */ public function __construct(IndexerInterfaceFactory $indexerFactory) { @@ -37,7 +34,6 @@ public function __construct(IndexerInterfaceFactory $indexerFactory) * @param int[] $ids * @return void * @api - * @since 2.0.0 */ public function execute($ids) { diff --git a/app/code/Magento/CatalogSearch/Model/Indexer/ProductFieldset.php b/app/code/Magento/CatalogSearch/Model/Indexer/ProductFieldset.php index 9b9f89f3220b2..e2806a7aaf31b 100644 --- a/app/code/Magento/CatalogSearch/Model/Indexer/ProductFieldset.php +++ b/app/code/Magento/CatalogSearch/Model/Indexer/ProductFieldset.php @@ -12,32 +12,27 @@ /** * @api - * @since 2.0.0 */ class ProductFieldset implements \Magento\Framework\Indexer\FieldsetInterface { /** * @var Config - * @since 2.0.0 */ private $eavConfig; /** * @var CollectionFactory - * @since 2.0.0 */ private $collectionFactory; /** * @var Attribute[] - * @since 2.0.0 */ private $searchableAttributes; /** * @param Config $eavConfig * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( Config $eavConfig, @@ -49,7 +44,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function addDynamicData(array $data) { @@ -67,7 +61,6 @@ public function addDynamicData(array $data) * Retrieve searchable attributes * * @return Attribute[] - * @since 2.0.0 */ private function getSearchableAttributes() { @@ -99,7 +92,6 @@ private function getSearchableAttributes() * @param string $defaultSource * @param string $defaultHandler * @return array - * @since 2.0.0 */ private function convert(array $attributes, $defaultSource, $defaultHandler) { @@ -121,7 +113,6 @@ private function convert(array $attributes, $defaultSource, $defaultHandler) /** * @param Attribute $attribute * @return string - * @since 2.0.0 */ private function getType(Attribute $attribute) { @@ -143,7 +134,6 @@ private function getType(Attribute $attribute) * @param array $dataFields * @param array $searchableFields * @return array - * @since 2.0.0 */ private function merge(array $dataFields, array $searchableFields) { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Category/ItemCollectionProvider.php b/app/code/Magento/CatalogSearch/Model/Layer/Category/ItemCollectionProvider.php index de8785a939e67..e6d29e17e8f1c 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Category/ItemCollectionProvider.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Category/ItemCollectionProvider.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogSearch\Model\Layer\Category\ItemCollectionProvider * - * @since 2.0.0 */ class ItemCollectionProvider implements ItemCollectionProviderInterface { /** * @var CollectionFactory - * @since 2.0.0 */ private $collectionFactory; /** * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $collectionFactory) { @@ -34,7 +31,6 @@ public function __construct(CollectionFactory $collectionFactory) /** * @param \Magento\Catalog\Model\Category $category * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function getCollection(\Magento\Catalog\Model\Category $category) { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php index c888968939e3b..7591d5ec54c7d 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php @@ -9,13 +9,11 @@ /** * Layer attribute filter - * @since 2.0.0 */ class Attribute extends AbstractFilter { /** * @var \Magento\Framework\Filter\StripTags - * @since 2.0.0 */ private $tagFilter; @@ -26,7 +24,6 @@ class Attribute extends AbstractFilter * @param \Magento\Catalog\Model\Layer\Filter\Item\DataBuilder $itemDataBuilder * @param \Magento\Framework\Filter\StripTags $tagFilter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -52,7 +49,6 @@ public function __construct( * @param \Magento\Framework\App\RequestInterface $request * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -79,7 +75,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getItemsData() { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Category.php b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Category.php index ee7c11bf883c6..7c15514f211d2 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Category.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Category.php @@ -10,19 +10,16 @@ /** * Layer category filter - * @since 2.0.0 */ class Category extends AbstractFilter { /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ private $escaper; /** * @var CategoryDataProvider - * @since 2.0.0 */ private $dataProvider; @@ -35,7 +32,6 @@ class Category extends AbstractFilter * @param \Magento\Framework\Escaper $escaper * @param CategoryManagerFactory $categoryManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -63,7 +59,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return $this - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -88,7 +83,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * Get filter value for reset current filter state * * @return mixed|null - * @since 2.0.0 */ public function getResetValue() { @@ -99,7 +93,6 @@ public function getResetValue() * Get filter name * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getName() { @@ -110,7 +103,6 @@ public function getName() * Get data array for building category filter items * * @return array - * @since 2.0.0 */ protected function _getItemsData() { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Decimal.php b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Decimal.php index ba8675adc9e25..e61a886a41d6f 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Decimal.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Decimal.php @@ -9,19 +9,16 @@ /** * Layer decimal filter - * @since 2.0.0 */ class Decimal extends AbstractFilter { /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.0.0 */ private $priceCurrency; /** * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal - * @since 2.0.0 */ private $resource; @@ -33,7 +30,6 @@ class Decimal extends AbstractFilter * @param \Magento\Catalog\Model\ResourceModel\Layer\Filter\DecimalFactory $filterDecimalFactory * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -61,7 +57,6 @@ public function __construct( * @param \Magento\Framework\App\RequestInterface $request * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -95,7 +90,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * @return array * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getItemsData() { @@ -143,7 +137,6 @@ protected function _getItemsData() * @param float|string $fromPrice * @param float|string $toPrice * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function renderRangeLabel($fromPrice, $toPrice) { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Price.php b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Price.php index e9819c80d69fa..9f54bd279d906 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Filter/Price.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Filter/Price.php @@ -11,7 +11,6 @@ * Layer price filter based on Search API * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Price extends AbstractFilter { @@ -20,31 +19,26 @@ class Price extends AbstractFilter /** * @var \Magento\Catalog\Model\Layer\Filter\DataProvider\Price - * @since 2.0.0 */ private $dataProvider; /** * @var \Magento\Framework\Pricing\PriceCurrencyInterface - * @since 2.0.0 */ private $priceCurrency; /** * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ private $resource; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ private $customerSession; /** * @var \Magento\Framework\Search\Dynamic\Algorithm - * @since 2.0.0 */ private $priceAlgorithm; @@ -62,7 +56,6 @@ class Price extends AbstractFilter * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Layer\Filter\ItemFactory $filterItemFactory, @@ -94,7 +87,6 @@ public function __construct( /** * @return \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ public function getResource() { @@ -106,7 +98,6 @@ public function getResource() * * @param float $rate * @return $this - * @since 2.0.0 */ public function setCurrencyRate($rate) { @@ -119,7 +110,6 @@ public function setCurrencyRate($rate) * @param \Magento\Framework\App\RequestInterface $request * @return $this * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function apply(\Magento\Framework\App\RequestInterface $request) { @@ -161,7 +151,6 @@ public function apply(\Magento\Framework\App\RequestInterface $request) * Retrieve active currency rate for filter * * @return float - * @since 2.0.0 */ public function getCurrencyRate() { @@ -183,7 +172,6 @@ public function getCurrencyRate() * @param float|string $fromPrice * @param float|string $toPrice * @return float|\Magento\Framework\Phrase - * @since 2.0.0 */ protected function _renderRangeLabel($fromPrice, $toPrice) { @@ -207,7 +195,6 @@ protected function _renderRangeLabel($fromPrice, $toPrice) * @return array * * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _getItemsData() { @@ -235,7 +222,6 @@ protected function _getItemsData() /** * @param float $from * @return float - * @since 2.0.0 */ protected function getTo($from) { @@ -250,7 +236,6 @@ protected function getTo($from) /** * @param float $from * @return float - * @since 2.0.0 */ protected function getFrom($from) { @@ -266,7 +251,6 @@ protected function getFrom($from) * @param string $key * @param int $count * @return array - * @since 2.0.0 */ private function prepareData($key, $count) { 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 b6d1e1f83e687..c1f08ef94e15a 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Search/Plugin/CollectionFilter.php @@ -12,19 +12,16 @@ /** * Class \Magento\CatalogSearch\Model\Layer\Search\Plugin\CollectionFilter * - * @since 2.0.0 */ class CollectionFilter { /** * @var \Magento\Search\Model\QueryFactory - * @since 2.0.0 */ protected $queryFactory; /** * @param QueryFactory $queryFactory - * @since 2.0.0 */ public function __construct(QueryFactory $queryFactory) { diff --git a/app/code/Magento/CatalogSearch/Model/Layer/Search/StateKey.php b/app/code/Magento/CatalogSearch/Model/Layer/Search/StateKey.php index 34671d74e7132..9aef8de4b16eb 100644 --- a/app/code/Magento/CatalogSearch/Model/Layer/Search/StateKey.php +++ b/app/code/Magento/CatalogSearch/Model/Layer/Search/StateKey.php @@ -12,13 +12,11 @@ /** * Class \Magento\CatalogSearch\Model\Layer\Search\StateKey * - * @since 2.0.0 */ class StateKey extends \Magento\Catalog\Model\Layer\Category\StateKey implements StateKeyInterface { /** * @var \Magento\Search\Model\QueryFactory - * @since 2.0.0 */ protected $queryFactory; @@ -26,7 +24,6 @@ class StateKey extends \Magento\Catalog\Model\Layer\Category\StateKey implements * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Search\Model\QueryFactory $queryFactory - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -40,7 +37,6 @@ public function __construct( /** * @param \Magento\Catalog\Model\Category $category * @return string|void - * @since 2.0.0 */ public function toString($category) { diff --git a/app/code/Magento/CatalogSearch/Model/Price/Interval.php b/app/code/Magento/CatalogSearch/Model/Price/Interval.php index 67e9b47ce9524..1726dabf8ac2b 100644 --- a/app/code/Magento/CatalogSearch/Model/Price/Interval.php +++ b/app/code/Magento/CatalogSearch/Model/Price/Interval.php @@ -10,19 +10,16 @@ /** * Class \Magento\CatalogSearch\Model\Price\Interval * - * @since 2.0.0 */ class Interval implements IntervalInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price - * @since 2.0.0 */ private $resource; /** * @param \Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Catalog\Model\ResourceModel\Layer\Filter\Pr /** * {@inheritdoc} - * @since 2.0.0 */ public function load($limit, $offset = null, $lower = null, $upper = null) { @@ -41,7 +37,6 @@ public function load($limit, $offset = null, $lower = null, $upper = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function loadPrevious($data, $index, $lower = null) { @@ -51,7 +46,6 @@ public function loadPrevious($data, $index, $lower = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function loadNext($data, $rightIndex, $upper = null) { @@ -62,7 +56,6 @@ public function loadNext($data, $rightIndex, $upper = null) /** * @param array $prices * @return array - * @since 2.0.0 */ private function arrayValuesToFloat($prices) { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced.php index 14ada5fd7ffca..9d1908404230b 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Advanced extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -18,7 +17,6 @@ class Advanced extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; @@ -26,7 +24,6 @@ class Advanced extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -37,7 +34,6 @@ class Advanced extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -54,7 +50,6 @@ public function __construct( * Initialize connection and define catalog product table as main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -68,7 +63,6 @@ protected function _construct() * @param string|array $value * @return string|array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function prepareCondition($attribute, $value) { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php index 4015dc17fa9c3..201e07376487c 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php @@ -22,14 +22,12 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { /** * List Of filters * @var array - * @since 2.0.0 */ private $filters = []; @@ -41,7 +39,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection /** * @var \Magento\Framework\Search\Adapter\Mysql\TemporaryStorageFactory - * @since 2.0.0 */ private $temporaryStorageFactory; @@ -94,7 +91,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * @param MetadataPool|null $metadataPool * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -163,7 +159,6 @@ public function __construct( * @param array $fields * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function addFieldsToFilter($fields) { @@ -175,7 +170,6 @@ public function addFieldsToFilter($fields) /** * @inheritdoc - * @since 2.0.0 */ protected function _renderFiltersBefore() { @@ -216,7 +210,6 @@ protected function _renderFiltersBefore() /** * @param string $attributeCode * @return string - * @since 2.0.0 */ private function getAttributeCode($attributeCode) { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Engine.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Engine.php index 3f3217947c8c6..4212912af9930 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Engine.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Engine.php @@ -7,7 +7,6 @@ /** * CatalogSearch Fulltext Index Engine resource model - * @since 2.0.0 */ class Engine implements EngineInterface { @@ -29,13 +28,11 @@ class Engine implements EngineInterface * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $catalogProductVisibility; /** * @var \Magento\Framework\Indexer\ScopeResolver\IndexScopeResolver - * @since 2.0.0 */ private $indexScopeResolver; @@ -44,7 +41,6 @@ class Engine implements EngineInterface * * @param \Magento\Catalog\Model\Product\Visibility $catalogProductVisibility * @param \Magento\Framework\Indexer\ScopeResolver\IndexScopeResolver $indexScopeResolver - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Visibility $catalogProductVisibility, @@ -58,7 +54,6 @@ public function __construct( * Retrieve allowed visibility values for current engine * * @return int[] - * @since 2.0.0 */ public function getAllowedVisibility() { @@ -69,7 +64,6 @@ public function getAllowedVisibility() * Define if current search engine supports advanced index * * @return bool - * @since 2.0.0 */ public function allowAdvancedIndex() { @@ -81,7 +75,6 @@ public function allowAdvancedIndex() * * @param \Magento\Catalog\Model\Entity\Attribute $attribute * @return bool - * @since 2.0.0 */ private function isTermFilterableAttribute($attribute) { @@ -93,7 +86,6 @@ private function isTermFilterableAttribute($attribute) /** * @inheritdoc - * @since 2.0.0 */ public function processAttributeValue($attribute, $value) { @@ -116,7 +108,6 @@ public function processAttributeValue($attribute, $value) * @param array $index * @param string $separator * @return string - * @since 2.0.0 */ public function prepareEntityIndex($index, $separator = ' ') { @@ -129,7 +120,6 @@ public function prepareEntityIndex($index, $separator = ' ') /** * @inheritdoc - * @since 2.0.0 */ public function isAvailable() { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php index 6f45ca569bb3d..57ee65ae239c4 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface EngineInterface { @@ -31,7 +30,6 @@ interface EngineInterface * Retrieve allowed visibility values for current engine * * @return array - * @since 2.0.0 */ public function getAllowedVisibility(); @@ -39,7 +37,6 @@ public function getAllowedVisibility(); * Define if current search engine supports advanced index * * @return bool - * @since 2.0.0 */ public function allowAdvancedIndex(); @@ -49,7 +46,6 @@ public function allowAdvancedIndex(); * @param \Magento\Eav\Model\Entity\Attribute $attribute * @param mixed $value * @return mixed - * @since 2.0.0 */ public function processAttributeValue($attribute, $value); @@ -59,7 +55,6 @@ public function processAttributeValue($attribute, $value); * @param array $index * @param string $separator * @return string - * @since 2.0.0 */ public function prepareEntityIndex($index, $separator = ' '); } diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineProvider.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineProvider.php index 78d7183ab2687..1940b7590ea2e 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineProvider.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/EngineProvider.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class EngineProvider { @@ -21,19 +20,16 @@ class EngineProvider /** * @var \Magento\CatalogSearch\Model\ResourceModel\EngineInterface - * @since 2.0.0 */ protected $engine; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ private $objectManager; @@ -41,7 +37,6 @@ class EngineProvider * Pool of existing engines * * @var array - * @since 2.0.0 */ private $enginePool; @@ -49,7 +44,6 @@ class EngineProvider * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param array $engines - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -65,7 +59,6 @@ public function __construct( * Get engine singleton * * @return EngineInterface - * @since 2.0.0 */ public function get() { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php index 597b2d40b92ea..4ea44e60a780a 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php @@ -13,7 +13,6 @@ * CatalogSearch Fulltext Index resource model * * @api - * @since 2.0.0 */ class Fulltext extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -21,7 +20,6 @@ class Fulltext extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -38,7 +36,6 @@ class Fulltext extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param string $connectionName * @param MetadataPool $metadataPool - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -55,7 +52,6 @@ public function __construct( * Init resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -66,7 +62,6 @@ protected function _construct() * Reset search results * * @return $this - * @since 2.0.0 */ public function resetSearchResults() { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php index c2937065db840..97a29ae324817 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php @@ -23,14 +23,12 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { /** * @var QueryResponse * @deprecated 2.1.0 - * @since 2.0.0 */ protected $queryResponse; @@ -39,45 +37,38 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * * @var \Magento\Search\Model\QueryFactory * @deprecated 2.1.0 - * @since 2.0.0 */ protected $queryFactory = null; /** * @var \Magento\Framework\Search\Request\Builder * @deprecated 2.1.0 - * @since 2.0.0 */ private $requestBuilder; /** * @var \Magento\Search\Model\SearchEngine * @deprecated 2.1.0 - * @since 2.0.0 */ private $searchEngine; /** * @var string - * @since 2.0.0 */ private $queryText; /** * @var string|null - * @since 2.0.0 */ private $order = null; /** * @var string - * @since 2.0.0 */ private $searchRequestName; /** * @var \Magento\Framework\Search\Adapter\Mysql\TemporaryStorageFactory - * @since 2.0.0 */ private $temporaryStorageFactory; @@ -144,7 +135,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * @param MetadataPool|null $metadataPool * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -290,7 +280,6 @@ public function setFilterBuilder(\Magento\Framework\Api\FilterBuilder $object) * @param string $field * @param null $condition * @return $this - * @since 2.0.0 */ public function addFieldToFilter($field, $condition = null) { @@ -324,7 +313,6 @@ public function addFieldToFilter($field, $condition = null) * * @param string $query * @return $this - * @since 2.0.0 */ public function addSearchFilter($query) { @@ -334,7 +322,6 @@ public function addSearchFilter($query) /** * @inheritdoc - * @since 2.0.0 */ protected function _renderFiltersBefore() { @@ -389,7 +376,6 @@ protected function _renderFiltersBefore() /** * @return $this - * @since 2.0.0 */ protected function _renderFilters() { @@ -403,7 +389,6 @@ protected function _renderFilters() * @param string $attribute * @param string $dir * @return $this - * @since 2.0.0 */ public function setOrder($attribute, $dir = Select::SQL_DESC) { @@ -418,7 +403,6 @@ public function setOrder($attribute, $dir = Select::SQL_DESC) * Stub method for compatibility with other search engines * * @return $this - * @since 2.0.0 */ public function setGeneralDefaultQuery() { @@ -431,7 +415,6 @@ public function setGeneralDefaultQuery() * @param string $field * @return array * @throws StateException - * @since 2.0.0 */ public function getFacetedData($field) { @@ -458,7 +441,6 @@ public function getFacetedData($field) * * @param \Magento\Catalog\Model\Category $category * @return $this - * @since 2.0.0 */ public function addCategoryFilter(\Magento\Catalog\Model\Category $category) { @@ -471,7 +453,6 @@ public function addCategoryFilter(\Magento\Catalog\Model\Category $category) * * @param array $visibility * @return $this - * @since 2.0.0 */ public function setVisibility($visibility) { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Search/Collection.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Search/Collection.php index 27a8c68a4cec0..3caf275ebfbff 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Search/Collection.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Search/Collection.php @@ -13,7 +13,6 @@ * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection implements \Magento\Search\Model\SearchCollectionInterface { @@ -21,7 +20,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Attribute collection * * @var array - * @since 2.0.0 */ protected $_attributesCollection; @@ -29,7 +27,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Search query * * @var string - * @since 2.0.0 */ protected $_searchQuery; @@ -37,7 +34,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Attribute collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -66,7 +62,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -121,7 +116,6 @@ public function __construct( * * @param string $query * @return $this - * @since 2.0.0 */ public function addSearchFilter($query) { @@ -137,7 +131,6 @@ public function addSearchFilter($query) * * @param string $query * @return $this - * @since 2.0.0 */ public function addBackendSearchFilter($query) { @@ -153,7 +146,6 @@ public function addBackendSearchFilter($query) * Retrieve collection of all attributes * * @return \Magento\Framework\Data\Collection\AbstractDb - * @since 2.0.0 */ protected function _getAttributesCollection() { @@ -172,7 +164,6 @@ protected function _getAttributesCollection() * * @param \Magento\Catalog\Model\Entity\Attribute $attribute * @return boolean - * @since 2.0.0 */ protected function _isAttributeTextAndSearchable($attribute) { @@ -194,7 +185,6 @@ protected function _isAttributeTextAndSearchable($attribute) * * @param \Magento\Catalog\Model\Entity\Attribute $attribute * @return boolean - * @since 2.0.0 */ protected function _hasAttributeOptionsAndSearchable($attribute) { @@ -212,7 +202,6 @@ protected function _hasAttributeOptionsAndSearchable($attribute) * @param mixed $query * @param bool $searchOnlyInCurrentStore Search only in current store or in all stores * @return string - * @since 2.0.0 */ protected function _getSearchEntityIdsSql($query, $searchOnlyInCurrentStore = true) { @@ -293,7 +282,6 @@ protected function _getSearchEntityIdsSql($query, $searchOnlyInCurrentStore = tr * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _getSearchInOptionSql($query) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/Catalog.php b/app/code/Magento/CatalogSearch/Model/Search/Catalog.php index 76f48380052bb..b7d3e03a22fd8 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/Catalog.php +++ b/app/code/Magento/CatalogSearch/Model/Search/Catalog.php @@ -11,7 +11,6 @@ * Search model for backend search * * @deprecated 2.2.0 - * @since 2.0.0 */ class Catalog extends \Magento\Framework\DataObject { @@ -19,7 +18,6 @@ class Catalog extends \Magento\Framework\DataObject * Catalog search data * * @var \Magento\Search\Model\QueryFactory - * @since 2.0.0 */ protected $queryFactory = null; @@ -27,7 +25,6 @@ class Catalog extends \Magento\Framework\DataObject * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -35,7 +32,6 @@ class Catalog extends \Magento\Framework\DataObject * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_adminhtmlData = null; @@ -43,7 +39,6 @@ class Catalog extends \Magento\Framework\DataObject * @param \Magento\Backend\Helper\Data $adminhtmlData * @param \Magento\Framework\Stdlib\StringUtils $string * @param QueryFactory $queryFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\Helper\Data $adminhtmlData, @@ -59,7 +54,6 @@ public function __construct( * Load search results * * @return $this - * @since 2.0.0 */ public function load() { diff --git a/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php b/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php index b2aab413e92eb..92c614df46c04 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php +++ b/app/code/Magento/CatalogSearch/Model/Search/IndexBuilder.php @@ -26,7 +26,6 @@ /** * Build base Query for Index * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class IndexBuilder implements IndexBuilderInterface { @@ -68,7 +67,6 @@ class IndexBuilder implements IndexBuilderInterface * @param FilterMapper|null $filterMapper * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -104,7 +102,6 @@ public function __construct( * @throws \DomainException * @throws \InvalidArgumentException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function build(RequestInterface $request) { diff --git a/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php b/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php index c332f87093a74..752b17b550c55 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php +++ b/app/code/Magento/CatalogSearch/Model/Search/ReaderPlugin.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogSearch\Model\Search\ReaderPlugin * - * @since 2.0.0 */ class ReaderPlugin { /** * @var \Magento\CatalogSearch\Model\Search\RequestGenerator - * @since 2.0.0 */ private $requestGenerator; /** * @param \Magento\CatalogSearch\Model\Search\RequestGenerator $requestGenerator - * @since 2.0.0 */ public function __construct( \Magento\CatalogSearch\Model\Search\RequestGenerator $requestGenerator diff --git a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php index b198ccd34c6c5..f597c0fc709ed 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php +++ b/app/code/Magento/CatalogSearch/Model/Search/RequestGenerator.php @@ -15,7 +15,6 @@ /** * @api - * @since 2.0.0 */ class RequestGenerator { @@ -27,7 +26,6 @@ class RequestGenerator /** * @var CollectionFactory - * @since 2.0.0 */ private $productAttributeCollectionFactory; @@ -40,7 +38,6 @@ class RequestGenerator /** * @param CollectionFactory $productAttributeCollectionFactory * @param GeneratorResolver $generatorResolver - * @since 2.0.0 */ public function __construct( CollectionFactory $productAttributeCollectionFactory, @@ -55,7 +52,6 @@ public function __construct( * Generate dynamic fields requests * * @return array - * @since 2.0.0 */ public function generate() { @@ -75,7 +71,6 @@ public function generate() * @param string $container * @param bool $useFulltext * @return array - * @since 2.0.0 */ private function generateRequest($attributeType, $container, $useFulltext) { @@ -120,7 +115,6 @@ private function generateRequest($attributeType, $container, $useFulltext) * Retrieve searchable attributes * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected function getSearchableAttributes() { @@ -139,7 +133,6 @@ protected function getSearchableAttributes() * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ private function generateAdvancedSearchRequest() { diff --git a/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php b/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php index ab0c22794e21f..db5f811874b33 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php +++ b/app/code/Magento/CatalogSearch/Model/Search/TableMapper.php @@ -24,7 +24,6 @@ * which will apply them to the Select * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class TableMapper { @@ -57,7 +56,6 @@ class TableMapper * @param AliasResolver $aliasResolver * @param FiltersExtractor $filtersExtractor * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function __construct( AppResource $resource, @@ -89,7 +87,6 @@ public function __construct( * @param RequestInterface $request * @return Select * @throws \LogicException - * @since 2.0.0 */ public function addTables(Select $select, RequestInterface $request) { @@ -116,7 +113,6 @@ public function addTables(Select $select, RequestInterface $request) * * @param FilterInterface $filter * @return string - * @since 2.0.0 */ public function getMappingAlias(FilterInterface $filter) { diff --git a/app/code/Magento/CatalogSearch/Model/Source/Weight.php b/app/code/Magento/CatalogSearch/Model/Source/Weight.php index 019a95bf957df..5c80e4faa7147 100644 --- a/app/code/Magento/CatalogSearch/Model/Source/Weight.php +++ b/app/code/Magento/CatalogSearch/Model/Source/Weight.php @@ -8,7 +8,6 @@ /** * Attribute weight options * @api - * @since 2.0.0 */ class Weight implements \Magento\Framework\Data\OptionSourceInterface { @@ -24,7 +23,6 @@ class Weight implements \Magento\Framework\Data\OptionSourceInterface * Retrieve search weights as options array * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -39,7 +37,6 @@ public function getOptions() * Retrieve search weights array * * @return int[] - * @since 2.0.0 */ public function getValues() { diff --git a/app/code/Magento/CatalogSearch/Setup/InstallData.php b/app/code/Magento/CatalogSearch/Setup/InstallData.php index e980cb6cdec39..02b4dbf153196 100644 --- a/app/code/Magento/CatalogSearch/Setup/InstallData.php +++ b/app/code/Magento/CatalogSearch/Setup/InstallData.php @@ -14,20 +14,17 @@ /** * Class \Magento\CatalogSearch\Setup\InstallData * - * @since 2.0.0 */ class InstallData implements InstallDataInterface { /** * @var IndexerInterfaceFactory - * @since 2.0.0 */ private $indexerFactory; /** * @param IndexerInterfaceFactory $indexerFactory * @param ProductAttributeRepositoryInterface $attributeRepository - * @since 2.0.0 */ public function __construct( IndexerInterfaceFactory $indexerFactory, @@ -44,7 +41,6 @@ public function __construct( * @param ModuleContextInterface $context * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -56,7 +52,6 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface /** * @param string $indexerId * @return \Magento\Framework\Indexer\IndexerInterface - * @since 2.0.0 */ private function getIndexer($indexerId) { @@ -67,7 +62,6 @@ private function getIndexer($indexerId) * @param string $attributeCode * @param int $weight * @return void - * @since 2.0.0 */ private function setWeight($attributeCode, $weight) { diff --git a/app/code/Magento/CatalogSearch/Setup/InstallSchema.php b/app/code/Magento/CatalogSearch/Setup/InstallSchema.php index 84e9298fc06a1..4953e72fa8124 100644 --- a/app/code/Magento/CatalogSearch/Setup/InstallSchema.php +++ b/app/code/Magento/CatalogSearch/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogUrlRewrite/Block/UrlKeyRenderer.php b/app/code/Magento/CatalogUrlRewrite/Block/UrlKeyRenderer.php index 81b7e231dab7b..23ae0dec08431 100644 --- a/app/code/Magento/CatalogUrlRewrite/Block/UrlKeyRenderer.php +++ b/app/code/Magento/CatalogUrlRewrite/Block/UrlKeyRenderer.php @@ -10,7 +10,6 @@ /** * Renderer for URL key input * Allows to manage and overwrite URL Rewrites History save settings - * @since 2.0.0 */ class UrlKeyRenderer extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fieldset\Element { @@ -18,7 +17,6 @@ class UrlKeyRenderer extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fiel /** * @var \Magento\Framework\Data\Form\Element\Factory - * @since 2.0.0 */ protected $_elementFactory; @@ -26,7 +24,6 @@ class UrlKeyRenderer extends \Magento\Catalog\Block\Adminhtml\Form\Renderer\Fiel * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Data\Form\Element\Factory $elementFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getElementHtml() { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/CanonicalUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/CanonicalUrlRewriteGenerator.php index e29f59f9aa4c7..ce6241ef7a415 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/CanonicalUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/CanonicalUrlRewriteGenerator.php @@ -13,26 +13,22 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\CanonicalUrlRewriteGenerator * - * @since 2.0.0 */ class CanonicalUrlRewriteGenerator { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; /** * @param \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator $categoryUrlPathGenerator * @param \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory $urlRewriteFactory - * @since 2.0.0 */ public function __construct( CategoryUrlPathGenerator $categoryUrlPathGenerator, @@ -48,7 +44,6 @@ public function __construct( * @param int $storeId * @param \Magento\Catalog\Model\Category $category * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, Category $category) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenCategoriesProvider.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenCategoriesProvider.php index 7b25bfc608629..a28d642640ac2 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenCategoriesProvider.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenCategoriesProvider.php @@ -10,13 +10,11 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider * - * @since 2.0.0 */ class ChildrenCategoriesProvider { /** * @var array - * @since 2.0.0 */ protected $childrenIds = []; @@ -24,7 +22,6 @@ class ChildrenCategoriesProvider * @param \Magento\Catalog\Model\Category $category * @param boolean $recursive * @return \Magento\Catalog\Model\Category[] - * @since 2.0.0 */ public function getChildren(Category $category, $recursive = false) { @@ -39,7 +36,6 @@ public function getChildren(Category $category, $recursive = false) * @param \Magento\Catalog\Model\Category $category * @param boolean $recursive * @return int[] - * @since 2.0.0 */ public function getChildrenIds(Category $category, $recursive = false) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenUrlRewriteGenerator.php index ccfb52b59e651..94be65c98ca52 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/ChildrenUrlRewriteGenerator.php @@ -14,19 +14,16 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\ChildrenUrlRewriteGenerator * - * @since 2.0.0 */ class ChildrenUrlRewriteGenerator { /** * @var \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider - * @since 2.0.0 */ protected $childrenCategoriesProvider; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGeneratorFactory - * @since 2.0.0 */ protected $categoryUrlRewriteGeneratorFactory; @@ -40,7 +37,6 @@ class ChildrenUrlRewriteGenerator * @param \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider $childrenCategoriesProvider * @param \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGeneratorFactory $categoryUrlRewriteGeneratorFactory * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory - * @since 2.0.0 */ public function __construct( ChildrenCategoriesProvider $childrenCategoriesProvider, @@ -62,7 +58,6 @@ public function __construct( * @param \Magento\Catalog\Model\Category $category * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, Category $category, $rootCategoryId = null) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/CurrentUrlRewritesRegenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/CurrentUrlRewritesRegenerator.php index 08d9e6b0648a3..4e76443d4e833 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/CurrentUrlRewritesRegenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/CurrentUrlRewritesRegenerator.php @@ -11,19 +11,16 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\CurrentUrlRewritesRegenerator * - * @since 2.0.0 */ class CurrentUrlRewritesRegenerator { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; @@ -36,14 +33,12 @@ class CurrentUrlRewritesRegenerator /** * @var \Magento\Catalog\Model\Category * @deprecated 2.2.0 - * @since 2.0.0 */ protected $category; /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $urlFinder; @@ -65,7 +60,6 @@ class CurrentUrlRewritesRegenerator * @param \Magento\UrlRewrite\Model\UrlFinderInterface $urlFinder * @param \Magento\CatalogUrlRewrite\Model\Map\UrlRewriteFinder|null $urlRewriteFinder * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory - * @since 2.0.0 */ public function __construct( \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator $categoryUrlPathGenerator, @@ -95,7 +89,6 @@ public function __construct( * @param \Magento\Catalog\Model\Category $category * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, \Magento\Catalog\Model\Category $category, $rootCategoryId = null) { @@ -123,7 +116,6 @@ public function generate($storeId, \Magento\Catalog\Model\Category $category, $r * @param int $storeId * @param \Magento\Catalog\Model\Category|null $category * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForAutogenerated($url, $storeId, \Magento\Catalog\Model\Category $category = null) { @@ -149,7 +141,6 @@ protected function generateForAutogenerated($url, $storeId, \Magento\Catalog\Mod * @param int $storeId * @param \Magento\Catalog\Model\Category|null $category * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForCustom($url, $storeId, \Magento\Catalog\Model\Category $category = null) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Move.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Move.php index c497f9cb1e4b8..c5a12f4548328 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Move.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Move.php @@ -12,13 +12,11 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\Plugin\Category\Move * - * @since 2.0.0 */ class Move { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; @@ -31,7 +29,6 @@ class Move /** * @param CategoryUrlPathGenerator $categoryUrlPathGenerator * @param ChildrenCategoriesProvider $childrenCategoriesProvider - * @since 2.0.0 */ public function __construct( CategoryUrlPathGenerator $categoryUrlPathGenerator, @@ -70,7 +67,6 @@ public function afterChangeParent( /** * @param Category $category * @return void - * @since 2.0.0 */ protected function updateUrlPathForChildren($category) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Remove.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Remove.php index 15832fd947e7c..d7681b93fe8f8 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Remove.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Category/Remove.php @@ -10,25 +10,21 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\Plugin\Category\Remove * - * @since 2.0.0 */ class Remove { /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator - * @since 2.0.0 */ protected $productUrlRewriteGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider - * @since 2.0.0 */ protected $childrenCategoriesProvider; @@ -43,7 +39,6 @@ class Remove * @param \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator $productUrlRewriteGenerator * @param \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider $childrenCategoriesProvider * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\UrlRewrite\Model\UrlPersistInterface $urlPersist, @@ -67,7 +62,6 @@ public function __construct( * @param \Magento\Catalog\Api\Data\CategoryInterface $category * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundDelete( \Magento\Catalog\Model\ResourceModel\Category $subject, @@ -88,7 +82,6 @@ public function aroundDelete( * * @param int $categoryId * @return void - * @since 2.0.0 */ protected function deleteRewritesForCategory($categoryId) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Storage.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Storage.php index e60ae576df00e..d672eaca4b30f 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Storage.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Storage.php @@ -14,13 +14,11 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage * - * @since 2.0.0 */ class Storage { /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface - * @since 2.0.0 */ private $urlFinder; @@ -33,7 +31,6 @@ class Storage /** * @param UrlFinderInterface $urlFinder * @param Product $productResource - * @since 2.0.0 */ public function __construct( UrlFinderInterface $urlFinder, @@ -73,7 +70,6 @@ public function afterReplace(StorageInterface $object, array $result, array $url * @param array $data * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeDeleteByData(StorageInterface $object, array $data) { @@ -83,7 +79,6 @@ public function beforeDeleteByData(StorageInterface $object, array $data) /** * @param \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] $urls * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function filterUrls(array $urls) { @@ -109,7 +104,6 @@ protected function filterUrls(array $urls) /** * @param UrlRewrite $url * @return bool - * @since 2.0.0 */ protected function isCorrectUrl(UrlRewrite $url) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/Group.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/Group.php index 3cc3190414675..fb6b461b8f684 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/Group.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/Group.php @@ -17,43 +17,36 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Group { /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator - * @since 2.0.0 */ protected $categoryUrlRewriteGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator - * @since 2.0.0 */ protected $productUrlRewriteGenerator; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -64,7 +57,6 @@ class Group * @param CategoryUrlRewriteGenerator $categoryUrlRewriteGenerator * @param ProductUrlRewriteGenerator $productUrlRewriteGenerator * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( UrlPersistInterface $urlPersist, @@ -124,7 +116,6 @@ public function afterSave( * @param int $websiteId * @param int $originWebsiteId * @return array - * @since 2.0.0 */ protected function generateProductUrls($websiteId, $originWebsiteId) { @@ -153,7 +144,6 @@ protected function generateProductUrls($websiteId, $originWebsiteId) * @param int $rootCategoryId * @param array $storeIds * @return array - * @since 2.0.0 */ protected function generateCategoryUrls($rootCategoryId, $storeIds) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/View.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/View.php index cae98cd9ced0d..20f7a4a14571d 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/View.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Plugin/Store/View.php @@ -20,43 +20,37 @@ * @see \Magento\Store\Model\ResourceModel\Store * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @package Magento\CatalogUrlRewrite\Model\Category\Plugin\Store - * @since 2.0.0 */ class View { /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var \Magento\Catalog\Model\CategoryFactory - * @since 2.0.0 */ protected $categoryFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator - * @since 2.0.0 */ protected $categoryUrlRewriteGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator - * @since 2.0.0 */ protected $productUrlRewriteGenerator; /** * @var AbstractModel - * @since 2.2.0 + * @since 2.1.3 */ private $origStore; @@ -66,7 +60,6 @@ class View * @param ProductFactory $productFactory * @param CategoryUrlRewriteGenerator $categoryUrlRewriteGenerator * @param ProductUrlRewriteGenerator $productUrlRewriteGenerator - * @since 2.0.0 */ public function __construct( UrlPersistInterface $urlPersist, @@ -87,7 +80,7 @@ public function __construct( * @param AbstractModel $store * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function beforeSave( \Magento\Store\Model\ResourceModel\Store $object, @@ -103,7 +96,7 @@ public function beforeSave( * @param \Magento\Store\Model\ResourceModel\Store $store * @return \Magento\Store\Model\ResourceModel\Store * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function afterSave( \Magento\Store\Model\ResourceModel\Store $object, @@ -136,7 +129,6 @@ public function afterSave( * @param int $originWebsiteId * @param int $storeId * @return array - * @since 2.0.0 */ protected function generateProductUrls($websiteId, $originWebsiteId, $storeId) { @@ -164,7 +156,6 @@ protected function generateProductUrls($websiteId, $originWebsiteId, $storeId) * @param int $rootCategoryId * @param int $storeId * @return array - * @since 2.0.0 */ protected function generateCategoryUrls($rootCategoryId, $storeId) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Category/Product.php b/app/code/Magento/CatalogUrlRewrite/Model/Category/Product.php index 1494bd4a79c00..178a9a2ffe9c4 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Category/Product.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Category/Product.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Category\Product * - * @since 2.0.0 */ class Product extends AbstractModel { @@ -18,7 +17,6 @@ class Product extends AbstractModel * Model construct that should be used for object initialization * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlPathGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlPathGenerator.php index a894a0c42faa8..84c16fb6d089f 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlPathGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlPathGenerator.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator * - * @since 2.0.0 */ class CategoryUrlPathGenerator { @@ -29,25 +28,21 @@ class CategoryUrlPathGenerator * Cache for category rewrite suffix * * @var array - * @since 2.0.0 */ protected $categoryUrlSuffix = []; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var CategoryRepositoryInterface - * @since 2.0.0 */ protected $categoryRepository; @@ -55,7 +50,6 @@ class CategoryUrlPathGenerator * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param CategoryRepositoryInterface $categoryRepository - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -72,7 +66,6 @@ public function __construct( * * @param \Magento\Catalog\Api\Data\CategoryInterface|\Magento\Framework\Model\AbstractModel $category * @return string - * @since 2.0.0 */ public function getUrlPath($category) { @@ -99,7 +92,6 @@ public function getUrlPath($category) /** * @param \Magento\Catalog\Model\Category $category * @return bool - * @since 2.0.0 */ protected function isNeedToGenerateUrlPathForParent($category) { @@ -112,7 +104,6 @@ protected function isNeedToGenerateUrlPathForParent($category) * @param \Magento\Catalog\Model\Category $category * @param int $storeId * @return string - * @since 2.0.0 */ public function getUrlPathWithSuffix($category, $storeId = null) { @@ -127,7 +118,6 @@ public function getUrlPathWithSuffix($category, $storeId = null) * * @param int $storeId * @return string - * @since 2.0.0 */ protected function getCategoryUrlSuffix($storeId = null) { @@ -149,7 +139,6 @@ protected function getCategoryUrlSuffix($storeId = null) * * @param \Magento\Catalog\Model\Category $category * @return string - * @since 2.0.0 */ public function getCanonicalUrlPath($category) { @@ -161,7 +150,6 @@ public function getCanonicalUrlPath($category) * * @param \Magento\Catalog\Model\Category $category * @return string - * @since 2.0.0 */ public function getUrlKey($category) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlRewriteGenerator.php index 41b0eae2ab988..fadea672cb3c6 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/CategoryUrlRewriteGenerator.php @@ -18,7 +18,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator * - * @since 2.0.0 */ class CategoryUrlRewriteGenerator { @@ -27,32 +26,27 @@ class CategoryUrlRewriteGenerator /** * @var \Magento\CatalogUrlRewrite\Service\V1\StoreViewService - * @since 2.0.0 */ protected $storeViewService; /** * @var \Magento\Catalog\Model\Category * @deprecated 2.2.0 - * @since 2.0.0 */ protected $category; /** * @var \Magento\CatalogUrlRewrite\Model\Category\CanonicalUrlRewriteGenerator - * @since 2.0.0 */ protected $canonicalUrlRewriteGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\Category\CurrentUrlRewritesRegenerator - * @since 2.0.0 */ protected $currentUrlRewritesRegenerator; /** * @var \Magento\CatalogUrlRewrite\Model\Category\ChildrenUrlRewriteGenerator - * @since 2.0.0 */ protected $childrenUrlRewriteGenerator; @@ -64,7 +58,6 @@ class CategoryUrlRewriteGenerator /** * @var bool - * @since 2.0.0 */ protected $overrideStoreUrls; @@ -75,7 +68,6 @@ class CategoryUrlRewriteGenerator * @param \Magento\CatalogUrlRewrite\Service\V1\StoreViewService $storeViewService * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory - * @since 2.0.0 */ public function __construct( CanonicalUrlRewriteGenerator $canonicalUrlRewriteGenerator, @@ -101,7 +93,6 @@ public function __construct( * @param bool $overrideStoreUrls * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate($category, $overrideStoreUrls = false, $rootCategoryId = null) { @@ -124,7 +115,6 @@ public function generate($category, $overrideStoreUrls = false, $rootCategoryId * @param bool $overrideStoreUrls * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForGlobalScope( Category $category = null, @@ -150,7 +140,6 @@ protected function generateForGlobalScope( * @param int $categoryId * @param bool $overrideStoreUrls * @return bool - * @since 2.0.0 */ protected function isOverrideUrlsForStore($storeId, $categoryId, $overrideStoreUrls = false) { @@ -167,7 +156,6 @@ protected function isOverrideUrlsForStore($storeId, $categoryId, $overrideStoreU * @param int $storeId * @param \Magento\Catalog\Model\Category|null $category * @return void - * @since 2.0.0 */ protected function updateCategoryUrlForStore($storeId, Category $category = null) { @@ -185,7 +173,6 @@ protected function updateCategoryUrlForStore($storeId, Category $category = null * * @param int|null $storeId * @return bool - * @since 2.0.0 */ protected function isGlobalScope($storeId) { @@ -199,7 +186,6 @@ protected function isGlobalScope($storeId) * @param \Magento\Catalog\Model\Category|null $category * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForSpecificStoreView($storeId, Category $category = null, $rootCategoryId = null) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/ObjectRegistry.php b/app/code/Magento/CatalogUrlRewrite/Model/ObjectRegistry.php index 18317ea5a4c64..ef704710d95a1 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/ObjectRegistry.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/ObjectRegistry.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\ObjectRegistry * - * @since 2.0.0 */ class ObjectRegistry { @@ -16,13 +15,11 @@ class ObjectRegistry * Key is id of entity, value is entity * * @var \Magento\Framework\DataObject[] - * @since 2.0.0 */ protected $entitiesMap; /** * @param \Magento\Framework\DataObject[] $entities - * @since 2.0.0 */ public function __construct($entities) { @@ -35,7 +32,6 @@ public function __construct($entities) /** * @param int $entityId * @return \Magento\Framework\DataObject|null - * @since 2.0.0 */ public function get($entityId) { @@ -44,7 +40,6 @@ public function get($entityId) /** * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getList() { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Product/CanonicalUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Product/CanonicalUrlRewriteGenerator.php index 883ca2f8b3c44..c3489415d6f8e 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Product/CanonicalUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Product/CanonicalUrlRewriteGenerator.php @@ -14,26 +14,22 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Product\CanonicalUrlRewriteGenerator * - * @since 2.0.0 */ class CanonicalUrlRewriteGenerator { /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator - * @since 2.0.0 */ protected $productUrlPathGenerator; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; /** * @param ProductUrlPathGenerator $productUrlPathGenerator * @param UrlRewriteFactory $urlRewriteFactory - * @since 2.0.0 */ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator, UrlRewriteFactory $urlRewriteFactory) { @@ -47,7 +43,6 @@ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator, Ur * @param int $storeId * @param Product $product * @return UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, Product $product) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Product/CategoriesUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Product/CategoriesUrlRewriteGenerator.php index 5f6c082559162..583f0a35d02f9 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Product/CategoriesUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Product/CategoriesUrlRewriteGenerator.php @@ -15,26 +15,22 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Product\CategoriesUrlRewriteGenerator * - * @since 2.0.0 */ class CategoriesUrlRewriteGenerator { /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator - * @since 2.0.0 */ protected $productUrlPathGenerator; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; /** * @param ProductUrlPathGenerator $productUrlPathGenerator * @param UrlRewriteFactory $urlRewriteFactory - * @since 2.0.0 */ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator, UrlRewriteFactory $urlRewriteFactory) { @@ -49,7 +45,6 @@ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator, Ur * @param Product $product * @param ObjectRegistry $productCategories * @return UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, Product $product, ObjectRegistry $productCategories) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Product/CurrentUrlRewritesRegenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/Product/CurrentUrlRewritesRegenerator.php index 6c696e556dd06..d78065ac741b2 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Product/CurrentUrlRewritesRegenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Product/CurrentUrlRewritesRegenerator.php @@ -21,40 +21,34 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CurrentUrlRewritesRegenerator { /** * @var Product * @deprecated 2.2.0 - * @since 2.0.0 */ protected $product; /** * @var ObjectRegistry * @deprecated 2.2.0 - * @since 2.0.0 */ protected $productCategories; /** * @var UrlFinderInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $urlFinder; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator - * @since 2.0.0 */ protected $productUrlPathGenerator; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; @@ -89,7 +83,6 @@ class CurrentUrlRewritesRegenerator * @param UrlRewriteFinder|null $urlRewriteFinder * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory * @param CategoryRepository|null $categoryRepository - * @since 2.0.0 */ public function __construct( UrlFinderInterface $urlFinder, @@ -119,7 +112,6 @@ public function __construct( * @param ObjectRegistry $productCategories * @param int|null $rootCategoryId * @return UrlRewrite[] - * @since 2.0.0 */ public function generate($storeId, Product $product, ObjectRegistry $productCategories, $rootCategoryId = null) { @@ -199,7 +191,6 @@ public function generateAnchor( * @param Category|null $category * @param Product|null $product * @return UrlRewrite[] - * @since 2.0.0 */ protected function generateForAutogenerated($url, $storeId, $category, $product = null) { @@ -228,7 +219,6 @@ protected function generateForAutogenerated($url, $storeId, $category, $product * @param Category|null $category * @param Product|null $product * @return UrlRewrite[] - * @since 2.0.0 */ protected function generateForCustom($url, $storeId, $category, $product = null) { @@ -255,7 +245,6 @@ protected function generateForCustom($url, $storeId, $category, $product = null) * @param UrlRewrite $url * @param ObjectRegistry|null $productCategories * @return Category|null|bool - * @since 2.0.0 */ protected function retrieveCategoryFromMetadata($url, ObjectRegistry $productCategories = null) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlPathGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlPathGenerator.php index e7333ad4dc3a8..7ce1eefbff2c1 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlPathGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlPathGenerator.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator * - * @since 2.0.0 */ class ProductUrlPathGenerator { @@ -20,31 +19,26 @@ class ProductUrlPathGenerator * Cache for product rewrite suffix * * @var array - * @since 2.0.0 */ protected $productUrlSuffix = []; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -53,7 +47,6 @@ class ProductUrlPathGenerator * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param CategoryUrlPathGenerator $categoryUrlPathGenerator * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -74,7 +67,6 @@ public function __construct( * @param \Magento\Catalog\Model\Category $category * * @return string - * @since 2.0.0 */ public function getUrlPath($product, $category = null) { @@ -94,7 +86,6 @@ public function getUrlPath($product, $category = null) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ protected function prepareProductDefaultUrlKey(\Magento\Catalog\Model\Product $product) { @@ -110,7 +101,6 @@ protected function prepareProductDefaultUrlKey(\Magento\Catalog\Model\Product $p * @param int $storeId * @param \Magento\Catalog\Model\Category $category * @return string - * @since 2.0.0 */ public function getUrlPathWithSuffix($product, $storeId, $category = null) { @@ -123,7 +113,6 @@ public function getUrlPathWithSuffix($product, $storeId, $category = null) * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\Category|null $category * @return string - * @since 2.0.0 */ public function getCanonicalUrlPath($product, $category = null) { @@ -136,7 +125,6 @@ public function getCanonicalUrlPath($product, $category = null) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getUrlKey($product) { @@ -148,7 +136,6 @@ public function getUrlKey($product) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ protected function prepareProductUrlKey(\Magento\Catalog\Model\Product $product) { @@ -161,7 +148,6 @@ protected function prepareProductUrlKey(\Magento\Catalog\Model\Product $product) * * @param int $storeId * @return string - * @since 2.0.0 */ protected function getProductUrlSuffix($storeId = null) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlRewriteGenerator.php b/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlRewriteGenerator.php index df09845545d78..c60dab84ec2bc 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlRewriteGenerator.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/ProductUrlRewriteGenerator.php @@ -17,7 +17,6 @@ * Class ProductUrlRewriteGenerator * @package Magento\CatalogUrlRewrite\Model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ProductUrlRewriteGenerator { @@ -29,56 +28,48 @@ class ProductUrlRewriteGenerator /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Service\V1\StoreViewService - * @since 2.0.0 */ protected $storeViewService; /** * @var \Magento\Catalog\Model\Product * @deprecated 2.2.0 - * @since 2.0.0 */ protected $product; /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Model\Product\CurrentUrlRewritesRegenerator - * @since 2.0.0 */ protected $currentUrlRewritesRegenerator; /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Model\Product\CategoriesUrlRewriteGenerator - * @since 2.0.0 */ protected $categoriesUrlRewriteGenerator; /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Model\Product\CanonicalUrlRewriteGenerator - * @since 2.0.0 */ protected $canonicalUrlRewriteGenerator; /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Model\ObjectRegistryFactory - * @since 2.0.0 */ protected $objectRegistryFactory; /** * @deprecated 2.2.0 * @var \Magento\CatalogUrlRewrite\Model\ObjectRegistry - * @since 2.0.0 */ protected $productCategories; /** * @deprecated 2.2.0 * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -95,7 +86,6 @@ class ProductUrlRewriteGenerator * @param \Magento\CatalogUrlRewrite\Model\ObjectRegistryFactory $objectRegistryFactory * @param \Magento\CatalogUrlRewrite\Service\V1\StoreViewService $storeViewService * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( CanonicalUrlRewriteGenerator $canonicalUrlRewriteGenerator, @@ -136,7 +126,6 @@ private function getProductScopeRewriteGenerator() * @param \Magento\Catalog\Model\Product $product * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate(Product $product, $rootCategoryId = null) { @@ -163,7 +152,6 @@ public function generate(Product $product, $rootCategoryId = null) * @deprecated 2.2.0 * @param int|null $storeId * @return bool - * @since 2.0.0 */ protected function isGlobalScope($storeId) { @@ -178,7 +166,6 @@ protected function isGlobalScope($storeId) * @param \Magento\Catalog\Model\Product|null $product * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForGlobalScope($productCategories, $product = null, $rootCategoryId = null) { @@ -198,7 +185,6 @@ protected function generateForGlobalScope($productCategories, $product = null, $ * @param Product|null $product * @param int|null $rootCategoryId * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForSpecificStoreView( $storeId, @@ -215,7 +201,6 @@ protected function generateForSpecificStoreView( * @param \Magento\Catalog\Model\Category $category * @param int $storeId * @return bool - * @since 2.0.0 */ protected function isCategoryProperForGenerating($category, $storeId) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/Product.php b/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/Product.php index fecc4934975b1..acc910e43a8dc 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/Product.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/Product.php @@ -11,7 +11,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\ResourceModel\Category\Product * - * @since 2.0.0 */ class Product extends AbstractDb { @@ -29,7 +28,6 @@ class Product extends AbstractDb * Primary key auto increment flag * * @var bool - * @since 2.0.0 */ protected $_isPkAutoIncrement = false; @@ -37,7 +35,6 @@ class Product extends AbstractDb * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -47,7 +44,6 @@ protected function _construct() /** * @param array $insertData * @return int - * @since 2.0.0 */ public function saveMultiple(array $insertData) { @@ -68,7 +64,6 @@ public function saveMultiple(array $insertData) * * @param array $removeData * @return int - * @since 2.0.0 */ public function removeMultiple(array $removeData) { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/ProductCollection.php b/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/ProductCollection.php index c3d25adee47ba..de49c60f277bb 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/ProductCollection.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/ResourceModel/Category/ProductCollection.php @@ -10,7 +10,6 @@ /** * Class \Magento\CatalogUrlRewrite\Model\ResourceModel\Category\ProductCollection * - * @since 2.0.0 */ class ProductCollection extends AbstractCollection { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Storage/DbStorage.php b/app/code/Magento/CatalogUrlRewrite/Model/Storage/DbStorage.php index dee8fefb814b8..15a28d54b9e52 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Storage/DbStorage.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Storage/DbStorage.php @@ -12,14 +12,12 @@ /** * Class \Magento\CatalogUrlRewrite\Model\Storage\DbStorage * - * @since 2.0.0 */ class DbStorage extends BaseDbStorage { /** * @param array $data * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function prepareSelect(array $data) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php index 41991d49d22a6..07fc9f4c52d66 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php @@ -28,7 +28,6 @@ * * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AfterImportDataObserver implements ObserverInterface { @@ -39,115 +38,97 @@ class AfterImportDataObserver implements ObserverInterface /** * @var \Magento\CatalogUrlRewrite\Service\V1\StoreViewService - * @since 2.0.0 */ protected $storeViewService; /** * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $product; /** * @var array - * @since 2.0.0 */ protected $productsWithStores; /** * @var array - * @since 2.0.0 */ protected $products = []; /** * @var \Magento\CatalogUrlRewrite\Model\ObjectRegistryFactory - * @since 2.0.0 */ protected $objectRegistryFactory; /** * @var \Magento\CatalogUrlRewrite\Model\ObjectRegistry - * @since 2.0.0 */ protected $productCategories; /** * @var \Magento\UrlRewrite\Model\UrlFinderInterface - * @since 2.1.0 + * @since 2.0.3 */ protected $urlFinder; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; /** * @var \Magento\CatalogImportExport\Model\Import\Product - * @since 2.0.0 */ protected $import; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $catalogProductFactory; /** * @var array - * @since 2.0.0 */ protected $acceptableCategories; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator - * @since 2.0.0 */ protected $productUrlPathGenerator; /** * @var array - * @since 2.0.0 */ protected $websitesToStoreIds; /** * @var array - * @since 2.0.0 */ protected $storesCache = []; /** * @var array - * @since 2.0.0 */ protected $categoryCache = []; /** * @var array - * @since 2.0.0 */ protected $websiteCache = []; /** * @var array - * @since 2.0.0 */ protected $vitalForGenerationFields = [ 'sku', @@ -191,7 +172,6 @@ class AfterImportDataObserver implements ObserverInterface * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory * @param CategoryCollectionFactory|null $categoryCollectionFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $catalogProductFactory, @@ -228,7 +208,6 @@ public function __construct( * @param Observer $observer * * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { @@ -251,7 +230,6 @@ public function execute(Observer $observer) * * @return ImportExport * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _populateForUrlGeneration($rowData) { @@ -296,7 +274,6 @@ protected function _populateForUrlGeneration($rowData) * @param \Magento\Catalog\Model\Product $product * @param array $rowData * @return void - * @since 2.0.0 */ protected function setStoreToProduct(\Magento\Catalog\Model\Product $product, array $rowData) { @@ -315,7 +292,6 @@ protected function setStoreToProduct(\Magento\Catalog\Model\Product $product, ar * @param \Magento\Catalog\Model\Product $product * @param string $storeId * @return $this - * @since 2.0.0 */ protected function addProductToImport($product, $storeId) { @@ -334,7 +310,6 @@ protected function addProductToImport($product, $storeId) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ protected function populateGlobalProduct($product) { @@ -353,7 +328,6 @@ protected function populateGlobalProduct($product) * Generate product url rewrites * * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateUrls() { @@ -374,7 +348,6 @@ protected function generateUrls() * * @param int|null $storeId * @return bool - * @since 2.0.0 */ protected function isGlobalScope($storeId) { @@ -385,7 +358,6 @@ protected function isGlobalScope($storeId) * Generate list based on store view * * @return UrlRewrite[] - * @since 2.0.0 */ protected function canonicalUrlRewriteGenerate() { @@ -410,7 +382,6 @@ protected function canonicalUrlRewriteGenerate() * Generate list based on categories. * * @return UrlRewrite[] - * @since 2.0.0 */ protected function categoriesUrlRewriteGenerate() { @@ -440,7 +411,6 @@ protected function categoriesUrlRewriteGenerate() * Generate list based on current rewrites * * @return UrlRewrite[] - * @since 2.0.0 */ protected function currentUrlRewritesRegenerate() { @@ -473,7 +443,6 @@ protected function currentUrlRewritesRegenerate() * @param UrlRewrite $url * @param Category $category * @return array - * @since 2.0.0 */ protected function generateForAutogenerated($url, $category) { @@ -508,7 +477,6 @@ protected function generateForAutogenerated($url, $category) * @param UrlRewrite $url * @param Category $category * @return array - * @since 2.0.0 */ protected function generateForCustom($url, $category) { @@ -541,7 +509,6 @@ protected function generateForCustom($url, $category) /** * @param UrlRewrite $url * @return Category|null|bool - * @since 2.0.0 */ protected function retrieveCategoryFromMetadata($url) { @@ -557,7 +524,6 @@ protected function retrieveCategoryFromMetadata($url) * @param \Magento\Catalog\Model\Category $category * @param int $storeId * @return bool - * @since 2.0.0 */ protected function isCategoryProperForGenerating($category, $storeId) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteMovingObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteMovingObserver.php index d3e6c422530f3..973334b80c729 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteMovingObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteMovingObserver.php @@ -19,31 +19,26 @@ /** * Generates Category Url Rewrites after move/save and Products Url Rewrites assigned to the category that's being saved - * @since 2.0.0 */ class CategoryProcessUrlRewriteMovingObserver implements ObserverInterface { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator - * @since 2.0.0 */ protected $categoryUrlRewriteGenerator; /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\CatalogUrlRewrite\Observer\UrlRewriteHandler - * @since 2.0.0 */ protected $urlRewriteHandler; @@ -73,7 +68,6 @@ class CategoryProcessUrlRewriteMovingObserver implements ObserverInterface * @param UrlRewriteBunchReplacer $urlRewriteBunchReplacer * @param \Magento\CatalogUrlRewrite\Model\Map\DatabaseMapPool $databaseMapPool * @param string[] $dataUrlRewriteClassNames - * @since 2.0.0 */ public function __construct( CategoryUrlRewriteGenerator $categoryUrlRewriteGenerator, @@ -99,7 +93,6 @@ public function __construct( /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteSavingObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteSavingObserver.php index 8419bcf08a196..7ff7b93f3baea 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteSavingObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryProcessUrlRewriteSavingObserver.php @@ -15,13 +15,11 @@ /** * Generates Category Url Rewrites after save and Products Url Rewrites assigned to the category that's being saved - * @since 2.0.0 */ class CategoryProcessUrlRewriteSavingObserver implements ObserverInterface { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator - * @since 2.0.0 */ private $categoryUrlRewriteGenerator; @@ -33,7 +31,6 @@ class CategoryProcessUrlRewriteSavingObserver implements ObserverInterface /** * @var \Magento\CatalogUrlRewrite\Observer\UrlRewriteHandler - * @since 2.0.0 */ private $urlRewriteHandler; @@ -55,7 +52,6 @@ class CategoryProcessUrlRewriteSavingObserver implements ObserverInterface * @param UrlRewriteBunchReplacer $urlRewriteBunchReplacer * @param DatabaseMapPool $databaseMapPool * @param string[] $dataUrlRewriteClassNames - * @since 2.0.0 */ public function __construct( CategoryUrlRewriteGenerator $categoryUrlRewriteGenerator, @@ -80,7 +76,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @throws \Magento\Framework\Exception\AlreadyExistsException - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/CategorySaveRewritesHistorySetterObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/CategorySaveRewritesHistorySetterObserver.php index 54a87e6246d56..8d2a84b960497 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/CategorySaveRewritesHistorySetterObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/CategorySaveRewritesHistorySetterObserver.php @@ -12,14 +12,12 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\CategorySaveRewritesHistorySetterObserver * - * @since 2.0.0 */ class CategorySaveRewritesHistorySetterObserver implements ObserverInterface { /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserver.php index e7030fecb3caf..c5c3c788dfd35 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserver.php @@ -16,25 +16,21 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\CategoryUrlPathAutogeneratorObserver * - * @since 2.0.0 */ class CategoryUrlPathAutogeneratorObserver implements ObserverInterface { /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator - * @since 2.0.0 */ protected $categoryUrlPathGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider - * @since 2.0.0 */ protected $childrenCategoriesProvider; /** * @var \Magento\CatalogUrlRewrite\Service\V1\StoreViewService - * @since 2.0.0 */ protected $storeViewService; @@ -42,7 +38,6 @@ class CategoryUrlPathAutogeneratorObserver implements ObserverInterface * @param CategoryUrlPathGenerator $categoryUrlPathGenerator * @param ChildrenCategoriesProvider $childrenCategoriesProvider * @param \Magento\CatalogUrlRewrite\Service\V1\StoreViewService $storeViewService - * @since 2.0.0 */ public function __construct( CategoryUrlPathGenerator $categoryUrlPathGenerator, @@ -58,7 +53,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { @@ -84,7 +78,6 @@ public function execute(\Magento\Framework\Event\Observer $observer) /** * @param Category $category * @return void - * @since 2.0.0 */ protected function updateUrlPathForChildren(Category $category) { @@ -116,7 +109,6 @@ protected function updateUrlPathForChildren(Category $category) * * @param int|null $storeId * @return bool - * @since 2.0.0 */ protected function isGlobalScope($storeId) { @@ -126,7 +118,6 @@ protected function isGlobalScope($storeId) /** * @param Category $category * @return void - * @since 2.0.0 */ protected function updateUrlPathForCategory(Category $category) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/ClearProductUrlsObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/ClearProductUrlsObserver.php index b138e04dcdff3..33c75cc609486 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/ClearProductUrlsObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/ClearProductUrlsObserver.php @@ -14,19 +14,16 @@ /** * Class ClearProductUrlsObserver - * @since 2.0.0 */ class ClearProductUrlsObserver implements ObserverInterface { /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @param UrlPersistInterface $urlPersist - * @since 2.0.0 */ public function __construct( UrlPersistInterface $urlPersist @@ -39,7 +36,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteRemovingObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteRemovingObserver.php index 9c4c9360c4127..7525fdaa073e2 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteRemovingObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteRemovingObserver.php @@ -13,19 +13,16 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\ProductProcessUrlRewriteRemovingObserver * - * @since 2.0.0 */ class ProductProcessUrlRewriteRemovingObserver implements ObserverInterface { /** * @var UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @param UrlPersistInterface $urlPersist - * @since 2.0.0 */ public function __construct( UrlPersistInterface $urlPersist @@ -38,7 +35,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteSavingObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteSavingObserver.php index fadd6b40cf88d..e46c579d02939 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteSavingObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/ProductProcessUrlRewriteSavingObserver.php @@ -14,26 +14,22 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\ProductProcessUrlRewriteSavingObserver * - * @since 2.0.0 */ class ProductProcessUrlRewriteSavingObserver implements ObserverInterface { /** * @var ProductUrlRewriteGenerator - * @since 2.0.0 */ private $productUrlRewriteGenerator; /** * @var UrlPersistInterface - * @since 2.0.0 */ private $urlPersist; /** * @param ProductUrlRewriteGenerator $productUrlRewriteGenerator * @param UrlPersistInterface $urlPersist - * @since 2.0.0 */ public function __construct( ProductUrlRewriteGenerator $productUrlRewriteGenerator, @@ -47,7 +43,6 @@ public function __construct( * Generate urls for UrlRewrite and save it in storage * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/ProductToWebsiteChangeObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/ProductToWebsiteChangeObserver.php index 5d9dbf47484d3..597403b7f312d 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/ProductToWebsiteChangeObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/ProductToWebsiteChangeObserver.php @@ -17,31 +17,26 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\ProductToWebsiteChangeObserver * - * @since 2.0.0 */ class ProductToWebsiteChangeObserver implements ObserverInterface { /** * @var ProductUrlRewriteGenerator - * @since 2.0.0 */ protected $productUrlRewriteGenerator; /** * @var UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var RequestInterface - * @since 2.0.0 */ protected $request; @@ -50,7 +45,6 @@ class ProductToWebsiteChangeObserver implements ObserverInterface * @param UrlPersistInterface $urlPersist * @param ProductRepositoryInterface $productRepository * @param RequestInterface $request - * @since 2.0.0 */ public function __construct( ProductUrlRewriteGenerator $productUrlRewriteGenerator, @@ -69,7 +63,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/ProductUrlKeyAutogeneratorObserver.php b/app/code/Magento/CatalogUrlRewrite/Observer/ProductUrlKeyAutogeneratorObserver.php index 6424740016a77..b0c4145a608ed 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/ProductUrlKeyAutogeneratorObserver.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/ProductUrlKeyAutogeneratorObserver.php @@ -13,19 +13,16 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\ProductUrlKeyAutogeneratorObserver * - * @since 2.0.0 */ class ProductUrlKeyAutogeneratorObserver implements ObserverInterface { /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator - * @since 2.0.0 */ protected $productUrlPathGenerator; /** * @param ProductUrlPathGenerator $productUrlPathGenerator - * @since 2.0.0 */ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator) { @@ -35,7 +32,6 @@ public function __construct(ProductUrlPathGenerator $productUrlPathGenerator) /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/CatalogUrlRewrite/Observer/UrlRewriteHandler.php b/app/code/Magento/CatalogUrlRewrite/Observer/UrlRewriteHandler.php index 452fc18ee7fea..6f271fdc05bff 100644 --- a/app/code/Magento/CatalogUrlRewrite/Observer/UrlRewriteHandler.php +++ b/app/code/Magento/CatalogUrlRewrite/Observer/UrlRewriteHandler.php @@ -8,43 +8,36 @@ /** * Class \Magento\CatalogUrlRewrite\Observer\UrlRewriteHandler * - * @since 2.0.0 */ class UrlRewriteHandler { /** * @var \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider - * @since 2.0.0 */ protected $childrenCategoriesProvider; /** * @var \Magento\CatalogUrlRewrite\Model\CategoryUrlRewriteGenerator - * @since 2.0.0 */ protected $categoryUrlRewriteGenerator; /** * @var \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator - * @since 2.0.0 */ protected $productUrlRewriteGenerator; /** * @var \Magento\UrlRewrite\Model\UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @var array - * @since 2.0.0 */ protected $isSkippedProduct; /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $productCollectionFactory; @@ -75,7 +68,6 @@ class UrlRewriteHandler * @param \Magento\CatalogUrlRewrite\Model\CategoryProductUrlPathGenerator $categoryBasedProductRewriteGenerator * @param \Magento\UrlRewrite\Model\MergeDataProviderFactory|null $mergeDataProviderFactory * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\CatalogUrlRewrite\Model\Category\ChildrenCategoriesProvider $childrenCategoriesProvider, @@ -112,7 +104,6 @@ public function __construct( * * @param \Magento\Catalog\Model\Category $category * @return array - * @since 2.0.0 */ public function generateProductUrlRewrites(\Magento\Catalog\Model\Category $category) { @@ -166,7 +157,6 @@ public function generateProductUrlRewrites(\Magento\Catalog\Model\Category $cate * @param bool $saveRewriteHistory * @param int|null $rootCategoryId * @return array - * @since 2.0.0 */ private function getCategoryProductsUrlRewrites( \Magento\Catalog\Model\Category $category, @@ -206,7 +196,6 @@ private function getCategoryProductsUrlRewrites( /** * @param \Magento\Catalog\Model\Category $category * @return void - * @since 2.0.0 */ public function deleteCategoryRewritesForChildren(\Magento\Catalog\Model\Category $category) { diff --git a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Category/Tab/Attributes.php b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Category/Tab/Attributes.php index 4613cf3afbd18..4c6de9c85a498 100644 --- a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Category/Tab/Attributes.php +++ b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Category/Tab/Attributes.php @@ -7,7 +7,6 @@ /** * Class Attributes - * @since 2.0.0 */ class Attributes { diff --git a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php index 81e23c43d372f..d918bb2e0651b 100644 --- a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php +++ b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php @@ -8,7 +8,6 @@ /** * Class \Magento\CatalogUrlRewrite\Plugin\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes * - * @since 2.0.0 */ class Attributes { @@ -16,7 +15,6 @@ class Attributes * @param \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes $subject * @param \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes $result * @return \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes - * @since 2.0.0 */ public function afterSetForm( \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes $subject, diff --git a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php index df541598d0c01..ca9e4ae7eadde 100644 --- a/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php +++ b/app/code/Magento/CatalogUrlRewrite/Plugin/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php @@ -8,19 +8,16 @@ /** * Class \Magento\CatalogUrlRewrite\Plugin\Catalog\Controller\Adminhtml\Product\Initialization\Helper * - * @since 2.0.0 */ class Helper { /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; /** * @param \Magento\Framework\App\RequestInterface $request - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request @@ -33,7 +30,6 @@ public function __construct( * @param \Magento\Catalog\Model\Product $result * @return \Magento\Catalog\Model\Product * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterInitialize( \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper $subject, diff --git a/app/code/Magento/CatalogUrlRewrite/Service/V1/StoreViewService.php b/app/code/Magento/CatalogUrlRewrite/Service/V1/StoreViewService.php index 52d164070014e..8d0d4cb1c9f49 100644 --- a/app/code/Magento/CatalogUrlRewrite/Service/V1/StoreViewService.php +++ b/app/code/Magento/CatalogUrlRewrite/Service/V1/StoreViewService.php @@ -12,19 +12,16 @@ /** * Store view service - * @since 2.0.0 */ class StoreViewService { /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; /** * @var \Magento\Framework\DB\Adapter\AdapterInterface - * @since 2.0.0 */ protected $connection; @@ -37,7 +34,6 @@ class StoreViewService /** * @param Config $eavConfig * @param \Magento\Framework\App\ResourceConnection $resource - * @since 2.0.0 */ public function __construct( Config $eavConfig, @@ -55,7 +51,6 @@ public function __construct( * @param string $entityType * @throws \InvalidArgumentException * @return bool - * @since 2.0.0 */ public function doesEntityHaveOverriddenUrlKeyForStore($storeId, $entityId, $entityType) { @@ -70,7 +65,6 @@ public function doesEntityHaveOverriddenUrlKeyForStore($storeId, $entityId, $ent * @param string $entityType * @throws \InvalidArgumentException * @return bool - * @since 2.0.0 */ public function doesEntityHaveOverriddenUrlPathForStore($storeId, $entityId, $entityType) { @@ -86,7 +80,6 @@ public function doesEntityHaveOverriddenUrlPathForStore($storeId, $entityId, $en * @param mixed $attributeName * @throws \InvalidArgumentException * @return bool - * @since 2.0.0 */ protected function doesEntityHaveOverriddenUrlAttributeForStore($storeId, $entityId, $entityType, $attributeName) { diff --git a/app/code/Magento/CatalogUrlRewrite/Setup/InstallData.php b/app/code/Magento/CatalogUrlRewrite/Setup/InstallData.php index 87c3db6c68aad..bbc5f497843b0 100644 --- a/app/code/Magento/CatalogUrlRewrite/Setup/InstallData.php +++ b/app/code/Magento/CatalogUrlRewrite/Setup/InstallData.php @@ -14,7 +14,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -22,7 +21,6 @@ class InstallData implements InstallDataInterface * EAV setup factory * * @var EavSetupFactory - * @since 2.0.0 */ private $eavSetupFactory; @@ -30,7 +28,6 @@ class InstallData implements InstallDataInterface * Init * * @param EavSetupFactory $eavSetupFactory - * @since 2.0.0 */ public function __construct(EavSetupFactory $eavSetupFactory) { @@ -39,7 +36,6 @@ public function __construct(EavSetupFactory $eavSetupFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogUrlRewrite/Setup/InstallSchema.php b/app/code/Magento/CatalogUrlRewrite/Setup/InstallSchema.php index 23900b93dcce2..44ccdab247a9e 100644 --- a/app/code/Magento/CatalogUrlRewrite/Setup/InstallSchema.php +++ b/app/code/Magento/CatalogUrlRewrite/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CatalogWidget/Block/Product/ProductsList.php b/app/code/Magento/CatalogWidget/Block/Product/ProductsList.php index d33839a1b1d61..2116fc846d0a6 100644 --- a/app/code/Magento/CatalogWidget/Block/Product/ProductsList.php +++ b/app/code/Magento/CatalogWidget/Block/Product/ProductsList.php @@ -16,7 +16,6 @@ * Catalog Products List widget block * Class ProductsList * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ProductsList extends \Magento\Catalog\Block\Product\AbstractProduct implements BlockInterface, IdentityInterface { @@ -46,13 +45,11 @@ class ProductsList extends \Magento\Catalog\Block\Product\AbstractProduct implem * Instance of pager block * * @var \Magento\Catalog\Block\Product\Widget\Html\Pager - * @since 2.0.0 */ protected $pager; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -60,7 +57,6 @@ class ProductsList extends \Magento\Catalog\Block\Product\AbstractProduct implem * Catalog product visibility * * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $catalogProductVisibility; @@ -68,25 +64,21 @@ class ProductsList extends \Magento\Catalog\Block\Product\AbstractProduct implem * Product collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $productCollectionFactory; /** * @var \Magento\Rule\Model\Condition\Sql\Builder - * @since 2.0.0 */ protected $sqlBuilder; /** * @var \Magento\CatalogWidget\Model\Rule - * @since 2.0.0 */ protected $rule; /** * @var \Magento\Widget\Helper\Conditions - * @since 2.0.0 */ protected $conditionsHelper; @@ -114,7 +106,6 @@ class ProductsList extends \Magento\Catalog\Block\Product\AbstractProduct implem * @param \Magento\Widget\Helper\Conditions $conditionsHelper * @param array $data * @param Json|null $json - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -142,7 +133,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -163,7 +153,6 @@ protected function _construct() * Get key pieces for caching block content * * @return array - * @since 2.0.0 */ public function getCacheKeyInfo() { @@ -187,7 +176,6 @@ public function getCacheKeyInfo() /** * {@inheritdoc} * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getProductPriceHtml( \Magento\Catalog\Model\Product $product, @@ -224,7 +212,6 @@ public function getProductPriceHtml( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -236,7 +223,6 @@ protected function _beforeToHtml() * Prepare and return product collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Collection - * @since 2.0.0 */ public function createCollection() { @@ -264,7 +250,6 @@ public function createCollection() /** * @return \Magento\Rule\Model\Condition\Combine - * @since 2.0.0 */ protected function getConditions() { @@ -284,7 +269,6 @@ protected function getConditions() * Retrieve how many products should be displayed * * @return int - * @since 2.0.0 */ public function getProductsCount() { @@ -303,7 +287,6 @@ public function getProductsCount() * Retrieve how many products should be displayed * * @return int - * @since 2.0.0 */ public function getProductsPerPage() { @@ -317,7 +300,6 @@ public function getProductsPerPage() * Return flag whether pager need to be shown or not * * @return bool - * @since 2.0.0 */ public function showPager() { @@ -331,7 +313,6 @@ public function showPager() * Retrieve how many products should be displayed on page * * @return int - * @since 2.0.0 */ protected function getPageSize() { @@ -342,7 +323,6 @@ protected function getPageSize() * Render pagination HTML * * @return string - * @since 2.0.0 */ public function getPagerHtml() { @@ -372,7 +352,6 @@ public function getPagerHtml() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -392,7 +371,6 @@ public function getIdentities() * Get value of widgets' title parameter * * @return mixed|string - * @since 2.0.0 */ public function getTitle() { diff --git a/app/code/Magento/CatalogWidget/Block/Product/Widget/Conditions.php b/app/code/Magento/CatalogWidget/Block/Product/Widget/Conditions.php index a387fc75fcc8a..04ae7c6a2d750 100644 --- a/app/code/Magento/CatalogWidget/Block/Product/Widget/Conditions.php +++ b/app/code/Magento/CatalogWidget/Block/Product/Widget/Conditions.php @@ -15,49 +15,41 @@ /** * Class Conditions - * @since 2.0.0 */ class Conditions extends Template implements RendererInterface { /** * @var \Magento\Rule\Block\Conditions - * @since 2.0.0 */ protected $conditions; /** * @var \Magento\CatalogWidget\Model\Rule - * @since 2.0.0 */ protected $rule; /** * @var \Magento\Framework\Data\Form\Element\Factory - * @since 2.0.0 */ protected $elementFactory; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var AbstractElement - * @since 2.0.0 */ protected $element; /** * @var \Magento\Framework\Data\Form\Element\Text - * @since 2.0.0 */ protected $input; /** * @var string - * @since 2.0.0 */ protected $_template = 'product/widget/conditions.phtml'; @@ -68,7 +60,6 @@ class Conditions extends Template implements RendererInterface * @param \Magento\Framework\Registry $registry * @param \Magento\Backend\Block\Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -87,7 +78,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -106,7 +96,6 @@ protected function _construct() /** * {@inheritdoc} - * @since 2.0.0 */ public function render(AbstractElement $element) { @@ -117,7 +106,6 @@ public function render(AbstractElement $element) /** * @return string - * @since 2.0.0 */ public function getNewChildUrl() { @@ -128,7 +116,6 @@ public function getNewChildUrl() /** * @return AbstractElement - * @since 2.0.0 */ public function getElement() { @@ -137,7 +124,6 @@ public function getElement() /** * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -146,7 +132,6 @@ public function getHtmlId() /** * @return string - * @since 2.0.0 */ public function getInputHtml() { diff --git a/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget.php b/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget.php index eb06f6ab9330e..35c990749aeb2 100644 --- a/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget.php +++ b/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget.php @@ -9,7 +9,6 @@ /** * Class Widget - * @since 2.0.0 */ abstract class Widget extends Action { diff --git a/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget/Conditions.php b/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget/Conditions.php index 1cedc17c3d21d..11aada8588f1c 100644 --- a/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget/Conditions.php +++ b/app/code/Magento/CatalogWidget/Controller/Adminhtml/Product/Widget/Conditions.php @@ -9,20 +9,17 @@ /** * Class Conditions - * @since 2.0.0 */ class Conditions extends \Magento\CatalogWidget\Controller\Adminhtml\Product\Widget { /** * @var \Magento\CatalogWidget\Model\Rule - * @since 2.0.0 */ protected $rule; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\CatalogWidget\Model\Rule $rule - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -34,7 +31,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CatalogWidget/Model/Rule.php b/app/code/Magento/CatalogWidget/Model/Rule.php index a6bfc4eb39490..9523177ec2ee7 100644 --- a/app/code/Magento/CatalogWidget/Model/Rule.php +++ b/app/code/Magento/CatalogWidget/Model/Rule.php @@ -12,13 +12,11 @@ * Rule for catalog widget * * @api - * @since 2.0.0 */ class Rule extends \Magento\Rule\Model\AbstractModel { /** * @var Rule\Condition\CombineFactory - * @since 2.0.0 */ protected $conditionsFactory; @@ -38,7 +36,6 @@ class Rule extends \Magento\Rule\Model\AbstractModel * * @param \Magento\Framework\Serialize\Serializer\Json $serializer * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -70,7 +67,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConditionsInstance() { @@ -79,7 +75,6 @@ public function getConditionsInstance() /** * {@inheritdoc} - * @since 2.0.0 */ public function getActionsInstance() { diff --git a/app/code/Magento/CatalogWidget/Model/Rule/Condition/Combine.php b/app/code/Magento/CatalogWidget/Model/Rule/Condition/Combine.php index ee466910f0e40..0691d658f31f4 100644 --- a/app/code/Magento/CatalogWidget/Model/Rule/Condition/Combine.php +++ b/app/code/Magento/CatalogWidget/Model/Rule/Condition/Combine.php @@ -7,19 +7,16 @@ /** * Combination of product conditions - * @since 2.0.0 */ class Combine extends \Magento\Rule\Model\Condition\Combine { /** * @var \Magento\CatalogWidget\Model\Rule\Condition\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * {@inheritdoc} - * @since 2.0.0 */ protected $elementName = 'parameters'; @@ -34,7 +31,6 @@ class Combine extends \Magento\Rule\Model\Condition\Combine * @param \Magento\CatalogWidget\Model\Rule\Condition\ProductFactory $conditionFactory * @param array $data * @param array $excludedAttributes - * @since 2.0.0 */ public function __construct( \Magento\Rule\Model\Condition\Context $context, @@ -50,7 +46,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getNewChildSelectOptions() { @@ -83,7 +78,6 @@ public function getNewChildSelectOptions() * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $productCollection * @return $this - * @since 2.0.0 */ public function collectValidatedAttributes($productCollection) { diff --git a/app/code/Magento/CatalogWidget/Model/Rule/Condition/Product.php b/app/code/Magento/CatalogWidget/Model/Rule/Condition/Product.php index 14c56744ff619..f190dd075dd61 100644 --- a/app/code/Magento/CatalogWidget/Model/Rule/Condition/Product.php +++ b/app/code/Magento/CatalogWidget/Model/Rule/Condition/Product.php @@ -14,19 +14,16 @@ /** * Class Product * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct { /** * {@inheritdoc} - * @since 2.0.0 */ protected $elementName = 'parameters'; /** * @var array - * @since 2.0.0 */ protected $joinedAttributes = []; @@ -34,7 +31,6 @@ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -51,7 +47,6 @@ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct * @param array $data * @param ProductCategoryList $categoryList * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Rule\Model\Condition\Context $context, @@ -83,7 +78,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function loadAttributeOptions() { @@ -107,7 +101,6 @@ public function loadAttributeOptions() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _addSpecialAttributes(array &$attributes) { @@ -120,7 +113,6 @@ protected function _addSpecialAttributes(array &$attributes) * * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return $this - * @since 2.0.0 */ public function addToCollection($collection) { @@ -153,7 +145,6 @@ public function addToCollection($collection) * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return $this - * @since 2.0.0 */ protected function addGlobalAttribute( \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute, @@ -187,7 +178,6 @@ protected function addGlobalAttribute( * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @return $this - * @since 2.0.0 */ protected function addNotGlobalAttribute( \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute, @@ -222,7 +212,6 @@ protected function addNotGlobalAttribute( /** * {@inheritdoc} - * @since 2.0.0 */ public function getMappedSqlField() { diff --git a/app/code/Magento/Checkout/Api/AgreementsValidatorInterface.php b/app/code/Magento/Checkout/Api/AgreementsValidatorInterface.php index 18d3897aa64ee..d97492f31a79d 100644 --- a/app/code/Magento/Checkout/Api/AgreementsValidatorInterface.php +++ b/app/code/Magento/Checkout/Api/AgreementsValidatorInterface.php @@ -8,14 +8,12 @@ /** * Interface AgreementsValidatorInterface * @api - * @since 2.0.0 */ interface AgreementsValidatorInterface { /** * @param array $agreementIds * @return bool - * @since 2.0.0 */ public function isValid($agreementIds = []); } diff --git a/app/code/Magento/Checkout/Api/Data/PaymentDetailsInterface.php b/app/code/Magento/Checkout/Api/Data/PaymentDetailsInterface.php index 4ee29f065f536..45e885d0dbd46 100644 --- a/app/code/Magento/Checkout/Api/Data/PaymentDetailsInterface.php +++ b/app/code/Magento/Checkout/Api/Data/PaymentDetailsInterface.php @@ -8,7 +8,6 @@ /** * Interface PaymentDetailsInterface * @api - * @since 2.0.0 */ interface PaymentDetailsInterface { @@ -23,27 +22,23 @@ interface PaymentDetailsInterface /** * @return \Magento\Quote\Api\Data\PaymentMethodInterface[] - * @since 2.0.0 */ public function getPaymentMethods(); /** * @param \Magento\Quote\Api\Data\PaymentMethodInterface[] $paymentMethods * @return $this - * @since 2.0.0 */ public function setPaymentMethods($paymentMethods); /** * @return \Magento\Quote\Api\Data\TotalsInterface - * @since 2.0.0 */ public function getTotals(); /** * @param \Magento\Quote\Api\Data\TotalsInterface $totals * @return $this - * @since 2.0.0 */ public function setTotals($totals); @@ -51,7 +46,6 @@ public function setTotals($totals); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -60,7 +54,6 @@ public function getExtensionAttributes(); * * @param \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Api/Data/ShippingInformationInterface.php b/app/code/Magento/Checkout/Api/Data/ShippingInformationInterface.php index 62842e01b28f3..e4032066a6f10 100644 --- a/app/code/Magento/Checkout/Api/Data/ShippingInformationInterface.php +++ b/app/code/Magento/Checkout/Api/Data/ShippingInformationInterface.php @@ -8,7 +8,6 @@ /** * Interface ShippingInformationInterface * @api - * @since 2.0.0 */ interface ShippingInformationInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -29,7 +28,6 @@ interface ShippingInformationInterface extends \Magento\Framework\Api\CustomAttr * Returns shipping address * * @return \Magento\Quote\Api\Data\AddressInterface - * @since 2.0.0 */ public function getShippingAddress(); @@ -38,7 +36,6 @@ public function getShippingAddress(); * * @param \Magento\Quote\Api\Data\AddressInterface $address * @return $this - * @since 2.0.0 */ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $address); @@ -46,7 +43,6 @@ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $add * Returns billing address * * @return \Magento\Quote\Api\Data\AddressInterface|null - * @since 2.0.0 */ public function getBillingAddress(); @@ -55,7 +51,6 @@ public function getBillingAddress(); * * @param \Magento\Quote\Api\Data\AddressInterface $address * @return $this - * @since 2.0.0 */ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $address); @@ -63,7 +58,6 @@ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $addr * Returns shipping method code * * @return string - * @since 2.0.0 */ public function getShippingMethodCode(); @@ -72,7 +66,6 @@ public function getShippingMethodCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setShippingMethodCode($code); @@ -80,7 +73,6 @@ public function setShippingMethodCode($code); * Returns carrier code * * @return string - * @since 2.0.0 */ public function getShippingCarrierCode(); @@ -89,7 +81,6 @@ public function getShippingCarrierCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setShippingCarrierCode($code); @@ -97,7 +88,6 @@ public function setShippingCarrierCode($code); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Checkout\Api\Data\ShippingInformationExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -106,7 +96,6 @@ public function getExtensionAttributes(); * * @param \Magento\Checkout\Api\Data\ShippingInformationExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\ShippingInformationExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Api/Data/TotalsInformationInterface.php b/app/code/Magento/Checkout/Api/Data/TotalsInformationInterface.php index 4b961197ea648..a9dd05856b72f 100644 --- a/app/code/Magento/Checkout/Api/Data/TotalsInformationInterface.php +++ b/app/code/Magento/Checkout/Api/Data/TotalsInformationInterface.php @@ -8,7 +8,6 @@ /** * Interface TotalsInformationInterface * @api - * @since 2.0.0 */ interface TotalsInformationInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -27,7 +26,6 @@ interface TotalsInformationInterface extends \Magento\Framework\Api\CustomAttrib * Returns address * * @return \Magento\Quote\Api\Data\AddressInterface - * @since 2.0.0 */ public function getAddress(); @@ -36,7 +34,6 @@ public function getAddress(); * * @param \Magento\Quote\Api\Data\AddressInterface $address * @return $this - * @since 2.0.0 */ public function setAddress(\Magento\Quote\Api\Data\AddressInterface $address); @@ -44,7 +41,6 @@ public function setAddress(\Magento\Quote\Api\Data\AddressInterface $address); * Returns shipping method code * * @return string|null - * @since 2.0.0 */ public function getShippingMethodCode(); @@ -53,7 +49,6 @@ public function getShippingMethodCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setShippingMethodCode($code); @@ -61,7 +56,6 @@ public function setShippingMethodCode($code); * Returns carrier code * * @return string|null - * @since 2.0.0 */ public function getShippingCarrierCode(); @@ -70,7 +64,6 @@ public function getShippingCarrierCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setShippingCarrierCode($code); @@ -78,7 +71,6 @@ public function setShippingCarrierCode($code); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Checkout\Api\Data\TotalsInformationExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -87,7 +79,6 @@ public function getExtensionAttributes(); * * @param \Magento\Checkout\Api\Data\TotalsInformationExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\TotalsInformationExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Api/GuestPaymentInformationManagementInterface.php b/app/code/Magento/Checkout/Api/GuestPaymentInformationManagementInterface.php index 97f51608633ef..63296081ab97c 100644 --- a/app/code/Magento/Checkout/Api/GuestPaymentInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/GuestPaymentInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing guest payment information * @api - * @since 2.0.0 */ interface GuestPaymentInformationManagementInterface { @@ -21,7 +20,6 @@ interface GuestPaymentInformationManagementInterface * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @throws \Magento\Framework\Exception\CouldNotSaveException * @return int Order ID. - * @since 2.0.0 */ public function savePaymentInformationAndPlaceOrder( $cartId, @@ -39,7 +37,6 @@ public function savePaymentInformationAndPlaceOrder( * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @throws \Magento\Framework\Exception\CouldNotSaveException * @return int Order ID. - * @since 2.0.0 */ public function savePaymentInformation( $cartId, @@ -53,7 +50,6 @@ public function savePaymentInformation( * * @param string $cartId * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface - * @since 2.0.0 */ public function getPaymentInformation($cartId); } diff --git a/app/code/Magento/Checkout/Api/GuestShippingInformationManagementInterface.php b/app/code/Magento/Checkout/Api/GuestShippingInformationManagementInterface.php index f751b0fc918b8..def7442ad4672 100644 --- a/app/code/Magento/Checkout/Api/GuestShippingInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/GuestShippingInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing guest shipping address information * @api - * @since 2.0.0 */ interface GuestShippingInformationManagementInterface { @@ -16,7 +15,6 @@ interface GuestShippingInformationManagementInterface * @param string $cartId * @param \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface - * @since 2.0.0 */ public function saveAddressInformation( $cartId, diff --git a/app/code/Magento/Checkout/Api/GuestTotalsInformationManagementInterface.php b/app/code/Magento/Checkout/Api/GuestTotalsInformationManagementInterface.php index d45b4d497ddbd..d2d7dfad609cb 100644 --- a/app/code/Magento/Checkout/Api/GuestTotalsInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/GuestTotalsInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for guest quote totals calculation * @api - * @since 2.0.0 */ interface GuestTotalsInformationManagementInterface { @@ -18,7 +17,6 @@ interface GuestTotalsInformationManagementInterface * @param string $cartId * @param \Magento\Checkout\Api\Data\TotalsInformationInterface $addressInformation * @return \Magento\Quote\Api\Data\TotalsInterface - * @since 2.0.0 */ public function calculate( $cartId, diff --git a/app/code/Magento/Checkout/Api/PaymentInformationManagementInterface.php b/app/code/Magento/Checkout/Api/PaymentInformationManagementInterface.php index 785e675a34f52..f80deca1acc5a 100644 --- a/app/code/Magento/Checkout/Api/PaymentInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/PaymentInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing quote payment information * @api - * @since 2.0.0 */ interface PaymentInformationManagementInterface { @@ -20,7 +19,6 @@ interface PaymentInformationManagementInterface * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @throws \Magento\Framework\Exception\CouldNotSaveException * @return int Order ID. - * @since 2.0.0 */ public function savePaymentInformationAndPlaceOrder( $cartId, @@ -36,7 +34,6 @@ public function savePaymentInformationAndPlaceOrder( * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @throws \Magento\Framework\Exception\CouldNotSaveException * @return int Order ID. - * @since 2.0.0 */ public function savePaymentInformation( $cartId, @@ -49,7 +46,6 @@ public function savePaymentInformation( * * @param int $cartId * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface - * @since 2.0.0 */ public function getPaymentInformation($cartId); } diff --git a/app/code/Magento/Checkout/Api/ShippingInformationManagementInterface.php b/app/code/Magento/Checkout/Api/ShippingInformationManagementInterface.php index 4178902b41a78..0d22e1485c099 100644 --- a/app/code/Magento/Checkout/Api/ShippingInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/ShippingInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing customer shipping address information * @api - * @since 2.0.0 */ interface ShippingInformationManagementInterface { @@ -16,7 +15,6 @@ interface ShippingInformationManagementInterface * @param int $cartId * @param \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface - * @since 2.0.0 */ public function saveAddressInformation( $cartId, diff --git a/app/code/Magento/Checkout/Api/TotalsInformationManagementInterface.php b/app/code/Magento/Checkout/Api/TotalsInformationManagementInterface.php index c35507a00b521..60fd254eb199e 100644 --- a/app/code/Magento/Checkout/Api/TotalsInformationManagementInterface.php +++ b/app/code/Magento/Checkout/Api/TotalsInformationManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for quote totals calculation * @api - * @since 2.0.0 */ interface TotalsInformationManagementInterface { @@ -18,7 +17,6 @@ interface TotalsInformationManagementInterface * @param int $cartId * @param \Magento\Checkout\Api\Data\TotalsInformationInterface $addressInformation * @return \Magento\Quote\Api\Data\TotalsInterface - * @since 2.0.0 */ public function calculate( $cartId, diff --git a/app/code/Magento/Checkout/Block/Adminhtml/CartTab.php b/app/code/Magento/Checkout/Block/Adminhtml/CartTab.php index 0e32f1bed95c1..9164a9fd9963b 100644 --- a/app/code/Magento/Checkout/Block/Adminhtml/CartTab.php +++ b/app/code/Magento/Checkout/Block/Adminhtml/CartTab.php @@ -15,7 +15,6 @@ * * @package Magento\Checkout\Block\Adminhtml * @codeCoverageIgnore - * @since 2.0.0 */ class CartTab extends TabWrapper { @@ -23,13 +22,11 @@ class CartTab extends TabWrapper * Core registry * * @var Registry - * @since 2.0.0 */ protected $coreRegistry = null; /** * @var bool - * @since 2.0.0 */ protected $isAjaxLoaded = true; @@ -39,7 +36,6 @@ class CartTab extends TabWrapper * @param Context $context * @param Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct(Context $context, Registry $registry, array $data = []) { @@ -49,7 +45,6 @@ public function __construct(Context $context, Registry $registry, array $data = /** * @inheritdoc - * @since 2.0.0 */ public function canShowTab() { @@ -60,7 +55,6 @@ public function canShowTab() * Return Tab label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -71,7 +65,6 @@ public function getTabLabel() * Return URL link to Tab content * * @return string - * @since 2.0.0 */ public function getTabUrl() { diff --git a/app/code/Magento/Checkout/Block/Cart.php b/app/code/Magento/Checkout/Block/Cart.php index 0cdd9f71405be..c348bd62f1c64 100644 --- a/app/code/Magento/Checkout/Block/Cart.php +++ b/app/code/Magento/Checkout/Block/Cart.php @@ -11,25 +11,21 @@ * Shopping cart block * * @api - * @since 2.0.0 */ class Cart extends \Magento\Checkout\Block\Cart\AbstractCart { /** * @var \Magento\Catalog\Model\ResourceModel\Url - * @since 2.0.0 */ protected $_catalogUrlBuilder; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $_cartHelper; @@ -42,7 +38,6 @@ class Cart extends \Magento\Checkout\Block\Cart\AbstractCart * @param \Magento\Framework\App\Http\Context $httpContext * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -65,7 +60,6 @@ public function __construct( * * @codeCoverageIgnore * @return void - * @since 2.0.0 */ protected function _construct() { @@ -78,7 +72,6 @@ protected function _construct() * * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function prepareItemUrls() { @@ -119,7 +112,6 @@ public function prepareItemUrls() /** * @codeCoverageIgnore * @return bool - * @since 2.0.0 */ public function hasError() { @@ -129,7 +121,6 @@ public function hasError() /** * @codeCoverageIgnore * @return int - * @since 2.0.0 */ public function getItemsSummaryQty() { @@ -139,7 +130,6 @@ public function getItemsSummaryQty() /** * @codeCoverageIgnore * @return bool - * @since 2.0.0 */ public function isWishlistActive() { @@ -159,7 +149,6 @@ public function isWishlistActive() /** * @codeCoverageIgnore * @return string - * @since 2.0.0 */ public function getCheckoutUrl() { @@ -168,7 +157,6 @@ public function getCheckoutUrl() /** * @return string - * @since 2.0.0 */ public function getContinueShoppingUrl() { @@ -187,7 +175,6 @@ public function getContinueShoppingUrl() * @return bool * @codeCoverageIgnore * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsVirtual() { @@ -199,7 +186,6 @@ public function getIsVirtual() * * @param string $alias Container block alias in layout * @return array - * @since 2.0.0 */ public function getMethods($alias) { @@ -216,7 +202,6 @@ public function getMethods($alias) * @param string $name Block name in layout * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getMethodHtml($name) { @@ -231,7 +216,6 @@ public function getMethodHtml($name) * Return customer quote items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -245,7 +229,6 @@ public function getItems() /** * @codeCoverageIgnore * @return int - * @since 2.0.0 */ public function getItemsCount() { diff --git a/app/code/Magento/Checkout/Block/Cart/AbstractCart.php b/app/code/Magento/Checkout/Block/Cart/AbstractCart.php index 0ba13fa015a9f..f5adf416e9a27 100644 --- a/app/code/Magento/Checkout/Block/Cart/AbstractCart.php +++ b/app/code/Magento/Checkout/Block/Cart/AbstractCart.php @@ -9,7 +9,6 @@ /** * Shopping cart abstract block - * @since 2.0.0 */ class AbstractCart extends \Magento\Framework\View\Element\Template { @@ -20,19 +19,16 @@ class AbstractCart extends \Magento\Framework\View\Element\Template /** * @var Quote|null - * @since 2.0.0 */ protected $_quote = null; /** * @var array - * @since 2.0.0 */ protected $_totals; /** * @var array - * @since 2.0.0 */ protected $_itemRenders = []; @@ -40,13 +36,11 @@ class AbstractCart extends \Magento\Framework\View\Element\Template * TODO: MAGETWO-34827: unused object? * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -56,7 +50,6 @@ class AbstractCart extends \Magento\Framework\View\Element\Template * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -74,7 +67,6 @@ public function __construct( * Retrieve renderer list * * @return \Magento\Framework\View\Element\RendererList - * @since 2.0.0 */ protected function _getRendererList() { @@ -91,7 +83,6 @@ protected function _getRendererList() * @param string|null $type * @return \Magento\Framework\View\Element\Template * @throws \RuntimeException - * @since 2.0.0 */ public function getItemRenderer($type = null) { @@ -111,7 +102,6 @@ public function getItemRenderer($type = null) * Get active quote * * @return Quote - * @since 2.0.0 */ public function getQuote() { @@ -126,7 +116,6 @@ public function getQuote() * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getItems() { @@ -138,7 +127,6 @@ public function getItems() * * @param \Magento\Quote\Model\Quote\Item $item * @return string - * @since 2.0.0 */ public function getItemHtml(\Magento\Quote\Model\Quote\Item $item) { @@ -149,7 +137,6 @@ public function getItemHtml(\Magento\Quote\Model\Quote\Item $item) /** * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getTotals() { @@ -158,7 +145,6 @@ public function getTotals() /** * @return array - * @since 2.0.0 */ public function getTotalsCache() { diff --git a/app/code/Magento/Checkout/Block/Cart/Additional/Info.php b/app/code/Magento/Checkout/Block/Cart/Additional/Info.php index 5461f0031c38a..196992cbaf9c8 100644 --- a/app/code/Magento/Checkout/Block/Cart/Additional/Info.php +++ b/app/code/Magento/Checkout/Block/Cart/Additional/Info.php @@ -8,13 +8,11 @@ /** * @api - * @since 2.0.0 */ class Info extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Quote\Model\Quote\Item\AbstractItem - * @since 2.0.0 */ protected $_item; @@ -22,7 +20,6 @@ class Info extends \Magento\Framework\View\Element\Template * @param \Magento\Quote\Model\Quote\Item\AbstractItem $item * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setItem(\Magento\Quote\Model\Quote\Item\AbstractItem $item) { @@ -33,7 +30,6 @@ public function setItem(\Magento\Quote\Model\Quote\Item\AbstractItem $item) /** * @return \Magento\Quote\Model\Quote\Item\AbstractItem * @codeCoverageIgnore - * @since 2.0.0 */ public function getItem() { diff --git a/app/code/Magento/Checkout/Block/Cart/CartTotalsProcessor.php b/app/code/Magento/Checkout/Block/Cart/CartTotalsProcessor.php index 3613240789dfd..f798f1891b2fc 100644 --- a/app/code/Magento/Checkout/Block/Cart/CartTotalsProcessor.php +++ b/app/code/Magento/Checkout/Block/Cart/CartTotalsProcessor.php @@ -11,13 +11,11 @@ /** * Class \Magento\Checkout\Block\Cart\CartTotalsProcessor * - * @since 2.0.0 */ class CartTotalsProcessor extends AbstractTotalsProcessor implements LayoutProcessorInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function process($jsLayout) { diff --git a/app/code/Magento/Checkout/Block/Cart/Coupon.php b/app/code/Magento/Checkout/Block/Cart/Coupon.php index 0afb7f40d3831..e485eaf64c832 100644 --- a/app/code/Magento/Checkout/Block/Cart/Coupon.php +++ b/app/code/Magento/Checkout/Block/Cart/Coupon.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Coupon extends \Magento\Checkout\Block\Cart\AbstractCart { @@ -17,7 +16,6 @@ class Coupon extends \Magento\Checkout\Block\Cart\AbstractCart * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -32,7 +30,6 @@ public function __construct( /** * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getCouponCode() { diff --git a/app/code/Magento/Checkout/Block/Cart/Crosssell.php b/app/code/Magento/Checkout/Block/Cart/Crosssell.php index 9c9fe48ac4ab8..06be50d05aefc 100644 --- a/app/code/Magento/Checkout/Block/Cart/Crosssell.php +++ b/app/code/Magento/Checkout/Block/Cart/Crosssell.php @@ -12,7 +12,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct { @@ -20,37 +19,31 @@ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct * Items quantity will be capped to this value * * @var int - * @since 2.0.0 */ protected $_maxItemCount = 4; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Catalog\Model\Product\Visibility - * @since 2.0.0 */ protected $_productVisibility; /** * @var StockHelper - * @since 2.0.0 */ protected $stockHelper; /** * @var \Magento\Catalog\Model\Product\LinkFactory - * @since 2.0.0 */ protected $_productLinkFactory; /** * @var \Magento\Quote\Model\Quote\Item\RelatedProducts - * @since 2.0.0 */ protected $_itemRelationsList; @@ -65,7 +58,6 @@ class Crosssell extends \Magento\Catalog\Block\Product\AbstractProduct * * @codeCoverageIgnore * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -92,7 +84,6 @@ public function __construct( * Get crosssell items * * @return array - * @since 2.0.0 */ public function getItems() { @@ -143,7 +134,6 @@ public function getItems() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemCount() { @@ -154,7 +144,6 @@ public function getItemCount() * Get ids of products that are in cart * * @return array - * @since 2.0.0 */ protected function _getCartProductIds() { @@ -177,7 +166,6 @@ protected function _getCartProductIds() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getLastAddedProductId() { @@ -189,7 +177,6 @@ protected function _getLastAddedProductId() * * @return \Magento\Quote\Model\Quote * @codeCoverageIgnore - * @since 2.0.0 */ public function getQuote() { @@ -200,7 +187,6 @@ public function getQuote() * Get crosssell products collection * * @return \Magento\Catalog\Model\ResourceModel\Product\Link\Product\Collection - * @since 2.0.0 */ protected function _getCollection() { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Configure.php b/app/code/Magento/Checkout/Block/Cart/Item/Configure.php index c5ccfd3f51787..086518a312f71 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Configure.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Configure.php @@ -11,7 +11,6 @@ * * @api * @module Checkout - * @since 2.0.0 */ class Configure extends \Magento\Framework\View\Element\Template { @@ -19,7 +18,6 @@ class Configure extends \Magento\Framework\View\Element\Template * Configure product view blocks * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php index 4ef3ca2cf583a..57ca4b7b2e606 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer.php @@ -21,26 +21,22 @@ * @method \Magento\Checkout\Block\Cart\Item\Renderer setProductName(string) * @method \Magento\Checkout\Block\Cart\Item\Renderer setDeleteUrl(string) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Renderer extends \Magento\Framework\View\Element\Template implements \Magento\Framework\DataObject\IdentityInterface { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var AbstractItem - * @since 2.0.0 */ protected $_item; /** * @var string - * @since 2.0.0 */ protected $_productUrl; @@ -48,7 +44,6 @@ class Renderer extends \Magento\Framework\View\Element\Template implements * Whether qty will be converted to number * * @var bool - * @since 2.0.0 */ protected $_strictQtyMode = true; @@ -56,7 +51,6 @@ class Renderer extends \Magento\Framework\View\Element\Template implements * Check, whether product URL rendering should be ignored * * @var bool - * @since 2.0.0 */ protected $_ignoreProductUrl = false; @@ -64,43 +58,36 @@ class Renderer extends \Magento\Framework\View\Element\Template implements * Catalog product configuration * * @var \Magento\Catalog\Helper\Product\Configuration - * @since 2.0.0 */ protected $_productConfig = null; /** * @var \Magento\Framework\Url\Helper\Data - * @since 2.0.0 */ protected $_urlHelper; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Catalog\Block\Product\ImageBuilder - * @since 2.0.0 */ protected $imageBuilder; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ public $moduleManager; /** * @var InterpretationStrategyInterface - * @since 2.0.0 */ private $messageInterpretationStrategy; @@ -117,7 +104,6 @@ class Renderer extends \Magento\Framework\View\Element\Template implements * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -149,7 +135,6 @@ public function __construct( * @param AbstractItem $item * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setItem(AbstractItem $item) { @@ -162,7 +147,6 @@ public function setItem(AbstractItem $item) * * @return AbstractItem * @codeCoverageIgnore - * @since 2.0.0 */ public function getItem() { @@ -174,7 +158,6 @@ public function getItem() * * @return \Magento\Catalog\Model\Product * @codeCoverageIgnore - * @since 2.0.0 */ public function getProduct() { @@ -186,7 +169,6 @@ public function getProduct() * * @return \Magento\Catalog\Model\Product * @codeCoverageIgnore - * @since 2.0.0 */ public function getProductForThumbnail() { @@ -197,7 +179,6 @@ public function getProductForThumbnail() * @param string $productUrl * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function overrideProductUrl($productUrl) { @@ -209,7 +190,6 @@ public function overrideProductUrl($productUrl) * Check Product has URL * * @return bool - * @since 2.0.0 */ public function hasProductUrl() { @@ -244,7 +224,6 @@ public function hasProductUrl() * Retrieve URL to item Product * * @return string - * @since 2.0.0 */ public function getProductUrl() { @@ -268,7 +247,6 @@ public function getProductUrl() * Get item product name * * @return string - * @since 2.0.0 */ public function getProductName() { @@ -282,7 +260,6 @@ public function getProductName() * Get product customize options * * @return array - * @since 2.0.0 */ public function getProductOptions() { @@ -296,7 +273,6 @@ public function getProductOptions() * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getOptionList() { @@ -307,7 +283,6 @@ public function getOptionList() * Get quote item qty * * @return float|int - * @since 2.0.0 */ public function getQty() { @@ -322,7 +297,6 @@ public function getQty() * * @return \Magento\Checkout\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckoutSession() { @@ -337,7 +311,6 @@ public function getCheckoutSession() * type => type of a message * * @return array - * @since 2.0.0 */ public function getMessages() { @@ -388,7 +361,6 @@ public function getMessages() * ) * * @return array - * @since 2.0.0 */ public function getFormatedOptionValue($optionValue) { @@ -406,7 +378,6 @@ public function getFormatedOptionValue($optionValue) * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function isProductVisible() { @@ -418,7 +389,6 @@ public function isProductVisible() * * @return AbstractBlock * @codeCoverageIgnore - * @since 2.0.0 */ public function getProductAdditionalInformationBlock() { @@ -431,7 +401,6 @@ public function getProductAdditionalInformationBlock() * @param bool $strict * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setQtyMode($strict) { @@ -445,7 +414,6 @@ public function setQtyMode($strict) * @param bool $ignore * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setIgnoreProductUrl($ignore = true) { @@ -457,7 +425,6 @@ public function setIgnoreProductUrl($ignore = true) * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -473,7 +440,6 @@ public function getIdentities() * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getProductPriceHtml(\Magento\Catalog\Model\Product $product) { @@ -499,7 +465,6 @@ public function getProductPriceHtml(\Magento\Catalog\Model\Product $product) /** * @return \Magento\Framework\Pricing\Render * @codeCoverageIgnore - * @since 2.0.0 */ protected function getPriceRender() { @@ -512,7 +477,6 @@ protected function getPriceRender() * @param float $amount * @param bool $format * @return float - * @since 2.0.0 */ public function convertPrice($amount, $format = false) { @@ -526,7 +490,6 @@ public function convertPrice($amount, $format = false) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getUnitPriceHtml(AbstractItem $item) { @@ -541,7 +504,6 @@ public function getUnitPriceHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getRowTotalHtml(AbstractItem $item) { @@ -556,7 +518,6 @@ public function getRowTotalHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getSidebarItemPriceHtml(AbstractItem $item) { @@ -571,7 +532,6 @@ public function getSidebarItemPriceHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getUnitPriceExclTaxHtml(AbstractItem $item) { @@ -586,7 +546,6 @@ public function getUnitPriceExclTaxHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getUnitPriceInclTaxHtml(AbstractItem $item) { @@ -601,7 +560,6 @@ public function getUnitPriceInclTaxHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getRowTotalExclTaxHtml(AbstractItem $item) { @@ -616,7 +574,6 @@ public function getRowTotalExclTaxHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getRowTotalInclTaxHtml(AbstractItem $item) { @@ -631,7 +588,6 @@ public function getRowTotalInclTaxHtml(AbstractItem $item) * * @param AbstractItem $item * @return string - * @since 2.0.0 */ public function getActions(AbstractItem $item) { @@ -652,7 +608,6 @@ public function getActions(AbstractItem $item) * @param string $imageId * @param array $attributes * @return \Magento\Catalog\Block\Product\Image - * @since 2.0.0 */ public function getImage($product, $imageId, $attributes = []) { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php index b03a11d632661..3be4f76d8d67e 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class Actions extends Text { /** * @var AbstractItem - * @since 2.0.0 */ protected $item; @@ -26,7 +24,6 @@ class Actions extends Text * * @return AbstractItem * @codeCoverageIgnore - * @since 2.0.0 */ public function getItem() { @@ -39,7 +36,6 @@ public function getItem() * @param AbstractItem $item * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setItem(AbstractItem $item) { @@ -51,7 +47,6 @@ public function setItem(AbstractItem $item) * Render html output * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php index 5f261ba569306..4542f19c4670a 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Edit.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Edit extends Generic { @@ -15,7 +14,6 @@ class Edit extends Generic * Get item configure url * * @return string - * @since 2.0.0 */ public function getConfigureUrl() { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Generic.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Generic.php index 39f7c02916273..9ce68d0fc0102 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Generic.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Generic.php @@ -11,13 +11,11 @@ /** * Class \Magento\Checkout\Block\Cart\Item\Renderer\Actions\Generic * - * @since 2.0.0 */ class Generic extends Template { /** * @var AbstractItem - * @since 2.0.0 */ protected $item; @@ -26,7 +24,6 @@ class Generic extends Template * * @return AbstractItem * @codeCoverageIgnore - * @since 2.0.0 */ public function getItem() { @@ -39,7 +36,6 @@ public function getItem() * @param AbstractItem $item * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setItem(AbstractItem $item) { @@ -52,7 +48,6 @@ public function setItem(AbstractItem $item) * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function isProductVisibleInSiteVisibility() { @@ -64,7 +59,6 @@ public function isProductVisibleInSiteVisibility() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function isVirtual() { diff --git a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php index 6df6204535e27..d50eeb1b0a263 100644 --- a/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php +++ b/app/code/Magento/Checkout/Block/Cart/Item/Renderer/Actions/Remove.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class Remove extends Generic { /** * @var Cart - * @since 2.0.0 */ protected $cartHelper; @@ -25,7 +23,6 @@ class Remove extends Generic * @param Cart $cartHelper * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -41,7 +38,6 @@ public function __construct( * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getDeletePostJson() { diff --git a/app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php b/app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php index 975e3a458d624..19bfc8a54b7fe 100644 --- a/app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php +++ b/app/code/Magento/Checkout/Block/Cart/LayoutProcessor.php @@ -8,31 +8,26 @@ /** * Class \Magento\Checkout\Block\Cart\LayoutProcessor * - * @since 2.0.0 */ class LayoutProcessor implements \Magento\Checkout\Block\Checkout\LayoutProcessorInterface { /** * @var \Magento\Checkout\Block\Checkout\AttributeMerger - * @since 2.0.0 */ protected $merger; /** * @var \Magento\Directory\Model\ResourceModel\Country\Collection - * @since 2.0.0 */ protected $countryCollection; /** * @var \Magento\Directory\Model\ResourceModel\Region\Collection - * @since 2.0.0 */ protected $regionCollection; /** * @var \Magento\Customer\Api\Data\AddressInterface - * @since 2.0.0 */ protected $defaultShippingAddress = null; @@ -48,7 +43,6 @@ class LayoutProcessor implements \Magento\Checkout\Block\Checkout\LayoutProcesso * @param \Magento\Directory\Model\ResourceModel\Region\Collection $regionCollection * @param \Magento\Directory\Model\TopDestinationCountries $topDestinationCountries * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Block\Checkout\AttributeMerger $merger, @@ -69,7 +63,6 @@ public function __construct( * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ protected function isCityActive() { @@ -81,7 +74,6 @@ protected function isCityActive() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ protected function isStateActive() { @@ -94,7 +86,6 @@ protected function isStateActive() * @param array $jsLayout * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function process($jsLayout) { diff --git a/app/code/Magento/Checkout/Block/Cart/Link.php b/app/code/Magento/Checkout/Block/Cart/Link.php index a1d65c58ce2b1..abc1ce4e31010 100644 --- a/app/code/Magento/Checkout/Block/Cart/Link.php +++ b/app/code/Magento/Checkout/Block/Cart/Link.php @@ -9,19 +9,16 @@ * "My Cart" link * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Html\Link { /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $_cartHelper; @@ -31,7 +28,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link * @param \Magento\Checkout\Helper\Cart $cartHelper * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getLabel() { @@ -57,7 +52,6 @@ public function getLabel() /** * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getHref() { @@ -68,7 +62,6 @@ public function getHref() * Render block HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -82,7 +75,6 @@ protected function _toHtml() * Count items in cart * * @return int - * @since 2.0.0 */ protected function _getItemCount() { @@ -95,7 +87,6 @@ protected function _getItemCount() * * @param int $count * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _createLabel($count) { diff --git a/app/code/Magento/Checkout/Block/Cart/Shipping.php b/app/code/Magento/Checkout/Block/Cart/Shipping.php index 2c6ac730904ed..5de0677d03625 100644 --- a/app/code/Magento/Checkout/Block/Cart/Shipping.php +++ b/app/code/Magento/Checkout/Block/Cart/Shipping.php @@ -8,19 +8,16 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart { /** * @var \Magento\Checkout\Model\CompositeConfigProvider - * @since 2.0.0 */ protected $configProvider; /** * @var array|\Magento\Checkout\Block\Checkout\LayoutProcessorInterface[] - * @since 2.0.0 */ protected $layoutProcessors; @@ -39,7 +36,6 @@ class Shipping extends \Magento\Checkout\Block\Cart\AbstractCart * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -63,7 +59,6 @@ public function __construct( * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckoutConfig() { @@ -74,7 +69,6 @@ public function getCheckoutConfig() * Retrieve serialized JS layout configuration ready to use in template * * @return string - * @since 2.0.0 */ public function getJsLayout() { @@ -89,7 +83,6 @@ public function getJsLayout() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getBaseUrl() { diff --git a/app/code/Magento/Checkout/Block/Cart/Sidebar.php b/app/code/Magento/Checkout/Block/Cart/Sidebar.php index 58a7b164067ac..5c0452aa15a68 100644 --- a/app/code/Magento/Checkout/Block/Cart/Sidebar.php +++ b/app/code/Magento/Checkout/Block/Cart/Sidebar.php @@ -11,7 +11,6 @@ * Cart sidebar block * * @api - * @since 2.0.0 */ class Sidebar extends AbstractCart { @@ -27,7 +26,6 @@ class Sidebar extends AbstractCart /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; @@ -46,7 +44,6 @@ class Sidebar extends AbstractCart * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -74,7 +71,6 @@ public function __construct( * Returns minicart config * * @return array - * @since 2.0.0 */ public function getConfig() { @@ -102,7 +98,6 @@ public function getSerializedConfig() /** * @return string - * @since 2.0.0 */ public function getImageHtmlTemplate() { @@ -116,7 +111,6 @@ public function getImageHtmlTemplate() * * @codeCoverageIgnore * @return string - * @since 2.0.0 */ public function getCheckoutUrl() { @@ -128,7 +122,6 @@ public function getCheckoutUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getShoppingCartUrl() { @@ -140,7 +133,6 @@ public function getShoppingCartUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getUpdateItemQtyUrl() { @@ -152,7 +144,6 @@ public function getUpdateItemQtyUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getRemoveItemUrl() { @@ -165,7 +156,6 @@ public function getRemoveItemUrl() * @return bool * @codeCoverageIgnore * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsNeedToDisplaySideBar() { @@ -179,7 +169,6 @@ public function getIsNeedToDisplaySideBar() * Return totals from custom quote if needed * * @return array - * @since 2.0.0 */ public function getTotalsCache() { @@ -195,7 +184,6 @@ public function getTotalsCache() * * @codeCoverageIgnore * @return string - * @since 2.0.0 */ public function getTotalsHtml() { @@ -207,7 +195,6 @@ public function getTotalsHtml() * * @codeCoverageIgnore * @return string - * @since 2.0.0 */ public function getBaseUrl() { @@ -218,7 +205,7 @@ public function getBaseUrl() * Return max visible item count for minicart * * @return int - * @since 2.1.0 + * @since 2.0.9 */ private function getMiniCartMaxItemsCount() { diff --git a/app/code/Magento/Checkout/Block/Cart/Totals.php b/app/code/Magento/Checkout/Block/Cart/Totals.php index 5d3febdbd458a..d3d3adbe40f38 100644 --- a/app/code/Magento/Checkout/Block/Cart/Totals.php +++ b/app/code/Magento/Checkout/Block/Cart/Totals.php @@ -10,37 +10,31 @@ /** * @api - * @since 2.0.0 */ class Totals extends \Magento\Checkout\Block\Cart\AbstractCart { /** * @var array - * @since 2.0.0 */ protected $_totalRenderers; /** * @var string - * @since 2.0.0 */ protected $_defaultRenderer = \Magento\Checkout\Block\Total\DefaultTotal::class; /** * @var array - * @since 2.0.0 */ protected $_totals = null; /** * @var \Magento\Sales\Model\Config - * @since 2.0.0 */ protected $_salesConfig; /** * @var LayoutProcessorInterface[] - * @since 2.0.0 */ protected $layoutProcessors; @@ -52,7 +46,6 @@ class Totals extends \Magento\Checkout\Block\Cart\AbstractCart * @param array $layoutProcessors * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -70,7 +63,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getJsLayout() { @@ -82,7 +74,6 @@ public function getJsLayout() /** * @return array - * @since 2.0.0 */ public function getTotals() { @@ -96,7 +87,6 @@ public function getTotals() * @param array $value * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setTotals($value) { @@ -107,7 +97,6 @@ public function setTotals($value) /** * @param string $code * @return BlockInterface - * @since 2.0.0 */ protected function _getTotalRenderer($code) { @@ -135,7 +124,6 @@ protected function _getTotalRenderer($code) * @param int|null $area * @param int $colspan * @return string - * @since 2.0.0 */ public function renderTotal($total, $area = null, $colspan = 1) { @@ -160,7 +148,6 @@ public function renderTotal($total, $area = null, $colspan = 1) * @param null|string $area * @param int $colspan * @return string - * @since 2.0.0 */ public function renderTotals($area = null, $colspan = 1) { @@ -178,7 +165,6 @@ public function renderTotals($area = null, $colspan = 1) * Check if we have display grand total in base currency * * @return bool - * @since 2.0.0 */ public function needDisplayBaseGrandtotal() { @@ -193,7 +179,6 @@ public function needDisplayBaseGrandtotal() * Get formated in base currency base grand total value * * @return string - * @since 2.0.0 */ public function displayBaseGrandtotal() { @@ -209,7 +194,6 @@ public function displayBaseGrandtotal() * Get active or custom quote * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ public function getQuote() { diff --git a/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php b/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php index 9853a7449ba00..9b6691870f1d5 100644 --- a/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php +++ b/app/code/Magento/Checkout/Block/Cart/ValidationMessages.php @@ -12,19 +12,16 @@ * Shopping cart validation messages block * * @api - * @since 2.0.0 */ class ValidationMessages extends \Magento\Framework\View\Element\Messages { /** * @var \Magento\Checkout\Helper\Cart - * @since 2.0.0 */ protected $cartHelper; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $currency; @@ -44,7 +41,6 @@ class ValidationMessages extends \Magento\Framework\View\Element\Messages * @param \Magento\Framework\Locale\CurrencyInterface $currency * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -70,7 +66,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -86,7 +81,6 @@ protected function _prepareLayout() * Validate minimum amount and display notice in error * * @return void - * @since 2.0.0 */ protected function validateMinimumAmount() { @@ -115,7 +109,6 @@ private function getMinimumAmountErrorMessage() * Add quote messages * * @return void - * @since 2.0.0 */ protected function addQuoteMessages() { diff --git a/app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php b/app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php index 0758fde75fc4f..0de05f37c709d 100644 --- a/app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php +++ b/app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php @@ -13,7 +13,6 @@ /** * Class \Magento\Checkout\Block\Checkout\AttributeMerger * - * @since 2.0.0 */ class AttributeMerger { @@ -21,7 +20,6 @@ class AttributeMerger * Map form element * * @var array - * @since 2.0.0 */ protected $formElementMap = [ 'checkbox' => 'Magento_Ui/js/form/element/select', @@ -37,7 +35,6 @@ class AttributeMerger * Map template * * @var array - * @since 2.0.0 */ protected $templateMap = [ 'image' => 'media', @@ -48,7 +45,6 @@ class AttributeMerger * Map input_validation and validation rule from js * * @var array - * @since 2.0.0 */ protected $inputValidationMap = [ 'alpha' => 'validate-alpha', @@ -61,31 +57,26 @@ class AttributeMerger /** * @var AddressHelper - * @since 2.0.0 */ private $addressHelper; /** * @var Session - * @since 2.0.0 */ private $customerSession; /** * @var CustomerRepository - * @since 2.0.0 */ private $customerRepository; /** * @var \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ private $customer; /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ private $directoryHelper; @@ -93,7 +84,6 @@ class AttributeMerger * List of codes of countries that must be shown on the top of country list * * @var array - * @since 2.0.0 */ private $topCountryCodes; @@ -102,7 +92,6 @@ class AttributeMerger * @param Session $customerSession * @param CustomerRepository $customerRepository * @param DirectoryHelper $directoryHelper - * @since 2.0.0 */ public function __construct( AddressHelper $addressHelper, @@ -125,7 +114,6 @@ public function __construct( * @param string $dataScopePrefix * @param array $fields * @return array - * @since 2.0.0 */ public function merge($elements, $providerName, $dataScopePrefix, array $fields = []) { @@ -156,7 +144,6 @@ public function merge($elements, $providerName, $dataScopePrefix, array $fields * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function getFieldConfig( $attributeCode, @@ -241,7 +228,6 @@ protected function getFieldConfig( * @param array $mainSource * @param array $additionalSource * @return array - * @since 2.0.0 */ protected function mergeConfigurationNode($nodeName, array $mainSource, array $additionalSource) { @@ -257,7 +243,6 @@ protected function mergeConfigurationNode($nodeName, array $mainSource, array $a * @param array $attributeConfig * @param array $additionalConfig field configuration provided via layout XML * @return bool - * @since 2.0.0 */ protected function isFieldVisible($attributeCode, array $attributeConfig, array $additionalConfig = []) { @@ -281,7 +266,6 @@ protected function isFieldVisible($attributeCode, array $attributeConfig, array * @param string $providerName name of the storage container used by UI component * @param string $dataScopePrefix * @return array - * @since 2.0.0 */ protected function getMultilineFieldConfig($attributeCode, array $attributeConfig, $providerName, $dataScopePrefix) { @@ -332,7 +316,6 @@ protected function getMultilineFieldConfig($attributeCode, array $attributeConfi /** * @param string $attributeCode * @return null|string - * @since 2.0.0 */ protected function getDefaultValue($attributeCode) { @@ -369,7 +352,6 @@ protected function getDefaultValue($attributeCode) /** * @return \Magento\Customer\Api\Data\CustomerInterface|null - * @since 2.0.0 */ protected function getCustomer() { @@ -390,7 +372,6 @@ protected function getCustomer() * @param array $attributeConfig * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function getFieldOptions($attributeCode, array $attributeConfig) { @@ -403,7 +384,6 @@ protected function getFieldOptions($attributeCode, array $attributeConfig) * @param array $countryOptions * @return array * @deprecated 2.2.0 - * @since 2.0.0 */ protected function orderCountryOptions(array $countryOptions) { diff --git a/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php b/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php index e05b42b877428..55125353cd77b 100644 --- a/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php +++ b/app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php @@ -11,37 +11,33 @@ /** * Class LayoutProcessor - * @since 2.0.0 */ class LayoutProcessor implements \Magento\Checkout\Block\Checkout\LayoutProcessorInterface { /** * @var \Magento\Customer\Model\AttributeMetadataDataProvider - * @since 2.0.0 */ private $attributeMetadataDataProvider; /** * @var \Magento\Ui\Component\Form\AttributeMapper - * @since 2.0.0 */ protected $attributeMapper; /** * @var AttributeMerger - * @since 2.0.0 */ protected $merger; /** * @var \Magento\Customer\Model\Options - * @since 2.1.0 + * @since 2.0.12 */ private $options; /** * @var Data - * @since 2.2.0 + * @since 2.1.4 */ private $checkoutDataHelper; @@ -61,7 +57,6 @@ class LayoutProcessor implements \Magento\Checkout\Block\Checkout\LayoutProcesso * @param \Magento\Customer\Model\AttributeMetadataDataProvider $attributeMetadataDataProvider * @param \Magento\Ui\Component\Form\AttributeMapper $attributeMapper * @param AttributeMerger $merger - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\AttributeMetadataDataProvider $attributeMetadataDataProvider, @@ -74,9 +69,9 @@ public function __construct( } /** - * @deprecated 2.1.0 + * @deprecated 2.0.12 * @return \Magento\Customer\Model\Options - * @since 2.1.0 + * @since 2.0.12 */ private function getOptions() { @@ -88,7 +83,7 @@ private function getOptions() /** * @return array - * @since 2.1.0 + * @since 2.0.12 */ private function getAddressAttributes() { @@ -119,7 +114,7 @@ private function getAddressAttributes() * @param array $elements address attributes * @param array $attributesToConvert fields and their callbacks * @return array - * @since 2.1.0 + * @since 2.0.12 */ private function convertElementsToSelect($elements, $attributesToConvert) { @@ -151,7 +146,6 @@ private function convertElementsToSelect($elements, $attributesToConvert) * * @param array $jsLayout * @return array - * @since 2.0.0 */ public function process($jsLayout) { @@ -223,7 +217,7 @@ private function processShippingChildrenComponents($shippingRatesLayout) * @param array $paymentLayout * @param array $elements * @return array - * @since 2.2.0 + * @since 2.1.4 */ private function processPaymentChildrenComponents(array $paymentLayout, array $elements) { @@ -263,7 +257,6 @@ private function processPaymentChildrenComponents(array $paymentLayout, array $e * @param array $configuration list of payment components * @param array $elements attributes that must be displayed in address form * @return array - * @since 2.0.0 */ private function processPaymentConfiguration(array &$configuration, array $elements) { @@ -287,7 +280,7 @@ private function processPaymentConfiguration(array &$configuration, array $eleme * @param string $paymentCode * @param array $elements * @return array - * @since 2.2.0 + * @since 2.1.4 */ private function getBillingAddressComponent($paymentCode, $elements) { @@ -362,8 +355,8 @@ private function getBillingAddressComponent($paymentCode, $elements) * Get checkout data helper instance * * @return Data - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.4 + * @since 2.1.4 */ private function getCheckoutDataHelper() { diff --git a/app/code/Magento/Checkout/Block/Checkout/LayoutProcessorInterface.php b/app/code/Magento/Checkout/Block/Checkout/LayoutProcessorInterface.php index 446ddc65e026b..ad14f2a45426d 100644 --- a/app/code/Magento/Checkout/Block/Checkout/LayoutProcessorInterface.php +++ b/app/code/Magento/Checkout/Block/Checkout/LayoutProcessorInterface.php @@ -13,7 +13,6 @@ * @see \Magento\Checkout\Block\Onepage * * @api - * @since 2.0.0 */ interface LayoutProcessorInterface { @@ -22,7 +21,6 @@ interface LayoutProcessorInterface * * @param array $jsLayout * @return array - * @since 2.0.0 */ public function process($jsLayout); } diff --git a/app/code/Magento/Checkout/Block/Checkout/TotalsProcessor.php b/app/code/Magento/Checkout/Block/Checkout/TotalsProcessor.php index cd923c16c6d28..1cfbbeb5d9f69 100644 --- a/app/code/Magento/Checkout/Block/Checkout/TotalsProcessor.php +++ b/app/code/Magento/Checkout/Block/Checkout/TotalsProcessor.php @@ -10,13 +10,11 @@ /** * Class \Magento\Checkout\Block\Checkout\TotalsProcessor * - * @since 2.0.0 */ class TotalsProcessor extends AbstractTotalsProcessor implements LayoutProcessorInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function process($jsLayout) { diff --git a/app/code/Magento/Checkout/Block/Item/Price/Renderer.php b/app/code/Magento/Checkout/Block/Item/Price/Renderer.php index 683bf4cf8b150..2210b1cd9243e 100644 --- a/app/code/Magento/Checkout/Block/Item/Price/Renderer.php +++ b/app/code/Magento/Checkout/Block/Item/Price/Renderer.php @@ -12,13 +12,11 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Renderer extends \Magento\Framework\View\Element\Template { /** * @var AbstractItem - * @since 2.0.0 */ protected $item; @@ -27,7 +25,6 @@ class Renderer extends \Magento\Framework\View\Element\Template * * @param \Magento\Quote\Model\Quote\Item\AbstractItem $item * @return $this - * @since 2.0.0 */ public function setItem(\Magento\Quote\Model\Quote\Item\AbstractItem $item) { @@ -39,7 +36,6 @@ public function setItem(\Magento\Quote\Model\Quote\Item\AbstractItem $item) * Get quote item * * @return AbstractItem - * @since 2.0.0 */ public function getItem() { diff --git a/app/code/Magento/Checkout/Block/Link.php b/app/code/Magento/Checkout/Block/Link.php index 22b2babdca54e..cb2fb3309b83c 100644 --- a/app/code/Magento/Checkout/Block/Link.php +++ b/app/code/Magento/Checkout/Block/Link.php @@ -9,19 +9,16 @@ * "Checkout" link * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Html\Link { /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; /** * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $_checkoutHelper; @@ -31,7 +28,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link * @param \Magento\Checkout\Helper\Data $checkoutHelper * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getHref() { @@ -58,7 +53,6 @@ public function getHref() * Render block HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Checkout/Block/Onepage.php b/app/code/Magento/Checkout/Block/Onepage.php index 495266b8a39d6..a5b82c817d96f 100644 --- a/app/code/Magento/Checkout/Block/Onepage.php +++ b/app/code/Magento/Checkout/Block/Onepage.php @@ -9,37 +9,31 @@ * Onepage checkout block * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Onepage extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\Data\Form\FormKey - * @since 2.0.0 */ protected $formKey; /** * @var bool - * @since 2.0.0 */ protected $_isScopePrivate = false; /** * @var array - * @since 2.0.0 */ protected $jsLayout; /** * @var \Magento\Checkout\Model\CompositeConfigProvider - * @since 2.0.0 */ protected $configProvider; /** * @var array|\Magento\Checkout\Block\Checkout\LayoutProcessorInterface[] - * @since 2.0.0 */ protected $layoutProcessors; @@ -57,7 +51,6 @@ class Onepage extends \Magento\Framework\View\Element\Template * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -79,7 +72,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getJsLayout() { @@ -94,7 +86,6 @@ public function getJsLayout() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getFormKey() { @@ -106,7 +97,6 @@ public function getFormKey() * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckoutConfig() { @@ -118,7 +108,6 @@ public function getCheckoutConfig() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getBaseUrl() { diff --git a/app/code/Magento/Checkout/Block/Onepage/Failure.php b/app/code/Magento/Checkout/Block/Onepage/Failure.php index 072e2377f48b3..46e56d24a7fa0 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Failure.php +++ b/app/code/Magento/Checkout/Block/Onepage/Failure.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Failure extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -21,7 +19,6 @@ class Failure extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -35,7 +32,6 @@ public function __construct( /** * @return mixed - * @since 2.0.0 */ public function getRealOrderId() { @@ -46,7 +42,6 @@ public function getRealOrderId() * Payment custom error message * * @return string - * @since 2.0.0 */ public function getErrorMessage() { @@ -58,7 +53,6 @@ public function getErrorMessage() * Continue shopping URL * * @return string - * @since 2.0.0 */ public function getContinueShoppingUrl() { diff --git a/app/code/Magento/Checkout/Block/Onepage/Link.php b/app/code/Magento/Checkout/Block/Onepage/Link.php index 7eedbfecb199b..b8f3926baa58a 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Link.php +++ b/app/code/Magento/Checkout/Block/Onepage/Link.php @@ -10,19 +10,16 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $_checkoutHelper; @@ -31,7 +28,6 @@ class Link extends \Magento\Framework\View\Element\Template * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Checkout\Helper\Data $checkoutHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getCheckoutUrl() { @@ -56,7 +51,6 @@ public function getCheckoutUrl() /** * @return bool - * @since 2.0.0 */ public function isDisabled() { @@ -65,7 +59,6 @@ public function isDisabled() /** * @return bool - * @since 2.0.0 */ public function isPossibleOnepageCheckout() { diff --git a/app/code/Magento/Checkout/Block/Onepage/Success.php b/app/code/Magento/Checkout/Block/Onepage/Success.php index 31744274b8447..ae3c403538c7b 100644 --- a/app/code/Magento/Checkout/Block/Onepage/Success.php +++ b/app/code/Magento/Checkout/Block/Onepage/Success.php @@ -12,25 +12,21 @@ * One page checkout success page * * @api - * @since 2.0.0 */ class Success extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Sales\Model\Order\Config - * @since 2.0.0 */ protected $_orderConfig; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -40,7 +36,6 @@ class Success extends \Magento\Framework\View\Element\Template * @param \Magento\Sales\Model\Order\Config $orderConfig * @param \Magento\Framework\App\Http\Context $httpContext * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -60,7 +55,6 @@ public function __construct( * Render additional order information lines and return result html * * @return string - * @since 2.0.0 */ public function getAdditionalInfoHtml() { @@ -71,7 +65,6 @@ public function getAdditionalInfoHtml() * Initialize data and prepare it for output * * @return string - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -83,7 +76,6 @@ protected function _beforeToHtml() * Prepares block data * * @return void - * @since 2.0.0 */ protected function prepareBlockData() { @@ -112,7 +104,6 @@ protected function prepareBlockData() * * @param Order $order * @return bool - * @since 2.0.0 */ protected function isVisible(Order $order) { @@ -127,7 +118,6 @@ protected function isVisible(Order $order) * * @param Order $order * @return bool - * @since 2.0.0 */ protected function canViewOrder(Order $order) { diff --git a/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php b/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php index 308a9f084be11..6b3774f7e38f8 100644 --- a/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php +++ b/app/code/Magento/Checkout/Block/QuoteShortcutButtons.php @@ -9,13 +9,11 @@ /** * @api - * @since 2.0.0 */ class QuoteShortcutButtons extends \Magento\Catalog\Block\ShortcutButtons { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -24,7 +22,6 @@ class QuoteShortcutButtons extends \Magento\Catalog\Block\ShortcutButtons * @param \Magento\Checkout\Model\Session $checkoutSession * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( * Dispatch shortcuts container event * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Checkout/Block/Registration.php b/app/code/Magento/Checkout/Block/Registration.php index 02558312c6087..91ec85c1db0ed 100644 --- a/app/code/Magento/Checkout/Block/Registration.php +++ b/app/code/Magento/Checkout/Block/Registration.php @@ -9,43 +9,36 @@ /** * @api - * @since 2.0.0 */ class Registration extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Customer\Model\Registration - * @since 2.0.0 */ protected $registration; /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @var \Magento\Sales\Api\OrderRepositoryInterface - * @since 2.0.0 */ protected $orderRepository; /** * @var \Magento\Sales\Model\Order\Address\Validator - * @since 2.0.0 */ protected $addressValidator; @@ -59,7 +52,6 @@ class Registration extends \Magento\Framework\View\Element\Template * @param \Magento\Sales\Model\Order\Address\Validator $addressValidator * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -85,7 +77,6 @@ public function __construct( * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getEmailAddress() { @@ -97,7 +88,6 @@ public function getEmailAddress() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getCreateAccountUrl() { @@ -106,7 +96,6 @@ public function getCreateAccountUrl() /** * {@inheritdoc} - * @since 2.0.0 */ public function toHtml() { @@ -124,7 +113,6 @@ public function toHtml() * Validate order addresses * * @return bool - * @since 2.0.0 */ protected function validateAddresses() { diff --git a/app/code/Magento/Checkout/Block/Shipping/Price.php b/app/code/Magento/Checkout/Block/Shipping/Price.php index 8bb9b975c0bba..c5d19219393cf 100644 --- a/app/code/Magento/Checkout/Block/Shipping/Price.php +++ b/app/code/Magento/Checkout/Block/Shipping/Price.php @@ -12,19 +12,16 @@ /** * Class Price * @deprecated 2.1.0 - * @since 2.0.0 */ class Price extends AbstractCart { /** * @var Rate - * @since 2.0.0 */ protected $shippingRate; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; @@ -34,7 +31,6 @@ class Price extends AbstractCart * @param \Magento\Checkout\Model\Session $checkoutSession * @param PriceCurrencyInterface $priceCurrency * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -52,7 +48,6 @@ public function __construct( * * @param Rate $shippingRate * @return $this - * @since 2.0.0 */ public function setShippingRate(Rate $shippingRate) { @@ -64,7 +59,6 @@ public function setShippingRate(Rate $shippingRate) * Return shipping rate * * @return Rate - * @since 2.0.0 */ public function getShippingRate() { @@ -75,7 +69,6 @@ public function getShippingRate() * Get Shipping Price * * @return float - * @since 2.0.0 */ public function getShippingPrice() { diff --git a/app/code/Magento/Checkout/Block/Success.php b/app/code/Magento/Checkout/Block/Success.php index 82c403f5e929a..40017d7e3be13 100644 --- a/app/code/Magento/Checkout/Block/Success.php +++ b/app/code/Magento/Checkout/Block/Success.php @@ -8,13 +8,11 @@ /** * Class \Magento\Checkout\Block\Success * - * @since 2.0.0 */ class Success extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $_orderFactory; @@ -23,7 +21,6 @@ class Success extends \Magento\Framework\View\Element\Template * @param \Magento\Sales\Model\OrderFactory $orderFactory * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return int - * @since 2.0.0 */ public function getRealOrderId() { diff --git a/app/code/Magento/Checkout/Block/Total/DefaultTotal.php b/app/code/Magento/Checkout/Block/Total/DefaultTotal.php index 6b1a25efb3c9a..ef113ad73fcc1 100644 --- a/app/code/Magento/Checkout/Block/Total/DefaultTotal.php +++ b/app/code/Magento/Checkout/Block/Total/DefaultTotal.php @@ -7,25 +7,21 @@ /** * Default Total Row Renderer - * @since 2.0.0 */ class DefaultTotal extends \Magento\Checkout\Block\Cart\Totals { /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Checkout::total/default.phtml'; /** * @var \Magento\Store\Model\Store - * @since 2.0.0 */ protected $_store; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -37,7 +33,6 @@ protected function _construct() * Get style assigned to total object * * @return string - * @since 2.0.0 */ public function getStyle() { @@ -47,7 +42,6 @@ public function getStyle() /** * @param float $total * @return $this - * @since 2.0.0 */ public function setTotal($total) { @@ -60,7 +54,6 @@ public function setTotal($total) /** * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { diff --git a/app/code/Magento/Checkout/Controller/Account/Create.php b/app/code/Magento/Checkout/Controller/Account/Create.php index 1c32bd5c27424..f20c1c082e7d3 100644 --- a/app/code/Magento/Checkout/Controller/Account/Create.php +++ b/app/code/Magento/Checkout/Controller/Account/Create.php @@ -11,25 +11,21 @@ /** * Class \Magento\Checkout\Controller\Account\Create * - * @since 2.0.0 */ class Create extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Sales\Api\OrderCustomerManagementInterface - * @since 2.0.0 */ protected $orderCustomerService; @@ -39,7 +35,6 @@ class Create extends \Magento\Framework\App\Action\Action * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Sales\Api\OrderCustomerManagementInterface $orderCustomerService * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -60,7 +55,6 @@ public function __construct( * @throws NoSuchEntityException * @throws \Exception * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Action.php b/app/code/Magento/Checkout/Controller/Action.php index 3ce548c639cc2..d985a7cd53cab 100644 --- a/app/code/Magento/Checkout/Controller/Action.php +++ b/app/code/Magento/Checkout/Controller/Action.php @@ -11,25 +11,21 @@ /** * Controller for onepage checkouts - * @since 2.0.0 */ abstract class Action extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; @@ -39,7 +35,6 @@ abstract class Action extends \Magento\Framework\App\Action\Action * @param CustomerRepositoryInterface $customerRepository * @param AccountManagementInterface $accountManagement * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -61,7 +56,6 @@ public function __construct( * @param bool $redirect - stop dispatch and redirect? * @param bool $addErrors - add error messages? * @return bool|\Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ protected function _preDispatchValidateCustomer($redirect = true, $addErrors = true) { diff --git a/app/code/Magento/Checkout/Controller/Cart.php b/app/code/Magento/Checkout/Controller/Cart.php index 2e8bb848d56b0..f6c59562ee942 100644 --- a/app/code/Magento/Checkout/Controller/Cart.php +++ b/app/code/Magento/Checkout/Controller/Cart.php @@ -10,37 +10,31 @@ /** * Shopping cart controller - * @since 2.0.0 */ abstract class Cart extends \Magento\Framework\App\Action\Action implements ViewInterface { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @var \Magento\Checkout\Model\Cart - * @since 2.0.0 */ protected $cart; @@ -52,7 +46,6 @@ abstract class Cart extends \Magento\Framework\App\Action\Action implements View * @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator * @param CustomerCart $cart * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -76,7 +69,6 @@ public function __construct( * @param null|string $backUrl * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ protected function _goBack($backUrl = null) { @@ -94,7 +86,6 @@ protected function _goBack($backUrl = null) * * @param string $url * @return bool - * @since 2.0.0 */ protected function _isInternalUrl($url) { @@ -118,7 +109,6 @@ protected function _isInternalUrl($url) * @param null $defaultUrl * * @return mixed|null|string - * @since 2.0.0 */ protected function getBackUrl($defaultUrl = null) { diff --git a/app/code/Magento/Checkout/Controller/Cart/Add.php b/app/code/Magento/Checkout/Controller/Cart/Add.php index a6437d179b4c9..8831b92f3ec86 100644 --- a/app/code/Magento/Checkout/Controller/Cart/Add.php +++ b/app/code/Magento/Checkout/Controller/Cart/Add.php @@ -12,13 +12,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Add extends \Magento\Checkout\Controller\Cart { /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; @@ -31,7 +29,6 @@ class Add extends \Magento\Checkout\Controller\Cart * @param CustomerCart $cart * @param ProductRepositoryInterface $productRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -57,7 +54,6 @@ public function __construct( * Initialize product instance from request data * * @return \Magento\Catalog\Model\Product|false - * @since 2.0.0 */ protected function _initProduct() { @@ -80,7 +76,6 @@ protected function _initProduct() * * @return \Magento\Framework\Controller\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { @@ -170,7 +165,6 @@ public function execute() * @param string $backUrl * @param \Magento\Catalog\Model\Product $product * @return $this|\Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ protected function goBack($backUrl = null, $product = null) { diff --git a/app/code/Magento/Checkout/Controller/Cart/Addgroup.php b/app/code/Magento/Checkout/Controller/Cart/Addgroup.php index 6de768a9311ba..ad09ba84eab32 100644 --- a/app/code/Magento/Checkout/Controller/Cart/Addgroup.php +++ b/app/code/Magento/Checkout/Controller/Cart/Addgroup.php @@ -9,13 +9,11 @@ /** * Class \Magento\Checkout\Controller\Cart\Addgroup * - * @since 2.0.0 */ class Addgroup extends \Magento\Checkout\Controller\Cart { /** * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/Configure.php b/app/code/Magento/Checkout/Controller/Cart/Configure.php index 4c8053c29f5d8..132fbf7d199a0 100644 --- a/app/code/Magento/Checkout/Controller/Cart/Configure.php +++ b/app/code/Magento/Checkout/Controller/Cart/Configure.php @@ -11,13 +11,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Configure extends \Magento\Checkout\Controller\Cart { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -29,7 +27,6 @@ class Configure extends \Magento\Checkout\Controller\Cart * @param \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator * @param \Magento\Checkout\Model\Cart $cart * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Framework\App\Action\Context $context, @@ -53,7 +50,6 @@ public function __construct( * Action to reconfigure cart item * * @return \Magento\Framework\View\Result\Page|\Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/CouponPost.php b/app/code/Magento/Checkout/Controller/Cart/CouponPost.php index 6da65d052eb71..56215814d2cf6 100644 --- a/app/code/Magento/Checkout/Controller/Cart/CouponPost.php +++ b/app/code/Magento/Checkout/Controller/Cart/CouponPost.php @@ -7,7 +7,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CouponPost extends \Magento\Checkout\Controller\Cart { @@ -15,7 +14,6 @@ class CouponPost extends \Magento\Checkout\Controller\Cart * Sales quote repository * * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; @@ -23,7 +21,6 @@ class CouponPost extends \Magento\Checkout\Controller\Cart * Coupon factory * * @var \Magento\SalesRule\Model\CouponFactory - * @since 2.0.0 */ protected $couponFactory; @@ -37,7 +34,6 @@ class CouponPost extends \Magento\Checkout\Controller\Cart * @param \Magento\SalesRule\Model\CouponFactory $couponFactory * @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -67,7 +63,6 @@ public function __construct( * @return \Magento\Framework\Controller\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/Delete.php b/app/code/Magento/Checkout/Controller/Cart/Delete.php index 506c98cc1e8ed..4c4d0897b9cb3 100644 --- a/app/code/Magento/Checkout/Controller/Cart/Delete.php +++ b/app/code/Magento/Checkout/Controller/Cart/Delete.php @@ -9,7 +9,6 @@ /** * Class \Magento\Checkout\Controller\Cart\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Checkout\Controller\Cart { @@ -17,7 +16,6 @@ class Delete extends \Magento\Checkout\Controller\Cart * Delete shopping cart item action * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/EstimatePost.php b/app/code/Magento/Checkout/Controller/Cart/EstimatePost.php index d73ff3cb25be2..e03ace3af0305 100644 --- a/app/code/Magento/Checkout/Controller/Cart/EstimatePost.php +++ b/app/code/Magento/Checkout/Controller/Cart/EstimatePost.php @@ -11,13 +11,11 @@ /** * Class \Magento\Checkout\Controller\Cart\EstimatePost * - * @since 2.0.0 */ class EstimatePost extends \Magento\Checkout\Controller\Cart { /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; @@ -30,7 +28,6 @@ class EstimatePost extends \Magento\Checkout\Controller\Cart * @param CustomerCart $cart * @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Framework\App\Action\Context $context, @@ -56,7 +53,6 @@ public function __construct( * Initialize shipping information * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/EstimateUpdatePost.php b/app/code/Magento/Checkout/Controller/Cart/EstimateUpdatePost.php index 70348bdbd2495..43fb7dd22b11b 100644 --- a/app/code/Magento/Checkout/Controller/Cart/EstimateUpdatePost.php +++ b/app/code/Magento/Checkout/Controller/Cart/EstimateUpdatePost.php @@ -9,13 +9,11 @@ /** * Class \Magento\Checkout\Controller\Cart\EstimateUpdatePost * - * @since 2.0.0 */ class EstimateUpdatePost extends \Magento\Checkout\Controller\Cart { /** * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/Index.php b/app/code/Magento/Checkout/Controller/Cart/Index.php index f0bdbfdc37fe8..9e383d2da8548 100644 --- a/app/code/Magento/Checkout/Controller/Cart/Index.php +++ b/app/code/Magento/Checkout/Controller/Cart/Index.php @@ -10,13 +10,11 @@ /** * Class \Magento\Checkout\Controller\Cart\Index * - * @since 2.0.0 */ class Index extends \Magento\Checkout\Controller\Cart { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -29,7 +27,6 @@ class Index extends \Magento\Checkout\Controller\Cart * @param \Magento\Checkout\Model\Cart $cart * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -55,7 +52,6 @@ public function __construct( * Shopping cart display action * * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/UpdateItemOptions.php b/app/code/Magento/Checkout/Controller/Cart/UpdateItemOptions.php index 510e74449400b..4b8deff615301 100644 --- a/app/code/Magento/Checkout/Controller/Cart/UpdateItemOptions.php +++ b/app/code/Magento/Checkout/Controller/Cart/UpdateItemOptions.php @@ -9,7 +9,6 @@ /** * Class \Magento\Checkout\Controller\Cart\UpdateItemOptions * - * @since 2.0.0 */ class UpdateItemOptions extends \Magento\Checkout\Controller\Cart { @@ -19,7 +18,6 @@ class UpdateItemOptions extends \Magento\Checkout\Controller\Cart * @return \Magento\Framework\Controller\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Cart/UpdatePost.php b/app/code/Magento/Checkout/Controller/Cart/UpdatePost.php index 83e070c9732f4..35bda1c1cbae2 100644 --- a/app/code/Magento/Checkout/Controller/Cart/UpdatePost.php +++ b/app/code/Magento/Checkout/Controller/Cart/UpdatePost.php @@ -9,7 +9,6 @@ /** * Class \Magento\Checkout\Controller\Cart\UpdatePost * - * @since 2.0.0 */ class UpdatePost extends \Magento\Checkout\Controller\Cart { @@ -17,7 +16,6 @@ class UpdatePost extends \Magento\Checkout\Controller\Cart * Empty customer's shopping cart * * @return void - * @since 2.0.0 */ protected function _emptyShoppingCart() { @@ -34,7 +32,6 @@ protected function _emptyShoppingCart() * Update customer's shopping cart * * @return void - * @since 2.0.0 */ protected function _updateShoppingCart() { @@ -72,7 +69,6 @@ protected function _updateShoppingCart() * Update shopping cart data action * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php b/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php index a7db78705145a..a5777766c3949 100644 --- a/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php +++ b/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php @@ -8,35 +8,30 @@ /** * Interface \Magento\Checkout\Controller\Express\RedirectLoginInterface * - * @since 2.0.0 */ interface RedirectLoginInterface { /** * Returns a list of action flags [flag_key] => boolean * @return array - * @since 2.0.0 */ public function getActionFlagList(); /** * Returns before_auth_url redirect parameter for customer session * @return string|null - * @since 2.0.0 */ public function getCustomerBeforeAuthUrl(); /** * Returns login url parameter for redirect * @return string|null - * @since 2.0.0 */ public function getLoginUrl(); /** * Returns action name which requires redirect * @return string|null - * @since 2.0.0 */ public function getRedirectActionName(); @@ -44,7 +39,6 @@ public function getRedirectActionName(); * Retrieve response object * * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function getResponse(); } diff --git a/app/code/Magento/Checkout/Controller/Index/Index.php b/app/code/Magento/Checkout/Controller/Index/Index.php index dd0736b1d8ba7..440c76986c07f 100644 --- a/app/code/Magento/Checkout/Controller/Index/Index.php +++ b/app/code/Magento/Checkout/Controller/Index/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Checkout\Controller\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Checkout\Controller\Onepage { @@ -17,7 +16,6 @@ class Index extends \Magento\Checkout\Controller\Onepage * Checkout page * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Noroute/Index.php b/app/code/Magento/Checkout/Controller/Noroute/Index.php index 853b68447d8c9..629b86aab4a6e 100644 --- a/app/code/Magento/Checkout/Controller/Noroute/Index.php +++ b/app/code/Magento/Checkout/Controller/Noroute/Index.php @@ -11,7 +11,6 @@ /** * Class \Magento\Checkout\Controller\Noroute\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { @@ -21,7 +20,6 @@ class Index extends \Magento\Framework\App\Action\Action * @throws NotFoundException * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Onepage.php b/app/code/Magento/Checkout/Controller/Onepage.php index 8151538949354..49deeed7fb9ca 100644 --- a/app/code/Magento/Checkout/Controller/Onepage.php +++ b/app/code/Magento/Checkout/Controller/Onepage.php @@ -12,13 +12,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Onepage extends Action { /** * @var array - * @since 2.0.0 */ protected $_sectionUpdateFunctions = [ 'payment-method' => '_getPaymentMethodsHtml', @@ -28,7 +26,6 @@ abstract class Onepage extends Action /** * @var \Magento\Sales\Model\Order - * @since 2.0.0 */ protected $_order; @@ -36,61 +33,51 @@ abstract class Onepage extends Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Translate\InlineInterface - * @since 2.0.0 */ protected $_translateInline; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -112,7 +99,6 @@ abstract class Onepage extends Action * * @codeCoverageIgnore * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -154,7 +140,6 @@ public function __construct( * @param RequestInterface $request * @return \Magento\Framework\App\ResponseInterface * @throws \Magento\Framework\Exception\NotFoundException - * @since 2.0.0 */ public function dispatch(RequestInterface $request) { @@ -178,7 +163,6 @@ public function dispatch(RequestInterface $request) /** * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ protected function _ajaxRedirectResponse() { @@ -192,7 +176,6 @@ protected function _ajaxRedirectResponse() * Validate ajax request and redirect on failure * * @return bool - * @since 2.0.0 */ protected function _expireAjax() { @@ -216,7 +199,6 @@ protected function _expireAjax() * * @param string $handle * @return string - * @since 2.0.0 */ protected function _getHtmlByHandle($handle) { @@ -234,7 +216,6 @@ protected function _getHtmlByHandle($handle) * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getShippingMethodsHtml() { @@ -246,7 +227,6 @@ protected function _getShippingMethodsHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getPaymentMethodsHtml() { @@ -258,7 +238,6 @@ protected function _getPaymentMethodsHtml() * * @param string $checkoutStep * @return mixed - * @since 2.0.0 */ protected function getProgressHtml($checkoutStep = '') { @@ -276,7 +255,6 @@ protected function getProgressHtml($checkoutStep = '') * * @return \Magento\Checkout\Model\Type\Onepage * @codeCoverageIgnore - * @since 2.0.0 */ public function getOnepage() { @@ -287,7 +265,6 @@ public function getOnepage() * Check can page show for unregistered users * * @return boolean - * @since 2.0.0 */ protected function _canShowForUnregisteredUsers() { diff --git a/app/code/Magento/Checkout/Controller/Onepage/Failure.php b/app/code/Magento/Checkout/Controller/Onepage/Failure.php index e1336f40d3f39..d1e7217c26960 100644 --- a/app/code/Magento/Checkout/Controller/Onepage/Failure.php +++ b/app/code/Magento/Checkout/Controller/Onepage/Failure.php @@ -9,13 +9,11 @@ /** * Class \Magento\Checkout\Controller\Onepage\Failure * - * @since 2.0.0 */ class Failure extends \Magento\Checkout\Controller\Onepage { /** * @return \Magento\Framework\View\Result\Page|\Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Onepage/SaveOrder.php b/app/code/Magento/Checkout/Controller/Onepage/SaveOrder.php index 9c6604978e5f3..f75ad7fb9d1b0 100644 --- a/app/code/Magento/Checkout/Controller/Onepage/SaveOrder.php +++ b/app/code/Magento/Checkout/Controller/Onepage/SaveOrder.php @@ -11,7 +11,6 @@ /** * Class \Magento\Checkout\Controller\Onepage\SaveOrder * - * @since 2.0.0 */ class SaveOrder extends \Magento\Checkout\Controller\Onepage { @@ -21,7 +20,6 @@ class SaveOrder extends \Magento\Checkout\Controller\Onepage * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Onepage/Success.php b/app/code/Magento/Checkout/Controller/Onepage/Success.php index d2be70ce27036..c14224448ce69 100644 --- a/app/code/Magento/Checkout/Controller/Onepage/Success.php +++ b/app/code/Magento/Checkout/Controller/Onepage/Success.php @@ -9,7 +9,6 @@ /** * Class \Magento\Checkout\Controller\Onepage\Success * - * @since 2.0.0 */ class Success extends \Magento\Checkout\Controller\Onepage { @@ -17,7 +16,6 @@ class Success extends \Magento\Checkout\Controller\Onepage * Order success action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/ShippingRates/Index.php b/app/code/Magento/Checkout/Controller/ShippingRates/Index.php index fc735fac5994d..3dc2bed118802 100644 --- a/app/code/Magento/Checkout/Controller/ShippingRates/Index.php +++ b/app/code/Magento/Checkout/Controller/ShippingRates/Index.php @@ -13,19 +13,16 @@ /** * Class \Magento\Checkout\Controller\ShippingRates\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ protected $result; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; @@ -33,7 +30,6 @@ class Index extends \Magento\Framework\App\Action\Action * @param Context $context * @param \Magento\Checkout\Model\Session $session * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Context $context, @@ -48,7 +44,6 @@ public function __construct( * * @return \Magento\Framework\Controller\ResultInterface * @throws Action\NotFoundException - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Checkout/Controller/Sidebar/RemoveItem.php b/app/code/Magento/Checkout/Controller/Sidebar/RemoveItem.php index 96e88c068175c..dd1c89552d763 100644 --- a/app/code/Magento/Checkout/Controller/Sidebar/RemoveItem.php +++ b/app/code/Magento/Checkout/Controller/Sidebar/RemoveItem.php @@ -8,37 +8,32 @@ /** * Class \Magento\Checkout\Controller\Sidebar\RemoveItem * - * @since 2.0.0 */ class RemoveItem extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Checkout\Model\Sidebar - * @since 2.0.0 */ protected $sidebar; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $logger; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.1.0 + * @since 2.0.10 */ private $formKeyValidator; @@ -48,7 +43,6 @@ class RemoveItem extends \Magento\Framework\App\Action\Action * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -66,7 +60,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ public function execute() { @@ -91,7 +84,6 @@ public function execute() * * @param string $error * @return \Magento\Framework\App\Response\Http - * @since 2.0.0 */ protected function jsonResponse($error = '') { @@ -104,8 +96,8 @@ protected function jsonResponse($error = '') /** * @return \Magento\Framework\Data\Form\FormKey\Validator - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.10 + * @since 2.0.10 */ private function getFormKeyValidator() { diff --git a/app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php b/app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php index c1308a8396cd1..bfec366647ae4 100644 --- a/app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php +++ b/app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php @@ -16,25 +16,21 @@ /** * Class \Magento\Checkout\Controller\Sidebar\UpdateItemQty * - * @since 2.0.0 */ class UpdateItemQty extends Action { /** * @var Sidebar - * @since 2.0.0 */ protected $sidebar; /** * @var LoggerInterface - * @since 2.0.0 */ protected $logger; /** * @var Data - * @since 2.0.0 */ protected $jsonHelper; @@ -44,7 +40,6 @@ class UpdateItemQty extends Action * @param LoggerInterface $logger * @param Data $jsonHelper * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Context $context, @@ -60,7 +55,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ public function execute() { @@ -84,7 +78,6 @@ public function execute() * * @param string $error * @return Http - * @since 2.0.0 */ protected function jsonResponse($error = '') { diff --git a/app/code/Magento/Checkout/CustomerData/AbstractItem.php b/app/code/Magento/Checkout/CustomerData/AbstractItem.php index 81ad832bda032..9c2e3a32ef901 100644 --- a/app/code/Magento/Checkout/CustomerData/AbstractItem.php +++ b/app/code/Magento/Checkout/CustomerData/AbstractItem.php @@ -12,19 +12,16 @@ * Abstract item * * @api - * @since 2.0.0 */ abstract class AbstractItem implements ItemInterface { /** * @var Item - * @since 2.0.0 */ protected $item; /** * {@inheritdoc} - * @since 2.0.0 */ public function getItemData(Item $item) { @@ -39,7 +36,6 @@ public function getItemData(Item $item) * Get item data. Template method * * @return array - * @since 2.0.0 */ abstract protected function doGetItemData(); } diff --git a/app/code/Magento/Checkout/CustomerData/Cart.php b/app/code/Magento/Checkout/CustomerData/Cart.php index ce140b0bb68c9..96ea0e366a276 100644 --- a/app/code/Magento/Checkout/CustomerData/Cart.php +++ b/app/code/Magento/Checkout/CustomerData/Cart.php @@ -10,55 +10,46 @@ /** * Cart source - * @since 2.0.0 */ class Cart extends \Magento\Framework\DataObject implements SectionSourceInterface { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @var \Magento\Checkout\Model\Cart - * @since 2.0.0 */ protected $checkoutCart; /** * @var \Magento\Catalog\Model\ResourceModel\Url - * @since 2.0.0 */ protected $catalogUrl; /** * @var \Magento\Quote\Model\Quote|null - * @since 2.0.0 */ protected $quote = null; /** * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $checkoutHelper; /** * @var ItemPoolInterface - * @since 2.0.0 */ protected $itemPoolInterface; /** * @var int|float - * @since 2.0.0 */ protected $summeryCount; /** * @var \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ protected $layout; @@ -71,7 +62,6 @@ class Cart extends \Magento\Framework\DataObject implements SectionSourceInterfa * @param \Magento\Framework\View\LayoutInterface $layout * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -93,7 +83,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getSectionData() { @@ -115,7 +104,6 @@ public function getSectionData() * Get active quote * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected function getQuote() { @@ -129,7 +117,6 @@ protected function getQuote() * Get shopping cart items qty based on configuration (summary qty or items qty) * * @return int|float - * @since 2.0.0 */ protected function getSummaryCount() { @@ -143,7 +130,6 @@ protected function getSummaryCount() * Check if one page checkout is available * * @return bool - * @since 2.0.0 */ protected function isPossibleOnepageCheckout() { @@ -154,7 +140,6 @@ protected function isPossibleOnepageCheckout() * Get array of last added items * * @return \Magento\Quote\Model\Quote\Item[] - * @since 2.0.0 */ protected function getRecentItems() { @@ -186,7 +171,6 @@ protected function getRecentItems() * Return customer quote items * * @return \Magento\Quote\Model\Quote\Item[] - * @since 2.0.0 */ protected function getAllQuoteItems() { @@ -200,7 +184,6 @@ protected function getAllQuoteItems() * Check if guest checkout is allowed * * @return bool - * @since 2.0.0 */ public function isGuestCheckoutAllowed() { diff --git a/app/code/Magento/Checkout/CustomerData/DefaultItem.php b/app/code/Magento/Checkout/CustomerData/DefaultItem.php index f9a6b07273063..6e917366c9cd2 100644 --- a/app/code/Magento/Checkout/CustomerData/DefaultItem.php +++ b/app/code/Magento/Checkout/CustomerData/DefaultItem.php @@ -8,37 +8,31 @@ /** * Default item - * @since 2.0.0 */ class DefaultItem extends AbstractItem { /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Msrp\Helper\Data - * @since 2.0.0 */ protected $msrpHelper; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlBuilder; /** * @var \Magento\Catalog\Helper\Product\ConfigurationPool - * @since 2.0.0 */ protected $configurationPool; /** * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $checkoutHelper; @@ -49,7 +43,6 @@ class DefaultItem extends AbstractItem * @param \Magento\Catalog\Helper\Product\ConfigurationPool $configurationPool * @param \Magento\Checkout\Helper\Data $checkoutHelper * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Image $imageHelper, @@ -67,7 +60,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function doGetItemData() { @@ -101,7 +93,6 @@ protected function doGetItemData() * * @return array * @codeCoverageIgnore - * @since 2.0.0 */ protected function getOptionList() { @@ -111,7 +102,6 @@ protected function getOptionList() /** * @return \Magento\Catalog\Model\Product * @codeCoverageIgnore - * @since 2.0.0 */ protected function getProductForThumbnail() { @@ -121,7 +111,6 @@ protected function getProductForThumbnail() /** * @return \Magento\Catalog\Model\Product * @codeCoverageIgnore - * @since 2.0.0 */ protected function getProduct() { @@ -132,7 +121,6 @@ protected function getProduct() * Get item configure url * * @return string - * @since 2.0.0 */ protected function getConfigureUrl() { @@ -146,7 +134,6 @@ protected function getConfigureUrl() * Check Product has URL * * @return bool - * @since 2.0.0 */ protected function hasProductUrl() { @@ -178,7 +165,6 @@ protected function hasProductUrl() * Retrieve URL to item Product * * @return string - * @since 2.0.0 */ protected function getProductUrl() { diff --git a/app/code/Magento/Checkout/CustomerData/DirectoryData.php b/app/code/Magento/Checkout/CustomerData/DirectoryData.php index f6cfe06c19fc6..8e8bae3cf1a12 100644 --- a/app/code/Magento/Checkout/CustomerData/DirectoryData.php +++ b/app/code/Magento/Checkout/CustomerData/DirectoryData.php @@ -10,20 +10,17 @@ /** * Cart source - * @since 2.0.0 */ class DirectoryData implements SectionSourceInterface { /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $directoryHelper; /** * @param \Magento\Directory\Helper\Data $directoryHelper * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct(\Magento\Directory\Helper\Data $directoryHelper) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Directory\Helper\Data $directoryHelper) /** * {@inheritdoc} - * @since 2.0.0 */ public function getSectionData() { diff --git a/app/code/Magento/Checkout/CustomerData/ItemInterface.php b/app/code/Magento/Checkout/CustomerData/ItemInterface.php index 518e8f543a553..fb8bd831f1ccd 100644 --- a/app/code/Magento/Checkout/CustomerData/ItemInterface.php +++ b/app/code/Magento/Checkout/CustomerData/ItemInterface.php @@ -12,7 +12,6 @@ * Item interface * * @api - * @since 2.0.0 */ interface ItemInterface { @@ -21,7 +20,6 @@ interface ItemInterface * * @param Item $item * @return array - * @since 2.0.0 */ public function getItemData(Item $item); } diff --git a/app/code/Magento/Checkout/CustomerData/ItemPool.php b/app/code/Magento/Checkout/CustomerData/ItemPool.php index fdc58c2f19ce7..50b20712e2a30 100644 --- a/app/code/Magento/Checkout/CustomerData/ItemPool.php +++ b/app/code/Magento/Checkout/CustomerData/ItemPool.php @@ -12,7 +12,6 @@ /** * Item pool - * @since 2.0.0 */ class ItemPool implements ItemPoolInterface { @@ -20,7 +19,6 @@ class ItemPool implements ItemPoolInterface * Object Manager * * @var ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -28,7 +26,6 @@ class ItemPool implements ItemPoolInterface * Default item id * * @var string - * @since 2.0.0 */ protected $defaultItemId; @@ -36,7 +33,6 @@ class ItemPool implements ItemPoolInterface * Item map. Key is item type, value is item object id in di * * @var array - * @since 2.0.0 */ protected $itemMap; @@ -47,7 +43,6 @@ class ItemPool implements ItemPoolInterface * @param string $defaultItemId * @param array $itemMap * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -62,7 +57,6 @@ public function __construct( /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemData(Item $item) { @@ -75,7 +69,6 @@ public function getItemData(Item $item) * @param string $type * @return ItemInterface * @throws LocalizedException - * @since 2.0.0 */ protected function get($type) { diff --git a/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php b/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php index fb0d5b5cf65b1..95c62a7436e52 100644 --- a/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php +++ b/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php @@ -10,7 +10,6 @@ /** * Item pool interface - * @since 2.0.0 */ interface ItemPoolInterface { @@ -19,7 +18,6 @@ interface ItemPoolInterface * * @param Item $item * @return array - * @since 2.0.0 */ public function getItemData(Item $item); } diff --git a/app/code/Magento/Checkout/Exception.php b/app/code/Magento/Checkout/Exception.php index 3037801cddae2..4957e6be9b5da 100644 --- a/app/code/Magento/Checkout/Exception.php +++ b/app/code/Magento/Checkout/Exception.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Exception extends \Magento\Framework\Exception\LocalizedException { diff --git a/app/code/Magento/Checkout/Helper/Cart.php b/app/code/Magento/Checkout/Helper/Cart.php index e9c7d2da4ecaf..34c06cbf3e882 100644 --- a/app/code/Magento/Checkout/Helper/Cart.php +++ b/app/code/Magento/Checkout/Helper/Cart.php @@ -9,7 +9,6 @@ * Shopping cart helper * * @author Magento Core Team - * @since 2.0.0 */ class Cart extends \Magento\Framework\Url\Helper\Data { @@ -30,13 +29,11 @@ class Cart extends \Magento\Framework\Url\Helper\Data /** * @var \Magento\Checkout\Model\Cart - * @since 2.0.0 */ protected $_checkoutCart; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; @@ -45,7 +42,6 @@ class Cart extends \Magento\Framework\Url\Helper\Data * @param \Magento\Checkout\Model\Cart $checkoutCart * @param \Magento\Checkout\Model\Session $checkoutSession * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -62,7 +58,6 @@ public function __construct( * * @return \Magento\Checkout\Model\Cart * @codeCoverageIgnore - * @since 2.0.0 */ public function getCart() { @@ -75,7 +70,6 @@ public function getCart() * @param \Magento\Catalog\Model\Product $product * @param array $additional * @return string - * @since 2.0.0 */ public function getAddUrl($product, $additional = []) { @@ -117,7 +111,6 @@ public function getAddUrl($product, $additional = []) * * @param \Magento\Quote\Model\Quote\Item\AbstractItem $item * @return string - * @since 2.0.0 */ public function getRemoveUrl($item) { @@ -133,7 +126,6 @@ public function getRemoveUrl($item) * * @param \Magento\Quote\Model\Quote\Item\AbstractItem $item * @return string - * @since 2.0.0 */ public function getDeletePostJson($item) { @@ -151,7 +143,6 @@ public function getDeletePostJson($item) * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getCartUrl() { @@ -163,7 +154,6 @@ public function getCartUrl() * * @return \Magento\Quote\Model\Quote * @codeCoverageIgnore - * @since 2.0.0 */ public function getQuote() { @@ -175,7 +165,6 @@ public function getQuote() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemsCount() { @@ -187,7 +176,6 @@ public function getItemsCount() * * @return int|float * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemsQty() { @@ -199,7 +187,6 @@ public function getItemsQty() * * @return int|float * @codeCoverageIgnore - * @since 2.0.0 */ public function getSummaryCount() { @@ -212,7 +199,6 @@ public function getSummaryCount() * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) * @codeCoverageIgnore - * @since 2.0.0 */ public function getIsVirtualQuote() { @@ -226,7 +212,6 @@ public function getIsVirtualQuote() * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) * @codeCoverageIgnore - * @since 2.0.0 */ public function getShouldRedirectToCart($store = null) { diff --git a/app/code/Magento/Checkout/Helper/Data.php b/app/code/Magento/Checkout/Helper/Data.php index 1b756107b99b6..1a76253a772af 100644 --- a/app/code/Magento/Checkout/Helper/Data.php +++ b/app/code/Magento/Checkout/Helper/Data.php @@ -15,7 +15,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -25,37 +24,31 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; /** * @var \Magento\Framework\Mail\Template\TransportBuilder - * @since 2.0.0 */ protected $_transportBuilder; /** * @var \Magento\Framework\Translate\Inline\StateInterface - * @since 2.0.0 */ protected $inlineTranslation; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; @@ -68,7 +61,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Framework\Translate\Inline\StateInterface $inlineTranslation * @param PriceCurrencyInterface $priceCurrency * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -93,7 +85,6 @@ public function __construct( * * @return \Magento\Checkout\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckout() { @@ -105,7 +96,6 @@ public function getCheckout() * * @return \Magento\Quote\Model\Quote * @codeCoverageIgnore - * @since 2.0.0 */ public function getQuote() { @@ -115,7 +105,6 @@ public function getQuote() /** * @param float $price * @return string - * @since 2.0.0 */ public function formatPrice($price) { @@ -131,7 +120,6 @@ public function formatPrice($price) * @param float $price * @param bool $format * @return float - * @since 2.0.0 */ public function convertPrice($price, $format = true) { @@ -144,7 +132,6 @@ public function convertPrice($price, $format = true) * Get onepage checkout availability * * @return bool - * @since 2.0.0 */ public function canOnepageCheckout() { @@ -159,7 +146,6 @@ public function canOnepageCheckout() * * @param \Magento\Framework\DataObject $item * @return float - * @since 2.0.0 */ public function getPriceInclTax($item) { @@ -177,7 +163,6 @@ public function getPriceInclTax($item) * * @param \Magento\Framework\DataObject $item * @return float - * @since 2.0.0 */ public function getSubtotalInclTax($item) { @@ -191,7 +176,6 @@ public function getSubtotalInclTax($item) /** * @param AbstractItem $item * @return float - * @since 2.0.0 */ public function getBasePriceInclTax($item) { @@ -204,7 +188,6 @@ public function getBasePriceInclTax($item) /** * @param AbstractItem $item * @return float - * @since 2.0.0 */ public function getBaseSubtotalInclTax($item) { @@ -221,7 +204,6 @@ public function getBaseSubtotalInclTax($item) * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function sendPaymentFailedEmail($checkout, $message, $checkoutType = 'onepage') { @@ -348,7 +330,6 @@ public function sendPaymentFailedEmail($checkout, $message, $checkoutType = 'one * @param string $configPath * @param null|string|bool|int|Store $storeId * @return array|false - * @since 2.0.0 */ protected function _getEmails($configPath, $storeId) { @@ -370,7 +351,6 @@ protected function _getEmails($configPath, $storeId) * @param \Magento\Quote\Model\Quote $quote * @param int|Store $store * @return bool - * @since 2.0.0 */ public function isAllowedGuestCheckout(\Magento\Quote\Model\Quote $quote, $store = null) { @@ -402,7 +382,6 @@ public function isAllowedGuestCheckout(\Magento\Quote\Model\Quote $quote, $store * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function isContextCheckout() { @@ -414,7 +393,6 @@ public function isContextCheckout() * * @return boolean * @codeCoverageIgnore - * @since 2.0.0 */ public function isCustomerMustBeLogged() { @@ -428,7 +406,7 @@ public function isCustomerMustBeLogged() * Checks if display billing address on payment method is available, otherwise * billing address should be display on payment page * @return bool - * @since 2.2.0 + * @since 2.1.4 */ public function isDisplayBillingOnPaymentMethodAvailable() { diff --git a/app/code/Magento/Checkout/Helper/ExpressRedirect.php b/app/code/Magento/Checkout/Helper/ExpressRedirect.php index 04fc25aee770d..2b6c1d82c3b09 100644 --- a/app/code/Magento/Checkout/Helper/ExpressRedirect.php +++ b/app/code/Magento/Checkout/Helper/ExpressRedirect.php @@ -10,19 +10,16 @@ /** * Class \Magento\Checkout\Helper\ExpressRedirect * - * @since 2.0.0 */ class ExpressRedirect extends \Magento\Framework\App\Helper\AbstractHelper { /** * @var \Magento\Framework\App\ActionFlag - * @since 2.0.0 */ protected $_actionFlag; /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -30,7 +27,6 @@ class ExpressRedirect extends \Magento\Framework\App\Helper\AbstractHelper * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; @@ -40,7 +36,6 @@ class ExpressRedirect extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\App\Helper\Context $context * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ActionFlag $actionFlag, @@ -60,7 +55,6 @@ public function __construct( * @param RedirectLoginInterface $expressRedirect * @param string|null $customerBeforeAuthUrlDefault * @return void - * @since 2.0.0 */ public function redirectLogin(RedirectLoginInterface $expressRedirect, $customerBeforeAuthUrlDefault = null) { diff --git a/app/code/Magento/Checkout/Model/Adminhtml/BillingAddressDisplayOptions.php b/app/code/Magento/Checkout/Model/Adminhtml/BillingAddressDisplayOptions.php index 23a99628a768e..f336d149ba2d4 100644 --- a/app/code/Magento/Checkout/Model/Adminhtml/BillingAddressDisplayOptions.php +++ b/app/code/Magento/Checkout/Model/Adminhtml/BillingAddressDisplayOptions.php @@ -10,7 +10,7 @@ /** * BillingAddressDisplayOptions gets list of configuration options for billing address displaying on * the Payment step on checkout - * @since 2.2.0 + * @since 2.1.4 */ class BillingAddressDisplayOptions implements ArrayInterface { @@ -22,7 +22,7 @@ class BillingAddressDisplayOptions implements ArrayInterface * ['label' => 'Payment Method', 'value' => 0], * ['label' => 'Payment Page', 'value' => 1] * ] - * @since 2.2.0 + * @since 2.1.4 */ public function toOptionArray() { diff --git a/app/code/Magento/Checkout/Model/AgreementsValidator.php b/app/code/Magento/Checkout/Model/AgreementsValidator.php index d470b4074037a..aa0072b823cc5 100644 --- a/app/code/Magento/Checkout/Model/AgreementsValidator.php +++ b/app/code/Magento/Checkout/Model/AgreementsValidator.php @@ -7,7 +7,6 @@ /** * Class AgreementsValidator - * @since 2.0.0 */ class AgreementsValidator implements \Magento\Checkout\Api\AgreementsValidatorInterface { @@ -19,7 +18,6 @@ class AgreementsValidator implements \Magento\Checkout\Api\AgreementsValidatorIn * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @codeCoverageIgnore - * @since 2.0.0 */ public function isValid($agreementIds = []) { diff --git a/app/code/Magento/Checkout/Model/Cart.php b/app/code/Magento/Checkout/Model/Cart.php index aefcb9a39ad36..6b16cc14b9ede 100644 --- a/app/code/Magento/Checkout/Model/Cart.php +++ b/app/code/Magento/Checkout/Model/Cart.php @@ -16,7 +16,6 @@ * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @deprecated 2.1.0 - * @since 2.0.0 */ class Cart extends DataObject implements CartInterface { @@ -24,7 +23,6 @@ class Cart extends DataObject implements CartInterface * Shopping cart items summary quantity(s) * * @var int|null - * @since 2.0.0 */ protected $_summaryQty; @@ -32,7 +30,6 @@ class Cart extends DataObject implements CartInterface * List of product ids in shopping cart * * @var int[]|null - * @since 2.0.0 */ protected $_productIds; @@ -40,7 +37,6 @@ class Cart extends DataObject implements CartInterface * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -48,67 +44,57 @@ class Cart extends DataObject implements CartInterface * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Checkout\Model\ResourceModel\Cart - * @since 2.0.0 */ protected $_resourceCart; /** * @var Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\CatalogInventory\Api\StockStateInterface - * @since 2.0.0 */ protected $stockState; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Checkout\Model\Cart\RequestInfoFilterInterface - * @since 2.2.0 + * @since 2.1.2 */ private $requestInfoFilter; @@ -127,7 +113,6 @@ class Cart extends DataObject implements CartInterface * @param array $data * @codeCoverageIgnore * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Event\ManagerInterface $eventManager, @@ -162,7 +147,6 @@ public function __construct( * * @return \Magento\Checkout\Model\ResourceModel\Cart * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getResource() { @@ -174,7 +158,6 @@ protected function _getResource() * * @return Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckoutSession() { @@ -186,7 +169,6 @@ public function getCheckoutSession() * * @return \Magento\Customer\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCustomerSession() { @@ -197,7 +179,6 @@ public function getCustomerSession() * List of shopping cart items * * @return \Magento\Eav\Model\Entity\Collection\AbstractCollection|array - * @since 2.0.0 */ public function getItems() { @@ -211,7 +192,6 @@ public function getItems() * Retrieve array of cart product ids * * @return array - * @since 2.0.0 */ public function getQuoteProductIds() { @@ -230,7 +210,6 @@ public function getQuoteProductIds() * Get quote object associated with cart. By default it is current customer session quote * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ public function getQuote() { @@ -246,7 +225,6 @@ public function getQuote() * @param \Magento\Quote\Model\Quote $quote * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setQuote(\Magento\Quote\Model\Quote $quote) { @@ -258,7 +236,6 @@ public function setQuote(\Magento\Quote\Model\Quote $quote) * Reinitialize cart quote state * * @return $this - * @since 2.0.0 */ protected function reinitializeState() { @@ -280,7 +257,6 @@ protected function reinitializeState() * @param \Magento\Sales\Model\Order\Item $orderItem * @param true|null $qtyFlag if is null set product qty like in order * @return $this - * @since 2.0.0 */ public function addOrderItem($orderItem, $qtyFlag = null) { @@ -315,7 +291,6 @@ public function addOrderItem($orderItem, $qtyFlag = null) * @param Product|int|string $productInfo * @return Product * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getProduct($productInfo) { @@ -348,7 +323,6 @@ protected function _getProduct($productInfo) * @param \Magento\Framework\DataObject|int|array $requestInfo * @return \Magento\Framework\DataObject * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getProductRequest($requestInfo) { @@ -376,7 +350,6 @@ protected function _getProductRequest($requestInfo) * @return $this * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function addProduct($productInfo, $requestInfo = null) { @@ -438,7 +411,6 @@ public function addProduct($productInfo, $requestInfo = null) * * @param int[] $productIds * @return $this - * @since 2.0.0 */ public function addProductsByIds($productIds) { @@ -482,7 +454,6 @@ public function addProductsByIds($productIds) * * @param array $data * @return array - * @since 2.0.0 */ public function suggestItemsQty($data) { @@ -523,7 +494,6 @@ public function suggestItemsQty($data) * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function updateItems($data) { @@ -583,7 +553,6 @@ public function updateItems($data) * @param int $itemId * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function removeItem($itemId) { @@ -595,7 +564,6 @@ public function removeItem($itemId) * Save cart * * @return $this - * @since 2.0.0 */ public function save() { @@ -619,7 +587,6 @@ public function save() * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function saveQuote() { @@ -631,7 +598,6 @@ public function saveQuote() * * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function truncate() { @@ -641,7 +607,6 @@ public function truncate() /** * @return int[] - * @since 2.0.0 */ public function getProductIds() { @@ -661,7 +626,6 @@ public function getProductIds() * Get shopping cart items summary (includes config settings) * * @return int|float - * @since 2.0.0 */ public function getSummaryQty() { @@ -690,7 +654,6 @@ public function getSummaryQty() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemsCount() { @@ -702,7 +665,6 @@ public function getItemsCount() * * @return int|float * @codeCoverageIgnore - * @since 2.0.0 */ public function getItemsQty() { @@ -722,7 +684,6 @@ public function getItemsQty() * * @see \Magento\Quote\Model\Quote::updateItem() * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function updateItem($itemId, $requestInfo = null, $updatingParams = null) { @@ -775,9 +736,9 @@ public function updateItem($itemId, $requestInfo = null, $updatingParams = null) /** * Getter for RequestInfoFilter * - * @deprecated 2.2.0 + * @deprecated 2.1.2 * @return \Magento\Checkout\Model\Cart\RequestInfoFilterInterface - * @since 2.2.0 + * @since 2.1.2 */ private function getRequestInfoFilter() { diff --git a/app/code/Magento/Checkout/Model/Cart/CartInterface.php b/app/code/Magento/Checkout/Model/Cart/CartInterface.php index 65deddeb5c050..e12b04f90c269 100644 --- a/app/code/Magento/Checkout/Model/Cart/CartInterface.php +++ b/app/code/Magento/Checkout/Model/Cart/CartInterface.php @@ -13,7 +13,6 @@ * @api * @author Magento Core Team * @deprecated 2.1.0 - * @since 2.0.0 */ interface CartInterface { @@ -23,7 +22,6 @@ interface CartInterface * @param int|\Magento\Catalog\Model\Product $productInfo * @param array|float|int|\Magento\Framework\DataObject|null $requestInfo * @return $this - * @since 2.0.0 */ public function addProduct($productInfo, $requestInfo = null); @@ -32,7 +30,6 @@ public function addProduct($productInfo, $requestInfo = null); * * @return $this * @abstract - * @since 2.0.0 */ public function saveQuote(); @@ -42,7 +39,6 @@ public function saveQuote(); * @param Quote $quote * @return $this * @abstract - * @since 2.0.0 */ public function setQuote(Quote $quote); @@ -51,7 +47,6 @@ public function setQuote(Quote $quote); * * @return Quote * @abstract - * @since 2.0.0 */ public function getQuote(); } diff --git a/app/code/Magento/Checkout/Model/Cart/CollectQuote.php b/app/code/Magento/Checkout/Model/Cart/CollectQuote.php index 0ef9f04827bba..c3d8222b96427 100644 --- a/app/code/Magento/Checkout/Model/Cart/CollectQuote.php +++ b/app/code/Magento/Checkout/Model/Cart/CollectQuote.php @@ -8,43 +8,36 @@ /** * Class \Magento\Checkout\Model\Cart\CollectQuote * - * @since 2.0.0 */ class CollectQuote { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Customer\Api\AddressRepositoryInterface - * @since 2.0.0 */ protected $addressRepository; /** * @var \Magento\Quote\Api\Data\EstimateAddressInterfaceFactory - * @since 2.0.0 */ protected $estimatedAddressFactory; /** * @var \Magento\Quote\Api\ShippingMethodManagementInterface - * @since 2.0.0 */ protected $shippingMethodManager; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; @@ -56,7 +49,6 @@ class CollectQuote * @param \Magento\Quote\Api\ShippingMethodManagementInterface $shippingMethodManager * @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\Session $customerSession, @@ -77,7 +69,6 @@ public function __construct( /** * @param \Magento\Quote\Model\Quote $quote * @return void - * @since 2.0.0 */ public function collect(\Magento\Quote\Model\Quote $quote) { diff --git a/app/code/Magento/Checkout/Model/Cart/ImageProvider.php b/app/code/Magento/Checkout/Model/Cart/ImageProvider.php index a1b98556ee0af..d8d0003d8ca7e 100644 --- a/app/code/Magento/Checkout/Model/Cart/ImageProvider.php +++ b/app/code/Magento/Checkout/Model/Cart/ImageProvider.php @@ -8,19 +8,16 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class ImageProvider { /** * @var \Magento\Quote\Api\CartItemRepositoryInterface - * @since 2.0.0 */ protected $itemRepository; /** * @var \Magento\Checkout\CustomerData\ItemPoolInterface - * @since 2.0.0 */ protected $itemPool; @@ -28,7 +25,6 @@ class ImageProvider * @param \Magento\Quote\Api\CartItemRepositoryInterface $itemRepository * @param \Magento\Checkout\CustomerData\ItemPoolInterface $itemPool * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Api\CartItemRepositoryInterface $itemRepository, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getImages($cartId) { diff --git a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilter.php b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilter.php index ff0ee73d758d2..a76a9f8525823 100644 --- a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilter.php +++ b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilter.php @@ -8,19 +8,19 @@ /** * Class RequestInfoFilter used for filtering data from a request - * @since 2.2.0 + * @since 2.1.2 */ class RequestInfoFilter implements RequestInfoFilterInterface { /** * @var array $params - * @since 2.2.0 + * @since 2.1.2 */ private $filterList; /** * @param array $filterList - * @since 2.2.0 + * @since 2.1.2 */ public function __construct( array $filterList = [] @@ -33,7 +33,7 @@ public function __construct( * * @param \Magento\Framework\DataObject $params * @return $this - * @since 2.2.0 + * @since 2.1.2 */ public function filter(\Magento\Framework\DataObject $params) { diff --git a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterComposite.php b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterComposite.php index a66c26a3e177f..a988c9a0f9e7e 100644 --- a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterComposite.php +++ b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterComposite.php @@ -9,19 +9,19 @@ /** * Class RequestInfoFilterComposite * @api - * @since 2.2.0 + * @since 2.1.2 */ class RequestInfoFilterComposite implements RequestInfoFilterInterface { /** * @var RequestInfoFilter[] $params - * @since 2.2.0 + * @since 2.1.2 */ private $filters = []; /** * @param RequestInfoFilter[] $filters - * @since 2.2.0 + * @since 2.1.2 */ public function __construct( $filters = [] @@ -34,7 +34,7 @@ public function __construct( * * @param \Magento\Framework\DataObject $params * @return $this - * @since 2.2.0 + * @since 2.1.2 */ public function filter(\Magento\Framework\DataObject $params) { diff --git a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterInterface.php b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterInterface.php index 2f875cb9a483d..ac2840f758f01 100644 --- a/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterInterface.php +++ b/app/code/Magento/Checkout/Model/Cart/RequestInfoFilterInterface.php @@ -9,7 +9,7 @@ /** * Interface RequestInfoFilterInterface used by composite and leafs to implement filtering * @api - * @since 2.2.0 + * @since 2.1.2 */ interface RequestInfoFilterInterface { @@ -18,7 +18,7 @@ interface RequestInfoFilterInterface * * @param \Magento\Framework\DataObject $params * @return RequestInfoFilterInterface - * @since 2.2.0 + * @since 2.1.2 */ public function filter(\Magento\Framework\DataObject $params); } diff --git a/app/code/Magento/Checkout/Model/CompositeConfigProvider.php b/app/code/Magento/Checkout/Model/CompositeConfigProvider.php index 2754c5f048be1..3577b1a145403 100644 --- a/app/code/Magento/Checkout/Model/CompositeConfigProvider.php +++ b/app/code/Magento/Checkout/Model/CompositeConfigProvider.php @@ -10,20 +10,17 @@ * * @see \Magento\Checkout\Model\ConfigProviderInterface * @api - * @since 2.0.0 */ class CompositeConfigProvider implements ConfigProviderInterface { /** * @var ConfigProviderInterface[] - * @since 2.0.0 */ private $configProviders; /** * @param ConfigProviderInterface[] $configProviders * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( array $configProviders @@ -33,7 +30,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfig() { diff --git a/app/code/Magento/Checkout/Model/Config/Source/Cart/Summary.php b/app/code/Magento/Checkout/Model/Config/Source/Cart/Summary.php index b0661722b1c33..eef6442760a18 100644 --- a/app/code/Magento/Checkout/Model/Config/Source/Cart/Summary.php +++ b/app/code/Magento/Checkout/Model/Config/Source/Cart/Summary.php @@ -8,14 +8,12 @@ /** * Class \Magento\Checkout\Model\Config\Source\Cart\Summary * - * @since 2.0.0 */ class Summary implements \Magento\Framework\Option\ArrayInterface { /** * @return array * @codeCoverageIgnore - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Checkout/Model/ConfigProviderInterface.php b/app/code/Magento/Checkout/Model/ConfigProviderInterface.php index 35bc951ca217a..9e15027e26927 100644 --- a/app/code/Magento/Checkout/Model/ConfigProviderInterface.php +++ b/app/code/Magento/Checkout/Model/ConfigProviderInterface.php @@ -8,7 +8,6 @@ /** * Interface ConfigProviderInterface * @api - * @since 2.0.0 */ interface ConfigProviderInterface { @@ -16,7 +15,6 @@ interface ConfigProviderInterface * Retrieve assoc array of checkout configuration * * @return array - * @since 2.0.0 */ public function getConfig(); } diff --git a/app/code/Magento/Checkout/Model/DefaultConfigProvider.php b/app/code/Magento/Checkout/Model/DefaultConfigProvider.php index 9f3c8cfa8cfdb..dcf655682ed47 100644 --- a/app/code/Magento/Checkout/Model/DefaultConfigProvider.php +++ b/app/code/Magento/Checkout/Model/DefaultConfigProvider.php @@ -26,163 +26,136 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) - * @since 2.0.0 */ class DefaultConfigProvider implements ConfigProviderInterface { /** * @var CheckoutHelper - * @since 2.0.0 */ private $checkoutHelper; /** * @var CheckoutSession - * @since 2.0.0 */ private $checkoutSession; /** * @var CustomerRepository - * @since 2.0.0 */ private $customerRepository; /** * @var CustomerSession - * @since 2.0.0 */ private $customerSession; /** * @var CustomerUrlManager - * @since 2.0.0 */ private $customerUrlManager; /** * @var HttpContext - * @since 2.0.0 */ private $httpContext; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ private $quoteRepository; /** * @var QuoteItemRepository - * @since 2.0.0 */ private $quoteItemRepository; /** * @var ShippingMethodManager - * @since 2.0.0 */ private $shippingMethodManager; /** * @var ConfigurationPool - * @since 2.0.0 */ private $configurationPool; /** * @param QuoteIdMaskFactory - * @since 2.0.0 */ protected $quoteIdMaskFactory; /** * @var LocaleFormat - * @since 2.0.0 */ protected $localeFormat; /** * @var \Magento\Customer\Model\Address\Mapper - * @since 2.0.0 */ protected $addressMapper; /** * @var \Magento\Customer\Model\Address\Config - * @since 2.0.0 */ protected $addressConfig; /** * @var FormKey - * @since 2.0.0 */ protected $formKey; /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @var \Magento\Framework\View\ConfigInterface - * @since 2.0.0 */ protected $viewConfig; /** * @var \Magento\Directory\Model\Country\Postcode\ConfigInterface - * @since 2.0.0 */ protected $postCodesConfig; /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $directoryHelper; /** * @var Cart\ImageProvider - * @since 2.0.0 */ protected $imageProvider; /** * @var CartTotalRepositoryInterface - * @since 2.0.0 */ protected $cartTotalRepository; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Shipping\Model\Config - * @since 2.0.0 */ protected $shippingMethodConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Quote\Api\PaymentMethodManagementInterface - * @since 2.0.0 */ protected $paymentMethodManagement; /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -215,7 +188,6 @@ class DefaultConfigProvider implements ConfigProviderInterface * @param UrlInterface $urlBuilder * @codeCoverageIgnore * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( CheckoutHelper $checkoutHelper, @@ -275,7 +247,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfig() { @@ -331,7 +302,6 @@ public function getConfig() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ private function isAutocompleteEnabled() { @@ -345,7 +315,6 @@ private function isAutocompleteEnabled() * Retrieve customer data * * @return array - * @since 2.0.0 */ private function getCustomerData() { @@ -365,7 +334,6 @@ private function getCustomerData() * * @param \Magento\Customer\Api\Data\AddressInterface $address * @return string - * @since 2.0.0 */ private function getCustomerAddressInline($address) { @@ -380,7 +348,6 @@ private function getCustomerAddressInline($address) * Retrieve quote data * * @return array - * @since 2.0.0 */ private function getQuoteData() { @@ -406,7 +373,6 @@ private function getQuoteData() * Retrieve quote item data * * @return array - * @since 2.0.0 */ private function getQuoteItemData() { @@ -431,7 +397,6 @@ private function getQuoteItemData() * * @param \Magento\Quote\Api\Data\CartItemInterface $item * @return array - * @since 2.0.0 */ protected function getFormattedOptionValue($item) { @@ -456,7 +421,6 @@ protected function getFormattedOptionValue($item) * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getRegisterUrl() { @@ -468,7 +432,6 @@ public function getRegisterUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckoutUrl() { @@ -480,7 +443,6 @@ public function getCheckoutUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function pageNotFoundUrl() { @@ -503,7 +465,6 @@ public function getDefaultSuccessPageUrl() * Retrieve selected shipping method * * @return array|null - * @since 2.0.0 */ private function getSelectedShippingMethod() { @@ -525,7 +486,6 @@ private function getSelectedShippingMethod() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ private function getStoreCode() { @@ -537,7 +497,6 @@ private function getStoreCode() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ private function isGuestCheckoutAllowed() { @@ -549,7 +508,6 @@ private function isGuestCheckoutAllowed() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ private function isCustomerLoggedIn() { @@ -561,7 +519,6 @@ private function isCustomerLoggedIn() * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ private function isCustomerLoginRequired() { @@ -573,7 +530,6 @@ private function isCustomerLoginRequired() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ private function getForgotPasswordUrl() { @@ -585,7 +541,6 @@ private function getForgotPasswordUrl() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function getStaticBaseUrl() { @@ -595,7 +550,6 @@ protected function getStaticBaseUrl() /** * Return quote totals data * @return array - * @since 2.0.0 */ private function getTotalsData() { @@ -627,7 +581,6 @@ private function getTotalsData() /** * Returns active carriers codes * @return array - * @since 2.0.0 */ private function getActiveCarriers() { @@ -641,7 +594,6 @@ private function getActiveCarriers() /** * Returns origin country code * @return string - * @since 2.0.0 */ private function getOriginCountryCode() { @@ -655,7 +607,6 @@ private function getOriginCountryCode() /** * Returns array of payment methods * @return array - * @since 2.0.0 */ private function getPaymentMethods() { diff --git a/app/code/Magento/Checkout/Model/GuestPaymentInformationManagement.php b/app/code/Magento/Checkout/Model/GuestPaymentInformationManagement.php index 6f283ac09ec35..ab22afb2b4b24 100644 --- a/app/code/Magento/Checkout/Model/GuestPaymentInformationManagement.php +++ b/app/code/Magento/Checkout/Model/GuestPaymentInformationManagement.php @@ -11,44 +11,37 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class GuestPaymentInformationManagement implements \Magento\Checkout\Api\GuestPaymentInformationManagementInterface { /** * @var \Magento\Quote\Api\GuestBillingAddressManagementInterface - * @since 2.0.0 */ protected $billingAddressManagement; /** * @var \Magento\Quote\Api\GuestPaymentMethodManagementInterface - * @since 2.0.0 */ protected $paymentMethodManagement; /** * @var \Magento\Quote\Api\GuestCartManagementInterface - * @since 2.0.0 */ protected $cartManagement; /** * @var \Magento\Checkout\Api\PaymentInformationManagementInterface - * @since 2.0.0 */ protected $paymentInformationManagement; /** * @var \Magento\Quote\Model\QuoteIdMaskFactory - * @since 2.0.0 */ protected $quoteIdMaskFactory; /** * @var CartRepositoryInterface - * @since 2.0.0 */ protected $cartRepository; @@ -66,7 +59,6 @@ class GuestPaymentInformationManagement implements \Magento\Checkout\Api\GuestPa * @param \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory * @param CartRepositoryInterface $cartRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Api\GuestBillingAddressManagementInterface $billingAddressManagement, @@ -86,7 +78,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function savePaymentInformationAndPlaceOrder( $cartId, @@ -114,7 +105,6 @@ public function savePaymentInformationAndPlaceOrder( /** * {@inheritDoc} - * @since 2.0.0 */ public function savePaymentInformation( $cartId, @@ -136,7 +126,6 @@ public function savePaymentInformation( /** * {@inheritDoc} - * @since 2.0.0 */ public function getPaymentInformation($cartId) { diff --git a/app/code/Magento/Checkout/Model/GuestShippingInformationManagement.php b/app/code/Magento/Checkout/Model/GuestShippingInformationManagement.php index e4f160bb4edf1..7411b026289b7 100644 --- a/app/code/Magento/Checkout/Model/GuestShippingInformationManagement.php +++ b/app/code/Magento/Checkout/Model/GuestShippingInformationManagement.php @@ -8,19 +8,16 @@ /** * Class \Magento\Checkout\Model\GuestShippingInformationManagement * - * @since 2.0.0 */ class GuestShippingInformationManagement implements \Magento\Checkout\Api\GuestShippingInformationManagementInterface { /** * @var \Magento\Quote\Model\QuoteIdMaskFactory - * @since 2.0.0 */ protected $quoteIdMaskFactory; /** * @var \Magento\Checkout\Api\ShippingInformationManagementInterface - * @since 2.0.0 */ protected $shippingInformationManagement; @@ -28,7 +25,6 @@ class GuestShippingInformationManagement implements \Magento\Checkout\Api\GuestS * @param \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory * @param \Magento\Checkout\Api\ShippingInformationManagementInterface $shippingInformationManagement * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function saveAddressInformation( $cartId, diff --git a/app/code/Magento/Checkout/Model/GuestTotalsInformationManagement.php b/app/code/Magento/Checkout/Model/GuestTotalsInformationManagement.php index 923b06e19476f..3e71323e13cd5 100644 --- a/app/code/Magento/Checkout/Model/GuestTotalsInformationManagement.php +++ b/app/code/Magento/Checkout/Model/GuestTotalsInformationManagement.php @@ -8,19 +8,16 @@ /** * Class \Magento\Checkout\Model\GuestTotalsInformationManagement * - * @since 2.0.0 */ class GuestTotalsInformationManagement implements \Magento\Checkout\Api\GuestTotalsInformationManagementInterface { /** * @var \Magento\Quote\Model\QuoteIdMaskFactory - * @since 2.0.0 */ protected $quoteIdMaskFactory; /** * @var \Magento\Checkout\Api\TotalsInformationManagementInterface - * @since 2.0.0 */ protected $totalsInformationManagement; @@ -28,7 +25,6 @@ class GuestTotalsInformationManagement implements \Magento\Checkout\Api\GuestTot * @param \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory * @param \Magento\Checkout\Api\TotalsInformationManagementInterface $totalsInformationManagement * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory, @@ -40,7 +36,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function calculate( $cartId, diff --git a/app/code/Magento/Checkout/Model/Layout/AbstractTotalsProcessor.php b/app/code/Magento/Checkout/Model/Layout/AbstractTotalsProcessor.php index c285b5fd65a5f..12a8838a7e9ed 100644 --- a/app/code/Magento/Checkout/Model/Layout/AbstractTotalsProcessor.php +++ b/app/code/Magento/Checkout/Model/Layout/AbstractTotalsProcessor.php @@ -14,7 +14,6 @@ * Abstract class provides sorting routing to sort total information based on configuration settings. * * @api - * @since 2.0.0 */ abstract class AbstractTotalsProcessor { @@ -22,14 +21,12 @@ abstract class AbstractTotalsProcessor * Core store config * * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @param ScopeConfigInterface $scopeConfig * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( ScopeConfigInterface $scopeConfig @@ -40,7 +37,6 @@ public function __construct( /** * @param array $totals * @return array - * @since 2.0.0 */ public function sortTotals($totals) { diff --git a/app/code/Magento/Checkout/Model/Layout/DepersonalizePlugin.php b/app/code/Magento/Checkout/Model/Layout/DepersonalizePlugin.php index 50c4e041fe8f9..de36bf658c59d 100644 --- a/app/code/Magento/Checkout/Model/Layout/DepersonalizePlugin.php +++ b/app/code/Magento/Checkout/Model/Layout/DepersonalizePlugin.php @@ -9,19 +9,16 @@ /** * Class DepersonalizePlugin - * @since 2.0.0 */ class DepersonalizePlugin { /** * @var DepersonalizeChecker - * @since 2.0.0 */ protected $depersonalizeChecker; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; @@ -29,7 +26,6 @@ class DepersonalizePlugin * @param DepersonalizeChecker $depersonalizeChecker * @param \Magento\Checkout\Model\Session $checkoutSession * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( DepersonalizeChecker $depersonalizeChecker, @@ -45,7 +41,6 @@ public function __construct( * @param \Magento\Framework\View\LayoutInterface $subject * @param \Magento\Framework\View\LayoutInterface $result * @return \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ public function afterGenerateXml(\Magento\Framework\View\LayoutInterface $subject, $result) { diff --git a/app/code/Magento/Checkout/Model/PaymentDetails.php b/app/code/Magento/Checkout/Model/PaymentDetails.php index 804c14f7555c7..803f93da2b845 100644 --- a/app/code/Magento/Checkout/Model/PaymentDetails.php +++ b/app/code/Magento/Checkout/Model/PaymentDetails.php @@ -7,14 +7,12 @@ /** * @codeCoverageIgnoreStart - * @since 2.0.0 */ class PaymentDetails extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\Checkout\Api\Data\PaymentDetailsInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getPaymentMethods() { @@ -23,7 +21,6 @@ public function getPaymentMethods() /** * {@inheritdoc} - * @since 2.0.0 */ public function setPaymentMethods($paymentMethods) { @@ -32,7 +29,6 @@ public function setPaymentMethods($paymentMethods) /** * {@inheritdoc} - * @since 2.0.0 */ public function getTotals() { @@ -41,7 +37,6 @@ public function getTotals() /** * {@inheritdoc} - * @since 2.0.0 */ public function setTotals($totals) { @@ -52,7 +47,6 @@ public function setTotals($totals) * {@inheritdoc} * * @return \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -64,7 +58,6 @@ public function getExtensionAttributes() * * @param \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Model/PaymentInformationManagement.php b/app/code/Magento/Checkout/Model/PaymentInformationManagement.php index 9499008919236..5ef30c5f37611 100644 --- a/app/code/Magento/Checkout/Model/PaymentInformationManagement.php +++ b/app/code/Magento/Checkout/Model/PaymentInformationManagement.php @@ -9,38 +9,32 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class PaymentInformationManagement implements \Magento\Checkout\Api\PaymentInformationManagementInterface { /** * @var \Magento\Quote\Api\BillingAddressManagementInterface * @deprecated 2.2.0 This call was substituted to eliminate extra quote::save call - * @since 2.0.0 */ protected $billingAddressManagement; /** * @var \Magento\Quote\Api\PaymentMethodManagementInterface - * @since 2.0.0 */ protected $paymentMethodManagement; /** * @var \Magento\Quote\Api\CartManagementInterface - * @since 2.0.0 */ protected $cartManagement; /** * @var PaymentDetailsFactory - * @since 2.0.0 */ protected $paymentDetailsFactory; /** * @var \Magento\Quote\Api\CartTotalRepositoryInterface - * @since 2.0.0 */ protected $cartTotalsRepository; @@ -63,7 +57,6 @@ class PaymentInformationManagement implements \Magento\Checkout\Api\PaymentInfor * @param PaymentDetailsFactory $paymentDetailsFactory * @param \Magento\Quote\Api\CartTotalRepositoryInterface $cartTotalsRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Api\BillingAddressManagementInterface $billingAddressManagement, @@ -81,7 +74,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function savePaymentInformationAndPlaceOrder( $cartId, @@ -108,7 +100,6 @@ public function savePaymentInformationAndPlaceOrder( /** * {@inheritDoc} - * @since 2.0.0 */ public function savePaymentInformation( $cartId, @@ -136,7 +127,6 @@ public function savePaymentInformation( /** * {@inheritDoc} - * @since 2.0.0 */ public function getPaymentInformation($cartId) { diff --git a/app/code/Magento/Checkout/Model/ResourceModel/Cart.php b/app/code/Magento/Checkout/Model/ResourceModel/Cart.php index 3c0cd717e62c6..add1966b819a1 100644 --- a/app/code/Magento/Checkout/Model/ResourceModel/Cart.php +++ b/app/code/Magento/Checkout/Model/ResourceModel/Cart.php @@ -9,7 +9,6 @@ * Resource model for Checkout Cart * * @author Magento Core Team - * @since 2.0.0 */ class Cart extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -18,7 +17,6 @@ class Cart extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -30,7 +28,6 @@ protected function _construct() * * @param int $quoteId * @return array - * @since 2.0.0 */ public function fetchItemsSummary($quoteId) { @@ -51,7 +48,6 @@ public function fetchItemsSummary($quoteId) * * @param int $quoteId * @return array - * @since 2.0.0 */ public function fetchItems($quoteId) { @@ -72,7 +68,6 @@ public function fetchItems($quoteId) * @param \Magento\Catalog\Model\ResourceModel\Product\Collection $collection * @param int $quoteId * @return $this - * @since 2.0.0 */ public function addExcludeProductFilter($collection, $quoteId) { diff --git a/app/code/Magento/Checkout/Model/Session.php b/app/code/Magento/Checkout/Model/Session.php index 2fd912aa07e2c..31513d25a9ce1 100644 --- a/app/code/Magento/Checkout/Model/Session.php +++ b/app/code/Magento/Checkout/Model/Session.php @@ -12,7 +12,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Session extends \Magento\Framework\Session\SessionManager { @@ -25,7 +24,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Quote instance * * @var Quote - * @since 2.0.0 */ protected $_quote; @@ -33,7 +31,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Customer Data Object * * @var CustomerInterface|null - * @since 2.0.0 */ protected $_customer; @@ -41,7 +38,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Whether load only active quote * * @var bool - * @since 2.0.0 */ protected $_loadInactive = false; @@ -49,67 +45,56 @@ class Session extends \Magento\Framework\Session\SessionManager * Loaded order instance * * @var \Magento\Sales\Model\Order - * @since 2.0.0 */ protected $_order; /** * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $_orderFactory; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Framework\HTTP\PhpEnvironment\RemoteAddress - * @since 2.0.0 */ protected $_remoteAddress; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @param QuoteIdMaskFactory - * @since 2.0.0 */ protected $quoteIdMaskFactory; /** * @param bool - * @since 2.0.0 */ protected $isQuoteMasked; /** * @var \Magento\Quote\Model\QuoteFactory - * @since 2.0.0 */ protected $quoteFactory; @@ -133,7 +118,6 @@ class Session extends \Magento\Framework\Session\SessionManager * @param QuoteIdMaskFactory $quoteIdMaskFactory * @param \Magento\Quote\Model\QuoteFactory $quoteFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request, @@ -183,7 +167,6 @@ public function __construct( * @param CustomerInterface|null $customer * @return \Magento\Checkout\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function setCustomerData($customer) { @@ -196,7 +179,6 @@ public function setCustomerData($customer) * * @return bool * @codeCoverageIgnore - * @since 2.0.0 */ public function hasQuote() { @@ -209,7 +191,6 @@ public function hasQuote() * @param bool $load * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setLoadInactive($load = true) { @@ -223,7 +204,6 @@ public function setLoadInactive($load = true) * @return Quote * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getQuote() { @@ -307,7 +287,6 @@ public function getQuote() /** * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getQuoteIdKey() { @@ -318,7 +297,6 @@ protected function _getQuoteIdKey() * @param int $quoteId * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function setQuoteId($quoteId) { @@ -328,7 +306,6 @@ public function setQuoteId($quoteId) /** * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getQuoteId() { @@ -339,7 +316,6 @@ public function getQuoteId() * Load data for customer quote and merge with current quote * * @return $this - * @since 2.0.0 */ public function loadCustomerQuote() { @@ -385,7 +361,6 @@ public function loadCustomerQuote() * @param array|string $data * @param bool|string|null $value * @return $this - * @since 2.0.0 */ public function setStepData($step, $data, $value = null) { @@ -411,7 +386,6 @@ public function setStepData($step, $data, $value = null) * @param string|null $step * @param string|null $data * @return array|string|bool - * @since 2.0.0 */ public function getStepData($step = null, $data = null) { @@ -436,7 +410,6 @@ public function getStepData($step = null, $data = null) * Unset all data associated with object * * @return $this - * @since 2.0.0 */ public function clearQuote() { @@ -451,7 +424,6 @@ public function clearQuote() * Unset all session data and quote * * @return $this - * @since 2.0.0 */ public function clearStorage() { @@ -464,7 +436,6 @@ public function clearStorage() * Clear misc checkout parameters * * @return void - * @since 2.0.0 */ public function clearHelperData() { @@ -474,7 +445,6 @@ public function clearHelperData() /** * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function resetCheckout() { @@ -485,7 +455,6 @@ public function resetCheckout() /** * @param Quote $quote * @return $this - * @since 2.0.0 */ public function replaceQuote($quote) { @@ -498,7 +467,6 @@ public function replaceQuote($quote) * Get order instance based on last order ID * * @return \Magento\Sales\Model\Order - * @since 2.0.0 */ public function getLastRealOrder() { @@ -517,7 +485,6 @@ public function getLastRealOrder() * Restore last active quote * * @return bool True if quote restored successfully, false otherwise - * @since 2.0.0 */ public function restoreQuote() { @@ -541,7 +508,6 @@ public function restoreQuote() * @param $isQuoteMasked bool * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function setIsQuoteMasked($isQuoteMasked) { @@ -551,7 +517,6 @@ protected function setIsQuoteMasked($isQuoteMasked) /** * @return bool|null * @codeCoverageIgnore - * @since 2.0.0 */ protected function isQuoteMasked() { diff --git a/app/code/Magento/Checkout/Model/Session/SuccessValidator.php b/app/code/Magento/Checkout/Model/Session/SuccessValidator.php index d1b343995b600..5858dcba8b902 100644 --- a/app/code/Magento/Checkout/Model/Session/SuccessValidator.php +++ b/app/code/Magento/Checkout/Model/Session/SuccessValidator.php @@ -9,20 +9,17 @@ * Test if checkout session valid for success action * * @api - * @since 2.0.0 */ class SuccessValidator { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @param \Magento\Checkout\Model\Session $checkoutSession * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession @@ -32,7 +29,6 @@ public function __construct( /** * @return bool - * @since 2.0.0 */ public function isValid() { diff --git a/app/code/Magento/Checkout/Model/ShippingInformation.php b/app/code/Magento/Checkout/Model/ShippingInformation.php index d4e3adab5c6df..ee0cd3ecedf07 100644 --- a/app/code/Magento/Checkout/Model/ShippingInformation.php +++ b/app/code/Magento/Checkout/Model/ShippingInformation.php @@ -10,13 +10,11 @@ /** * @codeCoverageIgnoreStart - * @since 2.0.0 */ class ShippingInformation extends AbstractExtensibleModel implements ShippingInformationInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getShippingAddress() { @@ -25,7 +23,6 @@ public function getShippingAddress() /** * {@inheritdoc} - * @since 2.0.0 */ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $address) { @@ -34,7 +31,6 @@ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $add /** * {@inheritdoc} - * @since 2.0.0 */ public function getBillingAddress() { @@ -43,7 +39,6 @@ public function getBillingAddress() /** * {@inheritdoc} - * @since 2.0.0 */ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $address) { @@ -52,7 +47,6 @@ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $addr /** * {@inheritdoc} - * @since 2.0.0 */ public function getShippingMethodCode() { @@ -61,7 +55,6 @@ public function getShippingMethodCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function setShippingMethodCode($code) { @@ -70,7 +63,6 @@ public function setShippingMethodCode($code) /** * {@inheritdoc} - * @since 2.0.0 */ public function getShippingCarrierCode() { @@ -79,7 +71,6 @@ public function getShippingCarrierCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function setShippingCarrierCode($code) { @@ -88,7 +79,6 @@ public function setShippingCarrierCode($code) /** * {@inheritdoc} - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -97,7 +87,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\ShippingInformationExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Model/ShippingInformationManagement.php b/app/code/Magento/Checkout/Model/ShippingInformationManagement.php index 61ad14f93c036..d0fb4a1508b0d 100644 --- a/app/code/Magento/Checkout/Model/ShippingInformationManagement.php +++ b/app/code/Magento/Checkout/Model/ShippingInformationManagement.php @@ -19,65 +19,55 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInformationManagementInterface { /** * @var \Magento\Quote\Api\PaymentMethodManagementInterface - * @since 2.0.0 */ protected $paymentMethodManagement; /** * @var PaymentDetailsFactory - * @since 2.0.0 */ protected $paymentDetailsFactory; /** * @var \Magento\Quote\Api\CartTotalRepositoryInterface - * @since 2.0.0 */ protected $cartTotalsRepository; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var Logger - * @since 2.0.0 */ protected $logger; /** * @var QuoteAddressValidator * @deprecated 2.2.0 - * @since 2.0.0 */ protected $addressValidator; /** * @var \Magento\Customer\Api\AddressRepositoryInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $addressRepository; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Quote\Model\Quote\TotalsCollector * @deprecated 2.2.0 - * @since 2.0.0 */ protected $totalsCollector; @@ -115,7 +105,6 @@ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInf * @param ShippingAssignmentFactory|null $shippingAssignmentFactory, * @param ShippingFactory|null $shippingFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Quote\Api\PaymentMethodManagementInterface $paymentMethodManagement, @@ -150,7 +139,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function saveAddressInformation( $cartId, @@ -209,7 +197,6 @@ public function saveAddressInformation( * @throws InputException * @throws NoSuchEntityException * @return void - * @since 2.0.0 */ protected function validateQuote(\Magento\Quote\Model\Quote $quote) { diff --git a/app/code/Magento/Checkout/Model/Sidebar.php b/app/code/Magento/Checkout/Model/Sidebar.php index 31c41377d585a..76271e5612381 100644 --- a/app/code/Magento/Checkout/Model/Sidebar.php +++ b/app/code/Magento/Checkout/Model/Sidebar.php @@ -14,31 +14,26 @@ /** * @deprecated 2.1.0 - * @since 2.0.0 */ class Sidebar { /** * @var Cart - * @since 2.0.0 */ protected $cart; /** * @var HelperData - * @since 2.0.0 */ protected $helperData; /** * @var ResolverInterface - * @since 2.0.0 */ protected $resolver; /** * @var int - * @since 2.0.0 */ protected $summaryQty; @@ -47,7 +42,6 @@ class Sidebar * @param HelperData $helperData * @param ResolverInterface $resolver * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( Cart $cart, @@ -64,7 +58,6 @@ public function __construct( * * @param string $error * @return array - * @since 2.0.0 */ public function getResponseData($error = '') { @@ -87,7 +80,6 @@ public function getResponseData($error = '') * @param int $itemId * @throws LocalizedException * @return $this - * @since 2.0.0 */ public function checkQuoteItem($itemId) { @@ -103,7 +95,6 @@ public function checkQuoteItem($itemId) * * @param int $itemId * @return $this - * @since 2.0.0 */ public function removeQuoteItem($itemId) { @@ -119,7 +110,6 @@ public function removeQuoteItem($itemId) * @param int $itemQty * @throws LocalizedException * @return $this - * @since 2.0.0 */ public function updateQuoteItem($itemId, $itemQty) { @@ -133,7 +123,6 @@ public function updateQuoteItem($itemId, $itemQty) * * @param int $itemQty * @return int|array - * @since 2.0.0 */ protected function normalize($itemQty) { @@ -150,7 +139,6 @@ protected function normalize($itemQty) * Retrieve summary qty * * @return int - * @since 2.0.0 */ protected function getSummaryQty() { @@ -164,7 +152,6 @@ protected function getSummaryQty() * Retrieve summary qty text * * @return string - * @since 2.0.0 */ protected function getSummaryText() { @@ -175,7 +162,6 @@ protected function getSummaryText() * Retrieve subtotal block html * * @return string - * @since 2.0.0 */ protected function getSubtotalHtml() { diff --git a/app/code/Magento/Checkout/Model/TotalsInformation.php b/app/code/Magento/Checkout/Model/TotalsInformation.php index f6c6b2910a70c..49b118f499184 100644 --- a/app/code/Magento/Checkout/Model/TotalsInformation.php +++ b/app/code/Magento/Checkout/Model/TotalsInformation.php @@ -10,13 +10,11 @@ /** * @codeCoverageIgnoreStart - * @since 2.0.0 */ class TotalsInformation extends AbstractExtensibleModel implements TotalsInformationInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getAddress() { @@ -25,7 +23,6 @@ public function getAddress() /** * {@inheritdoc} - * @since 2.0.0 */ public function setAddress(\Magento\Quote\Api\Data\AddressInterface $address) { @@ -34,7 +31,6 @@ public function setAddress(\Magento\Quote\Api\Data\AddressInterface $address) /** * {@inheritdoc} - * @since 2.0.0 */ public function getShippingMethodCode() { @@ -43,7 +39,6 @@ public function getShippingMethodCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function setShippingMethodCode($code) { @@ -52,7 +47,6 @@ public function setShippingMethodCode($code) /** * {@inheritdoc} - * @since 2.0.0 */ public function getShippingCarrierCode() { @@ -61,7 +55,6 @@ public function getShippingCarrierCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function setShippingCarrierCode($code) { @@ -70,7 +63,6 @@ public function setShippingCarrierCode($code) /** * {@inheritdoc} - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -79,7 +71,6 @@ public function getExtensionAttributes() /** * {@inheritdoc} - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\Checkout\Api\Data\TotalsInformationExtensionInterface $extensionAttributes diff --git a/app/code/Magento/Checkout/Model/TotalsInformationManagement.php b/app/code/Magento/Checkout/Model/TotalsInformationManagement.php index 27099a86d531b..efb638d299864 100644 --- a/app/code/Magento/Checkout/Model/TotalsInformationManagement.php +++ b/app/code/Magento/Checkout/Model/TotalsInformationManagement.php @@ -7,7 +7,6 @@ /** * Class TotalsInformationManagement - * @since 2.0.0 */ class TotalsInformationManagement implements \Magento\Checkout\Api\TotalsInformationManagementInterface { @@ -15,7 +14,6 @@ class TotalsInformationManagement implements \Magento\Checkout\Api\TotalsInforma * Cart total repository. * * @var \Magento\Quote\Api\CartTotalRepositoryInterface - * @since 2.0.0 */ protected $cartTotalRepository; @@ -23,7 +21,6 @@ class TotalsInformationManagement implements \Magento\Checkout\Api\TotalsInforma * Quote repository. * * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $cartRepository; @@ -31,7 +28,6 @@ class TotalsInformationManagement implements \Magento\Checkout\Api\TotalsInforma * @param \Magento\Quote\Api\CartRepositoryInterface $cartRepository * @param \Magento\Quote\Api\CartTotalRepositoryInterface $cartTotalRepository * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Quote\Api\CartRepositoryInterface $cartRepository, @@ -43,7 +39,6 @@ public function __construct( /** * {@inheritDoc} - * @since 2.0.0 */ public function calculate( $cartId, @@ -70,7 +65,6 @@ public function calculate( * @param \Magento\Quote\Model\Quote $quote * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ protected function validateQuote(\Magento\Quote\Model\Quote $quote) { diff --git a/app/code/Magento/Checkout/Model/Type/Onepage.php b/app/code/Magento/Checkout/Model/Type/Onepage.php index b967e0ad40914..bc6eb07b51a41 100644 --- a/app/code/Magento/Checkout/Model/Type/Onepage.php +++ b/app/code/Magento/Checkout/Model/Type/Onepage.php @@ -18,7 +18,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Onepage { @@ -33,31 +32,26 @@ class Onepage /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $_checkoutSession; /** * @var \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected $_quote = null; /** * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $_helper; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; @@ -65,7 +59,6 @@ class Onepage * Customer url * * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -73,127 +66,106 @@ class Onepage * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager = null; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $_request; /** * @var \Magento\Customer\Model\AddressFactory - * @since 2.0.0 */ protected $_customrAddrFactory; /** * @var \Magento\Customer\Model\FormFactory - * @since 2.0.0 */ protected $_customerFormFactory; /** * @var \Magento\Customer\Model\CustomerFactory - * @since 2.0.0 */ protected $_customerFactory; /** * @var \Magento\Sales\Model\OrderFactory - * @since 2.0.0 */ protected $_orderFactory; /** * @var \Magento\Framework\DataObject\Copy - * @since 2.0.0 */ protected $_objectCopyService; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Customer\Model\Metadata\FormFactory - * @since 2.0.0 */ protected $_formFactory; /** * @var CustomerDataFactory - * @since 2.0.0 */ protected $customerDataFactory; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var AddressRepositoryInterface - * @since 2.0.0 */ protected $addressRepository; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @var OrderSender - * @since 2.0.0 */ protected $orderSender; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ protected $extensibleDataObjectConverter; /** * @var \Magento\Quote\Api\CartManagementInterface - * @since 2.0.0 */ protected $quoteManagement; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Quote\Model\Quote\TotalsCollector - * @since 2.0.0 */ protected $totalsCollector; @@ -227,7 +199,6 @@ class Onepage * @param \Magento\Quote\Model\Quote\TotalsCollector $totalsCollector * @codeCoverageIgnore * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Event\ManagerInterface $eventManager, @@ -292,7 +263,6 @@ public function __construct( * * @return \Magento\Checkout\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCheckout() { @@ -303,7 +273,6 @@ public function getCheckout() * Quote object getter * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ public function getQuote() { @@ -319,7 +288,6 @@ public function getQuote() * @param \Magento\Quote\Model\Quote $quote * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setQuote(\Magento\Quote\Model\Quote $quote) { @@ -332,7 +300,6 @@ public function setQuote(\Magento\Quote\Model\Quote $quote) * * @return \Magento\Customer\Model\Session * @codeCoverageIgnore - * @since 2.0.0 */ public function getCustomerSession() { @@ -344,7 +311,6 @@ public function getCustomerSession() * * @return $this * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function initCheckout() { @@ -379,7 +345,6 @@ public function initCheckout() * Get quote checkout method * * @return string - * @since 2.0.0 */ public function getCheckoutMethod() { @@ -401,7 +366,6 @@ public function getCheckoutMethod() * * @param string $method * @return array - * @since 2.0.0 */ public function saveCheckoutMethod($method) { @@ -418,7 +382,6 @@ public function saveCheckoutMethod($method) * Check whether checkout method is "register" * * @return bool - * @since 2.0.0 */ protected function isCheckoutMethodRegister() { @@ -433,7 +396,6 @@ protected function isCheckoutMethodRegister() * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function saveShipping($data, $customerAddressId) { @@ -513,7 +475,6 @@ public function saveShipping($data, $customerAddressId) * * @param string $shippingMethod * @return array - * @since 2.0.0 */ public function saveShippingMethod($shippingMethod) { @@ -540,7 +501,6 @@ public function saveShippingMethod($shippingMethod) * * @param array $data * @return array - * @since 2.0.0 */ public function savePayment($data) { @@ -577,7 +537,6 @@ public function savePayment($data) * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function validate() { @@ -598,7 +557,6 @@ protected function validate() * Prepare quote for guest checkout order submit * * @return $this - * @since 2.0.0 */ protected function _prepareGuestQuote() { @@ -614,7 +572,6 @@ protected function _prepareGuestQuote() * Prepare quote for customer registration and customer order submit * * @return void - * @since 2.0.0 */ protected function _prepareNewCustomerQuote() { @@ -659,7 +616,6 @@ protected function _prepareNewCustomerQuote() * * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _prepareCustomerQuote() { @@ -703,7 +659,6 @@ protected function _prepareCustomerQuote() * Involve new customer to system * * @return $this - * @since 2.0.0 */ protected function _involveNewCustomer() { @@ -729,7 +684,6 @@ protected function _involveNewCustomer() * Create order based on checkout type. Create customer if necessary. * * @return $this - * @since 2.0.0 */ public function saveOrder() { @@ -806,7 +760,6 @@ public function saveOrder() * @param int $websiteId * @return false|\Magento\Customer\Model\Customer * @codeCoverageIgnore - * @since 2.0.0 */ protected function _customerEmailExists($email, $websiteId = null) { @@ -817,7 +770,6 @@ protected function _customerEmailExists($email, $websiteId = null) * Get last order increment id by order id * * @return string - * @since 2.0.0 */ public function getLastOrderId() { diff --git a/app/code/Magento/Checkout/Observer/LoadCustomerQuoteObserver.php b/app/code/Magento/Checkout/Observer/LoadCustomerQuoteObserver.php index d76e474f4674b..9534a86133890 100644 --- a/app/code/Magento/Checkout/Observer/LoadCustomerQuoteObserver.php +++ b/app/code/Magento/Checkout/Observer/LoadCustomerQuoteObserver.php @@ -10,19 +10,16 @@ /** * Class \Magento\Checkout\Observer\LoadCustomerQuoteObserver * - * @since 2.0.0 */ class LoadCustomerQuoteObserver implements ObserverInterface { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; @@ -30,7 +27,6 @@ class LoadCustomerQuoteObserver implements ObserverInterface * @param \Magento\Checkout\Model\Session $checkoutSession * @param \Magento\Framework\Message\ManagerInterface $messageManager * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Model\Session $checkoutSession, @@ -44,7 +40,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Checkout/Observer/SalesQuoteSaveAfterObserver.php b/app/code/Magento/Checkout/Observer/SalesQuoteSaveAfterObserver.php index 237bd44e24fbc..1b7b4d2b291ee 100644 --- a/app/code/Magento/Checkout/Observer/SalesQuoteSaveAfterObserver.php +++ b/app/code/Magento/Checkout/Observer/SalesQuoteSaveAfterObserver.php @@ -10,20 +10,17 @@ /** * Class \Magento\Checkout\Observer\SalesQuoteSaveAfterObserver * - * @since 2.0.0 */ class SalesQuoteSaveAfterObserver implements ObserverInterface { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @param \Magento\Checkout\Model\Session $checkoutSession * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct(\Magento\Checkout\Model\Session $checkoutSession) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Checkout\Model\Session $checkoutSession) /** * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Checkout/Observer/UnsetAllObserver.php b/app/code/Magento/Checkout/Observer/UnsetAllObserver.php index f548f9f8d1c3b..6ce06df133b91 100644 --- a/app/code/Magento/Checkout/Observer/UnsetAllObserver.php +++ b/app/code/Magento/Checkout/Observer/UnsetAllObserver.php @@ -10,20 +10,17 @@ /** * Class \Magento\Checkout\Observer\UnsetAllObserver * - * @since 2.0.0 */ class UnsetAllObserver implements ObserverInterface { /** * @var \Magento\Checkout\Model\Session - * @since 2.0.0 */ protected $checkoutSession; /** * @param \Magento\Checkout\Model\Session $checkoutSession * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct(\Magento\Checkout\Model\Session $checkoutSession) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Checkout\Model\Session $checkoutSession) * @param \Magento\Framework\Event\Observer $observer * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Checkout/Setup/InstallData.php b/app/code/Magento/Checkout/Setup/InstallData.php index 44e1082c9a452..38879e06d65ac 100644 --- a/app/code/Magento/Checkout/Setup/InstallData.php +++ b/app/code/Magento/Checkout/Setup/InstallData.php @@ -15,7 +15,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -23,7 +22,6 @@ class InstallData implements InstallDataInterface * EAV setup factory * * @var EavSetupFactory - * @since 2.0.0 */ private $eavSetupFactory; @@ -31,7 +29,6 @@ class InstallData implements InstallDataInterface * Customer address * * @var Address - * @since 2.0.0 */ private $customerAddress; @@ -40,7 +37,6 @@ class InstallData implements InstallDataInterface * * @param EavSetupFactory $eavSetupFactory * @param Address $customerAddress - * @since 2.0.0 */ public function __construct(EavSetupFactory $eavSetupFactory, Address $customerAddress) { @@ -53,7 +49,6 @@ public function __construct(EavSetupFactory $eavSetupFactory, Address $customerA * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CheckoutAgreements/Api/CheckoutAgreementsRepositoryInterface.php b/app/code/Magento/CheckoutAgreements/Api/CheckoutAgreementsRepositoryInterface.php index 6640115c272e3..ea4756bc10e98 100644 --- a/app/code/Magento/CheckoutAgreements/Api/CheckoutAgreementsRepositoryInterface.php +++ b/app/code/Magento/CheckoutAgreements/Api/CheckoutAgreementsRepositoryInterface.php @@ -8,7 +8,6 @@ /** * Interface CheckoutAgreementsRepositoryInterface * @api - * @since 2.0.0 */ interface CheckoutAgreementsRepositoryInterface { @@ -18,7 +17,6 @@ interface CheckoutAgreementsRepositoryInterface * @param int $id * @param int $storeId * @return \Magento\CheckoutAgreements\Api\Data\AgreementInterface - * @since 2.0.0 */ public function get($id, $storeId = null); @@ -26,7 +24,6 @@ public function get($id, $storeId = null); * Lists active checkout agreements. * * @return \Magento\CheckoutAgreements\Api\Data\AgreementInterface[] - * @since 2.0.0 */ public function getList(); @@ -38,7 +35,6 @@ public function getList(); * @return \Magento\CheckoutAgreements\Api\Data\AgreementInterface * @throws \Magento\Framework\Exception\CouldNotSaveException If there is a problem with the input * @throws \Magento\Framework\Exception\NoSuchEntityException If a ID is sent but the entity does not exist - * @since 2.0.0 */ public function save(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $data, $storeId = null); @@ -48,7 +44,6 @@ public function save(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $da * @param \Magento\CheckoutAgreements\Api\Data\AgreementInterface $data * @return bool * @throws \Magento\Framework\Exception\CouldNotDeleteException If there is a problem with the input - * @since 2.0.0 */ public function delete(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $data); @@ -59,7 +54,6 @@ public function delete(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $ * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException If a ID is sent but the entity does not exist * @throws \Magento\Framework\Exception\CouldNotDeleteException If there is a problem with the input - * @since 2.0.0 */ public function deleteById($id); } diff --git a/app/code/Magento/CheckoutAgreements/Api/Data/AgreementInterface.php b/app/code/Magento/CheckoutAgreements/Api/Data/AgreementInterface.php index 5568fe1f4ed04..20eddb5164140 100644 --- a/app/code/Magento/CheckoutAgreements/Api/Data/AgreementInterface.php +++ b/app/code/Magento/CheckoutAgreements/Api/Data/AgreementInterface.php @@ -8,7 +8,6 @@ /** * Interface AgreementInterface * @api - * @since 2.0.0 */ interface AgreementInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -29,7 +28,6 @@ interface AgreementInterface extends \Magento\Framework\Api\ExtensibleDataInterf * Returns the agreement ID. * * @return int Agreement ID. - * @since 2.0.0 */ public function getAgreementId(); @@ -38,7 +36,6 @@ public function getAgreementId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setAgreementId($id); @@ -46,7 +43,6 @@ public function setAgreementId($id); * Returns the agreement name. * * @return string Agreement name. - * @since 2.0.0 */ public function getName(); @@ -55,7 +51,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -63,7 +58,6 @@ public function setName($name); * Returns the agreement content. * * @return string Agreement content. - * @since 2.0.0 */ public function getContent(); @@ -72,7 +66,6 @@ public function getContent(); * * @param string $content * @return $this - * @since 2.0.0 */ public function setContent($content); @@ -80,7 +73,6 @@ public function setContent($content); * Returns the agreement content height, which is an optional CSS property. * * @return string|null Agreement content height. Otherwise, null. - * @since 2.0.0 */ public function getContentHeight(); @@ -89,7 +81,6 @@ public function getContentHeight(); * * @param string|null $height * @return $this - * @since 2.0.0 */ public function setContentHeight($height); @@ -97,7 +88,6 @@ public function setContentHeight($height); * Returns the agreement checkbox text. * * @return string Agreement checkbox text. - * @since 2.0.0 */ public function getCheckboxText(); @@ -106,7 +96,6 @@ public function getCheckboxText(); * * @param string $text * @return $this - * @since 2.0.0 */ public function setCheckboxText($text); @@ -115,7 +104,6 @@ public function setCheckboxText($text); * * @return bool Agreement status. * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsActive(); @@ -124,7 +112,6 @@ public function getIsActive(); * * @param bool $status * @return $this - * @since 2.0.0 */ public function setIsActive($status); @@ -134,7 +121,6 @@ public function setIsActive($status); * @return bool * true - HTML. * * false - plain text. * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsHtml(); @@ -145,7 +131,6 @@ public function getIsHtml(); * * @param bool $isHtml * @return $this - * @since 2.0.0 */ public function setIsHtml($isHtml); @@ -153,7 +138,6 @@ public function setIsHtml($isHtml); * Returns the agreement applied mode. * * @return int - * @since 2.0.0 */ public function getMode(); @@ -162,7 +146,6 @@ public function getMode(); * * @param int $mode * @return $this - * @since 2.0.0 */ public function setMode($mode); @@ -170,7 +153,6 @@ public function setMode($mode); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -179,7 +161,6 @@ public function getExtensionAttributes(); * * @param \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement.php b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement.php index 4a49c5e148edb..e7130922fdef7 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement.php +++ b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement.php @@ -7,13 +7,11 @@ /** * Admin tax rule content block - * @since 2.0.0 */ class Agreement extends \Magento\Backend\Block\Widget\Grid\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit.php b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit.php index 40512110207ff..5f903a9b096a7 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit.php +++ b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit.php @@ -8,7 +8,6 @@ /** * Class \Magento\CheckoutAgreements\Block\Adminhtml\Agreement\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { @@ -16,7 +15,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -25,7 +23,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * @param \Magento\Framework\Registry $registry * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -40,7 +37,6 @@ public function __construct( * Init class * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -58,7 +54,6 @@ protected function _construct() * Get Header text * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getHeaderText() { diff --git a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit/Form.php b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit/Form.php index 92a8a737c4064..098aa8c942005 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit/Form.php +++ b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Edit/Form.php @@ -8,19 +8,16 @@ /** * Class \Magento\CheckoutAgreements\Block\Adminhtml\Agreement\Edit\Form * - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_systemStore; /** * @var \Magento\CheckoutAgreements\Model\AgreementModeOptions - * @since 2.0.0 */ protected $agreementModeOptions; @@ -32,7 +29,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\CheckoutAgreements\Model\AgreementModeOptions $agreementModeOptions * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -51,7 +47,6 @@ public function __construct( * Init class * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -64,7 +59,6 @@ protected function _construct() /** * @return $this * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Grid.php b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Grid.php index 46900df629496..6822a5a38a2dd 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Grid.php +++ b/app/code/Magento/CheckoutAgreements/Block/Adminhtml/Agreement/Grid.php @@ -8,13 +8,11 @@ /** * Class \Magento\CheckoutAgreements\Block\Adminhtml\Agreement\Grid * - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\CheckoutAgreements\Model\ResourceModel\Agreement\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -24,7 +22,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\CheckoutAgreements\Model\ResourceModel\Agreement\CollectionFactory $collectionFactory * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -38,7 +35,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -52,7 +48,6 @@ protected function _construct() /** * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ protected function _prepareCollection() { @@ -62,7 +57,6 @@ protected function _prepareCollection() /** * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -120,7 +114,6 @@ protected function _prepareColumns() /** * @return void - * @since 2.0.0 */ protected function _afterLoadCollection() { @@ -133,7 +126,6 @@ protected function _afterLoadCollection() * @param \Magento\Backend\Block\Widget\Grid\Column $column * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _filterStoreCondition($collection, $column) { @@ -148,7 +140,6 @@ protected function _filterStoreCondition($collection, $column) * @param \Magento\Framework\DataObject $row * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/CheckoutAgreements/Block/Agreements.php b/app/code/Magento/CheckoutAgreements/Block/Agreements.php index 17ce1f58e5675..68af59da18d5a 100644 --- a/app/code/Magento/CheckoutAgreements/Block/Agreements.php +++ b/app/code/Magento/CheckoutAgreements/Block/Agreements.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class Agreements extends \Magento\Framework\View\Element\Template { /** * @var \Magento\CheckoutAgreements\Model\ResourceModel\Agreement\CollectionFactory - * @since 2.0.0 */ protected $_agreementCollectionFactory; @@ -25,7 +23,6 @@ class Agreements extends \Magento\Framework\View\Element\Template * @param \Magento\CheckoutAgreements\Model\ResourceModel\Agreement\CollectionFactory $agreementCollectionFactory * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -38,7 +35,6 @@ public function __construct( /** * @return mixed - * @since 2.0.0 */ public function getAgreements() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement.php index 72984a0729004..e109cfbe9954e 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement.php @@ -8,7 +8,6 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement * - * @since 2.0.0 */ abstract class Agreement extends \Magento\Backend\App\Action { @@ -23,7 +22,6 @@ abstract class Agreement extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -31,7 +29,6 @@ abstract class Agreement extends \Magento\Backend\App\Action * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Backend\App\Action\Context $context, \Magen * Initialize action * * @return $this - * @since 2.0.0 */ protected function _initAction() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Delete.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Delete.php index 24dc34fb54dac..0b460851ca021 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Delete.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Delete.php @@ -9,13 +9,11 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Delete * - * @since 2.0.0 */ class Delete extends \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Edit.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Edit.php index 9fb3491915764..8ba5d72f872ca 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Edit.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Edit.php @@ -9,14 +9,12 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Edit * - * @since 2.0.0 */ class Edit extends \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement { /** * @return void * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Index.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Index.php index 183d965c28263..8ec93a6a74500 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Index.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Index * - * @since 2.0.0 */ class Index extends \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/NewAction.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/NewAction.php index 5590a6fc0c18d..db38d3d3adfb2 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/NewAction.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/NewAction.php @@ -9,14 +9,12 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement { /** * @return void * @codeCoverageIgnore - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Save.php b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Save.php index 6af18a1ba31b8..633f54e2c4281 100644 --- a/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Save.php +++ b/app/code/Magento/CheckoutAgreements/Controller/Adminhtml/Agreement/Save.php @@ -9,13 +9,11 @@ /** * Class \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Save * - * @since 2.0.0 */ class Save extends \Magento\CheckoutAgreements\Controller\Adminhtml\Agreement { /** * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CheckoutAgreements/Model/Agreement.php b/app/code/Magento/CheckoutAgreements/Model/Agreement.php index 4e252c02fcc64..ae34f2fa8d9b8 100644 --- a/app/code/Magento/CheckoutAgreements/Model/Agreement.php +++ b/app/code/Magento/CheckoutAgreements/Model/Agreement.php @@ -10,7 +10,6 @@ /** * Class \Magento\CheckoutAgreements\Model\Agreement * - * @since 2.0.0 */ class Agreement extends \Magento\Framework\Model\AbstractExtensibleModel implements AgreementInterface { @@ -18,14 +17,12 @@ class Agreement extends \Magento\Framework\Model\AbstractExtensibleModel impleme * Allowed CSS units for height field * * @var array - * @since 2.0.0 */ protected $allowedCssUnits = ['px', 'pc', 'pt', 'ex', 'em', 'mm', 'cm', 'in', '%']; /** * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -35,7 +32,6 @@ protected function _construct() /** * @param \Magento\Framework\DataObject $agreementData * @return array|bool - * @since 2.0.0 */ public function validateData($agreementData) { @@ -55,7 +51,6 @@ public function validateData($agreementData) * Processing object before save data * * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -77,7 +72,6 @@ public function beforeSave() /** * @inheritdoc - * @since 2.0.0 */ public function getAgreementId() { @@ -86,7 +80,6 @@ public function getAgreementId() /** * @inheritdoc - * @since 2.0.0 */ public function setAgreementId($id) { @@ -95,7 +88,6 @@ public function setAgreementId($id) /** * @inheritdoc - * @since 2.0.0 */ public function getName() { @@ -104,7 +96,6 @@ public function getName() /** * @inheritdoc - * @since 2.0.0 */ public function setName($name) { @@ -113,7 +104,6 @@ public function setName($name) /** * @inheritdoc - * @since 2.0.0 */ public function getContent() { @@ -122,7 +112,6 @@ public function getContent() /** * @inheritdoc - * @since 2.0.0 */ public function setContent($content) { @@ -131,7 +120,6 @@ public function setContent($content) /** * @inheritdoc - * @since 2.0.0 */ public function getContentHeight() { @@ -140,7 +128,6 @@ public function getContentHeight() /** * @inheritdoc - * @since 2.0.0 */ public function setContentHeight($height) { @@ -149,7 +136,6 @@ public function setContentHeight($height) /** * @inheritdoc - * @since 2.0.0 */ public function getCheckboxText() { @@ -158,7 +144,6 @@ public function getCheckboxText() /** * @inheritdoc - * @since 2.0.0 */ public function setCheckboxText($text) { @@ -167,7 +152,6 @@ public function setCheckboxText($text) /** * @inheritdoc - * @since 2.0.0 */ public function getIsActive() { @@ -176,7 +160,6 @@ public function getIsActive() /** * @inheritdoc - * @since 2.0.0 */ public function setIsActive($status) { @@ -185,7 +168,6 @@ public function setIsActive($status) /** * @inheritdoc - * @since 2.0.0 */ public function getIsHtml() { @@ -194,7 +176,6 @@ public function getIsHtml() /** * @inheritdoc - * @since 2.0.0 */ public function setIsHtml($isHtml) { @@ -203,7 +184,6 @@ public function setIsHtml($isHtml) /** * @inheritdoc - * @since 2.0.0 */ public function getMode() { @@ -212,7 +192,6 @@ public function getMode() /** * @inheritdoc - * @since 2.0.0 */ public function setMode($mode) { @@ -223,7 +202,6 @@ public function setMode($mode) * {@inheritdoc} * * @return \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -235,7 +213,6 @@ public function getExtensionAttributes() * * @param \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementModeOptions.php b/app/code/Magento/CheckoutAgreements/Model/AgreementModeOptions.php index 84f4c62a3f249..cecf72ed2817e 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementModeOptions.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementModeOptions.php @@ -8,7 +8,6 @@ /** * Class \Magento\CheckoutAgreements\Model\AgreementModeOptions * - * @since 2.0.0 */ class AgreementModeOptions { @@ -20,7 +19,6 @@ class AgreementModeOptions * Return list of agreement mode options array. * * @return array - * @since 2.0.0 */ public function getOptionsArray() { diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementsConfigProvider.php b/app/code/Magento/CheckoutAgreements/Model/AgreementsConfigProvider.php index cf01778fd8466..331307292e40a 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementsConfigProvider.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementsConfigProvider.php @@ -10,25 +10,21 @@ /** * Configuration provider for GiftMessage rendering on "Shipping Method" step of checkout. - * @since 2.0.0 */ class AgreementsConfigProvider implements ConfigProviderInterface { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfiguration; /** * @var \Magento\CheckoutAgreements\Api\CheckoutAgreementsRepositoryInterface - * @since 2.0.0 */ protected $checkoutAgreementsRepository; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $escaper; @@ -37,7 +33,6 @@ class AgreementsConfigProvider implements ConfigProviderInterface * @param \Magento\CheckoutAgreements\Api\CheckoutAgreementsRepositoryInterface $checkoutAgreementsRepository * @param \Magento\Framework\Escaper $escaper * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfiguration, @@ -51,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfig() { @@ -64,7 +58,6 @@ public function getConfig() * Returns agreements config * * @return array - * @since 2.0.0 */ protected function getAgreementsConfig() { diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementsProvider.php b/app/code/Magento/CheckoutAgreements/Model/AgreementsProvider.php index aa6bb2fc8fe19..5c79b7f3091e0 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementsProvider.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementsProvider.php @@ -10,7 +10,6 @@ /** * Provide Agreements stored in db - * @since 2.0.0 */ class AgreementsProvider implements AgreementsProviderInterface { @@ -21,19 +20,16 @@ class AgreementsProvider implements AgreementsProviderInterface /** * @var AgreementCollectionFactory - * @since 2.0.0 */ protected $agreementCollectionFactory; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -42,7 +38,6 @@ class AgreementsProvider implements AgreementsProviderInterface * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( AgreementCollectionFactory $agreementCollectionFactory, @@ -58,7 +53,6 @@ public function __construct( * Get list of required Agreement Ids * * @return int[] - * @since 2.0.0 */ public function getRequiredAgreementIds() { diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php b/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php index ab80e937894d0..eac3e44dc0de8 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php @@ -7,7 +7,6 @@ /** * Interface AgreementsProviderInterface - * @since 2.0.0 */ interface AgreementsProviderInterface { @@ -15,7 +14,6 @@ interface AgreementsProviderInterface * Get list of Required Agreement Ids * * @return int[] - * @since 2.0.0 */ public function getRequiredAgreementIds(); } diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementsValidator.php b/app/code/Magento/CheckoutAgreements/Model/AgreementsValidator.php index aa5847f116a30..8d25ba88c0f82 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementsValidator.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementsValidator.php @@ -7,20 +7,17 @@ /** * Class AgreementsValidator - * @since 2.0.0 */ class AgreementsValidator implements \Magento\Checkout\Api\AgreementsValidatorInterface { /** * @var \Magento\CheckoutAgreements\Model\AgreementsProviderInterface[] - * @since 2.0.0 */ protected $agreementsProviders; /** * @param AgreementsProviderInterface[] $list * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct($list = null) { @@ -32,7 +29,6 @@ public function __construct($list = null) * * @param int[] $agreementIds * @return bool - * @since 2.0.0 */ public function isValid($agreementIds = []) { diff --git a/app/code/Magento/CheckoutAgreements/Model/Checkout/Plugin/Validation.php b/app/code/Magento/CheckoutAgreements/Model/Checkout/Plugin/Validation.php index c2fabcdba3104..8ec73a33a5a3b 100644 --- a/app/code/Magento/CheckoutAgreements/Model/Checkout/Plugin/Validation.php +++ b/app/code/Magento/CheckoutAgreements/Model/Checkout/Plugin/Validation.php @@ -10,25 +10,21 @@ /** * Class Validation - * @since 2.0.0 */ class Validation { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfiguration; /** * @var \Magento\CheckoutAgreements\Api\CheckoutAgreementsRepositoryInterface - * @since 2.0.0 */ protected $checkoutAgreementsRepository; /** * @var \Magento\Checkout\Api\AgreementsValidatorInterface - * @since 2.0.0 */ protected $agreementsValidator; @@ -36,7 +32,6 @@ class Validation * @param \Magento\Checkout\Api\AgreementsValidatorInterface $agreementsValidator * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfiguration * @param \Magento\CheckoutAgreements\Api\CheckoutAgreementsRepositoryInterface $checkoutAgreementsRepository - * @since 2.0.0 */ public function __construct( \Magento\Checkout\Api\AgreementsValidatorInterface $agreementsValidator, @@ -55,7 +50,6 @@ public function __construct( * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSavePaymentInformationAndPlaceOrder( \Magento\Checkout\Api\PaymentInformationManagementInterface $subject, @@ -75,7 +69,6 @@ public function beforeSavePaymentInformationAndPlaceOrder( * @param \Magento\Quote\Api\Data\AddressInterface|null $billingAddress * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSavePaymentInformation( \Magento\Checkout\Api\PaymentInformationManagementInterface $subject, @@ -92,7 +85,6 @@ public function beforeSavePaymentInformation( * @param \Magento\Quote\Api\Data\PaymentInterface $paymentMethod * @throws \Magento\Framework\Exception\CouldNotSaveException * @return void - * @since 2.0.0 */ protected function validateAgreements(\Magento\Quote\Api\Data\PaymentInterface $paymentMethod) { @@ -110,7 +102,6 @@ protected function validateAgreements(\Magento\Quote\Api\Data\PaymentInterface $ /** * Verify if agreement validation needed * @return bool - * @since 2.0.0 */ protected function isAgreementEnabled() { diff --git a/app/code/Magento/CheckoutAgreements/Model/CheckoutAgreementsRepository.php b/app/code/Magento/CheckoutAgreements/Model/CheckoutAgreementsRepository.php index cdd96bd141abf..9fb4d4c59e200 100644 --- a/app/code/Magento/CheckoutAgreements/Model/CheckoutAgreementsRepository.php +++ b/app/code/Magento/CheckoutAgreements/Model/CheckoutAgreementsRepository.php @@ -21,7 +21,6 @@ * Checkout agreement repository. * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CheckoutAgreementsRepository implements CheckoutAgreementsRepositoryInterface { @@ -29,7 +28,6 @@ class CheckoutAgreementsRepository implements CheckoutAgreementsRepositoryInterf * Collection factory. * * @var AgreementCollectionFactory - * @since 2.0.0 */ private $collectionFactory; @@ -37,7 +35,6 @@ class CheckoutAgreementsRepository implements CheckoutAgreementsRepositoryInterf * Store manager. * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; @@ -45,25 +42,21 @@ class CheckoutAgreementsRepository implements CheckoutAgreementsRepositoryInterf * Scope config. * * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var AgreementResource - * @since 2.0.0 */ private $resourceModel; /** * @var AgreementFactory - * @since 2.0.0 */ private $agreementFactory; /** * @var JoinProcessorInterface - * @since 2.0.0 */ private $extensionAttributesJoinProcessor; @@ -77,7 +70,6 @@ class CheckoutAgreementsRepository implements CheckoutAgreementsRepositoryInterf * @param AgreementFactory $agreementFactory * @param JoinProcessorInterface $extensionAttributesJoinProcessor * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( AgreementCollectionFactory $collectionFactory, @@ -99,7 +91,6 @@ public function __construct( * {@inheritdoc} * * @return \Magento\CheckoutAgreements\Api\Data\AgreementInterface[] Array of checkout agreement data objects. - * @since 2.0.0 */ public function getList() { @@ -122,7 +113,6 @@ public function getList() /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $data, $storeId = null) { @@ -147,7 +137,6 @@ public function save(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $da /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $data) { @@ -163,7 +152,6 @@ public function delete(\Magento\CheckoutAgreements\Api\Data\AgreementInterface $ /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($id) { @@ -174,7 +162,6 @@ public function deleteById($id) /** * {@inheritdoc} - * @since 2.0.0 */ public function get($id, $storeId = null) { diff --git a/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement.php b/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement.php index c523664461eb9..be8860f7b0c68 100644 --- a/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement.php +++ b/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement.php @@ -7,13 +7,11 @@ /** * Resource Model for Checkout Agreement - * @since 2.0.0 */ class Agreement extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filterManager; @@ -22,7 +20,6 @@ class Agreement extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Filter\FilterManager $filterManager * @param string $connectionName * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -38,7 +35,6 @@ public function __construct( * * @return void * @codeCoverageIgnore - * @since 2.0.0 */ protected function _construct() { @@ -50,7 +46,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) { @@ -72,7 +67,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) { @@ -97,7 +91,6 @@ protected function _afterSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterLoad(\Magento\Framework\Model\AbstractModel $object) { @@ -122,7 +115,6 @@ protected function _afterLoad(\Magento\Framework\Model\AbstractModel $object) * @param mixed $value * @param \Magento\Framework\Model\AbstractModel $object * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getLoadSelect($field, $value, $object) { diff --git a/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement/Collection.php b/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement/Collection.php index b22a18e0765b0..19ef958a1747c 100644 --- a/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement/Collection.php +++ b/app/code/Magento/CheckoutAgreements/Model/ResourceModel/Agreement/Collection.php @@ -7,13 +7,11 @@ /** * Resource Model for Agreement Collection - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { /** * @var array - * @since 2.0.0 */ protected $_map = [ 'fields' => [ @@ -25,7 +23,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Is store filter with admin store * * @var bool - * @since 2.0.0 */ protected $_isStoreFilterWithAdmin = true; @@ -33,7 +30,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Initialize resource * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -48,7 +44,6 @@ protected function _construct() * * @param int|\Magento\Store\Model\Store $store * @return $this - * @since 2.0.0 */ public function addStoreFilter($store) { @@ -91,7 +86,6 @@ public function addStoreFilter($store) * @param bool $value * @return $this * @codeCoverageIgnore - * @since 2.0.0 */ public function setIsStoreFilterWithAdmin($value) { diff --git a/app/code/Magento/CheckoutAgreements/Setup/InstallSchema.php b/app/code/Magento/CheckoutAgreements/Setup/InstallSchema.php index 345d5ce81ad23..8e043ecd78d5b 100644 --- a/app/code/Magento/CheckoutAgreements/Setup/InstallSchema.php +++ b/app/code/Magento/CheckoutAgreements/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CheckoutAgreements/Setup/UpgradeSchema.php b/app/code/Magento/CheckoutAgreements/Setup/UpgradeSchema.php index 41d8b2ebccea5..ee1efcefa386d 100644 --- a/app/code/Magento/CheckoutAgreements/Setup/UpgradeSchema.php +++ b/app/code/Magento/CheckoutAgreements/Setup/UpgradeSchema.php @@ -21,13 +21,11 @@ * * Upgrade processing order: * - UpgradeSchema(Runs if version in module.xml is greater than installed version) - * @since 2.0.0 */ class UpgradeSchema implements UpgradeSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Cms/Api/BlockRepositoryInterface.php b/app/code/Magento/Cms/Api/BlockRepositoryInterface.php index ea583fe793973..3f7e3e85336a3 100644 --- a/app/code/Magento/Cms/Api/BlockRepositoryInterface.php +++ b/app/code/Magento/Cms/Api/BlockRepositoryInterface.php @@ -10,7 +10,6 @@ /** * CMS block CRUD interface. * @api - * @since 2.0.0 */ interface BlockRepositoryInterface { @@ -20,7 +19,6 @@ interface BlockRepositoryInterface * @param \Magento\Cms\Api\Data\BlockInterface $block * @return \Magento\Cms\Api\Data\BlockInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(Data\BlockInterface $block); @@ -30,7 +28,6 @@ public function save(Data\BlockInterface $block); * @param int $blockId * @return \Magento\Cms\Api\Data\BlockInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($blockId); @@ -40,7 +37,6 @@ public function getById($blockId); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Cms\Api\Data\BlockSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -50,7 +46,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param \Magento\Cms\Api\Data\BlockInterface $block * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(Data\BlockInterface $block); @@ -61,7 +56,6 @@ public function delete(Data\BlockInterface $block); * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($blockId); } diff --git a/app/code/Magento/Cms/Api/Data/BlockInterface.php b/app/code/Magento/Cms/Api/Data/BlockInterface.php index f10807e7533ab..d950d2d9249f9 100644 --- a/app/code/Magento/Cms/Api/Data/BlockInterface.php +++ b/app/code/Magento/Cms/Api/Data/BlockInterface.php @@ -8,7 +8,6 @@ /** * CMS block interface. * @api - * @since 2.0.0 */ interface BlockInterface { @@ -28,7 +27,6 @@ interface BlockInterface * Get ID * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -36,7 +34,6 @@ public function getId(); * Get identifier * * @return string - * @since 2.0.0 */ public function getIdentifier(); @@ -44,7 +41,6 @@ public function getIdentifier(); * Get title * * @return string|null - * @since 2.0.0 */ public function getTitle(); @@ -52,7 +48,6 @@ public function getTitle(); * Get content * * @return string|null - * @since 2.0.0 */ public function getContent(); @@ -60,7 +55,6 @@ public function getContent(); * Get creation time * * @return string|null - * @since 2.0.0 */ public function getCreationTime(); @@ -68,7 +62,6 @@ public function getCreationTime(); * Get update time * * @return string|null - * @since 2.0.0 */ public function getUpdateTime(); @@ -76,7 +69,6 @@ public function getUpdateTime(); * Is active * * @return bool|null - * @since 2.0.0 */ public function isActive(); @@ -85,7 +77,6 @@ public function isActive(); * * @param int $id * @return BlockInterface - * @since 2.0.0 */ public function setId($id); @@ -94,7 +85,6 @@ public function setId($id); * * @param string $identifier * @return BlockInterface - * @since 2.0.0 */ public function setIdentifier($identifier); @@ -103,7 +93,6 @@ public function setIdentifier($identifier); * * @param string $title * @return BlockInterface - * @since 2.0.0 */ public function setTitle($title); @@ -112,7 +101,6 @@ public function setTitle($title); * * @param string $content * @return BlockInterface - * @since 2.0.0 */ public function setContent($content); @@ -121,7 +109,6 @@ public function setContent($content); * * @param string $creationTime * @return BlockInterface - * @since 2.0.0 */ public function setCreationTime($creationTime); @@ -130,7 +117,6 @@ public function setCreationTime($creationTime); * * @param string $updateTime * @return BlockInterface - * @since 2.0.0 */ public function setUpdateTime($updateTime); @@ -139,7 +125,6 @@ public function setUpdateTime($updateTime); * * @param bool|int $isActive * @return BlockInterface - * @since 2.0.0 */ public function setIsActive($isActive); } diff --git a/app/code/Magento/Cms/Api/Data/BlockSearchResultsInterface.php b/app/code/Magento/Cms/Api/Data/BlockSearchResultsInterface.php index e720dba24a278..021b1b117beda 100644 --- a/app/code/Magento/Cms/Api/Data/BlockSearchResultsInterface.php +++ b/app/code/Magento/Cms/Api/Data/BlockSearchResultsInterface.php @@ -10,7 +10,6 @@ /** * Interface for cms block search results. * @api - * @since 2.0.0 */ interface BlockSearchResultsInterface extends SearchResultsInterface { @@ -18,7 +17,6 @@ interface BlockSearchResultsInterface extends SearchResultsInterface * Get blocks list. * * @return \Magento\Cms\Api\Data\BlockInterface[] - * @since 2.0.0 */ public function getItems(); @@ -27,7 +25,6 @@ public function getItems(); * * @param \Magento\Cms\Api\Data\BlockInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Cms/Api/Data/PageInterface.php b/app/code/Magento/Cms/Api/Data/PageInterface.php index 8e6f4a7891131..d79734c28b2d5 100644 --- a/app/code/Magento/Cms/Api/Data/PageInterface.php +++ b/app/code/Magento/Cms/Api/Data/PageInterface.php @@ -8,7 +8,6 @@ /** * CMS page interface. * @api - * @since 2.0.0 */ interface PageInterface { @@ -40,7 +39,6 @@ interface PageInterface * Get ID * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -48,7 +46,6 @@ public function getId(); * Get identifier * * @return string - * @since 2.0.0 */ public function getIdentifier(); @@ -56,7 +53,6 @@ public function getIdentifier(); * Get title * * @return string|null - * @since 2.0.0 */ public function getTitle(); @@ -64,7 +60,6 @@ public function getTitle(); * Get page layout * * @return string|null - * @since 2.0.0 */ public function getPageLayout(); @@ -80,7 +75,6 @@ public function getMetaTitle(); * Get meta keywords * * @return string|null - * @since 2.0.0 */ public function getMetaKeywords(); @@ -88,7 +82,6 @@ public function getMetaKeywords(); * Get meta description * * @return string|null - * @since 2.0.0 */ public function getMetaDescription(); @@ -96,7 +89,6 @@ public function getMetaDescription(); * Get content heading * * @return string|null - * @since 2.0.0 */ public function getContentHeading(); @@ -104,7 +96,6 @@ public function getContentHeading(); * Get content * * @return string|null - * @since 2.0.0 */ public function getContent(); @@ -112,7 +103,6 @@ public function getContent(); * Get creation time * * @return string|null - * @since 2.0.0 */ public function getCreationTime(); @@ -120,7 +110,6 @@ public function getCreationTime(); * Get update time * * @return string|null - * @since 2.0.0 */ public function getUpdateTime(); @@ -128,7 +117,6 @@ public function getUpdateTime(); * Get sort order * * @return string|null - * @since 2.0.0 */ public function getSortOrder(); @@ -136,7 +124,6 @@ public function getSortOrder(); * Get layout update xml * * @return string|null - * @since 2.0.0 */ public function getLayoutUpdateXml(); @@ -144,7 +131,6 @@ public function getLayoutUpdateXml(); * Get custom theme * * @return string|null - * @since 2.0.0 */ public function getCustomTheme(); @@ -152,7 +138,6 @@ public function getCustomTheme(); * Get custom root template * * @return string|null - * @since 2.0.0 */ public function getCustomRootTemplate(); @@ -160,7 +145,6 @@ public function getCustomRootTemplate(); * Get custom layout update xml * * @return string|null - * @since 2.0.0 */ public function getCustomLayoutUpdateXml(); @@ -168,7 +152,6 @@ public function getCustomLayoutUpdateXml(); * Get custom theme from * * @return string|null - * @since 2.0.0 */ public function getCustomThemeFrom(); @@ -176,7 +159,6 @@ public function getCustomThemeFrom(); * Get custom theme to * * @return string|null - * @since 2.0.0 */ public function getCustomThemeTo(); @@ -184,7 +166,6 @@ public function getCustomThemeTo(); * Is active * * @return bool|null - * @since 2.0.0 */ public function isActive(); @@ -193,7 +174,6 @@ public function isActive(); * * @param int $id * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setId($id); @@ -202,7 +182,6 @@ public function setId($id); * * @param string $identifier * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setIdentifier($identifier); @@ -211,7 +190,6 @@ public function setIdentifier($identifier); * * @param string $title * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setTitle($title); @@ -220,7 +198,6 @@ public function setTitle($title); * * @param string $pageLayout * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setPageLayout($pageLayout); @@ -238,7 +215,6 @@ public function setMetaTitle($metaTitle); * * @param string $metaKeywords * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setMetaKeywords($metaKeywords); @@ -247,7 +223,6 @@ public function setMetaKeywords($metaKeywords); * * @param string $metaDescription * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setMetaDescription($metaDescription); @@ -256,7 +231,6 @@ public function setMetaDescription($metaDescription); * * @param string $contentHeading * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setContentHeading($contentHeading); @@ -265,7 +239,6 @@ public function setContentHeading($contentHeading); * * @param string $content * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setContent($content); @@ -274,7 +247,6 @@ public function setContent($content); * * @param string $creationTime * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCreationTime($creationTime); @@ -283,7 +255,6 @@ public function setCreationTime($creationTime); * * @param string $updateTime * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setUpdateTime($updateTime); @@ -292,7 +263,6 @@ public function setUpdateTime($updateTime); * * @param string $sortOrder * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setSortOrder($sortOrder); @@ -301,7 +271,6 @@ public function setSortOrder($sortOrder); * * @param string $layoutUpdateXml * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setLayoutUpdateXml($layoutUpdateXml); @@ -310,7 +279,6 @@ public function setLayoutUpdateXml($layoutUpdateXml); * * @param string $customTheme * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomTheme($customTheme); @@ -319,7 +287,6 @@ public function setCustomTheme($customTheme); * * @param string $customRootTemplate * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomRootTemplate($customRootTemplate); @@ -328,7 +295,6 @@ public function setCustomRootTemplate($customRootTemplate); * * @param string $customLayoutUpdateXml * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomLayoutUpdateXml($customLayoutUpdateXml); @@ -337,7 +303,6 @@ public function setCustomLayoutUpdateXml($customLayoutUpdateXml); * * @param string $customThemeFrom * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomThemeFrom($customThemeFrom); @@ -346,7 +311,6 @@ public function setCustomThemeFrom($customThemeFrom); * * @param string $customThemeTo * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomThemeTo($customThemeTo); @@ -355,7 +319,6 @@ public function setCustomThemeTo($customThemeTo); * * @param int|bool $isActive * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setIsActive($isActive); } diff --git a/app/code/Magento/Cms/Api/Data/PageSearchResultsInterface.php b/app/code/Magento/Cms/Api/Data/PageSearchResultsInterface.php index cc019584cc5f6..0aad50a521a76 100644 --- a/app/code/Magento/Cms/Api/Data/PageSearchResultsInterface.php +++ b/app/code/Magento/Cms/Api/Data/PageSearchResultsInterface.php @@ -10,7 +10,6 @@ /** * Interface for cms page search results. * @api - * @since 2.0.0 */ interface PageSearchResultsInterface extends SearchResultsInterface { @@ -18,7 +17,6 @@ interface PageSearchResultsInterface extends SearchResultsInterface * Get pages list. * * @return \Magento\Cms\Api\Data\PageInterface[] - * @since 2.0.0 */ public function getItems(); @@ -27,7 +25,6 @@ public function getItems(); * * @param \Magento\Cms\Api\Data\PageInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Cms/Api/PageRepositoryInterface.php b/app/code/Magento/Cms/Api/PageRepositoryInterface.php index 6de9fef9cd6a9..9c4ca3b7f25c1 100644 --- a/app/code/Magento/Cms/Api/PageRepositoryInterface.php +++ b/app/code/Magento/Cms/Api/PageRepositoryInterface.php @@ -10,7 +10,6 @@ /** * CMS page CRUD interface. * @api - * @since 2.0.0 */ interface PageRepositoryInterface { @@ -20,7 +19,6 @@ interface PageRepositoryInterface * @param \Magento\Cms\Api\Data\PageInterface $page * @return \Magento\Cms\Api\Data\PageInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(\Magento\Cms\Api\Data\PageInterface $page); @@ -30,7 +28,6 @@ public function save(\Magento\Cms\Api\Data\PageInterface $page); * @param int $pageId * @return \Magento\Cms\Api\Data\PageInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($pageId); @@ -40,7 +37,6 @@ public function getById($pageId); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Cms\Api\Data\PageSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -50,7 +46,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param \Magento\Cms\Api\Data\PageInterface $page * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(\Magento\Cms\Api\Data\PageInterface $page); @@ -61,7 +56,6 @@ public function delete(\Magento\Cms\Api\Data\PageInterface $page); * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($pageId); } diff --git a/app/code/Magento/Cms/Block/Adminhtml/Block.php b/app/code/Magento/Cms/Block/Adminhtml/Block.php index 0121416d8d7d4..28d3ae00b13a8 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Block.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Block.php @@ -7,13 +7,11 @@ /** * Adminhtml cms blocks content block - * @since 2.0.0 */ class Block extends \Magento\Backend\Block\Widget\Grid\Container { /** * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Block/Widget/Chooser.php b/app/code/Magento/Cms/Block/Adminhtml/Block/Widget/Chooser.php index 3bb8bc45591ea..86976f6c912e8 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Block/Widget/Chooser.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Block/Widget/Chooser.php @@ -7,19 +7,16 @@ /** * CMS block chooser for Wysiwyg CMS widget - * @since 2.0.0 */ class Chooser extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Cms\Model\BlockFactory - * @since 2.0.0 */ protected $_blockFactory; /** * @var \Magento\Cms\Model\ResourceModel\Block\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -29,7 +26,6 @@ class Chooser extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Cms\Model\BlockFactory $blockFactory * @param \Magento\Cms\Model\ResourceModel\Block\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Block construction, prepare grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -63,7 +58,6 @@ protected function _construct() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element Form Element * @return \Magento\Framework\Data\Form\Element\AbstractElement - * @since 2.0.0 */ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -99,7 +93,6 @@ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\Abstract * Grid Row JS Callback * * @return string - * @since 2.0.0 */ public function getRowClickCallback() { @@ -127,7 +120,6 @@ function (grid, event) { * Prepare Cms static blocks collection * * @return \Magento\Backend\Block\Widget\Grid\Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -139,7 +131,6 @@ protected function _prepareCollection() * Prepare columns for Cms blocks grid * * @return \Magento\Backend\Block\Widget\Grid\Extended - * @since 2.0.0 */ protected function _prepareColumns() { @@ -172,7 +163,6 @@ protected function _prepareColumns() * Get grid url * * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Page.php b/app/code/Magento/Cms/Block/Adminhtml/Page.php index 7e0400c214a2f..ed23752680b9d 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Page.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Page.php @@ -7,7 +7,6 @@ /** * Adminhtml cms pages content block - * @since 2.0.0 */ class Page extends \Magento\Backend\Block\Widget\Grid\Container { @@ -15,7 +14,6 @@ class Page extends \Magento\Backend\Block\Widget\Grid\Container * Block constructor * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -37,7 +35,6 @@ protected function _construct() * * @param string $resourceId * @return bool - * @since 2.0.0 */ protected function _isAllowedAction($resourceId) { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid.php b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid.php index e2888dd2c349d..b6a1898289e5f 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid.php @@ -7,25 +7,21 @@ /** * Adminhtml cms pages grid - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Cms\Model\ResourceModel\Page\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $_cmsPage; /** * @var \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface - * @since 2.0.0 */ protected $pageLayoutBuilder; @@ -36,7 +32,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Cms\Model\ResourceModel\Page\CollectionFactory $collectionFactory * @param \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -54,7 +49,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -68,7 +62,6 @@ protected function _construct() * Prepare collection * * @return \Magento\Backend\Block\Widget\Grid - * @since 2.0.0 */ protected function _prepareCollection() { @@ -84,7 +77,6 @@ protected function _prepareCollection() * Prepare columns * * @return \Magento\Backend\Block\Widget\Grid\Extended - * @since 2.0.0 */ protected function _prepareColumns() { @@ -171,7 +163,6 @@ protected function _prepareColumns() * After load collection * * @return void - * @since 2.0.0 */ protected function _afterLoadCollection() { @@ -186,7 +177,6 @@ protected function _afterLoadCollection() * @param \Magento\Framework\DataObject $column * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _filterStoreCondition($collection, \Magento\Framework\DataObject $column) { @@ -202,7 +192,6 @@ protected function _filterStoreCondition($collection, \Magento\Framework\DataObj * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action.php b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action.php index 5f644f3db2926..5167496150b7f 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action.php @@ -8,13 +8,11 @@ /** * Class \Magento\Cms\Block\Adminhtml\Page\Grid\Renderer\Action * - * @since 2.0.0 */ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var Action\UrlBuilder - * @since 2.0.0 */ protected $actionUrlBuilder; @@ -22,7 +20,6 @@ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * @param \Magento\Backend\Block\Context $context * @param Action\UrlBuilder $actionUrlBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -38,7 +35,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action/UrlBuilder.php b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action/UrlBuilder.php index 5bf73fb54fa0f..a48534c1611ea 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action/UrlBuilder.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Page/Grid/Renderer/Action/UrlBuilder.php @@ -10,19 +10,16 @@ /** * Class \Magento\Cms\Block\Adminhtml\Page\Grid\Renderer\Action\UrlBuilder * - * @since 2.0.0 */ class UrlBuilder { /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $frontendUrlBuilder; /** * @param \Magento\Framework\UrlInterface $frontendUrlBuilder - * @since 2.0.0 */ public function __construct(\Magento\Framework\UrlInterface $frontendUrlBuilder) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\UrlInterface $frontendUrlBuilder) * @param string $scope * @param string $store * @return string - * @since 2.0.0 */ public function getUrl($routePath, $scope, $store) { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Page/Widget/Chooser.php b/app/code/Magento/Cms/Block/Adminhtml/Page/Widget/Chooser.php index 7ceefbefa0c16..32d36a1869958 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Page/Widget/Chooser.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Page/Widget/Chooser.php @@ -9,31 +9,26 @@ * CMS page chooser for Wysiwyg CMS widget * * @author Magento Core Team - * @since 2.0.0 */ class Chooser extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $_cmsPage; /** * @var \Magento\Cms\Model\PageFactory - * @since 2.0.0 */ protected $_pageFactory; /** * @var \Magento\Cms\Model\ResourceModel\Page\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; /** * @var \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface - * @since 2.0.0 */ protected $pageLayoutBuilder; @@ -45,7 +40,6 @@ class Chooser extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Cms\Model\ResourceModel\Page\CollectionFactory $collectionFactory * @param \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -67,7 +61,6 @@ public function __construct( * Block construction, prepare grid params * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -82,7 +75,6 @@ protected function _construct() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element Form Element * @return \Magento\Framework\Data\Form\Element\AbstractElement - * @since 2.0.0 */ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -118,7 +110,6 @@ public function prepareElementHtml(\Magento\Framework\Data\Form\Element\Abstract * Grid Row JS Callback * * @return string - * @since 2.0.0 */ public function getRowClickCallback() { @@ -146,7 +137,6 @@ function (grid, event) { * Prepare pages collection * * @return \Magento\Backend\Block\Widget\Grid\Extended - * @since 2.0.0 */ protected function _prepareCollection() { @@ -162,7 +152,6 @@ protected function _prepareCollection() * Prepare columns for pages grid * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -227,7 +216,6 @@ protected function _prepareColumns() * Get grid url * * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php index 79ca0511ef196..4c9f6fbcd11e0 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php @@ -9,13 +9,11 @@ * Wysiwyg Images content block * * @api - * @since 2.0.0 */ class Content extends \Magento\Backend\Block\Widget\Container { /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -23,7 +21,6 @@ class Content extends \Magento\Backend\Block\Widget\Container * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Block construction * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +79,6 @@ protected function _construct() * Files action source URL * * @return string - * @since 2.0.0 */ public function getContentsUrl() { @@ -94,7 +89,6 @@ public function getContentsUrl() * Javascript setup object for filebrowser instance * * @return string - * @since 2.0.0 */ public function getFilebrowserSetupObject() { @@ -123,7 +117,6 @@ public function getFilebrowserSetupObject() * New directory action target URL * * @return string - * @since 2.0.0 */ public function getNewfolderUrl() { @@ -134,7 +127,6 @@ public function getNewfolderUrl() * Delete directory action target URL * * @return string - * @since 2.0.0 */ protected function getDeletefolderUrl() { @@ -145,7 +137,6 @@ protected function getDeletefolderUrl() * Description goes here... * * @return string - * @since 2.0.0 */ public function getDeleteFilesUrl() { @@ -156,7 +147,6 @@ public function getDeleteFilesUrl() * New directory action target URL * * @return string - * @since 2.0.0 */ public function getOnInsertUrl() { @@ -167,7 +157,6 @@ public function getOnInsertUrl() * Target element ID getter * * @return string - * @since 2.0.0 */ public function getTargetElementId() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php index 5d8e20707fdc9..377c1821ad4ff 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php @@ -9,7 +9,6 @@ * Directory contents block for Wysiwyg Images * * @api - * @since 2.0.0 */ class Files extends \Magento\Backend\Block\Template { @@ -17,19 +16,16 @@ class Files extends \Magento\Backend\Block\Template * Files collection object * * @var \Magento\Framework\Data\Collection\Filesystem - * @since 2.0.0 */ protected $_filesCollection; /** * @var \Magento\Cms\Model\Wysiwyg\Images\Storage - * @since 2.0.0 */ protected $_imageStorage; /** * @var \Magento\Cms\Helper\Wysiwyg\Images - * @since 2.0.0 */ protected $_imageHelper; @@ -38,7 +34,6 @@ class Files extends \Magento\Backend\Block\Template * @param \Magento\Cms\Model\Wysiwyg\Images\Storage $imageStorage * @param \Magento\Cms\Helper\Wysiwyg\Images $imageHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -55,7 +50,6 @@ public function __construct( * Prepared Files collection for current directory * * @return \Magento\Framework\Data\Collection\Filesystem - * @since 2.0.0 */ public function getFiles() { @@ -73,7 +67,6 @@ public function getFiles() * Files collection count getter * * @return int - * @since 2.0.0 */ public function getFilesCount() { @@ -85,7 +78,6 @@ public function getFilesCount() * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileId(\Magento\Framework\DataObject $file) { @@ -97,7 +89,6 @@ public function getFileId(\Magento\Framework\DataObject $file) * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileThumbUrl(\Magento\Framework\DataObject $file) { @@ -109,7 +100,6 @@ public function getFileThumbUrl(\Magento\Framework\DataObject $file) * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileName(\Magento\Framework\DataObject $file) { @@ -121,7 +111,6 @@ public function getFileName(\Magento\Framework\DataObject $file) * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileWidth(\Magento\Framework\DataObject $file) { @@ -133,7 +122,6 @@ public function getFileWidth(\Magento\Framework\DataObject $file) * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileHeight(\Magento\Framework\DataObject $file) { @@ -145,7 +133,6 @@ public function getFileHeight(\Magento\Framework\DataObject $file) * * @param \Magento\Framework\DataObject $file * @return string - * @since 2.0.0 */ public function getFileShortName(\Magento\Framework\DataObject $file) { @@ -156,7 +143,6 @@ public function getFileShortName(\Magento\Framework\DataObject $file) * Get image width * * @return int - * @since 2.0.0 */ public function getImagesWidth() { @@ -167,7 +153,6 @@ public function getImagesWidth() * Get image height * * @return int - * @since 2.0.0 */ public function getImagesHeight() { @@ -177,7 +162,6 @@ public function getImagesHeight() /** * Return current media type based on request or data * @return string - * @since 2.0.0 */ protected function _getMediaType() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Newfolder.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Newfolder.php index d64781815c790..51a1f8662a012 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Newfolder.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Newfolder.php @@ -9,7 +9,6 @@ * New directory block for Wysiwyg Images * * @author Magento Core Team - * @since 2.0.0 */ class Newfolder extends \Magento\Backend\Block\Template { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php index 1241ff8f9626a..58e0b41850adb 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content/Uploader.php @@ -9,13 +9,11 @@ * Uploader block for Wysiwyg Images * * @api - * @since 2.0.0 */ class Uploader extends \Magento\Backend\Block\Media\Uploader { /** * @var \Magento\Cms\Model\Wysiwyg\Images\Storage - * @since 2.0.0 */ protected $_imagesStorage; @@ -24,7 +22,6 @@ class Uploader extends \Magento\Backend\Block\Media\Uploader * @param \Magento\Framework\File\Size $fileSize * @param \Magento\Cms\Model\Wysiwyg\Images\Storage $imagesStorage * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -38,7 +35,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -64,7 +60,6 @@ protected function _construct() * Return current media type based on request or data * * @return string - * @since 2.0.0 */ protected function _getMediaType() { diff --git a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php index 9a8441cb5728b..6749fa9df111d 100644 --- a/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php +++ b/app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Tree.php @@ -9,7 +9,6 @@ * Directory tree renderer for Cms Wysiwyg Images * * @api - * @since 2.0.0 */ class Tree extends \Magento\Backend\Block\Template { @@ -17,7 +16,6 @@ class Tree extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -25,7 +23,6 @@ class Tree extends \Magento\Backend\Block\Template * Cms wysiwyg images * * @var \Magento\Cms\Helper\Wysiwyg\Images - * @since 2.0.0 */ protected $_cmsWysiwygImages = null; @@ -42,7 +39,6 @@ class Tree extends \Magento\Backend\Block\Template * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -62,7 +58,6 @@ public function __construct( * Json tree builder * * @return string - * @since 2.0.0 */ public function getTreeJson() { @@ -88,7 +83,6 @@ public function getTreeJson() * Json source URL * * @return string - * @since 2.0.0 */ public function getTreeLoaderUrl() { @@ -99,7 +93,6 @@ public function getTreeLoaderUrl() * Root node name of tree * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getRootNodeName() { @@ -110,7 +103,6 @@ public function getRootNodeName() * Return tree node full path based on current path * * @return string - * @since 2.0.0 */ public function getTreeCurrentPath() { @@ -132,7 +124,6 @@ public function getTreeCurrentPath() * Get tree widget options * * @return array - * @since 2.0.0 */ public function getTreeWidgetOptions() { diff --git a/app/code/Magento/Cms/Block/Block.php b/app/code/Magento/Cms/Block/Block.php index 815751b8f8df0..d0d75ea691195 100644 --- a/app/code/Magento/Cms/Block/Block.php +++ b/app/code/Magento/Cms/Block/Block.php @@ -10,13 +10,11 @@ /** * Cms block content block - * @since 2.0.0 */ class Block extends AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface { /** * @var \Magento\Cms\Model\Template\FilterProvider - * @since 2.0.0 */ protected $_filterProvider; @@ -24,7 +22,6 @@ class Block extends AbstractBlock implements \Magento\Framework\DataObject\Ident * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -32,7 +29,6 @@ class Block extends AbstractBlock implements \Magento\Framework\DataObject\Ident * Block factory * * @var \Magento\Cms\Model\BlockFactory - * @since 2.0.0 */ protected $_blockFactory; @@ -44,7 +40,6 @@ class Block extends AbstractBlock implements \Magento\Framework\DataObject\Ident * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Cms\Model\BlockFactory $blockFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Context $context, @@ -63,7 +58,6 @@ public function __construct( * Prepare Content HTML * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -85,7 +79,6 @@ protected function _toHtml() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Cms/Block/Page.php b/app/code/Magento/Cms/Block/Page.php index 5d8fd03700103..adbb1251c2d4c 100644 --- a/app/code/Magento/Cms/Block/Page.php +++ b/app/code/Magento/Cms/Block/Page.php @@ -11,20 +11,17 @@ * Cms page content block * * @api - * @since 2.0.0 */ class Page extends \Magento\Framework\View\Element\AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface { /** * @var \Magento\Cms\Model\Template\FilterProvider - * @since 2.0.0 */ protected $_filterProvider; /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $_page; @@ -32,7 +29,6 @@ class Page extends \Magento\Framework\View\Element\AbstractBlock implements * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -40,13 +36,11 @@ class Page extends \Magento\Framework\View\Element\AbstractBlock implements * Page factory * * @var \Magento\Cms\Model\PageFactory - * @since 2.0.0 */ protected $_pageFactory; /** * @var \Magento\Framework\View\Page\Config - * @since 2.0.0 */ protected $pageConfig; @@ -60,7 +54,6 @@ class Page extends \Magento\Framework\View\Element\AbstractBlock implements * @param \Magento\Cms\Model\PageFactory $pageFactory * @param \Magento\Framework\View\Page\Config $pageConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Context $context, @@ -84,7 +77,6 @@ public function __construct( * Retrieve Page instance * * @return \Magento\Cms\Model\Page - * @since 2.0.0 */ public function getPage() { @@ -105,7 +97,6 @@ public function getPage() * Prepare global layout * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -132,7 +123,6 @@ protected function _prepareLayout() * @param \Magento\Cms\Model\Page $page * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ protected function _addBreadcrumbs(\Magento\Cms\Model\Page $page) { @@ -173,7 +163,6 @@ protected function _addBreadcrumbs(\Magento\Cms\Model\Page $page) * Prepare HTML content * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -185,7 +174,6 @@ protected function _toHtml() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Cms/Block/Widget/Block.php b/app/code/Magento/Cms/Block/Widget/Block.php index 1f5552025e056..d8bd483fae5e4 100644 --- a/app/code/Magento/Cms/Block/Widget/Block.php +++ b/app/code/Magento/Cms/Block/Widget/Block.php @@ -9,13 +9,11 @@ * Cms Static Block Widget * * @author Magento Core Team - * @since 2.0.0 */ class Block extends \Magento\Framework\View\Element\Template implements \Magento\Widget\Block\BlockInterface { /** * @var \Magento\Cms\Model\Template\FilterProvider - * @since 2.0.0 */ protected $_filterProvider; @@ -23,7 +21,6 @@ class Block extends \Magento\Framework\View\Element\Template implements \Magento * Storage for used widgets * * @var array - * @since 2.0.0 */ protected static $_widgetUsageMap = []; @@ -31,7 +28,6 @@ class Block extends \Magento\Framework\View\Element\Template implements \Magento * Block factory * * @var \Magento\Cms\Model\BlockFactory - * @since 2.0.0 */ protected $_blockFactory; @@ -40,7 +36,6 @@ class Block extends \Magento\Framework\View\Element\Template implements \Magento * @param \Magento\Cms\Model\Template\FilterProvider $filterProvider * @param \Magento\Cms\Model\BlockFactory $blockFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -58,7 +53,6 @@ public function __construct( * Prevent blocks recursion if needed * * @return $this - * @since 2.0.0 */ protected function _beforeToHtml() { diff --git a/app/code/Magento/Cms/Block/Widget/Page/Link.php b/app/code/Magento/Cms/Block/Widget/Page/Link.php index 9f5f9c4067b1f..baa0306084da7 100644 --- a/app/code/Magento/Cms/Block/Widget/Page/Link.php +++ b/app/code/Magento/Cms/Block/Widget/Page/Link.php @@ -7,7 +7,6 @@ /** * Widget to display link to CMS page - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento\Widget\Block\BlockInterface { @@ -15,7 +14,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Prepared href attribute * * @var string - * @since 2.0.0 */ protected $_href; @@ -23,7 +21,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Prepared title attribute * * @var string - * @since 2.0.0 */ protected $_title; @@ -31,13 +28,11 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Prepared anchor text * * @var string - * @since 2.0.0 */ protected $_anchorText; /** * @var \Magento\Cms\Model\ResourceModel\Page - * @since 2.0.0 */ protected $_resourcePage; @@ -45,7 +40,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * Cms page * * @var \Magento\Cms\Helper\Page - * @since 2.0.0 */ protected $_cmsPage; @@ -54,7 +48,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements \Magento * @param \Magento\Cms\Model\ResourceModel\Page $resourcePage * @param \Magento\Cms\Helper\Page $cmsPage * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -72,7 +65,6 @@ public function __construct( * or retrieve such using passed page id. * * @return string - * @since 2.0.0 */ public function getHref() { @@ -93,7 +85,6 @@ public function getHref() * as parameter or retrieve page title from DB using passed identifier or page id. * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -119,7 +110,6 @@ public function getTitle() * if title will be blank string, page identifier will be used. * * @return string - * @since 2.0.0 */ public function getLabel() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block.php b/app/code/Magento/Cms/Controller/Adminhtml/Block.php index 8bea721049f5a..2f7088eb27a9d 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block.php @@ -8,7 +8,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block * - * @since 2.0.0 */ abstract class Block extends \Magento\Backend\App\Action { @@ -23,14 +22,12 @@ abstract class Block extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Backend\App\Action\Context $context, \Magen * * @param \Magento\Backend\Model\View\Result\Page $resultPage * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ protected function initPage($resultPage) { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/Delete.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/Delete.php index e353f48073d22..96e08b1f74a86 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/Delete.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/Delete.php @@ -9,7 +9,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Cms\Controller\Adminhtml\Block { @@ -17,7 +16,6 @@ class Delete extends \Magento\Cms\Controller\Adminhtml\Block * Delete action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/Edit.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/Edit.php index 3e37ff04fc579..4f823402424d6 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/Edit.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/Edit.php @@ -8,13 +8,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Cms\Controller\Adminhtml\Block { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -22,7 +20,6 @@ class Edit extends \Magento\Cms\Controller\Adminhtml\Block * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/Index.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/Index.php index 0b7d2ec9dcc01..fb3b961e21290 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/Index.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\Index * - * @since 2.0.0 */ class Index extends \Magento\Cms\Controller\Adminhtml\Block { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -23,7 +21,6 @@ class Index extends \Magento\Cms\Controller\Adminhtml\Block * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Index action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/InlineEdit.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/InlineEdit.php index 75adc11458bad..b34868571a687 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/InlineEdit.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/InlineEdit.php @@ -13,19 +13,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\InlineEdit * - * @since 2.0.0 */ class InlineEdit extends \Magento\Backend\App\Action { /** * @var \Magento\Cms\Api\BlockRepositoryInterface - * @since 2.0.0 */ protected $blockRepository; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $jsonFactory; @@ -33,7 +30,6 @@ class InlineEdit extends \Magento\Backend\App\Action * @param Context $context * @param BlockRepository $blockRepository * @param JsonFactory $jsonFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -47,7 +43,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { @@ -91,7 +86,6 @@ public function execute() * @param BlockInterface $block * @param string $errorText * @return string - * @since 2.0.0 */ protected function getErrorWithBlockId(BlockInterface $block, $errorText) { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/MassDelete.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/MassDelete.php index b07a97a81a713..c606c7180046e 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/MassDelete.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/MassDelete.php @@ -13,19 +13,16 @@ /** * Class MassDelete - * @since 2.0.0 */ class MassDelete extends \Magento\Backend\App\Action { /** * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -33,7 +30,6 @@ class MassDelete extends \Magento\Backend\App\Action * @param Context $context * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory) { @@ -47,7 +43,6 @@ public function __construct(Context $context, Filter $filter, CollectionFactory * * @return \Magento\Backend\Model\View\Result\Redirect * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/NewAction.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/NewAction.php index d83deafe2d41a..6b3cc87abbfe9 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/NewAction.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/NewAction.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Cms\Controller\Adminhtml\Block { /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -23,7 +21,6 @@ class NewAction extends \Magento\Cms\Controller\Adminhtml\Block * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Create new CMS block * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/Save.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/Save.php index 2b676c95fdc61..3683ffa0df525 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/Save.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/Save.php @@ -15,7 +15,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\Save * - * @since 2.0.0 */ class Save extends \Magento\Cms\Controller\Adminhtml\Block { @@ -45,7 +44,6 @@ public function __construct( * * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Block/Widget/Chooser.php b/app/code/Magento/Cms/Controller/Adminhtml/Block/Widget/Chooser.php index 1e8bdbb428b56..d969d9b2b7e12 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Block/Widget/Chooser.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Block/Widget/Chooser.php @@ -13,19 +13,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Block\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -33,7 +30,6 @@ class Chooser extends \Magento\Backend\App\Action * @param Context $context * @param LayoutFactory $layoutFactory * @param RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct(Context $context, LayoutFactory $layoutFactory, RawFactory $resultRawFactory) { @@ -46,7 +42,6 @@ public function __construct(Context $context, LayoutFactory $layoutFactory, RawF * Chooser Source action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/Delete.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/Delete.php index 4e295c1d41f94..974828280b719 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/Delete.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/Delete.php @@ -9,7 +9,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Backend\App\Action { @@ -24,7 +23,6 @@ class Delete extends \Magento\Backend\App\Action * Delete action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/Edit.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/Edit.php index 798911dab33a0..3768b3ecd8feb 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/Edit.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/Edit.php @@ -11,7 +11,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Backend\App\Action { @@ -26,13 +25,11 @@ class Edit extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -40,7 +37,6 @@ class Edit extends \Magento\Backend\App\Action * @param Action\Context $context * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -56,7 +52,6 @@ public function __construct( * Init actions * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ protected function _initAction() { @@ -74,7 +69,6 @@ protected function _initAction() * * @return \Magento\Backend\Model\View\Result\Page|\Magento\Backend\Model\View\Result\Redirect * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/Index.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/Index.php index f02d590b95551..164247a7d46c6 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/Index.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/Index.php @@ -12,7 +12,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\App\Action { @@ -25,14 +24,12 @@ class Index extends \Magento\Backend\App\Action /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -46,7 +43,6 @@ public function __construct( * Index action * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/InlineEdit.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/InlineEdit.php index 2bdc4a628b7af..6d75f490d42dc 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/InlineEdit.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/InlineEdit.php @@ -14,7 +14,6 @@ * Cms page grid inline edit controller * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class InlineEdit extends \Magento\Backend\App\Action { @@ -25,19 +24,16 @@ class InlineEdit extends \Magento\Backend\App\Action /** * @var \Magento\Cms\Controller\Adminhtml\Page\PostDataProcessor - * @since 2.0.0 */ protected $dataProcessor; /** * @var \Magento\Cms\Api\PageRepositoryInterface - * @since 2.0.0 */ protected $pageRepository; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $jsonFactory; @@ -46,7 +42,6 @@ class InlineEdit extends \Magento\Backend\App\Action * @param PostDataProcessor $dataProcessor * @param PageRepository $pageRepository * @param JsonFactory $jsonFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -62,7 +57,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { @@ -114,7 +108,6 @@ public function execute() * * @param array $postData * @return array - * @since 2.0.0 */ protected function filterPost($postData = []) { @@ -134,7 +127,6 @@ protected function filterPost($postData = []) * @param bool $error * @param array $messages * @return void - * @since 2.0.0 */ protected function validatePost(array $pageData, \Magento\Cms\Model\Page $page, &$error, array &$messages) { @@ -152,7 +144,6 @@ protected function validatePost(array $pageData, \Magento\Cms\Model\Page $page, * @param PageInterface $page * @param string $errorText * @return string - * @since 2.0.0 */ protected function getErrorWithPageId(PageInterface $page, $errorText) { @@ -166,7 +157,6 @@ protected function getErrorWithPageId(PageInterface $page, $errorText) * @param array $extendedPageData * @param array $pageData * @return $this - * @since 2.0.0 */ public function setCmsPageData(\Magento\Cms\Model\Page $page, array $extendedPageData, array $pageData) { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDelete.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDelete.php index 027104c5727ea..a711f20d65639 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDelete.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDelete.php @@ -12,7 +12,6 @@ /** * Class MassDelete - * @since 2.0.0 */ class MassDelete extends \Magento\Backend\App\Action { @@ -25,13 +24,11 @@ class MassDelete extends \Magento\Backend\App\Action /** * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -39,7 +36,6 @@ class MassDelete extends \Magento\Backend\App\Action * @param Context $context * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory) { @@ -53,7 +49,6 @@ public function __construct(Context $context, Filter $filter, CollectionFactory * * @return \Magento\Backend\Model\View\Result\Redirect * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDisable.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDisable.php index 2cf648c17f8ba..9402ae9283a0f 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDisable.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassDisable.php @@ -12,19 +12,16 @@ /** * Class MassDisable - * @since 2.0.0 */ class MassDisable extends \Magento\Backend\App\Action { /** * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -32,7 +29,6 @@ class MassDisable extends \Magento\Backend\App\Action * @param Context $context * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory) { @@ -46,7 +42,6 @@ public function __construct(Context $context, Filter $filter, CollectionFactory * * @return \Magento\Backend\Model\View\Result\Redirect * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassEnable.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassEnable.php index 34d37d32c2560..0cbec4da8dfba 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/MassEnable.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/MassEnable.php @@ -12,19 +12,16 @@ /** * Class MassEnable - * @since 2.0.0 */ class MassEnable extends \Magento\Backend\App\Action { /** * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -32,7 +29,6 @@ class MassEnable extends \Magento\Backend\App\Action * @param Context $context * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory) { @@ -46,7 +42,6 @@ public function __construct(Context $context, Filter $filter, CollectionFactory * * @return \Magento\Backend\Model\View\Result\Redirect * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/NewAction.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/NewAction.php index 6e214c379a1df..74fd47b99f66d 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/NewAction.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/NewAction.php @@ -9,7 +9,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Backend\App\Action { @@ -22,14 +21,12 @@ class NewAction extends \Magento\Backend\App\Action /** * @var \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ protected $resultForwardFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -43,7 +40,6 @@ public function __construct( * Forward to edit * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/PostDataProcessor.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/PostDataProcessor.php index c6b4f6ad8bee6..bce396b3d6b92 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/PostDataProcessor.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/PostDataProcessor.php @@ -9,25 +9,21 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\PostDataProcessor * - * @since 2.0.0 */ class PostDataProcessor { /** * @var \Magento\Framework\Stdlib\DateTime\Filter\Date - * @since 2.0.0 */ protected $dateFilter; /** * @var \Magento\Framework\View\Model\Layout\Update\ValidatorFactory - * @since 2.0.0 */ protected $validatorFactory; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; @@ -35,7 +31,6 @@ class PostDataProcessor * @param \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\Framework\View\Model\Layout\Update\ValidatorFactory $validatorFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter, @@ -52,7 +47,6 @@ public function __construct( * * @param array $data * @return array - * @since 2.0.0 */ public function filter($data) { @@ -72,7 +66,6 @@ public function filter($data) * * @param array $data * @return bool Return FALSE if someone item is invalid - * @since 2.0.0 */ public function validate($data) { @@ -100,7 +93,6 @@ public function validate($data) * * @param array $data * @return bool - * @since 2.0.0 */ public function validateRequireEntry(array $data) { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/Save.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/Save.php index 9a14987aa0ef4..4a6ef6779814f 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/Save.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/Save.php @@ -14,7 +14,6 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\Save * - * @since 2.0.0 */ class Save extends \Magento\Backend\App\Action { @@ -27,7 +26,6 @@ class Save extends \Magento\Backend\App\Action /** * @var PostDataProcessor - * @since 2.0.0 */ protected $dataProcessor; @@ -56,7 +54,6 @@ class Save extends \Magento\Backend\App\Action * @param \Magento\Cms\Model\PageFactory $pageFactory * @param \Magento\Cms\Api\PageRepositoryInterface $pageRepository * - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -80,7 +77,6 @@ public function __construct( * * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Page/Widget/Chooser.php b/app/code/Magento/Cms/Controller/Adminhtml/Page/Widget/Chooser.php index 138126085e278..08fe5cd451ae5 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Page/Widget/Chooser.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Page/Widget/Chooser.php @@ -11,19 +11,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Page\Widget\Chooser * - * @since 2.0.0 */ class Chooser extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -31,7 +28,6 @@ class Chooser extends \Magento\Backend\App\Action * @param Action\Context $context * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Chooser Source action * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Directive.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Directive.php index 40d3405772173..137a9f54f91f6 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Directive.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Directive.php @@ -11,19 +11,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Directive * - * @since 2.0.0 */ class Directive extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\Url\DecoderInterface - * @since 2.0.0 */ protected $urlDecoder; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -31,7 +28,6 @@ class Directive extends \Magento\Backend\App\Action * @param Action\Context $context * @param \Magento\Framework\Url\DecoderInterface $urlDecoder * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Template directives callback * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images.php index 9c4247d22e9dd..5dedc7a1a8395 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images.php @@ -9,7 +9,6 @@ * Images manage controller for Cms WYSIWYG editor * * @author Magento Core Team - * @since 2.0.0 */ abstract class Images extends \Magento\Backend\App\Action { @@ -24,14 +23,12 @@ abstract class Images extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Backend\App\Action\Context $context, \Magen * Init storage * * @return $this - * @since 2.0.0 */ protected function _initAction() { @@ -55,7 +51,6 @@ protected function _initAction() * Register storage model and return it * * @return \Magento\Cms\Model\Wysiwyg\Images\Storage - * @since 2.0.0 */ public function getStorage() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Contents.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Contents.php index 8cc32477d9374..76199ba3f3085 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Contents.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Contents.php @@ -9,19 +9,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\Contents * - * @since 2.0.0 */ class Contents extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -30,7 +27,6 @@ class Contents extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Save current path in session * * @return $this - * @since 2.0.0 */ protected function _saveSessionCurrentPath() { @@ -61,7 +56,6 @@ protected function _saveSessionCurrentPath() * Contents action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFiles.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFiles.php index 3956ee7646fac..fbce0ebddc230 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFiles.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFiles.php @@ -11,19 +11,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\DeleteFiles * - * @since 2.0.0 */ class DeleteFiles extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -32,7 +29,6 @@ class DeleteFiles extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Delete file from media storage * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFolder.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFolder.php index 55d6b8f8a0f01..6225ad92b52d7 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFolder.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/DeleteFolder.php @@ -9,19 +9,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\DeleteFolder * - * @since 2.0.0 */ class DeleteFolder extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -30,7 +27,6 @@ class DeleteFolder extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Delete folder action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Index.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Index.php index 28ede0bed6b67..63a1d88c4b9da 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Index.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\Index * - * @since 2.0.0 */ class Index extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; @@ -23,7 +21,6 @@ class Index extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Index action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/NewFolder.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/NewFolder.php index f207cae13bfa1..3ff26bda0d76f 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/NewFolder.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/NewFolder.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\NewFolder * - * @since 2.0.0 */ class NewFolder extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -23,7 +21,6 @@ class NewFolder extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * New folder action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/OnInsert.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/OnInsert.php index 75be6587afbac..9cd96333691bc 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/OnInsert.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/OnInsert.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\OnInsert * - * @since 2.0.0 */ class OnInsert extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -23,7 +21,6 @@ class OnInsert extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Fire when select image * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php index 98a8e036a6848..ba35f4794ce44 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php @@ -11,13 +11,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\Thumbnail * - * @since 2.0.0 */ class Thumbnail extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -25,7 +23,6 @@ class Thumbnail extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -40,7 +37,6 @@ public function __construct( * Generate image thumbnail on the fly * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/TreeJson.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/TreeJson.php index e028d5f3c1a7c..2c62cf77b3883 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/TreeJson.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/TreeJson.php @@ -9,19 +9,16 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\TreeJson * - * @since 2.0.0 */ class TreeJson extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\View\LayoutFactory - * @since 2.0.0 */ protected $layoutFactory; @@ -30,7 +27,6 @@ class TreeJson extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\View\LayoutFactory $layoutFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Tree json action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Upload.php b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Upload.php index 96b936fb8918e..b433d7ee7f389 100644 --- a/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Upload.php +++ b/app/code/Magento/Cms/Controller/Adminhtml/Wysiwyg/Images/Upload.php @@ -9,13 +9,11 @@ /** * Class \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\Upload * - * @since 2.0.0 */ class Upload extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -23,7 +21,6 @@ class Upload extends \Magento\Cms\Controller\Adminhtml\Wysiwyg\Images * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * Files upload processing * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Index/DefaultIndex.php b/app/code/Magento/Cms/Controller/Index/DefaultIndex.php index 890660cee2348..1c0bacec9ceea 100644 --- a/app/code/Magento/Cms/Controller/Index/DefaultIndex.php +++ b/app/code/Magento/Cms/Controller/Index/DefaultIndex.php @@ -11,7 +11,6 @@ /** * Class \Magento\Cms\Controller\Index\DefaultIndex * - * @since 2.0.0 */ class DefaultIndex extends DefaultNoRoute { diff --git a/app/code/Magento/Cms/Controller/Index/DefaultNoRoute.php b/app/code/Magento/Cms/Controller/Index/DefaultNoRoute.php index a5590814d7b6b..e3c0e0b3c6584 100644 --- a/app/code/Magento/Cms/Controller/Index/DefaultNoRoute.php +++ b/app/code/Magento/Cms/Controller/Index/DefaultNoRoute.php @@ -8,20 +8,17 @@ /** * Class \Magento\Cms\Controller\Index\DefaultNoRoute * - * @since 2.0.0 */ class DefaultNoRoute extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Framework\View\Result\PageFactory resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -33,7 +30,6 @@ public function __construct( /** * @return \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Index/Index.php b/app/code/Magento/Cms/Controller/Index/Index.php index cb7716c3badbf..3fcae3bf351d9 100644 --- a/app/code/Magento/Cms/Controller/Index/Index.php +++ b/app/code/Magento/Cms/Controller/Index/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Cms\Controller\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -38,7 +35,6 @@ public function __construct( * @param string|null $coreRoute * @return \Magento\Framework\Controller\Result\Forward * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute($coreRoute = null) { diff --git a/app/code/Magento/Cms/Controller/Noroute/Index.php b/app/code/Magento/Cms/Controller/Noroute/Index.php index 7d358b82a43e2..45fae0ff4fd9f 100644 --- a/app/code/Magento/Cms/Controller/Noroute/Index.php +++ b/app/code/Magento/Cms/Controller/Noroute/Index.php @@ -9,20 +9,17 @@ /** * Class \Magento\Cms\Controller\Noroute\Index * - * @since 2.0.0 */ class Index extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Render CMS 404 Not found page * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Page/View.php b/app/code/Magento/Cms/Controller/Page/View.php index 0eef72d9428be..1538d312bd9b6 100644 --- a/app/code/Magento/Cms/Controller/Page/View.php +++ b/app/code/Magento/Cms/Controller/Page/View.php @@ -9,20 +9,17 @@ /** * Class \Magento\Cms\Controller\Page\View * - * @since 2.0.0 */ class View extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * View CMS page action * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cms/Controller/Router.php b/app/code/Magento/Cms/Controller/Router.php index 5bb409322a3db..7d8e5aaa53897 100644 --- a/app/code/Magento/Cms/Controller/Router.php +++ b/app/code/Magento/Cms/Controller/Router.php @@ -7,13 +7,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Router implements \Magento\Framework\App\RouterInterface { /** * @var \Magento\Framework\App\ActionFactory - * @since 2.0.0 */ protected $actionFactory; @@ -21,7 +19,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Event manager * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -29,7 +26,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -37,7 +33,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Page factory * * @var \Magento\Cms\Model\PageFactory - * @since 2.0.0 */ protected $_pageFactory; @@ -45,7 +40,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Config primary * * @var \Magento\Framework\App\State - * @since 2.0.0 */ protected $_appState; @@ -53,7 +47,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Url * * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $_url; @@ -61,7 +54,6 @@ class Router implements \Magento\Framework\App\RouterInterface * Response * * @var \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ protected $_response; @@ -72,7 +64,6 @@ class Router implements \Magento\Framework\App\RouterInterface * @param \Magento\Cms\Model\PageFactory $pageFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\ResponseInterface $response - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\ActionFactory $actionFactory, @@ -95,7 +86,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return \Magento\Framework\App\ActionInterface|null - * @since 2.0.0 */ public function match(\Magento\Framework\App\RequestInterface $request) { diff --git a/app/code/Magento/Cms/Helper/Page.php b/app/code/Magento/Cms/Helper/Page.php index 37e8438cd2b94..bf51c5f0210e9 100644 --- a/app/code/Magento/Cms/Helper/Page.php +++ b/app/code/Magento/Cms/Helper/Page.php @@ -12,7 +12,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ class Page extends \Magento\Framework\App\Helper\AbstractHelper { @@ -35,25 +34,21 @@ class Page extends \Magento\Framework\App\Helper\AbstractHelper * Design package instance * * @var \Magento\Framework\View\DesignInterface - * @since 2.0.0 */ protected $_design; /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $_page; /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; @@ -61,7 +56,6 @@ class Page extends \Magento\Framework\App\Helper\AbstractHelper * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -69,19 +63,16 @@ class Page extends \Magento\Framework\App\Helper\AbstractHelper * Page factory * * @var \Magento\Cms\Model\PageFactory - * @since 2.0.0 */ protected $_pageFactory; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -98,7 +89,6 @@ class Page extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Framework\Escaper $escaper * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -128,7 +118,6 @@ public function __construct( * @param Action $action * @param null $pageId * @return \Magento\Framework\View\Result\Page|bool - * @since 2.0.0 */ public function prepareResultPage(Action $action, $pageId = null) { @@ -193,7 +182,6 @@ public function prepareResultPage(Action $action, $pageId = null) * * @param string $pageId * @return string - * @since 2.0.0 */ public function getPageUrl($pageId = null) { @@ -219,7 +207,6 @@ public function getPageUrl($pageId = null) * @param bool $inRange * @param \Magento\Framework\View\Result\Page $resultPage * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ protected function setLayoutType($inRange, $resultPage) { diff --git a/app/code/Magento/Cms/Helper/Wysiwyg/Images.php b/app/code/Magento/Cms/Helper/Wysiwyg/Images.php index 619c1d81d219a..f830910ca1e4f 100644 --- a/app/code/Magento/Cms/Helper/Wysiwyg/Images.php +++ b/app/code/Magento/Cms/Helper/Wysiwyg/Images.php @@ -9,21 +9,18 @@ /** * Wysiwyg Images Helper - * @since 2.0.0 */ class Images extends \Magento\Framework\App\Helper\AbstractHelper { /** * Current directory path * @var string - * @since 2.0.0 */ protected $_currentPath; /** * Current directory URL * @var string - * @since 2.0.0 */ protected $_currentUrl; @@ -31,13 +28,11 @@ class Images extends \Magento\Framework\App\Helper\AbstractHelper * Currenty selected store ID if applicable * * @var int - * @since 2.0.0 */ protected $_storeId = null; /** * @var \Magento\Framework\Filesystem\Directory\Write - * @since 2.0.0 */ protected $_directory; @@ -45,7 +40,6 @@ class Images extends \Magento\Framework\App\Helper\AbstractHelper * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData; @@ -53,7 +47,6 @@ class Images extends \Magento\Framework\App\Helper\AbstractHelper * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -64,7 +57,6 @@ class Images extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Backend\Helper\Data $backendData * @param \Magento\Framework\Filesystem $filesystem * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -85,7 +77,6 @@ public function __construct( * * @param int $store * @return $this - * @since 2.0.0 */ public function setStoreId($store) { @@ -97,7 +88,6 @@ public function setStoreId($store) * Images Storage root directory * * @return string - * @since 2.0.0 */ public function getStorageRoot() { @@ -108,7 +98,6 @@ public function getStorageRoot() * Images Storage base URL * * @return string - * @since 2.0.0 */ public function getBaseUrl() { @@ -119,7 +108,6 @@ public function getBaseUrl() * Ext Tree node key name * * @return string - * @since 2.0.0 */ public function getTreeNodeName() { @@ -131,7 +119,6 @@ public function getTreeNodeName() * * @param string $path Path to file/directory * @return string - * @since 2.0.0 */ public function convertPathToId($path) { @@ -144,7 +131,6 @@ public function convertPathToId($path) * * @param string $id * @return string - * @since 2.0.0 */ public function convertIdToPath($id) { @@ -159,7 +145,6 @@ public function convertIdToPath($id) * Check whether using static URLs is allowed * * @return bool - * @since 2.0.0 */ public function isUsingStaticUrlsAllowed() { @@ -178,7 +163,6 @@ public function isUsingStaticUrlsAllowed() * @param string $filename Filename transferred via Ajax * @param bool $renderAsTag Leave image HTML as is or transform it to controller directive * @return string - * @since 2.0.0 */ public function getImageHtmlDeclaration($filename, $renderAsTag = false) { @@ -205,7 +189,6 @@ public function getImageHtmlDeclaration($filename, $renderAsTag = false) * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getCurrentPath() { @@ -236,7 +219,6 @@ public function getCurrentPath() * Return URL based on current selected directory or root directory for startup * * @return string - * @since 2.0.0 */ public function getCurrentUrl() { @@ -257,7 +239,6 @@ public function getCurrentUrl() * * @param string $string * @return string - * @since 2.0.0 */ public function idEncode($string) { @@ -269,7 +250,6 @@ public function idEncode($string) * * @param string $string * @return string - * @since 2.0.0 */ public function idDecode($string) { @@ -283,7 +263,6 @@ public function idDecode($string) * @param string $filename * @param int $maxLength Maximum filename * @return string Truncated filename - * @since 2.0.0 */ public function getShortFilename($filename, $maxLength = 20) { diff --git a/app/code/Magento/Cms/Model/Block.php b/app/code/Magento/Cms/Model/Block.php index 1445e1e9e6c25..2fa80f602e966 100644 --- a/app/code/Magento/Cms/Model/Block.php +++ b/app/code/Magento/Cms/Model/Block.php @@ -17,7 +17,6 @@ * @method ResourceCmsBlock getResource() * @method Block setStoreId(array $storeId) * @method array getStoreId() - * @since 2.0.0 */ class Block extends AbstractModel implements BlockInterface, IdentityInterface { @@ -34,23 +33,18 @@ class Block extends AbstractModel implements BlockInterface, IdentityInterface /**#@-*/ - /** - * @var string - * @since 2.0.0 - */ + /**#@-*/ protected $_cacheTag = self::CACHE_TAG; /** * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'cms_block'; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -62,7 +56,6 @@ protected function _construct() * * @return AbstractModel * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -79,7 +72,6 @@ public function beforeSave() * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -90,7 +82,6 @@ public function getIdentities() * Retrieve block id * * @return int - * @since 2.0.0 */ public function getId() { @@ -101,7 +92,6 @@ public function getId() * Retrieve block identifier * * @return string - * @since 2.0.0 */ public function getIdentifier() { @@ -112,7 +102,6 @@ public function getIdentifier() * Retrieve block title * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -123,7 +112,6 @@ public function getTitle() * Retrieve block content * * @return string - * @since 2.0.0 */ public function getContent() { @@ -134,7 +122,6 @@ public function getContent() * Retrieve block creation time * * @return string - * @since 2.0.0 */ public function getCreationTime() { @@ -145,7 +132,6 @@ public function getCreationTime() * Retrieve block update time * * @return string - * @since 2.0.0 */ public function getUpdateTime() { @@ -156,7 +142,6 @@ public function getUpdateTime() * Is active * * @return bool - * @since 2.0.0 */ public function isActive() { @@ -168,7 +153,6 @@ public function isActive() * * @param int $id * @return BlockInterface - * @since 2.0.0 */ public function setId($id) { @@ -180,7 +164,6 @@ public function setId($id) * * @param string $identifier * @return BlockInterface - * @since 2.0.0 */ public function setIdentifier($identifier) { @@ -192,7 +175,6 @@ public function setIdentifier($identifier) * * @param string $title * @return BlockInterface - * @since 2.0.0 */ public function setTitle($title) { @@ -204,7 +186,6 @@ public function setTitle($title) * * @param string $content * @return BlockInterface - * @since 2.0.0 */ public function setContent($content) { @@ -216,7 +197,6 @@ public function setContent($content) * * @param string $creationTime * @return BlockInterface - * @since 2.0.0 */ public function setCreationTime($creationTime) { @@ -228,7 +208,6 @@ public function setCreationTime($creationTime) * * @param string $updateTime * @return BlockInterface - * @since 2.0.0 */ public function setUpdateTime($updateTime) { @@ -240,7 +219,6 @@ public function setUpdateTime($updateTime) * * @param bool|int $isActive * @return BlockInterface - * @since 2.0.0 */ public function setIsActive($isActive) { @@ -251,7 +229,6 @@ public function setIsActive($isActive) * Receive page store ids * * @return int[] - * @since 2.0.0 */ public function getStores() { diff --git a/app/code/Magento/Cms/Model/BlockRepository.php b/app/code/Magento/Cms/Model/BlockRepository.php index e2e2b39e158aa..0bb9a688907d3 100644 --- a/app/code/Magento/Cms/Model/BlockRepository.php +++ b/app/code/Magento/Cms/Model/BlockRepository.php @@ -20,55 +20,46 @@ /** * Class BlockRepository * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class BlockRepository implements BlockRepositoryInterface { /** * @var ResourceBlock - * @since 2.0.0 */ protected $resource; /** * @var BlockFactory - * @since 2.0.0 */ protected $blockFactory; /** * @var BlockCollectionFactory - * @since 2.0.0 */ protected $blockCollectionFactory; /** * @var Data\BlockSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $searchResultsFactory; /** * @var DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var \Magento\Cms\Api\Data\BlockInterfaceFactory - * @since 2.0.0 */ protected $dataBlockFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; @@ -88,7 +79,6 @@ class BlockRepository implements BlockRepositoryInterface * @param DataObjectProcessor $dataObjectProcessor * @param StoreManagerInterface $storeManager * @param CollectionProcessorInterface $collectionProcessor - * @since 2.0.0 */ public function __construct( ResourceBlock $resource, @@ -118,7 +108,6 @@ public function __construct( * @param \Magento\Cms\Api\Data\BlockInterface $block * @return Block * @throws CouldNotSaveException - * @since 2.0.0 */ public function save(Data\BlockInterface $block) { @@ -140,7 +129,6 @@ public function save(Data\BlockInterface $block) * @param string $blockId * @return Block * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getById($blockId) { @@ -159,7 +147,6 @@ public function getById($blockId) * @SuppressWarnings(PHPMD.NPathComplexity) * @param \Magento\Framework\Api\SearchCriteriaInterface $criteria * @return \Magento\Cms\Api\Data\BlockSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria) { @@ -182,7 +169,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria * @param \Magento\Cms\Api\Data\BlockInterface $block * @return bool * @throws CouldNotDeleteException - * @since 2.0.0 */ public function delete(Data\BlockInterface $block) { @@ -201,7 +187,6 @@ public function delete(Data\BlockInterface $block) * @return bool * @throws CouldNotDeleteException * @throws NoSuchEntityException - * @since 2.0.0 */ public function deleteById($blockId) { diff --git a/app/code/Magento/Cms/Model/Config/Source/Page.php b/app/code/Magento/Cms/Model/Config/Source/Page.php index 954009b7d83a4..9ac1208308126 100644 --- a/app/code/Magento/Cms/Model/Config/Source/Page.php +++ b/app/code/Magento/Cms/Model/Config/Source/Page.php @@ -9,25 +9,21 @@ /** * Class Page - * @since 2.0.0 */ class Page implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $options; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( CollectionFactory $collectionFactory @@ -39,7 +35,6 @@ public function __construct( * To option array * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Config/Source/Wysiwyg/Enabled.php b/app/code/Magento/Cms/Model/Config/Source/Wysiwyg/Enabled.php index bdaf73384865b..763b93f520527 100644 --- a/app/code/Magento/Cms/Model/Config/Source/Wysiwyg/Enabled.php +++ b/app/code/Magento/Cms/Model/Config/Source/Wysiwyg/Enabled.php @@ -7,13 +7,11 @@ /** * Configuration source model for Wysiwyg toggling - * @since 2.0.0 */ class Enabled implements \Magento\Framework\Option\ArrayInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page.php b/app/code/Magento/Cms/Model/Page.php index 6ee071ed24da4..1c1a19fd1a3e6 100644 --- a/app/code/Magento/Cms/Model/Page.php +++ b/app/code/Magento/Cms/Model/Page.php @@ -22,7 +22,6 @@ * @method Page setStoreId(array $storeId) * @method array getStoreId() * @SuppressWarnings(PHPMD.ExcessivePublicCount) - * @since 2.0.0 */ class Page extends AbstractModel implements PageInterface, IdentityInterface { @@ -45,7 +44,6 @@ class Page extends AbstractModel implements PageInterface, IdentityInterface /** * @var string - * @since 2.0.0 */ protected $_cacheTag = self::CACHE_TAG; @@ -53,7 +51,6 @@ class Page extends AbstractModel implements PageInterface, IdentityInterface * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'cms_page'; @@ -67,7 +64,6 @@ class Page extends AbstractModel implements PageInterface, IdentityInterface * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -80,7 +76,6 @@ protected function _construct() * @param int|null $id * @param string $field * @return $this - * @since 2.0.0 */ public function load($id, $field = null) { @@ -94,7 +89,6 @@ public function load($id, $field = null) * Load No-Route Page * * @return \Magento\Cms\Model\Page - * @since 2.0.0 */ public function noRoutePage() { @@ -105,7 +99,6 @@ public function noRoutePage() * Receive page store ids * * @return int[] - * @since 2.0.0 */ public function getStores() { @@ -119,7 +112,6 @@ public function getStores() * @param string $identifier * @param int $storeId * @return int - * @since 2.0.0 */ public function checkIdentifier($identifier, $storeId) { @@ -131,7 +123,6 @@ public function checkIdentifier($identifier, $storeId) * Available event cms_page_get_available_statuses to customize statuses. * * @return array - * @since 2.0.0 */ public function getAvailableStatuses() { @@ -142,7 +133,6 @@ public function getAvailableStatuses() * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { @@ -153,7 +143,6 @@ public function getIdentities() * Get ID * * @return int - * @since 2.0.0 */ public function getId() { @@ -164,7 +153,6 @@ public function getId() * Get identifier * * @return string - * @since 2.0.0 */ public function getIdentifier() { @@ -175,7 +163,6 @@ public function getIdentifier() * Get title * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -186,7 +173,6 @@ public function getTitle() * Get page layout * * @return string - * @since 2.0.0 */ public function getPageLayout() { @@ -208,7 +194,6 @@ public function getMetaTitle() * Get meta keywords * * @return string - * @since 2.0.0 */ public function getMetaKeywords() { @@ -219,7 +204,6 @@ public function getMetaKeywords() * Get meta description * * @return string - * @since 2.0.0 */ public function getMetaDescription() { @@ -230,7 +214,6 @@ public function getMetaDescription() * Get content heading * * @return string - * @since 2.0.0 */ public function getContentHeading() { @@ -241,7 +224,6 @@ public function getContentHeading() * Get content * * @return string - * @since 2.0.0 */ public function getContent() { @@ -252,7 +234,6 @@ public function getContent() * Get creation time * * @return string - * @since 2.0.0 */ public function getCreationTime() { @@ -263,7 +244,6 @@ public function getCreationTime() * Get update time * * @return string - * @since 2.0.0 */ public function getUpdateTime() { @@ -274,7 +254,6 @@ public function getUpdateTime() * Get sort order * * @return string - * @since 2.0.0 */ public function getSortOrder() { @@ -285,7 +264,6 @@ public function getSortOrder() * Get layout update xml * * @return string - * @since 2.0.0 */ public function getLayoutUpdateXml() { @@ -296,7 +274,6 @@ public function getLayoutUpdateXml() * Get custom theme * * @return string - * @since 2.0.0 */ public function getCustomTheme() { @@ -307,7 +284,6 @@ public function getCustomTheme() * Get custom root template * * @return string - * @since 2.0.0 */ public function getCustomRootTemplate() { @@ -318,7 +294,6 @@ public function getCustomRootTemplate() * Get custom layout update xml * * @return string - * @since 2.0.0 */ public function getCustomLayoutUpdateXml() { @@ -329,7 +304,6 @@ public function getCustomLayoutUpdateXml() * Get custom theme from * * @return string - * @since 2.0.0 */ public function getCustomThemeFrom() { @@ -340,7 +314,6 @@ public function getCustomThemeFrom() * Get custom theme to * * @return string - * @since 2.0.0 */ public function getCustomThemeTo() { @@ -351,7 +324,6 @@ public function getCustomThemeTo() * Is active * * @return bool - * @since 2.0.0 */ public function isActive() { @@ -363,7 +335,6 @@ public function isActive() * * @param int $id * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setId($id) { @@ -375,7 +346,6 @@ public function setId($id) * * @param string $identifier * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setIdentifier($identifier) { @@ -387,7 +357,6 @@ public function setIdentifier($identifier) * * @param string $title * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setTitle($title) { @@ -399,7 +368,6 @@ public function setTitle($title) * * @param string $pageLayout * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setPageLayout($pageLayout) { @@ -423,7 +391,6 @@ public function setMetaTitle($metaTitle) * * @param string $metaKeywords * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setMetaKeywords($metaKeywords) { @@ -435,7 +402,6 @@ public function setMetaKeywords($metaKeywords) * * @param string $metaDescription * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setMetaDescription($metaDescription) { @@ -447,7 +413,6 @@ public function setMetaDescription($metaDescription) * * @param string $contentHeading * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setContentHeading($contentHeading) { @@ -459,7 +424,6 @@ public function setContentHeading($contentHeading) * * @param string $content * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setContent($content) { @@ -471,7 +435,6 @@ public function setContent($content) * * @param string $creationTime * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCreationTime($creationTime) { @@ -483,7 +446,6 @@ public function setCreationTime($creationTime) * * @param string $updateTime * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setUpdateTime($updateTime) { @@ -495,7 +457,6 @@ public function setUpdateTime($updateTime) * * @param string $sortOrder * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setSortOrder($sortOrder) { @@ -507,7 +468,6 @@ public function setSortOrder($sortOrder) * * @param string $layoutUpdateXml * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setLayoutUpdateXml($layoutUpdateXml) { @@ -519,7 +479,6 @@ public function setLayoutUpdateXml($layoutUpdateXml) * * @param string $customTheme * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomTheme($customTheme) { @@ -531,7 +490,6 @@ public function setCustomTheme($customTheme) * * @param string $customRootTemplate * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomRootTemplate($customRootTemplate) { @@ -543,7 +501,6 @@ public function setCustomRootTemplate($customRootTemplate) * * @param string $customLayoutUpdateXml * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomLayoutUpdateXml($customLayoutUpdateXml) { @@ -555,7 +512,6 @@ public function setCustomLayoutUpdateXml($customLayoutUpdateXml) * * @param string $customThemeFrom * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomThemeFrom($customThemeFrom) { @@ -567,7 +523,6 @@ public function setCustomThemeFrom($customThemeFrom) * * @param string $customThemeTo * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setCustomThemeTo($customThemeTo) { @@ -579,7 +534,6 @@ public function setCustomThemeTo($customThemeTo) * * @param int|bool $isActive * @return \Magento\Cms\Api\Data\PageInterface - * @since 2.0.0 */ public function setIsActive($isActive) { diff --git a/app/code/Magento/Cms/Model/Page/Source/CustomLayout.php b/app/code/Magento/Cms/Model/Page/Source/CustomLayout.php index 5c7c4aa001c43..f66e695a67647 100644 --- a/app/code/Magento/Cms/Model/Page/Source/CustomLayout.php +++ b/app/code/Magento/Cms/Model/Page/Source/CustomLayout.php @@ -7,13 +7,11 @@ /** * Custom layout source - * @since 2.0.0 */ class CustomLayout extends PageLayout { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page/Source/IsActive.php b/app/code/Magento/Cms/Model/Page/Source/IsActive.php index db9958abfe6c8..19d6719a5d1f3 100644 --- a/app/code/Magento/Cms/Model/Page/Source/IsActive.php +++ b/app/code/Magento/Cms/Model/Page/Source/IsActive.php @@ -9,13 +9,11 @@ /** * Class IsActive - * @since 2.0.0 */ class IsActive implements OptionSourceInterface { /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $cmsPage; @@ -23,7 +21,6 @@ class IsActive implements OptionSourceInterface * Constructor * * @param \Magento\Cms\Model\Page $cmsPage - * @since 2.0.0 */ public function __construct(\Magento\Cms\Model\Page $cmsPage) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Cms\Model\Page $cmsPage) * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page/Source/IsActiveFilter.php b/app/code/Magento/Cms/Model/Page/Source/IsActiveFilter.php index eb12bb681b901..de74e1128f1ea 100644 --- a/app/code/Magento/Cms/Model/Page/Source/IsActiveFilter.php +++ b/app/code/Magento/Cms/Model/Page/Source/IsActiveFilter.php @@ -7,13 +7,11 @@ /** * Is active filter source - * @since 2.0.0 */ class IsActiveFilter extends IsActive { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page/Source/PageLayout.php b/app/code/Magento/Cms/Model/Page/Source/PageLayout.php index c71cfeb27c5e3..fb759348759b2 100644 --- a/app/code/Magento/Cms/Model/Page/Source/PageLayout.php +++ b/app/code/Magento/Cms/Model/Page/Source/PageLayout.php @@ -10,19 +10,16 @@ /** * Class PageLayout - * @since 2.0.0 */ class PageLayout implements OptionSourceInterface { /** * @var \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface - * @since 2.0.0 */ protected $pageLayoutBuilder; /** * @var array - * @since 2.0.0 */ protected $options; @@ -30,7 +27,6 @@ class PageLayout implements OptionSourceInterface * Constructor * * @param BuilderInterface $pageLayoutBuilder - * @since 2.0.0 */ public function __construct(BuilderInterface $pageLayoutBuilder) { @@ -41,7 +37,6 @@ public function __construct(BuilderInterface $pageLayoutBuilder) * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page/Source/PageLayoutFilter.php b/app/code/Magento/Cms/Model/Page/Source/PageLayoutFilter.php index 491a13637d359..dfa6ac76948cb 100644 --- a/app/code/Magento/Cms/Model/Page/Source/PageLayoutFilter.php +++ b/app/code/Magento/Cms/Model/Page/Source/PageLayoutFilter.php @@ -7,13 +7,11 @@ /** * Page layout filter source - * @since 2.0.0 */ class PageLayoutFilter extends PageLayout { /** * {@inheritdoc} - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/Page/Source/Theme.php b/app/code/Magento/Cms/Model/Page/Source/Theme.php index 1980cd7369aee..63d7b4af3131c 100644 --- a/app/code/Magento/Cms/Model/Page/Source/Theme.php +++ b/app/code/Magento/Cms/Model/Page/Source/Theme.php @@ -10,13 +10,11 @@ /** * Class Theme - * @since 2.0.0 */ class Theme implements OptionSourceInterface { /** * @var \Magento\Framework\View\Design\Theme\Label\ListInterface - * @since 2.0.0 */ protected $themeList; @@ -24,7 +22,6 @@ class Theme implements OptionSourceInterface * Constructor * * @param ListInterface $themeList - * @since 2.0.0 */ public function __construct(ListInterface $themeList) { @@ -35,7 +32,6 @@ public function __construct(ListInterface $themeList) * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Model/PageRepository.php b/app/code/Magento/Cms/Model/PageRepository.php index 8cc5418034d5d..fd53c0d56c1b4 100644 --- a/app/code/Magento/Cms/Model/PageRepository.php +++ b/app/code/Magento/Cms/Model/PageRepository.php @@ -20,55 +20,46 @@ /** * Class PageRepository * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class PageRepository implements PageRepositoryInterface { /** * @var ResourcePage - * @since 2.0.0 */ protected $resource; /** * @var PageFactory - * @since 2.0.0 */ protected $pageFactory; /** * @var PageCollectionFactory - * @since 2.0.0 */ protected $pageCollectionFactory; /** * @var Data\PageSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $searchResultsFactory; /** * @var DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var \Magento\Cms\Api\Data\PageInterfaceFactory - * @since 2.0.0 */ protected $dataPageFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; @@ -88,7 +79,6 @@ class PageRepository implements PageRepositoryInterface * @param DataObjectProcessor $dataObjectProcessor * @param StoreManagerInterface $storeManager * @param CollectionProcessorInterface $collectionProcessor - * @since 2.0.0 */ public function __construct( ResourcePage $resource, @@ -118,7 +108,6 @@ public function __construct( * @param \Magento\Cms\Api\Data\PageInterface $page * @return Page * @throws CouldNotSaveException - * @since 2.0.0 */ public function save(\Magento\Cms\Api\Data\PageInterface $page) { @@ -143,7 +132,6 @@ public function save(\Magento\Cms\Api\Data\PageInterface $page) * @param string $pageId * @return Page * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function getById($pageId) { @@ -162,7 +150,6 @@ public function getById($pageId) * @SuppressWarnings(PHPMD.NPathComplexity) * @param \Magento\Framework\Api\SearchCriteriaInterface $criteria * @return \Magento\Cms\Api\Data\PageSearchResultsInterface - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria) { @@ -185,7 +172,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $criteria * @param \Magento\Cms\Api\Data\PageInterface $page * @return bool * @throws CouldNotDeleteException - * @since 2.0.0 */ public function delete(\Magento\Cms\Api\Data\PageInterface $page) { @@ -207,7 +193,6 @@ public function delete(\Magento\Cms\Api\Data\PageInterface $page) * @return bool * @throws CouldNotDeleteException * @throws NoSuchEntityException - * @since 2.0.0 */ public function deleteById($pageId) { diff --git a/app/code/Magento/Cms/Model/ResourceModel/AbstractCollection.php b/app/code/Magento/Cms/Model/ResourceModel/AbstractCollection.php index 37a5ce9eac2ee..4535b1bd1f9dd 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/AbstractCollection.php +++ b/app/code/Magento/Cms/Model/ResourceModel/AbstractCollection.php @@ -9,7 +9,6 @@ /** * Abstract collection of CMS pages and blocks - * @since 2.0.0 */ abstract class AbstractCollection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -17,7 +16,6 @@ abstract class AbstractCollection extends \Magento\Framework\Model\ResourceModel * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -36,7 +34,6 @@ abstract class AbstractCollection extends \Magento\Framework\Model\ResourceModel * @param \Magento\Framework\EntityManager\MetadataPool $metadataPool * @param \Magento\Framework\DB\Adapter\AdapterInterface|null $connection * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb|null $resource - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactoryInterface $entityFactory, @@ -59,7 +56,6 @@ public function __construct( * @param string $tableName * @param string|null $linkField * @return void - * @since 2.0.0 */ protected function performAfterLoad($tableName, $linkField) { @@ -103,7 +99,6 @@ protected function performAfterLoad($tableName, $linkField) * @param array|string $field * @param string|int|array|null $condition * @return $this - * @since 2.0.0 */ public function addFieldToFilter($field, $condition = null) { @@ -120,7 +115,6 @@ public function addFieldToFilter($field, $condition = null) * @param int|array|Store $store * @param bool $withAdmin * @return $this - * @since 2.0.0 */ abstract public function addStoreFilter($store, $withAdmin = true); @@ -130,7 +124,6 @@ abstract public function addStoreFilter($store, $withAdmin = true); * @param int|array|Store $store * @param bool $withAdmin * @return void - * @since 2.0.0 */ protected function performAddStoreFilter($store, $withAdmin = true) { @@ -155,7 +148,6 @@ protected function performAddStoreFilter($store, $withAdmin = true) * @param string $tableName * @param string|null $linkField * @return void - * @since 2.0.0 */ protected function joinStoreRelationTable($tableName, $linkField) { @@ -177,7 +169,6 @@ protected function joinStoreRelationTable($tableName, $linkField) * Extra GROUP BY strip added. * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ public function getSelectCountSql() { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Block.php b/app/code/Magento/Cms/Model/ResourceModel/Block.php index 1efa18cac9738..797edd7ee1cf9 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Block.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Block.php @@ -19,7 +19,6 @@ /** * CMS block model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Block extends AbstractDb { @@ -27,7 +26,6 @@ class Block extends AbstractDb * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -49,7 +47,6 @@ class Block extends AbstractDb * @param EntityManager $entityManager * @param MetadataPool $metadataPool * @param string $connectionName - * @since 2.0.0 */ public function __construct( Context $context, @@ -68,7 +65,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -90,7 +86,6 @@ public function getConnection() * @param AbstractModel $object * @return $this * @throws LocalizedException - * @since 2.0.0 */ protected function _beforeSave(AbstractModel $object) { @@ -138,7 +133,6 @@ private function getBlockId(AbstractModel $object, $value, $field = null) * @param mixed $value * @param string $field field to load by (defaults to model id) * @return $this - * @since 2.0.0 */ public function load(AbstractModel $object, $value, $field = null) { @@ -156,7 +150,6 @@ public function load(AbstractModel $object, $value, $field = null) * @param mixed $value * @param \Magento\Cms\Model\Block|AbstractModel $object * @return Select - * @since 2.0.0 */ protected function _getLoadSelect($field, $value, $object) { @@ -188,7 +181,6 @@ protected function _getLoadSelect($field, $value, $object) * @param AbstractModel $object * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsUniqueBlockToStores(AbstractModel $object) { @@ -227,7 +219,6 @@ public function getIsUniqueBlockToStores(AbstractModel $object) * * @param int $id * @return array - * @since 2.0.0 */ public function lookupStoreIds($id) { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Block/Collection.php b/app/code/Magento/Cms/Model/ResourceModel/Block/Collection.php index a3377535ccabd..3c586a56d90cc 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Block/Collection.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Block/Collection.php @@ -10,13 +10,11 @@ /** * CMS Block Collection - * @since 2.0.0 */ class Collection extends AbstractCollection { /** * @var string - * @since 2.0.0 */ protected $_idFieldName = 'block_id'; @@ -24,7 +22,6 @@ class Collection extends AbstractCollection * Perform operations after collection load * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -39,7 +36,6 @@ protected function _afterLoad() * Define resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -52,7 +48,6 @@ protected function _construct() * Returns pairs block_id - title * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -65,7 +60,6 @@ public function toOptionArray() * @param int|array|\Magento\Store\Model\Store $store * @param bool $withAdmin * @return $this - * @since 2.0.0 */ public function addStoreFilter($store, $withAdmin = true) { @@ -78,7 +72,6 @@ public function addStoreFilter($store, $withAdmin = true) * Join store relation table if there is store filter * * @return void - * @since 2.0.0 */ protected function _renderFiltersBefore() { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Block/Grid/Collection.php b/app/code/Magento/Cms/Model/ResourceModel/Block/Grid/Collection.php index 80f2ae22fc6ca..f45d9ee223106 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Block/Grid/Collection.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Block/Grid/Collection.php @@ -11,13 +11,11 @@ /** * Collection for displaying grid of cms blocks - * @since 2.0.0 */ class Collection extends BlockCollection implements SearchResultInterface { /** * @var AggregationInterface - * @since 2.0.0 */ protected $aggregations; @@ -37,7 +35,6 @@ class Collection extends BlockCollection implements SearchResultInterface * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactoryInterface $entityFactory, @@ -72,7 +69,6 @@ public function __construct( /** * @return AggregationInterface - * @since 2.0.0 */ public function getAggregations() { @@ -82,7 +78,6 @@ public function getAggregations() /** * @param AggregationInterface $aggregations * @return $this - * @since 2.0.0 */ public function setAggregations($aggregations) { @@ -93,7 +88,6 @@ public function setAggregations($aggregations) * Get search criteria. * * @return \Magento\Framework\Api\SearchCriteriaInterface|null - * @since 2.0.0 */ public function getSearchCriteria() { @@ -106,7 +100,6 @@ public function getSearchCriteria() * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria = null) { @@ -117,7 +110,6 @@ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface * Get total count. * * @return int - * @since 2.0.0 */ public function getTotalCount() { @@ -130,7 +122,6 @@ public function getTotalCount() * @param int $totalCount * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setTotalCount($totalCount) { @@ -143,7 +134,6 @@ public function setTotalCount($totalCount) * @param \Magento\Framework\Api\ExtensibleDataInterface[] $items * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setItems(array $items = null) { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Page.php b/app/code/Magento/Cms/Model/ResourceModel/Page.php index 1330a632c736d..9808e8a23e1cb 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Page.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Page.php @@ -22,7 +22,6 @@ /** * Cms page mysql resource * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Page extends AbstractDb { @@ -30,7 +29,6 @@ class Page extends AbstractDb * Store model * * @var null|Store - * @since 2.0.0 */ protected $_store = null; @@ -38,13 +36,11 @@ class Page extends AbstractDb * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var DateTime - * @since 2.0.0 */ protected $dateTime; @@ -67,7 +63,6 @@ class Page extends AbstractDb * @param EntityManager $entityManager * @param MetadataPool $metadataPool * @param string $connectionName - * @since 2.0.0 */ public function __construct( Context $context, @@ -88,7 +83,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -110,7 +104,6 @@ public function getConnection() * @param AbstractModel $object * @return $this * @throws LocalizedException - * @since 2.0.0 */ protected function _beforeSave(AbstractModel $object) { @@ -177,7 +170,6 @@ private function getPageId(AbstractModel $object, $value, $field = null) * @param mixed $value * @param string $field field to load by (defaults to model id) * @return $this - * @since 2.0.0 */ public function load(AbstractModel $object, $value, $field = null) { @@ -195,7 +187,6 @@ public function load(AbstractModel $object, $value, $field = null) * @param mixed $value * @param CmsPage|AbstractModel $object * @return Select - * @since 2.0.0 */ protected function _getLoadSelect($field, $value, $object) { @@ -230,7 +221,6 @@ protected function _getLoadSelect($field, $value, $object) * @param int|array $store * @param int $isActive * @return Select - * @since 2.0.0 */ protected function _getLoadByIdentifierSelect($identifier, $store, $isActive = null) { @@ -259,7 +249,6 @@ protected function _getLoadByIdentifierSelect($identifier, $store, $isActive = n * * @param AbstractModel $object * @return bool - * @since 2.0.0 */ protected function isNumericPageIdentifier(AbstractModel $object) { @@ -271,7 +260,6 @@ protected function isNumericPageIdentifier(AbstractModel $object) * * @param AbstractModel $object * @return bool - * @since 2.0.0 */ protected function isValidPageIdentifier(AbstractModel $object) { @@ -285,7 +273,6 @@ protected function isValidPageIdentifier(AbstractModel $object) * @param string $identifier * @param int $storeId * @return int - * @since 2.0.0 */ public function checkIdentifier($identifier, $storeId) { @@ -306,7 +293,6 @@ public function checkIdentifier($identifier, $storeId) * * @param string $identifier * @return string|false - * @since 2.0.0 */ public function getCmsPageTitleByIdentifier($identifier) { @@ -329,7 +315,6 @@ public function getCmsPageTitleByIdentifier($identifier) * * @param string $id * @return string|false - * @since 2.0.0 */ public function getCmsPageTitleById($id) { @@ -348,7 +333,6 @@ public function getCmsPageTitleById($id) * * @param string $id * @return string|false - * @since 2.0.0 */ public function getCmsPageIdentifierById($id) { @@ -367,7 +351,6 @@ public function getCmsPageIdentifierById($id) * * @param int $pageId * @return array - * @since 2.0.0 */ public function lookupStoreIds($pageId) { @@ -393,7 +376,6 @@ public function lookupStoreIds($pageId) * * @param Store $store * @return $this - * @since 2.0.0 */ public function setStore($store) { @@ -405,7 +387,6 @@ public function setStore($store) * Retrieve store model * * @return Store - * @since 2.0.0 */ public function getStore() { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Page/Collection.php b/app/code/Magento/Cms/Model/ResourceModel/Page/Collection.php index c26f6f45a9a11..7250eeaa47c0e 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Page/Collection.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Page/Collection.php @@ -10,13 +10,11 @@ /** * CMS page collection - * @since 2.0.0 */ class Collection extends AbstractCollection { /** * @var string - * @since 2.0.0 */ protected $_idFieldName = 'page_id'; @@ -24,7 +22,6 @@ class Collection extends AbstractCollection * Load data for preview flag * * @var bool - * @since 2.0.0 */ protected $_previewFlag; @@ -32,7 +29,6 @@ class Collection extends AbstractCollection * Define resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -46,7 +42,6 @@ protected function _construct() * and pairs identifier|page_id - title for non-unique after first * * @return array - * @since 2.0.0 */ public function toOptionIdArray() { @@ -75,7 +70,6 @@ public function toOptionIdArray() * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setFirstStoreFlag($flag = false) { @@ -89,7 +83,6 @@ public function setFirstStoreFlag($flag = false) * @param int|array|\Magento\Store\Model\Store $store * @param bool $withAdmin * @return $this - * @since 2.0.0 */ public function addStoreFilter($store, $withAdmin = true) { @@ -103,7 +96,6 @@ public function addStoreFilter($store, $withAdmin = true) * Perform operations after collection load * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -118,7 +110,6 @@ protected function _afterLoad() * Perform operations before rendering filters * * @return void - * @since 2.0.0 */ protected function _renderFiltersBefore() { diff --git a/app/code/Magento/Cms/Model/ResourceModel/Page/Grid/Collection.php b/app/code/Magento/Cms/Model/ResourceModel/Page/Grid/Collection.php index 2f81ad039ed74..c5c43c3120dcc 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Page/Grid/Collection.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Page/Grid/Collection.php @@ -12,13 +12,11 @@ /** * Class Collection * Collection for displaying grid of sales documents - * @since 2.0.0 */ class Collection extends PageCollection implements SearchResultInterface { /** * @var AggregationInterface - * @since 2.0.0 */ protected $aggregations; @@ -38,7 +36,6 @@ class Collection extends PageCollection implements SearchResultInterface * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb|null $resource * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactoryInterface $entityFactory, @@ -73,7 +70,6 @@ public function __construct( /** * @return AggregationInterface - * @since 2.0.0 */ public function getAggregations() { @@ -83,7 +79,6 @@ public function getAggregations() /** * @param AggregationInterface $aggregations * @return $this - * @since 2.0.0 */ public function setAggregations($aggregations) { @@ -94,7 +89,6 @@ public function setAggregations($aggregations) * Get search criteria. * * @return \Magento\Framework\Api\SearchCriteriaInterface|null - * @since 2.0.0 */ public function getSearchCriteria() { @@ -107,7 +101,6 @@ public function getSearchCriteria() * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria = null) { @@ -118,7 +111,6 @@ public function setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface * Get total count. * * @return int - * @since 2.0.0 */ public function getTotalCount() { @@ -131,7 +123,6 @@ public function getTotalCount() * @param int $totalCount * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setTotalCount($totalCount) { @@ -144,7 +135,6 @@ public function setTotalCount($totalCount) * @param \Magento\Framework\Api\ExtensibleDataInterface[] $items * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function setItems(array $items = null) { diff --git a/app/code/Magento/Cms/Model/Template/Filter.php b/app/code/Magento/Cms/Model/Template/Filter.php index 4a282de533e68..2dcbfbc4ab598 100644 --- a/app/code/Magento/Cms/Model/Template/Filter.php +++ b/app/code/Magento/Cms/Model/Template/Filter.php @@ -7,7 +7,6 @@ /** * Cms Template Filter Model - * @since 2.0.0 */ class Filter extends \Magento\Email\Model\Template\Filter { @@ -15,7 +14,6 @@ class Filter extends \Magento\Email\Model\Template\Filter * Whether to allow SID in store directive: AUTO * * @var bool - * @since 2.0.0 */ protected $_useSessionInUrl; @@ -24,7 +22,6 @@ class Filter extends \Magento\Email\Model\Template\Filter * * @param bool $flag * @return $this - * @since 2.0.0 */ public function setUseSessionInUrl($flag) { @@ -37,7 +34,6 @@ public function setUseSessionInUrl($flag) * * @param string[] $construction * @return string - * @since 2.0.0 */ public function mediaDirective($construction) { diff --git a/app/code/Magento/Cms/Model/Template/FilterProvider.php b/app/code/Magento/Cms/Model/Template/FilterProvider.php index 089d2607537db..02e337003f45c 100644 --- a/app/code/Magento/Cms/Model/Template/FilterProvider.php +++ b/app/code/Magento/Cms/Model/Template/FilterProvider.php @@ -9,31 +9,26 @@ /** * Filter provider model - * @since 2.0.0 */ class FilterProvider { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @var string - * @since 2.0.0 */ protected $_pageFilter; /** * @var string - * @since 2.0.0 */ protected $_blockFilter; /** * @var array - * @since 2.0.0 */ protected $_instanceList; @@ -41,7 +36,6 @@ class FilterProvider * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param string $pageFilter * @param string $blockFilter - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -57,7 +51,6 @@ public function __construct( * @param string $instanceName * @return \Magento\Framework\Filter\Template * @throws \Exception - * @since 2.0.0 */ protected function _getFilterInstance($instanceName) { @@ -75,7 +68,6 @@ protected function _getFilterInstance($instanceName) /** * @return \Magento\Framework\Filter\Template - * @since 2.0.0 */ public function getBlockFilter() { @@ -84,7 +76,6 @@ public function getBlockFilter() /** * @return \Magento\Framework\Filter\Template - * @since 2.0.0 */ public function getPageFilter() { diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Config.php b/app/code/Magento/Cms/Model/Wysiwyg/Config.php index 912604a90637a..6776aad2b4098 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Config.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Config.php @@ -13,7 +13,6 @@ * Wysiwyg Config for Editor HTML Element * * @api - * @since 2.0.0 */ class Config extends \Magento\Framework\DataObject implements ConfigInterface { @@ -49,25 +48,21 @@ class Config extends \Magento\Framework\DataObject implements ConfigInterface /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; /** * @var \Magento\Variable\Model\Variable\Config - * @since 2.0.0 */ protected $_variableConfig; /** * @var \Magento\Widget\Model\Widget\Config - * @since 2.0.0 */ protected $_widgetConfig; @@ -75,7 +70,6 @@ class Config extends \Magento\Framework\DataObject implements ConfigInterface * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -83,25 +77,21 @@ class Config extends \Magento\Framework\DataObject implements ConfigInterface * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var array - * @since 2.0.0 */ protected $_windowSize; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -124,7 +114,6 @@ class Config extends \Magento\Framework\DataObject implements ConfigInterface * @param array $windowSize * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\UrlInterface $backendUrl, @@ -167,7 +156,6 @@ public function __construct( * * @param array|\Magento\Framework\DataObject $data Object constructor params to override default config values * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getConfig($data = []) { @@ -232,7 +220,6 @@ public function getConfig($data = []) * Return path for skin images placeholder * * @return string - * @since 2.0.0 */ public function getSkinImagePlaceholderPath() { @@ -245,7 +232,6 @@ public function getSkinImagePlaceholderPath() * Check whether Wysiwyg is enabled or not * * @return bool - * @since 2.0.0 */ public function isEnabled() { @@ -261,7 +247,6 @@ public function isEnabled() * Check whether Wysiwyg is loaded on demand or not * * @return bool - * @since 2.0.0 */ public function isHidden() { diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php index c222829bbe3fd..f879f2edcafb2 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php @@ -16,7 +16,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class Storage extends \Magento\Framework\DataObject { @@ -30,7 +29,6 @@ class Storage extends \Magento\Framework\DataObject * Config object * * @var \Magento\Framework\App\Config\Element - * @since 2.0.0 */ protected $_config; @@ -38,25 +36,21 @@ class Storage extends \Magento\Framework\DataObject * Config object as array * * @var array - * @since 2.0.0 */ protected $_configAsArray; /** * @var \Magento\Framework\Filesystem\Directory\Write - * @since 2.0.0 */ protected $_directory; /** * @var \Magento\Framework\Image\AdapterFactory - * @since 2.0.0 */ protected $_imageFactory; /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; @@ -64,7 +58,6 @@ class Storage extends \Magento\Framework\DataObject * Core file storage database * * @var \Magento\MediaStorage\Helper\File\Storage\Database - * @since 2.0.0 */ protected $_coreFileStorageDb = null; @@ -72,37 +65,31 @@ class Storage extends \Magento\Framework\DataObject * Cms wysiwyg images * * @var \Magento\Cms\Helper\Wysiwyg\Images - * @since 2.0.0 */ protected $_cmsWysiwygImages = null; /** * @var array - * @since 2.0.0 */ protected $_resizeParameters; /** * @var array - * @since 2.0.0 */ protected $_extensions; /** * @var array - * @since 2.0.0 */ protected $_dirs; /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; /** * @var \Magento\Backend\Model\Session - * @since 2.0.0 */ protected $_session; @@ -110,7 +97,6 @@ class Storage extends \Magento\Framework\DataObject * Directory database factory * * @var \Magento\MediaStorage\Model\File\Storage\Directory\DatabaseFactory - * @since 2.0.0 */ protected $_directoryDatabaseFactory; @@ -118,7 +104,6 @@ class Storage extends \Magento\Framework\DataObject * Storage database factory * * @var \Magento\MediaStorage\Model\File\Storage\DatabaseFactory - * @since 2.0.0 */ protected $_storageDatabaseFactory; @@ -126,7 +111,6 @@ class Storage extends \Magento\Framework\DataObject * Storage file factory * * @var \Magento\MediaStorage\Model\File\Storage\FileFactory - * @since 2.0.0 */ protected $_storageFileFactory; @@ -134,7 +118,6 @@ class Storage extends \Magento\Framework\DataObject * Storage collection factory * * @var \Magento\Cms\Model\Wysiwyg\Images\Storage\CollectionFactory - * @since 2.0.0 */ protected $_storageCollectionFactory; @@ -142,7 +125,6 @@ class Storage extends \Magento\Framework\DataObject * Uploader factory * * @var \Magento\MediaStorage\Model\File\UploaderFactory - * @since 2.0.0 */ protected $_uploaderFactory; @@ -167,7 +149,6 @@ class Storage extends \Magento\Framework\DataObject * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Session $session, @@ -210,7 +191,6 @@ public function __construct( * * @param string $path * @return void - * @since 2.0.0 */ protected function createSubDirectories($path) { @@ -229,7 +209,6 @@ protected function createSubDirectories($path) * Prepare and get conditions for exclude directories * * @return array - * @since 2.0.0 */ protected function getConditionsForExcludeDirs() { @@ -257,7 +236,6 @@ protected function getConditionsForExcludeDirs() * @param \Magento\Framework\Data\Collection\Filesystem $collection * @param array $conditions * @return \Magento\Framework\Data\Collection\Filesystem - * @since 2.0.0 */ protected function removeItemFromCollection($collection, $conditions) { @@ -281,7 +259,6 @@ protected function removeItemFromCollection($collection, $conditions) * * @param string $path Parent directory path * @return \Magento\Framework\Data\Collection\Filesystem - * @since 2.0.0 */ public function getDirsCollection($path) { @@ -303,7 +280,6 @@ public function getDirsCollection($path) * @param string $path Parent directory path * @param string $type Type of storage, e.g. image, media etc. * @return \Magento\Framework\Data\Collection\Filesystem - * @since 2.0.0 */ public function getFilesCollection($path, $type = null) { @@ -370,7 +346,6 @@ public function getFilesCollection($path, $type = null) * * @param string $path Path to the directory * @return \Magento\Cms\Model\Wysiwyg\Images\Storage\Collection - * @since 2.0.0 */ public function getCollection($path = null) { @@ -389,7 +364,6 @@ public function getCollection($path = null) * @param string $path Parent directory path * @return array New directory info * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function createDirectory($name, $path) { @@ -437,7 +411,6 @@ public function createDirectory($name, $path) * @param string $path Target dir * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteDirectory($path) { @@ -458,7 +431,6 @@ public function deleteDirectory($path) * * @param string $path * @return void - * @since 2.0.0 */ protected function _deleteByPath($path) { @@ -474,7 +446,6 @@ protected function _deleteByPath($path) * * @param string $target File path to be deleted * @return $this - * @since 2.0.0 */ public function deleteFile($target) { @@ -502,7 +473,6 @@ public function deleteFile($target) * @param string $type Type of storage, e.g. image, media etc. * @return array File info Array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function uploadFile($targetPath, $type = null) { @@ -540,7 +510,6 @@ public function uploadFile($targetPath, $type = null) * @param string $filePath original file path * @param bool $checkFile OPTIONAL is it necessary to check file availability * @return string|false - * @since 2.0.0 */ public function getThumbnailPath($filePath, $checkFile = false) { @@ -563,7 +532,6 @@ public function getThumbnailPath($filePath, $checkFile = false) * @param string $filePath original file path * @param bool $checkFile OPTIONAL is it necessary to check file availability * @return string|false - * @since 2.0.0 */ public function getThumbnailUrl($filePath, $checkFile = false) { @@ -593,7 +561,6 @@ public function getThumbnailUrl($filePath, $checkFile = false) * @param string $source Image path to be resized * @param bool $keepRation Keep aspect ratio or not * @return bool|string Resized filepath or false if errors were occurred - * @since 2.0.0 */ public function resizeFile($source, $keepRation = true) { @@ -627,7 +594,6 @@ public function resizeFile($source, $keepRation = true) * * @param string $filename File basename * @return bool|string Thumbnail path or false for errors - * @since 2.0.0 */ public function resizeOnTheFly($filename) { @@ -643,7 +609,6 @@ public function resizeOnTheFly($filename) * * @param bool|string $filePath Path to the file * @return string - * @since 2.0.0 */ public function getThumbsPath($filePath = false) { @@ -661,7 +626,6 @@ public function getThumbsPath($filePath = false) * Storage session * * @return \Magento\Backend\Model\Session - * @since 2.0.0 */ public function getSession() { @@ -673,7 +637,6 @@ public function getSession() * * @param string $type Type of storage, e.g. image, media etc. * @return array Array of allowed file extensions - * @since 2.0.0 */ public function getAllowedExtensions($type = null) { @@ -690,7 +653,6 @@ public function getAllowedExtensions($type = null) * Thumbnail root directory getter * * @return string - * @since 2.0.0 */ public function getThumbnailRoot() { @@ -702,7 +664,6 @@ public function getThumbnailRoot() * * @param string $filename * @return bool - * @since 2.0.0 */ public function isImage($filename) { @@ -717,7 +678,6 @@ public function isImage($filename) * Get resize width * * @return int - * @since 2.0.0 */ public function getResizeWidth() { @@ -728,7 +688,6 @@ public function getResizeWidth() * Get resize height * * @return int - * @since 2.0.0 */ public function getResizeHeight() { @@ -739,7 +698,6 @@ public function getResizeHeight() * Get cms wysiwyg images helper * * @return Images|null - * @since 2.0.0 */ public function getCmsWysiwygImages() { @@ -752,7 +710,6 @@ public function getCmsWysiwygImages() * @param string $path * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _validatePath($path) { @@ -774,7 +731,6 @@ protected function _validatePath($path) * * @param string $path * @return string - * @since 2.0.0 */ protected function _sanitizePath($path) { @@ -786,7 +742,6 @@ protected function _sanitizePath($path) * * @param string $path * @return string|bool - * @since 2.0.0 */ protected function _getRelativePathToRoot($path) { diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php index 72c98ddc93c53..88d440cfa84ae 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php @@ -12,20 +12,17 @@ * Wysiwyg Images storage collection * * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Data\Collection\Filesystem { /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory * @param \Magento\Framework\Filesystem $filesystem - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -40,7 +37,6 @@ public function __construct( * * @param string $filename * @return array - * @since 2.0.0 */ protected function _generateRow($filename) { diff --git a/app/code/Magento/Cms/Observer/NoCookiesObserver.php b/app/code/Magento/Cms/Observer/NoCookiesObserver.php index 9b47991fef7c8..b87d89351456c 100644 --- a/app/code/Magento/Cms/Observer/NoCookiesObserver.php +++ b/app/code/Magento/Cms/Observer/NoCookiesObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Cms\Observer\NoCookiesObserver * - * @since 2.0.0 */ class NoCookiesObserver implements ObserverInterface { @@ -18,7 +17,6 @@ class NoCookiesObserver implements ObserverInterface * Cms page * * @var \Magento\Cms\Helper\Page - * @since 2.0.0 */ protected $_cmsPage; @@ -26,14 +24,12 @@ class NoCookiesObserver implements ObserverInterface * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @param \Magento\Cms\Helper\Page $cmsPage * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\Cms\Helper\Page $cmsPage, @@ -48,7 +44,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return self - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Cms/Observer/NoRouteObserver.php b/app/code/Magento/Cms/Observer/NoRouteObserver.php index f8a083581ad2f..a4a014ea4c9d7 100644 --- a/app/code/Magento/Cms/Observer/NoRouteObserver.php +++ b/app/code/Magento/Cms/Observer/NoRouteObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Cms\Observer\NoRouteObserver * - * @since 2.0.0 */ class NoRouteObserver implements ObserverInterface { @@ -19,7 +18,6 @@ class NoRouteObserver implements ObserverInterface * * @param \Magento\Framework\Event\Observer $observer * @return self - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Cms/Setup/InstallData.php b/app/code/Magento/Cms/Setup/InstallData.php index 57cf053e236c7..57e9aadd691d4 100644 --- a/app/code/Magento/Cms/Setup/InstallData.php +++ b/app/code/Magento/Cms/Setup/InstallData.php @@ -15,7 +15,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -23,7 +22,6 @@ class InstallData implements InstallDataInterface * Page factory * * @var PageFactory - * @since 2.0.0 */ private $pageFactory; @@ -31,7 +29,6 @@ class InstallData implements InstallDataInterface * Init * * @param PageFactory $pageFactory - * @since 2.0.0 */ public function __construct(PageFactory $pageFactory) { @@ -41,7 +38,6 @@ public function __construct(PageFactory $pageFactory) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -387,7 +383,6 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface * Create page * * @return Page - * @since 2.0.0 */ public function createPage() { diff --git a/app/code/Magento/Cms/Setup/InstallSchema.php b/app/code/Magento/Cms/Setup/InstallSchema.php index d050a8e024cc1..038f1620963be 100644 --- a/app/code/Magento/Cms/Setup/InstallSchema.php +++ b/app/code/Magento/Cms/Setup/InstallSchema.php @@ -13,14 +13,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Cms/Ui/Component/Listing/Column/BlockActions.php b/app/code/Magento/Cms/Ui/Component/Listing/Column/BlockActions.php index ffe13e7262bb8..0c9b8128a46f6 100644 --- a/app/code/Magento/Cms/Ui/Component/Listing/Column/BlockActions.php +++ b/app/code/Magento/Cms/Ui/Component/Listing/Column/BlockActions.php @@ -14,7 +14,6 @@ /** * Class BlockActions - * @since 2.0.0 */ class BlockActions extends Column { @@ -27,7 +26,6 @@ class BlockActions extends Column /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -45,7 +43,6 @@ class BlockActions extends Column * @param UrlInterface $urlBuilder * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -63,7 +60,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Cms/Ui/Component/Listing/Column/Cms/Options.php b/app/code/Magento/Cms/Ui/Component/Listing/Column/Cms/Options.php index 352c6b6a49cc9..300877bc9c855 100644 --- a/app/code/Magento/Cms/Ui/Component/Listing/Column/Cms/Options.php +++ b/app/code/Magento/Cms/Ui/Component/Listing/Column/Cms/Options.php @@ -9,7 +9,6 @@ /** * Store Options for Cms Pages and Blocks - * @since 2.0.0 */ class Options extends StoreOptions { @@ -22,7 +21,6 @@ class Options extends StoreOptions * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cms/Ui/Component/Listing/Column/PageActions.php b/app/code/Magento/Cms/Ui/Component/Listing/Column/PageActions.php index fecf010370811..7fba7358dd214 100644 --- a/app/code/Magento/Cms/Ui/Component/Listing/Column/PageActions.php +++ b/app/code/Magento/Cms/Ui/Component/Listing/Column/PageActions.php @@ -15,7 +15,6 @@ /** * Class PageActions - * @since 2.0.0 */ class PageActions extends Column { @@ -25,19 +24,16 @@ class PageActions extends Column /** * @var \Magento\Cms\Block\Adminhtml\Page\Grid\Renderer\Action\UrlBuilder - * @since 2.0.0 */ protected $actionUrlBuilder; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlBuilder; /** * @var string - * @since 2.0.0 */ private $editUrl; @@ -55,7 +51,6 @@ class PageActions extends Column * @param array $components * @param array $data * @param string $editUrl - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -77,7 +72,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlPathGenerator.php b/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlPathGenerator.php index bbb61b187ef14..2825b927ae412 100644 --- a/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlPathGenerator.php +++ b/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlPathGenerator.php @@ -9,18 +9,15 @@ /** * @api - * @since 2.0.0 */ class CmsPageUrlPathGenerator { /** * @var \Magento\Framework\Filter\FilterManager - * @since 2.0.0 */ protected $filterManager; /** - * @since 2.0.0 */ public function __construct( \Magento\Framework\Filter\FilterManager $filterManager @@ -32,7 +29,6 @@ public function __construct( * @param PageInterface $cmsPage * * @return string - * @since 2.0.0 */ public function getUrlPath(PageInterface $cmsPage) { @@ -44,7 +40,6 @@ public function getUrlPath(PageInterface $cmsPage) * * @param PageInterface $cmsPage * @return string - * @since 2.0.0 */ public function getCanonicalUrlPath(PageInterface $cmsPage) { @@ -56,7 +51,6 @@ public function getCanonicalUrlPath(PageInterface $cmsPage) * * @param PageInterface $cmsPage * @return string - * @since 2.0.0 */ public function generateUrlKey(PageInterface $cmsPage) { diff --git a/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlRewriteGenerator.php b/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlRewriteGenerator.php index e37c61de35167..2aea8b7f0e6ec 100644 --- a/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlRewriteGenerator.php +++ b/app/code/Magento/CmsUrlRewrite/Model/CmsPageUrlRewriteGenerator.php @@ -11,7 +11,6 @@ /** * Class \Magento\CmsUrlRewrite\Model\CmsPageUrlRewriteGenerator * - * @since 2.0.0 */ class CmsPageUrlRewriteGenerator { @@ -22,13 +21,11 @@ class CmsPageUrlRewriteGenerator /** * @var \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory - * @since 2.0.0 */ protected $urlRewriteFactory; /** * @var \Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator - * @since 2.0.0 */ protected $cmsPageUrlPathGenerator; @@ -36,13 +33,11 @@ class CmsPageUrlRewriteGenerator * Store manager * * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Cms\Model\Page - * @since 2.0.0 */ protected $cmsPage; @@ -50,7 +45,6 @@ class CmsPageUrlRewriteGenerator * @param \Magento\UrlRewrite\Service\V1\Data\UrlRewriteFactory $urlRewriteFactory * @param \Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator $cmsPageUrlPathGenerator * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( UrlRewriteFactory $urlRewriteFactory, @@ -65,7 +59,6 @@ public function __construct( /** * @param \Magento\Cms\Model\Page $cmsPage * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ public function generate($cmsPage) { @@ -81,7 +74,6 @@ public function generate($cmsPage) * Generate list of urls for default store * * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForAllStores() { @@ -97,7 +89,6 @@ protected function generateForAllStores() * * @param int[] $storeIds * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[] - * @since 2.0.0 */ protected function generateForSpecificStores($storeIds) { @@ -118,7 +109,6 @@ protected function generateForSpecificStores($storeIds) * @param int $storeId * @param int $redirectType * @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite - * @since 2.0.0 */ protected function createUrlRewrite($storeId, $redirectType = 0) { diff --git a/app/code/Magento/CmsUrlRewrite/Observer/ProcessUrlRewriteSavingObserver.php b/app/code/Magento/CmsUrlRewrite/Observer/ProcessUrlRewriteSavingObserver.php index 826a95dfe250d..4b57e8fa7737b 100644 --- a/app/code/Magento/CmsUrlRewrite/Observer/ProcessUrlRewriteSavingObserver.php +++ b/app/code/Magento/CmsUrlRewrite/Observer/ProcessUrlRewriteSavingObserver.php @@ -14,26 +14,22 @@ /** * Class \Magento\CmsUrlRewrite\Observer\ProcessUrlRewriteSavingObserver * - * @since 2.0.0 */ class ProcessUrlRewriteSavingObserver implements ObserverInterface { /** * @var \Magento\CmsUrlRewrite\Model\CmsPageUrlRewriteGenerator - * @since 2.0.0 */ protected $cmsPageUrlRewriteGenerator; /** * @var UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @param \Magento\CmsUrlRewrite\Model\CmsPageUrlRewriteGenerator $cmsPageUrlRewriteGenerator * @param UrlPersistInterface $urlPersist - * @since 2.0.0 */ public function __construct(CmsPageUrlRewriteGenerator $cmsPageUrlRewriteGenerator, UrlPersistInterface $urlPersist) { @@ -46,7 +42,6 @@ public function __construct(CmsPageUrlRewriteGenerator $cmsPageUrlRewriteGenerat * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(EventObserver $observer) { diff --git a/app/code/Magento/CmsUrlRewrite/Plugin/Cms/Model/ResourceModel/Page.php b/app/code/Magento/CmsUrlRewrite/Plugin/Cms/Model/ResourceModel/Page.php index 0d14388f6536d..c7e4e41416814 100644 --- a/app/code/Magento/CmsUrlRewrite/Plugin/Cms/Model/ResourceModel/Page.php +++ b/app/code/Magento/CmsUrlRewrite/Plugin/Cms/Model/ResourceModel/Page.php @@ -16,26 +16,22 @@ * Before save and around delete plugin for \Magento\Cms\Model\ResourceModel\Page: * - autogenerates url_key if the merchant didn't fill this field * - remove all url rewrites for cms page on delete - * @since 2.0.0 */ class Page { /** * @var \Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator - * @since 2.0.0 */ protected $cmsPageUrlPathGenerator; /** * @var UrlPersistInterface - * @since 2.0.0 */ protected $urlPersist; /** * @param CmsPageUrlPathGenerator $cmsPageUrlPathGenerator * @param UrlPersistInterface $urlPersist - * @since 2.0.0 */ public function __construct( CmsPageUrlPathGenerator $cmsPageUrlPathGenerator, @@ -53,7 +49,6 @@ public function __construct( * * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave( \Magento\Cms\Model\ResourceModel\Page $subject, diff --git a/app/code/Magento/Config/App/Config/Source/DumpConfigSourceAggregated.php b/app/code/Magento/Config/App/Config/Source/DumpConfigSourceAggregated.php index 5f411600f2f7e..f1411defe033f 100644 --- a/app/code/Magento/Config/App/Config/Source/DumpConfigSourceAggregated.php +++ b/app/code/Magento/Config/App/Config/Source/DumpConfigSourceAggregated.php @@ -13,7 +13,7 @@ /** * Class DumpConfigSourceAggregated aggregates configurations from all available sources - * @since 2.2.0 + * @since 2.1.3 */ class DumpConfigSourceAggregated implements DumpConfigSourceInterface { @@ -37,19 +37,19 @@ class DumpConfigSourceAggregated implements DumpConfigSourceInterface /** * @var ConfigSourceInterface[] - * @since 2.2.0 + * @since 2.1.3 */ private $sources; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $excludedFields; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $data; @@ -88,7 +88,7 @@ class DumpConfigSourceAggregated implements DumpConfigSourceInterface * @param TypePool|null $typePool * @param array $rules Rules for filtration the configuration data. * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ExcludeList $excludeList, @@ -106,7 +106,7 @@ public function __construct( * * @param string $path * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function get($path = '') { @@ -137,7 +137,7 @@ public function get($path = '') * @param string $path * @param array $data * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function filterChain($path, &$data) { @@ -192,7 +192,7 @@ private function isExcludedPath($path) * * @param string $path * @return null|string - * @since 2.2.0 + * @since 2.1.3 */ private function filterPath($path) { @@ -216,7 +216,7 @@ private function filterPath($path) * Sort sources ASC from higher priority to lower * * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function sortSources() { @@ -228,7 +228,7 @@ private function sortSources() /** * Retrieves list of field paths were excluded from config dump * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getExcludedFields() { diff --git a/app/code/Magento/Config/App/Config/Source/DumpConfigSourceInterface.php b/app/code/Magento/Config/App/Config/Source/DumpConfigSourceInterface.php index bea8037b182c7..89afc2e1dd54a 100644 --- a/app/code/Magento/Config/App/Config/Source/DumpConfigSourceInterface.php +++ b/app/code/Magento/Config/App/Config/Source/DumpConfigSourceInterface.php @@ -10,7 +10,7 @@ /** * Interface DumpConfigSourceInterface * @api - * @since 2.2.0 + * @since 2.1.3 */ interface DumpConfigSourceInterface extends ConfigSourceInterface { @@ -18,7 +18,7 @@ interface DumpConfigSourceInterface extends ConfigSourceInterface * Retrieves list of field paths were excluded from config dump * * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getExcludedFields(); } diff --git a/app/code/Magento/Config/App/Config/Source/ModularConfigSource.php b/app/code/Magento/Config/App/Config/Source/ModularConfigSource.php index f5222112e4e23..b7771671ea3cb 100644 --- a/app/code/Magento/Config/App/Config/Source/ModularConfigSource.php +++ b/app/code/Magento/Config/App/Config/Source/ModularConfigSource.php @@ -13,19 +13,19 @@ * Class for retrieving initial configuration from modules * * @api - * @since 2.2.0 + * @since 2.1.3 */ class ModularConfigSource implements ConfigSourceInterface { /** * @var Reader - * @since 2.2.0 + * @since 2.1.3 */ private $reader; /** * @param Reader $reader - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(Reader $reader) { @@ -37,7 +37,7 @@ public function __construct(Reader $reader) * * @param string $path Format is scope type and scope code separated by slash: e.g. "type/code" * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function get($path = '') { diff --git a/app/code/Magento/Config/App/Config/Source/RuntimeConfigSource.php b/app/code/Magento/Config/App/Config/Source/RuntimeConfigSource.php index 29ad05250faf6..7f46fe98f03d7 100644 --- a/app/code/Magento/Config/App/Config/Source/RuntimeConfigSource.php +++ b/app/code/Magento/Config/App/Config/Source/RuntimeConfigSource.php @@ -16,25 +16,25 @@ * Class for retrieving runtime configuration from database. * * @api - * @since 2.2.0 + * @since 2.1.3 */ class RuntimeConfigSource implements ConfigSourceInterface { /** * @var CollectionFactory - * @since 2.2.0 + * @since 2.1.3 */ private $collectionFactory; /** * @var Converter - * @since 2.2.0 + * @since 2.1.3 */ private $converter; /** * @var ScopeCodeResolver - * @since 2.2.0 + * @since 2.1.3 */ private $scopeCodeResolver; @@ -42,7 +42,7 @@ class RuntimeConfigSource implements ConfigSourceInterface * @param CollectionFactory $collectionFactory * @param ScopeCodeResolver $scopeCodeResolver * @param Converter $converter - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( CollectionFactory $collectionFactory, @@ -59,7 +59,7 @@ public function __construct( * * @param string $path Format is scope type and scope code separated by slash: e.g. "type/code" * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function get($path = '') { @@ -74,7 +74,7 @@ public function get($path = '') * * scope/key/key * * * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function loadConfig() { diff --git a/app/code/Magento/Config/App/Config/Type/System.php b/app/code/Magento/Config/App/Config/Type/System.php index 067e79834ba42..97db92e5828ed 100644 --- a/app/code/Magento/Config/App/Config/Type/System.php +++ b/app/code/Magento/Config/App/Config/Type/System.php @@ -12,7 +12,7 @@ /** * System configuration type * @api - * @since 2.2.0 + * @since 2.1.3 */ class System implements ConfigTypeInterface { @@ -22,43 +22,43 @@ class System implements ConfigTypeInterface /** * @var \Magento\Framework\App\Config\ConfigSourceInterface - * @since 2.2.0 + * @since 2.1.3 */ private $source; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $data = []; /** * @var \Magento\Framework\App\Config\Spi\PostProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $postProcessor; /** * @var \Magento\Framework\App\Config\Spi\PreProcessorInterface - * @since 2.2.0 + * @since 2.1.3 */ private $preProcessor; /** * @var \Magento\Framework\Cache\FrontendInterface - * @since 2.2.0 + * @since 2.1.3 */ private $cache; /** * @var int - * @since 2.2.0 + * @since 2.1.3 */ private $cachingNestedLevel; /** * @var \Magento\Store\Model\Config\Processor\Fallback - * @since 2.2.0 + * @since 2.1.3 */ private $fallback; @@ -102,7 +102,7 @@ class System implements ConfigTypeInterface * @param int $cachingNestedLevel * @param string $configType * @param Reader $reader - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( \Magento\Framework\App\Config\ConfigSourceInterface $source, @@ -142,7 +142,7 @@ public function __construct( * '{scopeType}/{scopeCode}/some/config/variable' - will return value of the config variable in the specified scope * * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function get($path = '') { @@ -307,7 +307,7 @@ private function getDataByPathParts($data, $pathParts) * - All records in cache storage tagged with CACHE_TAG * * @return void - * @since 2.2.0 + * @since 2.1.3 */ public function clean() { diff --git a/app/code/Magento/Config/Block/System/Config/Dwstree.php b/app/code/Magento/Config/Block/System/Config/Dwstree.php index 1b62eedf735b7..fbe9de76f7c74 100644 --- a/app/code/Magento/Config/Block/System/Config/Dwstree.php +++ b/app/code/Magento/Config/Block/System/Config/Dwstree.php @@ -12,13 +12,11 @@ /** * Class \Magento\Config\Block\System\Config\Dwstree * - * @since 2.0.0 */ class Dwstree extends \Magento\Backend\Block\Widget\Tabs { /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -29,7 +27,6 @@ protected function _construct() /** * @return $this - * @since 2.0.0 */ public function initTabs() { diff --git a/app/code/Magento/Config/Block/System/Config/Edit.php b/app/code/Magento/Config/Block/System/Config/Edit.php index 02d49b405f4f9..10b724781e1f7 100644 --- a/app/code/Magento/Config/Block/System/Config/Edit.php +++ b/app/code/Magento/Config/Block/System/Config/Edit.php @@ -14,7 +14,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget { @@ -24,7 +23,6 @@ class Edit extends \Magento\Backend\Block\Widget * Form block class name * * @var string - * @since 2.0.0 */ protected $_formBlockName; @@ -32,7 +30,6 @@ class Edit extends \Magento\Backend\Block\Widget * Block template File * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Config::system/config/edit.phtml'; @@ -40,7 +37,6 @@ class Edit extends \Magento\Backend\Block\Widget * Configuration structure * * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; @@ -48,7 +44,6 @@ class Edit extends \Magento\Backend\Block\Widget * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Config\Model\Config\Structure $configStructure * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -63,7 +58,6 @@ public function __construct( * Prepare layout object * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -97,7 +91,6 @@ protected function _prepareLayout() * Retrieve rendered save buttons * * @return string - * @since 2.0.0 */ public function getSaveButtonHtml() { @@ -108,7 +101,6 @@ public function getSaveButtonHtml() * Retrieve config save url * * @return string - * @since 2.0.0 */ public function getSaveUrl() { diff --git a/app/code/Magento/Config/Block/System/Config/Form.php b/app/code/Magento/Config/Block/System/Config/Form.php index f46a7f4105041..84294d436513a 100644 --- a/app/code/Magento/Config/Block/System/Config/Form.php +++ b/app/code/Magento/Config/Block/System/Config/Form.php @@ -19,7 +19,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.DepthOfInheritance) * @api - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { @@ -33,7 +32,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Config data array * * @var array - * @since 2.0.0 */ protected $_configData; @@ -41,7 +39,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Backend config data instance * * @var \Magento\Config\Model\Config - * @since 2.0.0 */ protected $_configDataObject; @@ -49,7 +46,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Default fieldset rendering block * * @var \Magento\Config\Block\System\Config\Form\Fieldset - * @since 2.0.0 */ protected $_fieldsetRenderer; @@ -57,7 +53,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Default field rendering block * * @var \Magento\Config\Block\System\Config\Form\Field - * @since 2.0.0 */ protected $_fieldRenderer; @@ -65,7 +60,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * List of fieldset * * @var array - * @since 2.0.0 */ protected $_fieldsets = []; @@ -73,7 +67,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Translated scope labels * * @var array - * @since 2.0.0 */ protected $_scopeLabels = []; @@ -81,7 +74,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Backend Config model factory * * @var \Magento\Config\Model\Config\Factory - * @since 2.0.0 */ protected $_configFactory; @@ -89,7 +81,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Magento\Framework\Data\FormFactory * * @var \Magento\Framework\Data\FormFactory - * @since 2.0.0 */ protected $_formFactory; @@ -97,7 +88,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * System config structure * * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; @@ -105,7 +95,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Form fieldset factory * * @var \Magento\Config\Block\System\Config\Form\Fieldset\Factory - * @since 2.0.0 */ protected $_fieldsetFactory; @@ -113,19 +102,18 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Form field factory * * @var \Magento\Config\Block\System\Config\Form\Field\Factory - * @since 2.0.0 */ protected $_fieldFactory; /** * @var SettingChecker - * @since 2.2.0 + * @since 2.1.3 */ private $settingChecker; /** * @var DeploymentConfig - * @since 2.2.0 + * @since 2.1.3 */ private $appConfig; @@ -147,7 +135,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Config\Block\System\Config\Form\Fieldset\Factory $fieldsetFactory * @param \Magento\Config\Block\System\Config\Form\Field\Factory $fieldFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -173,9 +160,9 @@ public function __construct( } /** - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return SettingChecker - * @since 2.2.0 + * @since 2.1.3 */ private function getSettingChecker() { @@ -189,7 +176,6 @@ private function getSettingChecker() * Initialize objects required to render config form * * @return $this - * @since 2.0.0 */ protected function _initObjects() { @@ -213,7 +199,6 @@ protected function _initObjects() * Initialize form * * @return $this - * @since 2.0.0 */ public function initForm() { @@ -240,7 +225,6 @@ public function initForm() * @param \Magento\Config\Model\Config\Structure\Element\Section $section * @param \Magento\Framework\Data\Form\AbstractForm $form * @return void - * @since 2.0.0 */ protected function _initGroup( \Magento\Config\Model\Config\Structure\Element\Group $group, @@ -290,7 +274,6 @@ protected function _initGroup( * Return dependency block object * * @return \Magento\Backend\Block\Widget\Form\Element\Dependence - * @since 2.0.0 */ protected function _getDependence() { @@ -309,7 +292,6 @@ protected function _getDependence() * @param string $fieldPrefix * @param string $labelPrefix * @return $this - * @since 2.0.0 */ public function initFields( \Magento\Framework\Data\Form\Element\Fieldset $fieldset, @@ -357,7 +339,6 @@ public function initFields( * @param string $fieldPrefix * @param string $labelPrefix * @return void - * @since 2.0.0 */ protected function _initElement( \Magento\Config\Model\Config\Structure\Element\Field $field, @@ -475,7 +456,7 @@ private function getFieldData(\Magento\Config\Model\Config\Structure\Element\Fie * Retrieve Scope string code * * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getStringScopeCode() { @@ -503,7 +484,6 @@ private function getStringScopeCode() * @param string $elementId * @param string $elementName * @return void - * @since 2.0.0 */ protected function _populateDependenciesBlock(array $dependencies, $elementId, $elementName) { @@ -531,7 +511,6 @@ protected function _populateDependenciesBlock(array $dependencies, $elementId, $ * @param string $fieldPrefix * @param string $separator * @return string - * @since 2.0.0 */ protected function _generateElementName($elementPath, $fieldPrefix = '', $separator = '/') { @@ -550,7 +529,6 @@ protected function _generateElementName($elementPath, $fieldPrefix = '', $separa * * @param string $path * @return string - * @since 2.0.0 */ protected function _generateElementId($path) { @@ -562,7 +540,6 @@ protected function _generateElementId($path) * * @param string $path * @return mixed - * @since 2.0.0 */ public function getConfigValue($path) { @@ -571,7 +548,6 @@ public function getConfigValue($path) /** * @return \Magento\Backend\Block\Widget\Form|\Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _beforeToHtml() { @@ -584,7 +560,6 @@ protected function _beforeToHtml() * * @param string $html * @return string - * @since 2.0.0 */ protected function _afterToHtml($html) { @@ -600,7 +575,6 @@ protected function _afterToHtml($html) * * @param int $fieldValue * @return boolean - * @since 2.0.0 */ public function canUseDefaultValue($fieldValue) { @@ -618,7 +592,6 @@ public function canUseDefaultValue($fieldValue) * * @param int $fieldValue * @return boolean - * @since 2.0.0 */ public function canUseWebsiteValue($fieldValue) { @@ -647,7 +620,6 @@ public function isCanRestoreToDefault($fieldValue) * Retrieve current scope * * @return string - * @since 2.0.0 */ public function getScope() { @@ -671,7 +643,6 @@ public function getScope() * * @param \Magento\Config\Model\Config\Structure\Element\Field $field * @return string - * @since 2.0.0 */ public function getScopeLabel(\Magento\Config\Model\Config\Structure\Element\Field $field) { @@ -690,7 +661,6 @@ public function getScopeLabel(\Magento\Config\Model\Config\Structure\Element\Fie * Get current scope code * * @return string - * @since 2.0.0 */ public function getScopeCode() { @@ -713,7 +683,6 @@ public function getScopeCode() * Get current scope code * * @return int|string - * @since 2.0.0 */ public function getScopeId() { @@ -735,7 +704,6 @@ public function getScopeId() * Get additional element types * * @return array - * @since 2.0.0 */ protected function _getAdditionalElementTypes() { @@ -756,7 +724,6 @@ protected function _getAdditionalElementTypes() * * @TODO delete this methods when {^see above^} is done * @return string - * @since 2.0.0 */ public function getSectionCode() { @@ -768,7 +735,6 @@ public function getSectionCode() * * @TODO delete this methods when {^see above^} is done * @return string - * @since 2.0.0 */ public function getWebsiteCode() { @@ -780,7 +746,6 @@ public function getWebsiteCode() * * @TODO delete this methods when {^see above^} is done * @return string - * @since 2.0.0 */ public function getStoreCode() { @@ -792,7 +757,6 @@ public function getStoreCode() * * @param \Magento\Config\Model\Config\Structure\Element\Field $field * @return string - * @since 2.0.0 */ protected function _getSharedCssClass(\Magento\Config\Model\Config\Structure\Element\Field $field) { @@ -810,7 +774,6 @@ protected function _getSharedCssClass(\Magento\Config\Model\Config\Structure\Ele * @param \Magento\Config\Model\Config\Structure\Element\Field $field * @param string $fieldPrefix * @return string - * @since 2.0.0 */ protected function _getRequiresCssClass(\Magento\Config\Model\Config\Structure\Element\Field $field, $fieldPrefix) { @@ -829,9 +792,9 @@ protected function _getRequiresCssClass(\Magento\Config\Model\Config\Structure\E /** * Retrieve Deployment Configuration object. * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return DeploymentConfig - * @since 2.2.0 + * @since 2.1.3 */ private function getAppConfig() { @@ -846,7 +809,7 @@ private function getAppConfig() * * @param string $path * @return null|string - * @since 2.2.0 + * @since 2.1.3 */ private function getAppConfigDataValue($path) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field.php b/app/code/Magento/Config/Block/System/Config/Form/Field.php index 21684e76df3a0..9a77289f39768 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field.php @@ -14,7 +14,6 @@ * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class Field extends \Magento\Backend\Block\Template implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { @@ -23,7 +22,6 @@ class Field extends \Magento\Backend\Block\Template implements \Magento\Framewor * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -35,7 +33,6 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -67,7 +64,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _renderValue(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -92,7 +88,6 @@ protected function _renderValue(\Magento\Framework\Data\Form\Element\AbstractEle * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _renderInheritCheckbox(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -123,7 +118,6 @@ protected function _renderInheritCheckbox(\Magento\Framework\Data\Form\Element\A * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return bool - * @since 2.0.0 */ protected function _isInheritCheckboxRequired(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -137,7 +131,6 @@ protected function _isInheritCheckboxRequired(\Magento\Framework\Data\Form\Eleme * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getInheritCheckboxLabel(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -156,7 +149,6 @@ protected function _getInheritCheckboxLabel(\Magento\Framework\Data\Form\Element * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _renderScopeLabel(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -173,7 +165,6 @@ protected function _renderScopeLabel(\Magento\Framework\Data\Form\Element\Abstra * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _renderHint(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -191,7 +182,6 @@ protected function _renderHint(\Magento\Framework\Data\Form\Element\AbstractElem * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @param string $html * @return string - * @since 2.0.0 */ protected function _decorateRowHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element, $html) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Datetime.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Datetime.php index 54055ad688479..63dbb2b80e334 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Datetime.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Datetime.php @@ -10,13 +10,11 @@ /** * Backend system config datetime field renderer - * @since 2.0.0 */ class Datetime extends \Magento\Config\Block\System\Config\Form\Field { /** * @var DateTimeFormatterInterface - * @since 2.0.0 */ protected $dateTimeFormatter; @@ -24,7 +22,6 @@ class Datetime extends \Magento\Config\Block\System\Config\Form\Field * @param \Magento\Backend\Block\Template\Context $context * @param DateTimeFormatterInterface $dateTimeFormatter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( * @param AbstractElement $element * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function _getElementHtml(AbstractElement $element) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Factory.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Factory.php index 7c8eda844e93e..ea9816a68cc6e 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Factory.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Factory.php @@ -10,19 +10,16 @@ * Magento\Config\Block\System\Config\Form\Field Class Factory * * @codeCoverageIgnore - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param array $data * @return \Magento\Config\Block\System\Config\Form\Field - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/FieldArray/AbstractFieldArray.php b/app/code/Magento/Config/Block/System/Config/Form/Field/FieldArray/AbstractFieldArray.php index b34b3fdc60b7f..1be1f8e79bf59 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/FieldArray/AbstractFieldArray.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/FieldArray/AbstractFieldArray.php @@ -13,7 +13,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Form\Field { @@ -21,7 +20,6 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Grid columns * * @var array - * @since 2.0.0 */ protected $_columns = []; @@ -29,7 +27,6 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Enable the "Add after" button or not * * @var bool - * @since 2.0.0 */ protected $_addAfter = true; @@ -37,7 +34,6 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Label of add button * * @var string - * @since 2.0.0 */ protected $_addButtonLabel; @@ -45,7 +41,6 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Rows cache * * @var array|null - * @since 2.0.0 */ private $_arrayRowsCache; @@ -53,13 +48,11 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Indication whether block is prepared to render or no * * @var bool - * @since 2.0.0 */ protected $_isPreparedToRender = false; /** * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Config::system/config/form/field/array.phtml'; @@ -67,7 +60,6 @@ abstract class AbstractFieldArray extends \Magento\Config\Block\System\Config\Fo * Check if columns are defined, set template * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -83,7 +75,6 @@ protected function _construct() * @param string $name * @param array $params * @return void - * @since 2.0.0 */ public function addColumn($name, $params) { @@ -106,7 +97,6 @@ public function addColumn($name, $params) * @param string $paramName * @param string|bool $defaultValue * @return string|bool - * @since 2.0.0 */ protected function _getParam($params, $paramName, $defaultValue = null) { @@ -118,7 +108,6 @@ protected function _getParam($params, $paramName, $defaultValue = null) * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -135,7 +124,6 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract * @param \Magento\Framework\DataObject $row * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ protected function _prepareArrayRow(\Magento\Framework\DataObject $row) { @@ -148,7 +136,6 @@ protected function _prepareArrayRow(\Magento\Framework\DataObject $row) * Each row will be instance of \Magento\Framework\DataObject * * @return array - * @since 2.0.0 */ public function getArrayRows() { @@ -181,7 +168,6 @@ public function getArrayRows() * @param string $rowId * @param string $columnName * @return string - * @since 2.0.0 */ protected function _getCellInputElementId($rowId, $columnName) { @@ -193,7 +179,6 @@ protected function _getCellInputElementId($rowId, $columnName) * * @param string $columnName * @return string - * @since 2.0.0 */ protected function _getCellInputElementName($columnName) { @@ -206,7 +191,6 @@ protected function _getCellInputElementName($columnName) * @param string $columnName * @return string * @throws \Exception - * @since 2.0.0 */ public function renderCellTemplate($columnName) { @@ -253,7 +237,6 @@ public function renderCellTemplate($columnName) * Prepare to render * * @return void - * @since 2.0.0 */ protected function _prepareToRender() { @@ -265,7 +248,6 @@ protected function _prepareToRender() * * @return string * @throws \Exception - * @since 2.0.0 */ protected function _toHtml() { @@ -283,7 +265,6 @@ protected function _toHtml() * Returns true if the addAfter directive is set * * @return bool - * @since 2.0.0 */ public function isAddAfter() { @@ -294,7 +275,6 @@ public function isAddAfter() * Returns columns array * * @return array - * @since 2.0.0 */ public function getColumns() { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/File.php b/app/code/Magento/Config/Block/System/Config/Form/Field/File.php index 4ae94b682579e..d0e333e7796ad 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/File.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/File.php @@ -14,7 +14,6 @@ /** * Class \Magento\Config\Block\System\Config\Form\Field\File * - * @since 2.0.0 */ class File extends \Magento\Framework\Data\Form\Element\File { @@ -22,7 +21,6 @@ class File extends \Magento\Framework\Data\Form\Element\File * Get element html * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -35,7 +33,6 @@ public function getElementHtml() * Get html for additional delete checkbox field * * @return string - * @since 2.0.0 */ protected function _getDeleteCheckbox() { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Heading.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Heading.php index 1f0f89daa6cc2..d0d25df28482a 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Heading.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Heading.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Heading extends \Magento\Backend\Block\AbstractBlock implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface @@ -23,7 +22,6 @@ class Heading extends \Magento\Backend\Block\AbstractBlock implements * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Image.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Image.php index 3704fe4b2aa00..e1d4a713b8b10 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Image.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Image.php @@ -13,7 +13,6 @@ * Class Image Field * @method getFieldConfig() * @method setFieldConfig() - * @since 2.0.0 */ class Image extends \Magento\Framework\Data\Form\Element\Image { @@ -21,7 +20,6 @@ class Image extends \Magento\Framework\Data\Form\Element\Image * Get image preview url * * @return string - * @since 2.0.0 */ protected function _getUrl() { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Notification.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Notification.php index 805ed2ea0f223..ce7667ed1918d 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Notification.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Notification.php @@ -11,13 +11,11 @@ /** * Backend system config datetime field renderer * @api - * @since 2.0.0 */ class Notification extends \Magento\Config\Block\System\Config\Form\Field { /** * @var DateTimeFormatterInterface - * @since 2.0.0 */ protected $dateTimeFormatter; @@ -25,7 +23,6 @@ class Notification extends \Magento\Config\Block\System\Config\Form\Field * @param \Magento\Backend\Block\Template\Context $context * @param DateTimeFormatterInterface $dateTimeFormatter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getElementHtml(AbstractElement $element) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Regexceptions.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Regexceptions.php index 21e4004ef79dd..04c1a19a5f332 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Regexceptions.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Regexceptions.php @@ -8,19 +8,16 @@ /** * Backend system config array field renderer * @deprecated 2.1.0 - * @since 2.0.0 */ class Regexceptions extends \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray { /** * @var \Magento\Framework\Data\Form\Element\Factory - * @since 2.0.0 */ protected $_elementFactory; /** * @var \Magento\Framework\View\Design\Theme\LabelFactory - * @since 2.0.0 */ protected $_labelFactory; @@ -29,7 +26,6 @@ class Regexceptions extends \Magento\Config\Block\System\Config\Form\Field\Field * @param \Magento\Framework\Data\Form\Element\Factory $elementFactory * @param \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -46,7 +42,6 @@ public function __construct( * Initialise form fields * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -62,7 +57,6 @@ protected function _construct() * * @param string $columnName * @return string - * @since 2.0.0 */ public function renderCellTemplate($columnName) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Field/Select/Allowspecific.php b/app/code/Magento/Config/Block/System/Config/Form/Field/Select/Allowspecific.php index 4a081d4eac6b6..88278d6264241 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Field/Select/Allowspecific.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Field/Select/Allowspecific.php @@ -16,7 +16,6 @@ /** * Class \Magento\Config\Block\System\Config\Form\Field\Select\Allowspecific * - * @since 2.0.0 */ class Allowspecific extends \Magento\Framework\Data\Form\Element\Select { @@ -24,7 +23,6 @@ class Allowspecific extends \Magento\Framework\Data\Form\Element\Select * Add additional Javascript code * * @return string - * @since 2.0.0 */ public function getAfterElementHtml() { @@ -58,7 +56,6 @@ public function getAfterElementHtml() /** * @return string - * @since 2.0.0 */ public function getHtml() { @@ -71,7 +68,6 @@ public function getHtml() /** * @return string - * @since 2.0.0 */ protected function _getSpecificCountryElementId() { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Fieldset.php b/app/code/Magento/Config/Block/System/Config/Form/Fieldset.php index 814ca5a047528..db34ec2d91775 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Fieldset.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Fieldset.php @@ -13,20 +13,17 @@ /** * @api - * @since 2.0.0 */ class Fieldset extends \Magento\Backend\Block\AbstractBlock implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\Framework\View\Helper\Js - * @since 2.0.0 */ protected $_jsHelper; @@ -34,7 +31,6 @@ class Fieldset extends \Magento\Backend\Block\AbstractBlock implements * Whether is collapsed by default * * @var bool - * @since 2.0.0 */ protected $isCollapsedDefault = false; @@ -43,7 +39,6 @@ class Fieldset extends \Magento\Backend\Block\AbstractBlock implements * @param \Magento\Backend\Model\Auth\Session $authSession * @param \Magento\Framework\View\Helper\Js $jsHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -61,7 +56,6 @@ public function __construct( * * @param AbstractElement $element * @return string - * @since 2.0.0 */ public function render(AbstractElement $element) { @@ -100,7 +94,6 @@ protected function _getChildrenElementsHtml(AbstractElement $element) * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getHeaderHtml($element) { @@ -146,7 +139,6 @@ protected function _getHeaderHtml($element) * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getFrontendClass($element) { @@ -160,7 +152,6 @@ protected function _getFrontendClass($element) * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getHeaderTitleHtml($element) { @@ -181,7 +172,6 @@ protected function _getHeaderTitleHtml($element) * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getHeaderCommentHtml($element) { @@ -192,7 +182,6 @@ protected function _getHeaderCommentHtml($element) * Return full css class name for form fieldset * * @return string - * @since 2.0.0 */ protected function _getFieldsetCss() { @@ -208,7 +197,6 @@ protected function _getFieldsetCss() * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getFooterHtml($element) { @@ -239,7 +227,6 @@ protected function _getFooterHtml($element) * * @param AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getExtraJs($element) { @@ -253,7 +240,6 @@ protected function _getExtraJs($element) * * @param AbstractElement $element * @return bool - * @since 2.0.0 */ protected function _isCollapseState($element) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Factory.php b/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Factory.php index e3ea3352a296a..51884cc0b73dd 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Factory.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Factory.php @@ -10,19 +10,16 @@ * Magento\Config\Block\System\Config\Form\Fieldset Class Factory * * @codeCoverageIgnore - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param array $data * @return \Magento\Config\Block\System\Config\Form\Fieldset - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php b/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php index c50fa9d40a714..0522a03817f65 100644 --- a/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php +++ b/app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php @@ -12,35 +12,30 @@ * @method \Magento\Config\Block\System\Config\Form getForm() * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @api - * @since 2.0.0 */ class DisableOutput extends \Magento\Config\Block\System\Config\Form\Fieldset { /** * @var \Magento\Framework\DataObject * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version - * @since 2.0.0 */ protected $_dummyElement; /** * @var \Magento\Config\Block\System\Config\Form\Field * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version - * @since 2.0.0 */ protected $_fieldRenderer; /** * @var array * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version - * @since 2.0.0 */ protected $_values; /** * @var \Magento\Framework\Module\ModuleListInterface * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version - * @since 2.0.0 */ protected $_moduleList; @@ -50,7 +45,6 @@ class DisableOutput extends \Magento\Config\Block\System\Config\Form\Fieldset * @param \Magento\Framework\View\Helper\Js $jsHelper * @param \Magento\Framework\Module\ModuleListInterface $moduleList * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -66,7 +60,6 @@ public function __construct( /** * {@inheritdoc} * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -97,7 +90,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele /** * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _getDummyElement() { @@ -110,7 +102,6 @@ protected function _getDummyElement() /** * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @return \Magento\Config\Block\System\Config\Form\Field - * @since 2.0.0 */ protected function _getFieldRenderer() { @@ -125,7 +116,6 @@ protected function _getFieldRenderer() /** * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @return array - * @since 2.0.0 */ protected function _getValues() { @@ -143,7 +133,6 @@ protected function _getValues() * @param string $moduleName * @deprecated 2.2.0 Magento does not support custom disabling/enabling module output since 2.2.0 version * @return mixed - * @since 2.0.0 */ protected function _getFieldHtml($fieldset, $moduleName) { diff --git a/app/code/Magento/Config/Block/System/Config/Tabs.php b/app/code/Magento/Config/Block/System/Config/Tabs.php index 34e57fc222f4a..05d80363e96bd 100644 --- a/app/code/Magento/Config/Block/System/Config/Tabs.php +++ b/app/code/Magento/Config/Block/System/Config/Tabs.php @@ -16,7 +16,6 @@ /** * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Tabs extends \Magento\Backend\Block\Widget { @@ -24,7 +23,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Tabs * * @var \Magento\Config\Model\Config\Structure\Element\Iterator - * @since 2.0.0 */ protected $_tabs; @@ -32,7 +30,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Block template filename * * @var string - * @since 2.0.0 */ protected $_template = 'Magento_Config::system/config/tabs.phtml'; @@ -40,7 +37,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Currently selected section id * * @var string - * @since 2.0.0 */ protected $_currentSectionId; @@ -48,7 +44,6 @@ class Tabs extends \Magento\Backend\Block\Widget * Current website code * * @var string - * @since 2.0.0 */ protected $_websiteCode; @@ -56,13 +51,11 @@ class Tabs extends \Magento\Backend\Block\Widget * Current store code * * @var string - * @since 2.0.0 */ protected $_storeCode; /** * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendHelper; @@ -71,7 +64,6 @@ class Tabs extends \Magento\Backend\Block\Widget * @param \Magento\Config\Model\Config\Structure $configStructure * @param \Magento\Backend\Helper\Data $backendHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -94,7 +86,6 @@ public function __construct( * Get all tabs * * @return \Magento\Config\Model\Config\Structure\Element\Iterator - * @since 2.0.0 */ public function getTabs() { @@ -106,7 +97,6 @@ public function getTabs() * * @param \Magento\Config\Model\Config\Structure\Element\Section $section * @return string - * @since 2.0.0 */ public function getSectionUrl(\Magento\Config\Model\Config\Structure\Element\Section $section) { @@ -118,7 +108,6 @@ public function getSectionUrl(\Magento\Config\Model\Config\Structure\Element\Sec * * @param \Magento\Config\Model\Config\Structure\Element\Section $section * @return bool - * @since 2.0.0 */ public function isSectionActive(\Magento\Config\Model\Config\Structure\Element\Section $section) { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/AbstractConfig.php b/app/code/Magento/Config/Controller/Adminhtml/System/AbstractConfig.php index 18b1d3bc465f1..dc7acf249b1c3 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/AbstractConfig.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/AbstractConfig.php @@ -11,7 +11,6 @@ /** * System Configuration Abstract Controller * @api - * @since 2.0.0 */ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction { @@ -24,13 +23,11 @@ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction /** * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; /** * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_sectionChecker; @@ -38,7 +35,6 @@ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Config\Model\Config\Structure $configStructure * @param mixed $sectionChecker - deprecated - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -55,7 +51,6 @@ public function __construct( * * @param \Magento\Framework\App\RequestInterface $request * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function dispatch(\Magento\Framework\App\RequestInterface $request) { @@ -74,7 +69,6 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request) * Check is allow modify system configuration * * @return bool - * @since 2.0.0 */ protected function _isAllowed() { @@ -88,7 +82,6 @@ protected function _isAllowed() * * @param array $configState * @return bool - * @since 2.0.0 */ protected function _saveState($configState = []) { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/Config/AbstractScopeConfig.php b/app/code/Magento/Config/Controller/Adminhtml/System/Config/AbstractScopeConfig.php index 26b40669aec3e..258c74651c4d9 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/Config/AbstractScopeConfig.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/Config/AbstractScopeConfig.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractScopeConfig extends \Magento\Config\Controller\Adminhtml\System\AbstractConfig { /** * @var \Magento\Config\Model\Config - * @since 2.0.0 */ protected $_backendConfig; @@ -25,7 +23,6 @@ abstract class AbstractScopeConfig extends \Magento\Config\Controller\Adminhtml\ * @param \Magento\Config\Model\Config\Structure $configStructure * @param ConfigSectionChecker $sectionChecker * @param \Magento\Config\Model\Config $backendConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -42,7 +39,6 @@ public function __construct( * * @param string $sectionId * @return bool - * @since 2.0.0 */ protected function isSectionAllowed($sectionId) { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Edit.php b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Edit.php index 958268d1e32ee..174da5825468d 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Edit.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Edit.php @@ -9,13 +9,11 @@ /** * Class \Magento\Config\Controller\Adminhtml\System\Config\Edit * - * @since 2.0.0 */ class Edit extends AbstractScopeConfig { /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -25,7 +23,6 @@ class Edit extends AbstractScopeConfig * @param \Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker * @param \Magento\Config\Model\Config $backendConfig * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Edit configuration section * * @return \Magento\Framework\App\ResponseInterface|void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Index.php b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Index.php index e2988034f0236..bfcb59618f237 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Index.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Index.php @@ -9,13 +9,11 @@ /** * Class \Magento\Config\Controller\Adminhtml\System\Config\Index * - * @since 2.0.0 */ class Index extends AbstractScopeConfig { /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; @@ -25,7 +23,6 @@ class Index extends AbstractScopeConfig * @param \Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker * @param \Magento\Config\Model\Config $backendConfig * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Index action * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Save.php b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Save.php index c1720106c199f..7f7d461ea090d 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/Config/Save.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/Config/Save.php @@ -12,7 +12,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Save extends AbstractConfig { @@ -20,19 +19,16 @@ class Save extends AbstractConfig * Backend Config Model Factory * * @var \Magento\Config\Model\Config\Factory - * @since 2.0.0 */ protected $_configFactory; /** * @var \Magento\Framework\Cache\FrontendInterface - * @since 2.0.0 */ protected $_cache; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; @@ -43,7 +39,6 @@ class Save extends AbstractConfig * @param \Magento\Config\Model\Config\Factory $configFactory * @param \Magento\Framework\Cache\FrontendInterface $cache * @param \Magento\Framework\Stdlib\StringUtils $string - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -63,7 +58,6 @@ public function __construct( * Get groups for save * * @return array|null - * @since 2.0.0 */ protected function _getGroupsForSave() { @@ -94,7 +88,6 @@ protected function _getGroupsForSave() * * @param mixed $group * @return array - * @since 2.0.0 */ protected function _processNestedGroups($group) { @@ -124,7 +117,6 @@ protected function _processNestedGroups($group) * Custom save logic for section * * @return void - * @since 2.0.0 */ protected function _saveSection() { @@ -138,7 +130,6 @@ protected function _saveSection() * Advanced save procedure * * @return void - * @since 2.0.0 */ protected function _saveAdvanced() { @@ -149,7 +140,6 @@ protected function _saveAdvanced() * Save configuration * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/Config/State.php b/app/code/Magento/Config/Controller/Adminhtml/System/Config/State.php index 7b21579983104..df82b84f76386 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/Config/State.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/Config/State.php @@ -9,13 +9,11 @@ /** * Class \Magento\Config\Controller\Adminhtml\System\Config\State * - * @since 2.0.0 */ class State extends AbstractScopeConfig { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; @@ -25,7 +23,6 @@ class State extends AbstractScopeConfig * @param \Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker * @param \Magento\Config\Model\Config $backendConfig * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Save fieldset state through AJAX * * @return \Magento\Framework\Controller\Result\Raw - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Config/Controller/Adminhtml/System/ConfigSectionChecker.php b/app/code/Magento/Config/Controller/Adminhtml/System/ConfigSectionChecker.php index cd72111bfdce9..0ce515a71f728 100644 --- a/app/code/Magento/Config/Controller/Adminhtml/System/ConfigSectionChecker.php +++ b/app/code/Magento/Config/Controller/Adminhtml/System/ConfigSectionChecker.php @@ -11,19 +11,16 @@ /** * @deprecated 2.2.0 - unused class. * @see \Magento\Config\Model\Config\Structure\Element\Section::isAllowed() - * @since 2.0.0 */ class ConfigSectionChecker { /** * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; /** * @param \Magento\Config\Model\Config\Structure $configStructure - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure $configStructure) { @@ -39,7 +36,6 @@ public function __construct(\Magento\Config\Model\Config\Structure $configStruct * @throws \Exception * @return bool * @throws NotFoundException - * @since 2.0.0 */ public function isSectionAllowed($sectionId) { diff --git a/app/code/Magento/Config/Model/Config.php b/app/code/Magento/Config/Model/Config.php index 674452d7a9041..04db969efa5ff 100644 --- a/app/code/Magento/Config/Model/Config.php +++ b/app/code/Magento/Config/Model/Config.php @@ -12,7 +12,6 @@ * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Config extends \Magento\Framework\DataObject { @@ -20,7 +19,6 @@ class Config extends \Magento\Framework\DataObject * Config data for sections * * @var array - * @since 2.0.0 */ protected $_configData; @@ -28,7 +26,6 @@ class Config extends \Magento\Framework\DataObject * Event dispatcher * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; @@ -36,7 +33,6 @@ class Config extends \Magento\Framework\DataObject * System configuration structure * * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; @@ -44,7 +40,6 @@ class Config extends \Magento\Framework\DataObject * Application config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_appConfig; @@ -52,7 +47,6 @@ class Config extends \Magento\Framework\DataObject * Global factory * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_objectFactory; @@ -60,7 +54,6 @@ class Config extends \Magento\Framework\DataObject * TransactionFactory * * @var \Magento\Framework\DB\TransactionFactory - * @since 2.0.0 */ protected $_transactionFactory; @@ -68,7 +61,6 @@ class Config extends \Magento\Framework\DataObject * Config data loader * * @var \Magento\Config\Model\Config\Loader - * @since 2.0.0 */ protected $_configLoader; @@ -76,13 +68,11 @@ class Config extends \Magento\Framework\DataObject * Config data factory * * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -95,7 +85,6 @@ class Config extends \Magento\Framework\DataObject * @param \Magento\Framework\App\Config\ValueFactory $configValueFactory * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ReinitableConfigInterface $config, @@ -123,7 +112,6 @@ public function __construct( * * @throws \Exception * @return $this - * @since 2.0.0 */ public function save() { @@ -194,7 +182,6 @@ public function save() * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _processGroup( $groupId, @@ -331,7 +318,6 @@ protected function _processGroup( * Load config data for section * * @return array - * @since 2.0.0 */ public function load() { @@ -349,7 +335,6 @@ public function load() * @param bool $full Simple config structure or not * @param array $oldConfig Config data to extend * @return array - * @since 2.0.0 */ public function extendConfig($path, $full = true, $oldConfig = []) { @@ -367,7 +352,6 @@ public function extendConfig($path, $full = true, $oldConfig = []) * @param mixed $value * @return void * @throws \UnexpectedValueException - * @since 2.0.0 */ public function setDataByPath($path, $value) { @@ -400,7 +384,6 @@ public function setDataByPath($path, $value) * Get scope name and scopeId * @todo refactor to scope resolver * @return void - * @since 2.0.0 */ private function initScope() { @@ -439,7 +422,6 @@ private function initScope() * * @param bool $full Simple config structure or not * @return array - * @since 2.0.0 */ protected function _getConfig($full = true) { @@ -457,7 +439,6 @@ protected function _getConfig($full = true) * @param \Magento\Config\Model\Config\Structure\Element\Field $fieldConfig * @param \Magento\Framework\App\Config\ValueInterface $dataObject * @return void - * @since 2.0.0 */ protected function _checkSingleStoreMode( \Magento\Config\Model\Config\Structure\Element\Field $fieldConfig, @@ -484,7 +465,6 @@ protected function _checkSingleStoreMode( * @param null|bool &$inherit * @param null|array $configData * @return \Magento\Framework\Simplexml\Element - * @since 2.0.0 */ public function getConfigDataValue($path, &$inherit = null, $configData = null) { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php index b11197aad0ef6..ddb20cf8f8c23 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Custom extends \Magento\Framework\App\Config\Value { @@ -56,7 +55,6 @@ class Custom extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\Storage\WriterInterface - * @since 2.0.0 */ protected $_configWriter; @@ -69,7 +67,6 @@ class Custom extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -89,7 +86,6 @@ public function __construct( * Validate value before save * * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -107,7 +103,6 @@ public function beforeSave() * Change secure/unsecure base_url after use_custom_url was modified * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Custompath.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Custompath.php index 93b8b482cb385..c3e4761440d12 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Custompath.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Custompath.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Custompath extends \Magento\Framework\App\Config\Value { @@ -21,7 +20,6 @@ class Custompath extends \Magento\Framework\App\Config\Value * Check whether redirect should be set * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Password/Link/Expirationperiod.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Password/Link/Expirationperiod.php index 5c23433ddfcf5..10de98a200c47 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Password/Link/Expirationperiod.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Password/Link/Expirationperiod.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Expirationperiod extends \Magento\Framework\App\Config\Value { @@ -21,7 +20,6 @@ class Expirationperiod extends \Magento\Framework\App\Config\Value * Validate expiration period value before saving * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Robots.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Robots.php index 28a164c0f2f04..60856fd1da263 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Robots.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Robots.php @@ -14,19 +14,16 @@ /** * @deprecated 2.2.0 robots.txt file is no longer stored in filesystem. It generates as response on request. - * @since 2.0.0 */ class Robots extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Filesystem\Directory\Write - * @since 2.0.0 */ protected $_directory; /** * @var string - * @since 2.0.0 */ protected $_file; @@ -40,7 +37,6 @@ class Robots extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @param DocumentRoot $documentRoot - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -64,7 +60,6 @@ public function __construct( * Return content of default robot.txt * * @return bool|string - * @since 2.0.0 */ protected function _getDefaultValue() { @@ -78,7 +73,6 @@ protected function _getDefaultValue() * Load default content from robots.txt if customer does not define own * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -93,7 +87,6 @@ protected function _afterLoad() * Check and process robots file * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Usecustom.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Usecustom.php index 5a15b75d7062f..7828c2af54897 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Usecustom.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Usecustom.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Usecustom extends \Magento\Framework\App\Config\Value { @@ -19,7 +18,6 @@ class Usecustom extends \Magento\Framework\App\Config\Value * Writer of configuration storage * * @var \Magento\Framework\App\Config\Storage\WriterInterface - * @since 2.0.0 */ protected $_configWriter; @@ -32,7 +30,6 @@ class Usecustom extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -53,7 +50,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -72,7 +68,6 @@ public function beforeSave() * Delete custom admin url from configuration if "Use Custom Admin Url" option disabled * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Admin/Usesecretkey.php b/app/code/Magento/Config/Model/Config/Backend/Admin/Usesecretkey.php index 21f7a0fe4a9c0..1e1154f3b39bb 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Admin/Usesecretkey.php +++ b/app/code/Magento/Config/Model/Config/Backend/Admin/Usesecretkey.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class Usesecretkey extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Backend\Model\UrlInterface - * @since 2.0.0 */ protected $_backendUrl; @@ -30,7 +28,6 @@ class Usesecretkey extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Baseurl.php b/app/code/Magento/Config/Model/Config/Backend/Baseurl.php index 7609eb37f05b7..3bdb6dae9c19a 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Baseurl.php +++ b/app/code/Magento/Config/Model/Config/Backend/Baseurl.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class Baseurl extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\View\Asset\MergeService - * @since 2.0.0 */ protected $_mergeService; @@ -35,7 +33,6 @@ class Baseurl extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -56,7 +53,6 @@ public function __construct( * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -79,7 +75,6 @@ public function beforeSave() * * @param string $value * @return bool - * @since 2.0.0 */ private function _validateUnsecure($value) { @@ -106,7 +101,6 @@ private function _validateUnsecure($value) * * @param string $value * @return bool - * @since 2.0.0 */ private function _validateSecure($value) { @@ -135,7 +129,6 @@ private function _validateSecure($value) * @param string $value * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ private function _assertValuesOrUrl(array $values, $value) { @@ -153,7 +146,6 @@ private function _assertValuesOrUrl(array $values, $value) * @param string $value * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ private function _assertStartsWithValuesOrUrl(array $values, $value) { @@ -176,7 +168,6 @@ private function _assertStartsWithValuesOrUrl(array $values, $value) * @param string $value * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ private function _assertStartsWithValuesOrUrlOrEmpty(array $values, $value) { @@ -198,7 +189,6 @@ private function _assertStartsWithValuesOrUrlOrEmpty(array $values, $value) * @param string $value * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ private function _validateFullyQualifiedUrl($value) { @@ -212,7 +202,6 @@ private function _validateFullyQualifiedUrl($value) * * @param string $value * @return bool - * @since 2.0.0 */ private function _isFullyQualifiedUrl($value) { @@ -223,7 +212,6 @@ private function _isFullyQualifiedUrl($value) * Clean compiled JS/CSS when updating url configuration settings * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Cache.php b/app/code/Magento/Config/Model/Config/Backend/Cache.php index cbe12a8e3f0ef..b85dd3dbb551a 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Cache.php +++ b/app/code/Magento/Config/Model/Config/Backend/Cache.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class Cache extends \Magento\Framework\App\Config\Value { @@ -20,7 +19,6 @@ class Cache extends \Magento\Framework\App\Config\Value * Cache tags to clean * * @var array - * @since 2.0.0 */ protected $_cacheTags = []; @@ -28,7 +26,6 @@ class Cache extends \Magento\Framework\App\Config\Value * Clean cache, value was changed * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Currency/AbstractCurrency.php b/app/code/Magento/Config/Model/Config/Backend/Currency/AbstractCurrency.php index 6d4ac3979d2eb..8cf6ce11af0bf 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Currency/AbstractCurrency.php +++ b/app/code/Magento/Config/Model/Config/Backend/Currency/AbstractCurrency.php @@ -15,7 +15,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractCurrency extends \Magento\Framework\App\Config\Value { @@ -23,7 +22,6 @@ abstract class AbstractCurrency extends \Magento\Framework\App\Config\Value * Retrieve allowed currencies for current scope * * @return array - * @since 2.0.0 */ protected function _getAllowedCurrencies() { @@ -45,7 +43,6 @@ protected function _getAllowedCurrencies() * Retrieve Installed Currencies * * @return string[] - * @since 2.0.0 */ protected function _getInstalledCurrencies() { @@ -62,7 +59,6 @@ protected function _getInstalledCurrencies() * Retrieve Base Currency value for current scope * * @return string - * @since 2.0.0 */ protected function _getCurrencyBase() { @@ -81,7 +77,6 @@ protected function _getCurrencyBase() * Retrieve Default display Currency value for current scope * * @return string - * @since 2.0.0 */ protected function _getCurrencyDefault() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Currency/Allow.php b/app/code/Magento/Config/Model/Config/Backend/Currency/Allow.php index 81bacebd1ed90..c6ae90926e0cc 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Currency/Allow.php +++ b/app/code/Magento/Config/Model/Config/Backend/Currency/Allow.php @@ -12,13 +12,11 @@ /** * @api - * @since 2.0.0 */ class Allow extends AbstractCurrency { /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -31,7 +29,6 @@ class Allow extends AbstractCurrency * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -53,7 +50,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Currency/Base.php b/app/code/Magento/Config/Model/Config/Backend/Currency/Base.php index 658955405a403..e250f99d3e38c 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Currency/Base.php +++ b/app/code/Magento/Config/Model/Config/Backend/Currency/Base.php @@ -12,13 +12,11 @@ /** * @api - * @since 2.0.0 */ class Base extends AbstractCurrency { /** * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ private $currencyFactory; @@ -31,7 +29,6 @@ class Base extends AbstractCurrency * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -52,7 +49,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Currency/Cron.php b/app/code/Magento/Config/Model/Config/Backend/Currency/Cron.php index d8175e35bed6d..7259fbaa19082 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Currency/Cron.php +++ b/app/code/Magento/Config/Model/Config/Backend/Currency/Cron.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Cron extends \Magento\Framework\App\Config\Value { @@ -19,7 +18,6 @@ class Cron extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; @@ -32,7 +30,6 @@ class Cron extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -51,7 +48,6 @@ public function __construct( /** * @return $this * @throws \Exception - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Currency/DefaultCurrency.php b/app/code/Magento/Config/Model/Config/Backend/Currency/DefaultCurrency.php index 9e09ec8edf2f6..23a30ec63b696 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Currency/DefaultCurrency.php +++ b/app/code/Magento/Config/Model/Config/Backend/Currency/DefaultCurrency.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class DefaultCurrency extends AbstractCurrency { @@ -22,7 +21,6 @@ class DefaultCurrency extends AbstractCurrency * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Datashare.php b/app/code/Magento/Config/Model/Config/Backend/Datashare.php index cfd80e751a096..4115a0201ff90 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Datashare.php +++ b/app/code/Magento/Config/Model/Config/Backend/Datashare.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Datashare extends \Magento\Framework\App\Config\Value { /** * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Design/Exception.php b/app/code/Magento/Config/Model/Config/Backend/Design/Exception.php index db495b1a451d9..4b2d8be9abf1f 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Design/Exception.php +++ b/app/code/Magento/Config/Model/Config/Backend/Design/Exception.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Exception extends \Magento\Config\Model\Config\Backend\Serialized\ArraySerialized { /** * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'core_config_backend_design_exception'; } diff --git a/app/code/Magento/Config/Model/Config/Backend/Email/Address.php b/app/code/Magento/Config/Model/Config/Backend/Email/Address.php index 938c4f18b8ddc..b1819635526f9 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Email/Address.php +++ b/app/code/Magento/Config/Model/Config/Backend/Email/Address.php @@ -13,14 +13,12 @@ /** * @api - * @since 2.0.0 */ class Address extends \Magento\Framework\App\Config\Value { /** * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Email/Logo.php b/app/code/Magento/Config/Model/Config/Backend/Email/Logo.php index 4fc7dd3483be2..bac9a6f4e2add 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Email/Logo.php +++ b/app/code/Magento/Config/Model/Config/Backend/Email/Logo.php @@ -13,7 +13,6 @@ /** * @deprecated 2.2.0 - * @since 2.0.0 */ class Logo extends \Magento\Config\Model\Config\Backend\Image { @@ -26,7 +25,6 @@ class Logo extends \Magento\Config\Model\Config\Backend\Image * Upload max file size in kilobytes * * @var int - * @since 2.0.0 */ protected $_maxFileSize = 2048; @@ -34,7 +32,6 @@ class Logo extends \Magento\Config\Model\Config\Backend\Image * Return path to directory for upload file * * @return string - * @since 2.0.0 */ protected function _getUploadDir() { @@ -45,7 +42,6 @@ protected function _getUploadDir() * Makes a decision about whether to add info about the scope * * @return boolean - * @since 2.0.0 */ protected function _addWhetherScopeInfo() { @@ -73,7 +69,6 @@ protected function getTmpFileName() * Save changes and delete file if "delete" option passed * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Email/Sender.php b/app/code/Magento/Config/Model/Config/Backend/Email/Sender.php index 5c5374a9989f6..d552b6b0e0f57 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Email/Sender.php +++ b/app/code/Magento/Config/Model/Config/Backend/Email/Sender.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Sender extends \Magento\Framework\App\Config\Value { @@ -22,7 +21,6 @@ class Sender extends \Magento\Framework\App\Config\Value * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Encrypted.php b/app/code/Magento/Config/Model/Config/Backend/Encrypted.php index ab3df7db19258..3ca980527dd91 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Encrypted.php +++ b/app/code/Magento/Config/Model/Config/Backend/Encrypted.php @@ -12,14 +12,12 @@ /** * @api - * @since 2.0.0 */ class Encrypted extends \Magento\Framework\App\Config\Value implements \Magento\Framework\App\Config\Data\ProcessorInterface { /** * @var \Magento\Framework\Encryption\EncryptorInterface - * @since 2.0.0 */ protected $_encryptor; @@ -32,7 +30,6 @@ class Encrypted extends \Magento\Framework\App\Config\Value implements * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -52,7 +49,6 @@ public function __construct( * Magic method called during class serialization * * @return string[] - * @since 2.0.0 */ public function __sleep() { @@ -64,7 +60,6 @@ public function __sleep() * Magic method called during class un-serialization * * @return void - * @since 2.0.0 */ public function __wakeup() { @@ -78,7 +73,6 @@ public function __wakeup() * Decrypt value after loading * * @return void - * @since 2.0.0 */ protected function _afterLoad() { @@ -92,7 +86,6 @@ protected function _afterLoad() * Encrypt value before saving * * @return void - * @since 2.0.0 */ public function beforeSave() { @@ -113,7 +106,6 @@ public function beforeSave() * * @param string $value * @return string - * @since 2.0.0 */ public function processValue($value) { diff --git a/app/code/Magento/Config/Model/Config/Backend/File.php b/app/code/Magento/Config/Model/Config/Backend/File.php index 186752d73c5e0..c70a1e73b92f2 100644 --- a/app/code/Magento/Config/Model/Config/Backend/File.php +++ b/app/code/Magento/Config/Model/Config/Backend/File.php @@ -16,13 +16,11 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.ExcessiveParameterList) * @api - * @since 2.0.0 */ class File extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Config\Model\Config\Backend\File\RequestData\RequestDataInterface - * @since 2.0.0 */ protected $_requestData; @@ -30,25 +28,21 @@ class File extends \Magento\Framework\App\Config\Value * Upload max file size in kilobytes * * @var int - * @since 2.0.0 */ protected $_maxFileSize = 0; /** * @var Filesystem - * @since 2.0.0 */ protected $_filesystem; /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.0.0 */ protected $_mediaDirectory; /** * @var \Magento\MediaStorage\Model\File\UploaderFactory - * @since 2.0.0 */ protected $_uploaderFactory; @@ -63,7 +57,6 @@ class File extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -89,7 +82,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -154,7 +146,6 @@ protected function getFileData() * @param string $filePath Path to temporary uploaded file * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validateMaxSize($filePath) { @@ -173,7 +164,6 @@ public function validateMaxSize($filePath) * Makes a decision about whether to add info about the scope. * * @return boolean - * @since 2.0.0 */ protected function _addWhetherScopeInfo() { @@ -187,7 +177,6 @@ protected function _addWhetherScopeInfo() * * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getUploadDir() { @@ -236,7 +225,6 @@ protected function getUploadDirPath($uploadDir) * * @param string $path * @return string - * @since 2.0.0 */ protected function _prependScopeInfo($path) { @@ -254,7 +242,6 @@ protected function _prependScopeInfo($path) * * @param string $path * @return string - * @since 2.0.0 */ protected function _appendScopeInfo($path) { @@ -269,7 +256,6 @@ protected function _appendScopeInfo($path) * Getter for allowed extensions of uploaded files * * @return array - * @since 2.0.0 */ protected function _getAllowedExtensions() { diff --git a/app/code/Magento/Config/Model/Config/Backend/File/RequestData.php b/app/code/Magento/Config/Model/Config/Backend/File/RequestData.php index f42f3c45a53c9..d14bd933aba35 100644 --- a/app/code/Magento/Config/Model/Config/Backend/File/RequestData.php +++ b/app/code/Magento/Config/Model/Config/Backend/File/RequestData.php @@ -8,7 +8,6 @@ /** * Class \Magento\Config\Model\Config\Backend\File\RequestData * - * @since 2.0.0 */ class RequestData implements \Magento\Config\Model\Config\Backend\File\RequestData\RequestDataInterface { @@ -17,7 +16,6 @@ class RequestData implements \Magento\Config\Model\Config\Backend\File\RequestDa * * @param string $path * @return string - * @since 2.0.0 */ public function getTmpName($path) { @@ -29,7 +27,6 @@ public function getTmpName($path) * * @param string $path * @return string - * @since 2.0.0 */ public function getName($path) { @@ -42,7 +39,6 @@ public function getName($path) * @param string $paramName * @param string $path * @return string - * @since 2.0.0 */ protected function _getParam($paramName, $path) { diff --git a/app/code/Magento/Config/Model/Config/Backend/File/RequestData/RequestDataInterface.php b/app/code/Magento/Config/Model/Config/Backend/File/RequestData/RequestDataInterface.php index c3660c1c179b0..9783ce29dd920 100644 --- a/app/code/Magento/Config/Model/Config/Backend/File/RequestData/RequestDataInterface.php +++ b/app/code/Magento/Config/Model/Config/Backend/File/RequestData/RequestDataInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface RequestDataInterface { @@ -20,7 +19,6 @@ interface RequestDataInterface * * @param string $path * @return string - * @since 2.0.0 */ public function getTmpName($path); @@ -29,7 +27,6 @@ public function getTmpName($path); * * @param string $path * @return string - * @since 2.0.0 */ public function getName($path); } diff --git a/app/code/Magento/Config/Model/Config/Backend/Filename.php b/app/code/Magento/Config/Model/Config/Backend/Filename.php index 923da4c5bd536..f95039837fc0c 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Filename.php +++ b/app/code/Magento/Config/Model/Config/Backend/Filename.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Filename extends \Magento\Framework\App\Config\Value { /** * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Image.php b/app/code/Magento/Config/Model/Config/Backend/Image.php index f2670e7bca173..90ec3dc0e7cf8 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Image.php +++ b/app/code/Magento/Config/Model/Config/Backend/Image.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Image extends File { @@ -19,7 +18,6 @@ class Image extends File * Getter for allowed extensions of uploaded files * * @return string[] - * @since 2.0.0 */ protected function _getAllowedExtensions() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Image/Adapter.php b/app/code/Magento/Config/Model/Config/Backend/Image/Adapter.php index d484570be9a2f..9ae1e2332f2d4 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Image/Adapter.php +++ b/app/code/Magento/Config/Model/Config/Backend/Image/Adapter.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Adapter extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Image\AdapterFactory - * @since 2.0.0 */ protected $_imageFactory; @@ -32,7 +30,6 @@ class Adapter extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -53,7 +50,6 @@ public function __construct( * * @throws \Magento\Framework\Exception\LocalizedException If some of adapter dependencies was not loaded * @return \Magento\Config\Model\Config\Backend\File - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Image/Favicon.php b/app/code/Magento/Config/Model/Config/Backend/Image/Favicon.php index cde902f8e0de2..a8a5eb306d83f 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Image/Favicon.php +++ b/app/code/Magento/Config/Model/Config/Backend/Image/Favicon.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Favicon extends \Magento\Config\Model\Config\Backend\Image { @@ -26,7 +25,6 @@ class Favicon extends \Magento\Config\Model\Config\Backend\Image * * @return string * @throw \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getUploadDir() { @@ -37,7 +35,6 @@ protected function _getUploadDir() * Makes a decision about whether to add info about the scope. * * @return boolean - * @since 2.0.0 */ protected function _addWhetherScopeInfo() { @@ -48,7 +45,6 @@ protected function _addWhetherScopeInfo() * Getter for allowed extensions of uploaded files. * * @return string[] - * @since 2.0.0 */ protected function _getAllowedExtensions() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Image/Logo.php b/app/code/Magento/Config/Model/Config/Backend/Image/Logo.php index 8966400c730e3..cef7c484eeae2 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Image/Logo.php +++ b/app/code/Magento/Config/Model/Config/Backend/Image/Logo.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Logo extends \Magento\Config\Model\Config\Backend\Image { @@ -26,7 +25,6 @@ class Logo extends \Magento\Config\Model\Config\Backend\Image * * @return string * @throw \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _getUploadDir() { @@ -37,7 +35,6 @@ protected function _getUploadDir() * Makes a decision about whether to add info about the scope. * * @return boolean - * @since 2.0.0 */ protected function _addWhetherScopeInfo() { @@ -48,7 +45,6 @@ protected function _addWhetherScopeInfo() * Getter for allowed extensions of uploaded files. * * @return string[] - * @since 2.0.0 */ protected function _getAllowedExtensions() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Image/Pdf.php b/app/code/Magento/Config/Model/Config/Backend/Image/Pdf.php index a1481227e0b7e..82f599b9acfe6 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Image/Pdf.php +++ b/app/code/Magento/Config/Model/Config/Backend/Image/Pdf.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Pdf extends \Magento\Config\Model\Config\Backend\Image { /** * @return string[] - * @since 2.0.0 */ protected function _getAllowedExtensions() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Locale.php b/app/code/Magento/Config/Model/Config/Backend/Locale.php index 18b706405f134..30b30f1899a98 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Locale.php +++ b/app/code/Magento/Config/Model/Config/Backend/Locale.php @@ -13,31 +13,26 @@ /** * @api - * @since 2.0.0 */ class Locale extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Config\Model\ResourceModel\Config\Data\CollectionFactory - * @since 2.0.0 */ protected $_configsFactory; /** * @var \Magento\Store\Model\WebsiteFactory - * @since 2.0.0 */ protected $_websiteFactory; /** * @var \Magento\Store\Model\StoreFactory - * @since 2.0.0 */ protected $_storeFactory; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $_localeCurrency; @@ -55,7 +50,6 @@ class Locale extends \Magento\Framework\App\Config\Value * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -80,7 +74,6 @@ public function __construct( /** * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Locale/Timezone.php b/app/code/Magento/Config/Model/Config/Backend/Locale/Timezone.php index 64da246a837b0..533ede0117efb 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Locale/Timezone.php +++ b/app/code/Magento/Config/Model/Config/Backend/Locale/Timezone.php @@ -13,14 +13,12 @@ /** * @api - * @since 2.0.0 */ class Timezone extends \Magento\Framework\App\Config\Value { /** * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Log/Cron.php b/app/code/Magento/Config/Model/Config/Backend/Log/Cron.php index 8203a591c1630..952ac7bffab4e 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Log/Cron.php +++ b/app/code/Magento/Config/Model/Config/Backend/Log/Cron.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Cron extends \Magento\Framework\App\Config\Value { @@ -21,13 +20,11 @@ class Cron extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @var string - * @since 2.0.0 */ protected $_runModelPath = ''; @@ -41,7 +38,6 @@ class Cron extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param string $runModelPath * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -64,7 +60,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Secure.php b/app/code/Magento/Config/Model/Config/Backend/Secure.php index 8331aa73ec2be..82e9d4180570d 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Secure.php +++ b/app/code/Magento/Config/Model/Config/Backend/Secure.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Secure extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\View\Asset\MergeService - * @since 2.0.0 */ protected $_mergeService; @@ -26,7 +24,6 @@ class Secure extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -46,7 +43,6 @@ public function __construct( * Clean compiled JS/CSS when updating configuration settings * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Serialized.php b/app/code/Magento/Config/Model/Config/Backend/Serialized.php index 59912a538d3bb..59507dbc20e9a 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Serialized.php +++ b/app/code/Magento/Config/Model/Config/Backend/Serialized.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Serialized extends \Magento\Framework\App\Config\Value { @@ -49,7 +48,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _afterLoad() { @@ -61,7 +59,6 @@ protected function _afterLoad() /** * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Serialized/ArraySerialized.php b/app/code/Magento/Config/Model/Config/Backend/Serialized/ArraySerialized.php index e23a14f60047c..66a2cf77f368a 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Serialized/ArraySerialized.php +++ b/app/code/Magento/Config/Model/Config/Backend/Serialized/ArraySerialized.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class ArraySerialized extends \Magento\Config\Model\Config\Backend\Serialized { @@ -20,7 +19,6 @@ class ArraySerialized extends \Magento\Config\Model\Config\Backend\Serialized * Unset array element with '__empty' key * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Store.php b/app/code/Magento/Config/Model/Config/Backend/Store.php index 758258279aa60..16a4d2b709e58 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Store.php +++ b/app/code/Magento/Config/Model/Config/Backend/Store.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class Store extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\App\Config\MutableScopeConfigInterface - * @since 2.0.0 */ protected $_mutableConfig; @@ -30,7 +28,6 @@ class Store extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/Backend/Translate.php b/app/code/Magento/Config/Model/Config/Backend/Translate.php index 5ea72aa54ce9e..91df75e0b694c 100644 --- a/app/code/Magento/Config/Model/Config/Backend/Translate.php +++ b/app/code/Magento/Config/Model/Config/Backend/Translate.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Translate extends \Magento\Framework\App\Config\Value { @@ -26,7 +25,6 @@ class Translate extends \Magento\Framework\App\Config\Value * Set status 'invalidate' for blocks and other output caches * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Config/Model/Config/BackendClone/Factory.php b/app/code/Magento/Config/Model/Config/BackendClone/Factory.php index 719ac268054f8..1f4bd9c532f4f 100644 --- a/app/code/Magento/Config/Model/Config/BackendClone/Factory.php +++ b/app/code/Magento/Config/Model/Config/BackendClone/Factory.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param string $cloneModel * @return mixed - * @since 2.0.0 */ public function create($cloneModel) { diff --git a/app/code/Magento/Config/Model/Config/BackendFactory.php b/app/code/Magento/Config/Model/Config/BackendFactory.php index 760421fbb9786..3ed57ae65302c 100644 --- a/app/code/Magento/Config/Model/Config/BackendFactory.php +++ b/app/code/Magento/Config/Model/Config/BackendFactory.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class BackendFactory { @@ -15,13 +14,11 @@ class BackendFactory * Object manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectmanager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectmanager) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectman * @param array $arguments The object arguments * @return \Magento\Framework\App\Config\ValueInterface * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($modelName, array $arguments = []) { diff --git a/app/code/Magento/Config/Model/Config/CommentFactory.php b/app/code/Magento/Config/Model/Config/CommentFactory.php index 8a03259463ae0..d4cb2f9f0de1b 100644 --- a/app/code/Magento/Config/Model/Config/CommentFactory.php +++ b/app/code/Magento/Config/Model/Config/CommentFactory.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class CommentFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $type * @return CommentInterface * @throws \InvalidArgumentException - * @since 2.0.0 */ public function create($type) { diff --git a/app/code/Magento/Config/Model/Config/CommentInterface.php b/app/code/Magento/Config/Model/Config/CommentInterface.php index e4dc7b9c9d82b..42dba3a07ee1b 100644 --- a/app/code/Magento/Config/Model/Config/CommentInterface.php +++ b/app/code/Magento/Config/Model/Config/CommentInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface CommentInterface { @@ -19,7 +18,6 @@ interface CommentInterface * Retrieve element comment by element value * @param string $elementValue * @return string - * @since 2.0.0 */ public function getCommentText($elementValue); } diff --git a/app/code/Magento/Config/Model/Config/Compiler/IncludeElement.php b/app/code/Magento/Config/Model/Config/Compiler/IncludeElement.php index c084828f22ecd..2adad8d7594bc 100644 --- a/app/code/Magento/Config/Model/Config/Compiler/IncludeElement.php +++ b/app/code/Magento/Config/Model/Config/Compiler/IncludeElement.php @@ -16,7 +16,6 @@ /** * Class IncludeElement * @api - * @since 2.0.0 */ class IncludeElement implements ElementInterface { @@ -24,13 +23,11 @@ class IncludeElement implements ElementInterface /** * @var Reader - * @since 2.0.0 */ protected $moduleReader; /** * @var Filesystem\Directory\ReadFactory - * @since 2.0.0 */ protected $readFactory; @@ -39,7 +36,6 @@ class IncludeElement implements ElementInterface * * @param Reader $moduleReader * @param Filesystem\Directory\ReadFactory $readFactory - * @since 2.0.0 */ public function __construct(Reader $moduleReader, Filesystem\Directory\ReadFactory $readFactory) { @@ -55,7 +51,6 @@ public function __construct(Reader $moduleReader, Filesystem\Directory\ReadFacto * @param DataObject $processedObject * @param DataObject $context * @return void - * @since 2.0.0 */ public function compile( CompilerInterface $compiler, @@ -86,7 +81,6 @@ public function compile( * * @param \DOMElement $node * @return \DOMElement[] - * @since 2.0.0 */ protected function getChildNodes(\DOMElement $node) { @@ -104,7 +98,6 @@ protected function getChildNodes(\DOMElement $node) * @param string $includePath * @return string * @throws LocalizedException - * @since 2.0.0 */ protected function getContent($includePath) { diff --git a/app/code/Magento/Config/Model/Config/Export/Comment.php b/app/code/Magento/Config/Model/Config/Export/Comment.php index 51979ee70a7b9..48e004a741f24 100644 --- a/app/code/Magento/Config/Model/Config/Export/Comment.php +++ b/app/code/Magento/Config/Model/Config/Export/Comment.php @@ -15,19 +15,19 @@ /** * Class Comment. Is used to retrieve comment for config dump file * @api - * @since 2.2.0 + * @since 2.1.3 */ class Comment implements CommentInterface { /** * @var PlaceholderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $placeholder; /** * @var DumpConfigSourceInterface - * @since 2.2.0 + * @since 2.1.3 */ private $source; @@ -43,7 +43,7 @@ class Comment implements CommentInterface * @param PlaceholderFactory $placeholderFactory * @param DumpConfigSourceInterface $source * @param TypePool|null $typePool The checker for config type - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( PlaceholderFactory $placeholderFactory, @@ -62,7 +62,7 @@ public function __construct( * a list with descriptions of these fields will be added to the comments. * * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function get() { diff --git a/app/code/Magento/Config/Model/Config/Export/ExcludeList.php b/app/code/Magento/Config/Model/Config/Export/ExcludeList.php index 9c81fd37561f8..d8c6590f6401a 100644 --- a/app/code/Magento/Config/Model/Config/Export/ExcludeList.php +++ b/app/code/Magento/Config/Model/Config/Export/ExcludeList.php @@ -11,19 +11,19 @@ * @deprecated 2.2.0 because in Magento since version 2.2.0 there are several * types for configuration fields that require special processing. * @see \Magento\Config\Model\Config\TypePool - * @since 2.2.0 + * @since 2.1.3 */ class ExcludeList { /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $configs; /** * @param array $configs - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(array $configs = []) { @@ -36,7 +36,7 @@ public function __construct(array $configs = []) * @param string $path * @return bool * @deprecated 2.2.0 - * @since 2.2.0 + * @since 2.1.3 */ public function isPresent($path) { @@ -48,7 +48,7 @@ public function isPresent($path) * * @return array * @deprecated 2.2.0 - * @since 2.2.0 + * @since 2.1.3 */ public function get() { diff --git a/app/code/Magento/Config/Model/Config/Factory.php b/app/code/Magento/Config/Model/Config/Factory.php index 9edee9dee4614..b480c670c4919 100644 --- a/app/code/Magento/Config/Model/Config/Factory.php +++ b/app/code/Magento/Config/Model/Config/Factory.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Factory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param array $data * @return \Magento\Config\Model\Config - * @since 2.0.0 */ public function create(array $data = []) { diff --git a/app/code/Magento/Config/Model/Config/Loader.php b/app/code/Magento/Config/Model/Config/Loader.php index 87d49e1800e27..93dd79c0d7685 100644 --- a/app/code/Magento/Config/Model/Config/Loader.php +++ b/app/code/Magento/Config/Model/Config/Loader.php @@ -14,7 +14,6 @@ * * @package Magento\Config\Model\Config * @api - * @since 2.0.0 */ class Loader { @@ -22,13 +21,11 @@ class Loader * Config data factory * * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @param \Magento\Framework\App\Config\ValueFactory $configValueFactory - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\Config\ValueFactory $configValueFactory) { @@ -43,7 +40,6 @@ public function __construct(\Magento\Framework\App\Config\ValueFactory $configVa * @param string $scopeId * @param bool $full * @return array - * @since 2.0.0 */ public function getConfigByPath($path, $scope, $scopeId, $full = true) { diff --git a/app/code/Magento/Config/Model/Config/Processor/EnvironmentPlaceholder.php b/app/code/Magento/Config/Model/Config/Processor/EnvironmentPlaceholder.php index 5c50f10cfee7d..0387b79c93701 100644 --- a/app/code/Magento/Config/Model/Config/Processor/EnvironmentPlaceholder.php +++ b/app/code/Magento/Config/Model/Config/Processor/EnvironmentPlaceholder.php @@ -13,32 +13,32 @@ /** * Allows to extract configurations from environment variables. * @api - * @since 2.2.0 + * @since 2.1.3 */ class EnvironmentPlaceholder implements PreProcessorInterface { /** * @var PlaceholderFactory - * @since 2.2.0 + * @since 2.1.3 */ private $placeholderFactory; /** * @var ArrayManager - * @since 2.2.0 + * @since 2.1.3 */ private $arrayManager; /** * @var PlaceholderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $placeholder; /** * @param PlaceholderFactory $placeholderFactory * @param ArrayManager $arrayManager - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( PlaceholderFactory $placeholderFactory, @@ -54,7 +54,7 @@ public function __construct( * If environment variable is matching the desired rule - it's being used as value. * * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.3 */ public function process(array $config) { diff --git a/app/code/Magento/Config/Model/Config/Reader/Source/Deployed/SettingChecker.php b/app/code/Magento/Config/Model/Config/Reader/Source/Deployed/SettingChecker.php index d791c901574e6..17e31c1200ead 100644 --- a/app/code/Magento/Config/Model/Config/Reader/Source/Deployed/SettingChecker.php +++ b/app/code/Magento/Config/Model/Config/Reader/Source/Deployed/SettingChecker.php @@ -15,25 +15,25 @@ /** * Class for checking settings that defined in config file * @api - * @since 2.2.0 + * @since 2.1.3 */ class SettingChecker { /** * @var DeploymentConfig - * @since 2.2.0 + * @since 2.1.3 */ private $config; /** * @var PlaceholderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $placeholder; /** * @var ScopeCodeResolver - * @since 2.2.0 + * @since 2.1.3 */ private $scopeCodeResolver; @@ -41,7 +41,7 @@ class SettingChecker * @param DeploymentConfig $config * @param PlaceholderFactory $placeholderFactory * @param ScopeCodeResolver $scopeCodeResolver - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( DeploymentConfig $config, @@ -60,7 +60,7 @@ public function __construct( * @param string $scope * @param string|null $scopeCode * @return boolean - * @since 2.2.0 + * @since 2.1.3 */ public function isReadOnly($path, $scope, $scopeCode = null) { @@ -85,7 +85,7 @@ public function isReadOnly($path, $scope, $scopeCode = null) * @param string $scopeCode * @param string|null $scopeCode * @return string|null - * @since 2.2.0 + * @since 2.1.3 */ public function getPlaceholderValue($path, $scope, $scopeCode = null) { @@ -97,7 +97,7 @@ public function getPlaceholderValue($path, $scope, $scopeCode = null) * * @param string $placeholder * @return string|null - * @since 2.2.0 + * @since 2.1.3 */ public function getEnvValue($placeholder) { @@ -114,7 +114,7 @@ public function getEnvValue($placeholder) * @param string $scope * @param string $scopeCode * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function resolvePath($scope, $scopeCode) { diff --git a/app/code/Magento/Config/Model/Config/SchemaLocator.php b/app/code/Magento/Config/Model/Config/SchemaLocator.php index fc7906293220b..3d42dc01de81a 100644 --- a/app/code/Magento/Config/Model/Config/SchemaLocator.php +++ b/app/code/Magento/Config/Model/Config/SchemaLocator.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -19,7 +18,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema = null; @@ -27,13 +25,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema = null; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -46,7 +42,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -57,7 +52,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Config/Model/Config/ScopeDefiner.php b/app/code/Magento/Config/Model/Config/ScopeDefiner.php index 7b3ca1d8e2086..f5a07f181390a 100644 --- a/app/code/Magento/Config/Model/Config/ScopeDefiner.php +++ b/app/code/Magento/Config/Model/Config/ScopeDefiner.php @@ -11,7 +11,6 @@ /** * System configuration scope * @api - * @since 2.0.0 */ class ScopeDefiner { @@ -19,13 +18,11 @@ class ScopeDefiner * Request object * * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $_request; /** * @param \Magento\Framework\App\RequestInterface $request - * @since 2.0.0 */ public function __construct(\Magento\Framework\App\RequestInterface $request) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Framework\App\RequestInterface $request) * Retrieve current config scope * * @return string - * @since 2.0.0 */ public function getScope() { diff --git a/app/code/Magento/Config/Model/Config/Source/Admin/Page.php b/app/code/Magento/Config/Model/Config/Source/Admin/Page.php index 37024ce13c8f5..9adc75e9fd43c 100644 --- a/app/code/Magento/Config/Model/Config/Source/Admin/Page.php +++ b/app/code/Magento/Config/Model/Config/Source/Admin/Page.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Page implements \Magento\Framework\Option\ArrayInterface { @@ -17,20 +16,17 @@ class Page implements \Magento\Framework\Option\ArrayInterface * Menu model * * @var \Magento\Backend\Model\Menu - * @since 2.0.0 */ protected $_menu; /** * @var \Magento\Backend\Model\Menu\Filter\IteratorFactory - * @since 2.0.0 */ protected $_iteratorFactory; /** * @param \Magento\Backend\Model\Menu\Filter\IteratorFactory $iteratorFactory * @param \Magento\Backend\Model\Menu\Config $menuConfig - * @since 2.0.0 */ public function __construct( \Magento\Backend\Model\Menu\Filter\IteratorFactory $iteratorFactory, @@ -42,7 +38,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -56,7 +51,6 @@ public function toOptionArray() * * @param \Magento\Backend\Model\Menu $menu menu model * @return \Magento\Backend\Model\Menu\Filter\Iterator - * @since 2.0.0 */ protected function _getMenuIterator(\Magento\Backend\Model\Menu $menu) { @@ -70,7 +64,6 @@ protected function _getMenuIterator(\Magento\Backend\Model\Menu $menu) * @param \Magento\Backend\Model\Menu $menu * @param int $level * @return void - * @since 2.0.0 */ protected function _createOptions(&$optionArray, \Magento\Backend\Model\Menu $menu, $level = 0) { diff --git a/app/code/Magento/Config/Model/Config/Source/Date/Short.php b/app/code/Magento/Config/Model/Config/Source/Date/Short.php index 5f25a6effbcaa..f40e6655e788c 100644 --- a/app/code/Magento/Config/Model/Config/Source/Date/Short.php +++ b/app/code/Magento/Config/Model/Config/Source/Date/Short.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Short implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Design/Robots.php b/app/code/Magento/Config/Model/Config/Source/Design/Robots.php index ded416e824264..3e9bb0f2e5be0 100644 --- a/app/code/Magento/Config/Model/Config/Source/Design/Robots.php +++ b/app/code/Magento/Config/Model/Config/Source/Design/Robots.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Robots implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Dev/Dbautoup.php b/app/code/Magento/Config/Model/Config/Source/Dev/Dbautoup.php index 68cbf24a38b9b..76acff87f127e 100644 --- a/app/code/Magento/Config/Model/Config/Source/Dev/Dbautoup.php +++ b/app/code/Magento/Config/Model/Config/Source/Dev/Dbautoup.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class Dbautoup implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Email/Identity.php b/app/code/Magento/Config/Model/Config/Source/Email/Identity.php index 9641b605f2298..582a41abe3d21 100644 --- a/app/code/Magento/Config/Model/Config/Source/Email/Identity.php +++ b/app/code/Magento/Config/Model/Config/Source/Email/Identity.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Identity implements \Magento\Framework\Option\ArrayInterface { @@ -15,7 +14,6 @@ class Identity implements \Magento\Framework\Option\ArrayInterface * Email Identity options * * @var array - * @since 2.0.0 */ protected $_options = null; @@ -23,13 +21,11 @@ class Identity implements \Magento\Framework\Option\ArrayInterface * Configuration structure * * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_configStructure; /** * @param \Magento\Config\Model\Config\Structure $configStructure - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure $configStructure) { @@ -40,7 +36,6 @@ public function __construct(\Magento\Config\Model\Config\Structure $configStruct * Retrieve list of options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Email/Method.php b/app/code/Magento/Config/Model/Config/Source/Email/Method.php index 15b893c24c13f..609724737a9b5 100644 --- a/app/code/Magento/Config/Model/Config/Source/Email/Method.php +++ b/app/code/Magento/Config/Model/Config/Source/Email/Method.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Method implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Email/Smtpauth.php b/app/code/Magento/Config/Model/Config/Source/Email/Smtpauth.php index a31a744eea014..6ec1b181cdebd 100644 --- a/app/code/Magento/Config/Model/Config/Source/Email/Smtpauth.php +++ b/app/code/Magento/Config/Model/Config/Source/Email/Smtpauth.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Smtpauth implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Email/Template.php b/app/code/Magento/Config/Model/Config/Source/Email/Template.php index d12c84d79578e..687c65f18c73b 100644 --- a/app/code/Magento/Config/Model/Config/Source/Email/Template.php +++ b/app/code/Magento/Config/Model/Config/Source/Email/Template.php @@ -7,25 +7,21 @@ /** * @api - * @since 2.0.0 */ class Template extends \Magento\Framework\DataObject implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ private $_coreRegistry; /** * @var \Magento\Email\Model\Template\Config - * @since 2.0.0 */ private $_emailConfig; /** * @var \Magento\Email\Model\ResourceModel\Template\CollectionFactory - * @since 2.0.0 */ protected $_templatesFactory; @@ -34,7 +30,6 @@ class Template extends \Magento\Framework\DataObject implements \Magento\Framewo * @param \Magento\Email\Model\ResourceModel\Template\CollectionFactory $templatesFactory * @param \Magento\Email\Model\Template\Config $emailConfig * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Registry $coreRegistry, @@ -52,7 +47,6 @@ public function __construct( * Generate list of email templates * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Enabledisable.php b/app/code/Magento/Config/Model/Config/Source/Enabledisable.php index d4e4e78bad924..f9ce4e1b9bc89 100644 --- a/app/code/Magento/Config/Model/Config/Source/Enabledisable.php +++ b/app/code/Magento/Config/Model/Config/Source/Enabledisable.php @@ -8,7 +8,6 @@ /** * Source model for element with enable and disable variants. * @api - * @since 2.0.0 */ class Enabledisable implements \Magento\Framework\Option\ArrayInterface { @@ -24,7 +23,6 @@ class Enabledisable implements \Magento\Framework\Option\ArrayInterface /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Image/Adapter.php b/app/code/Magento/Config/Model/Config/Source/Image/Adapter.php index f99c880bbb7a2..836a936131475 100644 --- a/app/code/Magento/Config/Model/Config/Source/Image/Adapter.php +++ b/app/code/Magento/Config/Model/Config/Source/Image/Adapter.php @@ -7,19 +7,16 @@ /** * @api - * @since 2.0.0 */ class Adapter implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Image\Adapter\ConfigInterface - * @since 2.0.0 */ protected $config; /** * @param \Magento\Framework\Image\Adapter\ConfigInterface $config - * @since 2.0.0 */ public function __construct(\Magento\Framework\Image\Adapter\ConfigInterface $config) { @@ -30,7 +27,6 @@ public function __construct(\Magento\Framework\Image\Adapter\ConfigInterface $co * Return hash of image adapter codes and labels * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale.php b/app/code/Magento/Config/Model/Config/Source/Locale.php index 9c97bae439bbf..5137e4c75bd4c 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Locale implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Country.php b/app/code/Magento/Config/Model/Config/Source/Locale/Country.php index 4af7aa614639e..320151226e71a 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Country.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Country.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Country implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Currency.php b/app/code/Magento/Config/Model/Config/Source/Locale/Currency.php index 8a7258598b6fa..9606c4b0fac1e 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Currency.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Currency.php @@ -11,25 +11,21 @@ /** * @api - * @since 2.0.0 */ class Currency implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $_options; /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -38,7 +34,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Currency/All.php b/app/code/Magento/Config/Model/Config/Source/Locale/Currency/All.php index 63f9133e7b684..811b6e999d39c 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Currency/All.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Currency/All.php @@ -7,25 +7,21 @@ /** * @api - * @since 2.0.0 */ class All implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $_options; /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -35,7 +31,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @param bool $isMultiselect * @return array - * @since 2.0.0 */ public function toOptionArray($isMultiselect = false) { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Timezone.php b/app/code/Magento/Config/Model/Config/Source/Locale/Timezone.php index f76d2feec0117..2807fd4c05097 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Timezone.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Timezone.php @@ -11,13 +11,11 @@ /** * @api - * @since 2.0.0 */ class Timezone implements \Magento\Framework\Option\ArrayInterface { /** * Timezones that works incorrect with php_intl extension - * @since 2.0.0 */ protected $ignoredTimezones = [ 'Antarctica/Troll', @@ -28,13 +26,11 @@ class Timezone implements \Magento\Framework\Option\ArrayInterface /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -43,7 +39,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Weekdaycodes.php b/app/code/Magento/Config/Model/Config/Source/Locale/Weekdaycodes.php index 7c7b82c9e5f31..afe037d9da9f5 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Weekdaycodes.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Weekdaycodes.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Weekdaycodes implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Locale/Weekdays.php b/app/code/Magento/Config/Model/Config/Source/Locale/Weekdays.php index a114ded96d0da..13037bcbf1beb 100644 --- a/app/code/Magento/Config/Model/Config/Source/Locale/Weekdays.php +++ b/app/code/Magento/Config/Model/Config/Source/Locale/Weekdays.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Weekdays implements \Magento\Framework\Option\ArrayInterface { /** * @var \Magento\Framework\Locale\ListsInterface - * @since 2.0.0 */ protected $_localeLists; /** * @param \Magento\Framework\Locale\ListsInterface $localeLists - * @since 2.0.0 */ public function __construct(\Magento\Framework\Locale\ListsInterface $localeLists) { @@ -32,7 +29,6 @@ public function __construct(\Magento\Framework\Locale\ListsInterface $localeList /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Nooptreq.php b/app/code/Magento/Config/Model/Config/Source/Nooptreq.php index 3809232db3b58..defa9a46a513d 100644 --- a/app/code/Magento/Config/Model/Config/Source/Nooptreq.php +++ b/app/code/Magento/Config/Model/Config/Source/Nooptreq.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Nooptreq implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Reports/Scope.php b/app/code/Magento/Config/Model/Config/Source/Reports/Scope.php index 28fd73615eef0..5922216ce06d4 100644 --- a/app/code/Magento/Config/Model/Config/Source/Reports/Scope.php +++ b/app/code/Magento/Config/Model/Config/Source/Reports/Scope.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Scope implements \Magento\Framework\Option\ArrayInterface { @@ -21,7 +20,6 @@ class Scope implements \Magento\Framework\Option\ArrayInterface * Scope filter * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Store.php b/app/code/Magento/Config/Model/Config/Source/Store.php index afc28582b31c1..0c05e380f9279 100644 --- a/app/code/Magento/Config/Model/Config/Source/Store.php +++ b/app/code/Magento/Config/Model/Config/Source/Store.php @@ -7,25 +7,21 @@ /** * @api - * @since 2.0.0 */ class Store implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $_options; /** * @var \Magento\Store\Model\ResourceModel\Store\CollectionFactory - * @since 2.0.0 */ protected $_storesFactory; /** * @param \Magento\Store\Model\ResourceModel\Store\CollectionFactory $storesFactory - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\ResourceModel\Store\CollectionFactory $storesFactory) { @@ -34,7 +30,6 @@ public function __construct(\Magento\Store\Model\ResourceModel\Store\CollectionF /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Web/Protocol.php b/app/code/Magento/Config/Model/Config/Source/Web/Protocol.php index 83950f5ca7990..3a41481f2cdbb 100644 --- a/app/code/Magento/Config/Model/Config/Source/Web/Protocol.php +++ b/app/code/Magento/Config/Model/Config/Source/Web/Protocol.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Protocol implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Web/Redirect.php b/app/code/Magento/Config/Model/Config/Source/Web/Redirect.php index 8db5d95d0cf46..5d771eeb87974 100644 --- a/app/code/Magento/Config/Model/Config/Source/Web/Redirect.php +++ b/app/code/Magento/Config/Model/Config/Source/Web/Redirect.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Redirect implements \Magento\Framework\Option\ArrayInterface { /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Website.php b/app/code/Magento/Config/Model/Config/Source/Website.php index 6cf299632736f..9664dde93989f 100644 --- a/app/code/Magento/Config/Model/Config/Source/Website.php +++ b/app/code/Magento/Config/Model/Config/Source/Website.php @@ -7,25 +7,21 @@ /** * @api - * @since 2.0.0 */ class Website implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $_options; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -34,7 +30,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Website/AdminOptionHash.php b/app/code/Magento/Config/Model/Config/Source/Website/AdminOptionHash.php index fa294bd36dd72..a0ff7861129ee 100644 --- a/app/code/Magento/Config/Model/Config/Source/Website/AdminOptionHash.php +++ b/app/code/Magento/Config/Model/Config/Source/Website/AdminOptionHash.php @@ -12,14 +12,12 @@ * * This class is needed until the layout file supports supplying arguments to an option model. * @api - * @since 2.0.0 */ class AdminOptionHash extends OptionHash { /** * @param Store $systemStore * @param bool $withDefaultWebsite - * @since 2.0.0 */ public function __construct(Store $systemStore, $withDefaultWebsite = true) { diff --git a/app/code/Magento/Config/Model/Config/Source/Website/OptionHash.php b/app/code/Magento/Config/Model/Config/Source/Website/OptionHash.php index 1de97c949fa4c..89bc20bfe6a7f 100644 --- a/app/code/Magento/Config/Model/Config/Source/Website/OptionHash.php +++ b/app/code/Magento/Config/Model/Config/Source/Website/OptionHash.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class OptionHash implements ArrayInterface { @@ -18,20 +17,17 @@ class OptionHash implements ArrayInterface * System Store Model * * @var Store - * @since 2.0.0 */ protected $_systemStore; /** * @var bool True if the default website (Admin) should be included - * @since 2.0.0 */ protected $_withDefaultWebsite; /** * @param Store $systemStore * @param bool $withDefaultWebsite - * @since 2.0.0 */ public function __construct(Store $systemStore, $withDefaultWebsite = false) { @@ -43,7 +39,6 @@ public function __construct(Store $systemStore, $withDefaultWebsite = false) * Return websites array * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Yesno.php b/app/code/Magento/Config/Model/Config/Source/Yesno.php index 8eee0676a60d4..79797493aa308 100644 --- a/app/code/Magento/Config/Model/Config/Source/Yesno.php +++ b/app/code/Magento/Config/Model/Config/Source/Yesno.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Yesno implements \Magento\Framework\Option\ArrayInterface { @@ -15,7 +14,6 @@ class Yesno implements \Magento\Framework\Option\ArrayInterface * Options getter * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -26,7 +24,6 @@ public function toOptionArray() * Get options in "key-value" format * * @return array - * @since 2.0.0 */ public function toArray() { diff --git a/app/code/Magento/Config/Model/Config/Source/Yesnocustom.php b/app/code/Magento/Config/Model/Config/Source/Yesnocustom.php index 7021a7df9c5a1..5f40dd44def17 100644 --- a/app/code/Magento/Config/Model/Config/Source/Yesnocustom.php +++ b/app/code/Magento/Config/Model/Config/Source/Yesnocustom.php @@ -12,7 +12,6 @@ /** * @api - * @since 2.0.0 */ class Yesnocustom implements \Magento\Framework\Option\ArrayInterface { @@ -20,7 +19,6 @@ class Yesnocustom implements \Magento\Framework\Option\ArrayInterface * Options getter * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Config/Model/Config/SourceFactory.php b/app/code/Magento/Config/Model/Config/SourceFactory.php index b8c183b84ad17..b195648e5b331 100644 --- a/app/code/Magento/Config/Model/Config/SourceFactory.php +++ b/app/code/Magento/Config/Model/Config/SourceFactory.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class SourceFactory { @@ -15,13 +14,11 @@ class SourceFactory * Object manager * * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param string $modelName * @return \Magento\Framework\Option\ArrayInterface - * @since 2.0.0 */ public function create($modelName) { diff --git a/app/code/Magento/Config/Model/Config/Structure.php b/app/code/Magento/Config/Model/Config/Structure.php index 8fd7a1b74e2f8..9eefa0bba5502 100644 --- a/app/code/Magento/Config/Model/Config/Structure.php +++ b/app/code/Magento/Config/Model/Config/Structure.php @@ -42,7 +42,6 @@ * - the configuration path section/group/field * * @api - * @since 2.0.0 */ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterface { @@ -55,7 +54,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * Configuration structure represented as tree * * @var array - * @since 2.0.0 */ protected $_data; @@ -63,7 +61,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * Config tab iterator * * @var \Magento\Config\Model\Config\Structure\Element\Iterator\Tab - * @since 2.0.0 */ protected $_tabIterator; @@ -71,7 +68,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * Pool of config element flyweight objects * * @var \Magento\Config\Model\Config\Structure\Element\FlyweightFactory - * @since 2.0.0 */ protected $_flyweightFactory; @@ -79,7 +75,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * Provider of current config scope * * @var ScopeDefiner - * @since 2.0.0 */ protected $_scopeDefiner; @@ -87,7 +82,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * List of cached elements * * @var \Magento\Config\Model\Config\Structure\ElementInterface[] - * @since 2.0.0 */ protected $_elements; @@ -123,7 +117,6 @@ class Structure implements \Magento\Config\Model\Config\Structure\SearchInterfac * @param \Magento\Config\Model\Config\Structure\Element\Iterator\Tab $tabIterator * @param \Magento\Config\Model\Config\Structure\Element\FlyweightFactory $flyweightFactory * @param ScopeDefiner $scopeDefiner - * @since 2.0.0 */ public function __construct( \Magento\Config\Model\Config\Structure\Data $structureData, @@ -141,7 +134,6 @@ public function __construct( * Retrieve tab iterator * * @return \Magento\Config\Model\Config\Structure\Element\Iterator - * @since 2.0.0 */ public function getTabs() { @@ -182,7 +174,6 @@ public function getSectionList() * * @param string $path The structure path * @return \Magento\Config\Model\Config\Structure\ElementInterface|null - * @since 2.0.0 */ public function getElement($path) { @@ -212,7 +203,6 @@ public function getElementByConfigPath($path) * * @return Structure\ElementInterface * @throws LocalizedException - * @since 2.0.0 */ public function getFirstSection() { @@ -233,7 +223,6 @@ public function getFirstSection() * * @param string[] $pathParts * @return \Magento\Config\Model\Config\Structure\ElementInterface|null - * @since 2.0.0 */ public function getElementByPathParts(array $pathParts) { @@ -265,7 +254,6 @@ public function getElementByPathParts(array $pathParts) * * @param string[] $pathParts * @return array - * @since 2.0.0 */ protected function _createEmptyElement(array $pathParts) { @@ -289,7 +277,6 @@ protected function _createEmptyElement(array $pathParts) * @param string $attributeName * @param mixed $attributeValue * @return array - * @since 2.0.0 */ public function getFieldPathsByAttribute($attributeName, $attributeValue) { @@ -324,7 +311,6 @@ public function getFieldPathsByAttribute($attributeName, $attributeValue) * @param string $attributeName * @param mixed $attributeValue * @return array - * @since 2.0.0 */ protected function _getGroupFieldPathsByAttribute(array $fields, $parentPath, $attributeName, $attributeValue) { diff --git a/app/code/Magento/Config/Model/Config/Structure/AbstractElement.php b/app/code/Magento/Config/Model/Config/Structure/AbstractElement.php index 08a8a15f32183..2cc016560628a 100644 --- a/app/code/Magento/Config/Model/Config/Structure/AbstractElement.php +++ b/app/code/Magento/Config/Model/Config/Structure/AbstractElement.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractElement implements ElementInterface { @@ -19,7 +18,6 @@ abstract class AbstractElement implements ElementInterface * Element data * * @var array - * @since 2.0.0 */ protected $_data = []; @@ -27,7 +25,6 @@ abstract class AbstractElement implements ElementInterface * Current configuration scope * * @var string - * @since 2.0.0 */ protected $_scope; @@ -35,13 +32,11 @@ abstract class AbstractElement implements ElementInterface * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; @@ -54,7 +49,6 @@ abstract class AbstractElement implements ElementInterface /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Module\Manager $moduleManager - * @since 2.0.0 */ public function __construct(StoreManagerInterface $storeManager, \Magento\Framework\Module\Manager $moduleManager) { @@ -67,7 +61,6 @@ public function __construct(StoreManagerInterface $storeManager, \Magento\Framew * * @param string $code * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ protected function _getTranslatedAttribute($code) { @@ -83,7 +76,6 @@ protected function _getTranslatedAttribute($code) * @param array $data * @param string $scope * @return void - * @since 2.0.0 */ public function setData(array $data, $scope) { @@ -95,7 +87,6 @@ public function setData(array $data, $scope) * Retrieve flyweight data * * @return array - * @since 2.0.0 */ public function getData() { @@ -106,7 +97,6 @@ public function getData() * Retrieve element id * * @return string - * @since 2.0.0 */ public function getId() { @@ -117,7 +107,6 @@ public function getId() * Retrieve element label * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -128,7 +117,6 @@ public function getLabel() * Retrieve element label * * @return string - * @since 2.0.0 */ public function getComment() { @@ -139,7 +127,6 @@ public function getComment() * Retrieve frontend model class name * * @return string - * @since 2.0.0 */ public function getFrontendModel() { @@ -151,7 +138,6 @@ public function getFrontendModel() * * @param string $key * @return mixed - * @since 2.0.0 */ public function getAttribute($key) { @@ -162,7 +148,6 @@ public function getAttribute($key) * Check whether element should be displayed * * @return bool - * @since 2.0.0 */ public function isVisible() { @@ -193,7 +178,6 @@ public function isVisible() * * @param string $key * @return bool - * @since 2.0.0 */ protected function _hasVisibilityValue($key) { @@ -204,7 +188,6 @@ protected function _hasVisibilityValue($key) * Retrieve css class of a tab * * @return string - * @since 2.0.0 */ public function getClass() { @@ -217,7 +200,6 @@ public function getClass() * @param string $fieldId * @param string $fieldPrefix * @return string - * @since 2.0.0 */ protected function _getPath($fieldId, $fieldPrefix = '') { @@ -230,7 +212,6 @@ protected function _getPath($fieldId, $fieldPrefix = '') * * @param string $fieldPrefix * @return string - * @since 2.0.0 */ public function getPath($fieldPrefix = '') { diff --git a/app/code/Magento/Config/Model/Config/Structure/AbstractMapper.php b/app/code/Magento/Config/Model/Config/Structure/AbstractMapper.php index f3e5969ef7238..e4f4838c82573 100644 --- a/app/code/Magento/Config/Model/Config/Structure/AbstractMapper.php +++ b/app/code/Magento/Config/Model/Config/Structure/AbstractMapper.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractMapper implements MapperInterface { @@ -21,7 +20,6 @@ abstract class AbstractMapper implements MapperInterface * @param string $key * @param array $target * @return bool - * @since 2.0.0 */ protected function _hasValue($key, $target) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Converter.php b/app/code/Magento/Config/Model/Config/Structure/Converter.php index a70290bae39ee..caf898a7c3e39 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Converter.php +++ b/app/code/Magento/Config/Model/Config/Structure/Converter.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { /** * @var \Magento\Config\Model\Config\Structure\Mapper\Factory - * @since 2.0.0 */ protected $_mapperFactory; @@ -21,7 +19,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * Mapper type list * * @var string[] - * @since 2.0.0 */ protected $_mapperList = [ \Magento\Config\Model\Config\Structure\Mapper\Factory::MAPPER_EXTENDS, @@ -38,7 +35,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * E.G. first element makes all 'tab' nodes be renamed to 'tabs' in system node. * * @var array - * @since 2.0.0 */ protected $_nameMap = [ 'system' => ['tab' => 'tabs', 'section' => 'sections'], @@ -49,7 +45,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface /** * @param \Magento\Config\Model\Config\Structure\Mapper\Factory $mapperFactory - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure\Mapper\Factory $mapperFactory) { @@ -61,7 +56,6 @@ public function __construct(\Magento\Config\Model\Config\Structure\Mapper\Factor * * @param \DOMNode $source * @return array - * @since 2.0.0 */ public function convert($source) { @@ -83,7 +77,6 @@ public function convert($source) * @return array|null * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _convertDOMDocument(\DOMNode $root) { @@ -164,7 +157,6 @@ protected function _convertDOMDocument(\DOMNode $root) * @param array $result * @param string $childName * @return array - * @since 2.0.0 */ protected function _addProcessedNode($convertedChild, $result, $childName) { @@ -181,7 +173,6 @@ protected function _addProcessedNode($convertedChild, $result, $childName) * * @param \DOMNode $root * @return array - * @since 2.0.0 */ protected function _processAttributes(\DOMNode $root) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Data.php b/app/code/Magento/Config/Model/Config/Structure/Data.php index 351495a249246..3714d5128d2d0 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Data.php +++ b/app/code/Magento/Config/Model/Config/Structure/Data.php @@ -10,7 +10,6 @@ /** * Provides configuration * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\Config\Data\Scoped { @@ -22,7 +21,6 @@ class Data extends \Magento\Framework\Config\Data\Scoped * @param \Magento\Framework\Config\CacheInterface $cache * @param string $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( Reader $reader, @@ -39,7 +37,6 @@ public function __construct( * * @param array $config * @return void - * @since 2.0.0 */ public function merge(array $config) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/AbstractComposite.php b/app/code/Magento/Config/Model/Config/Structure/Element/AbstractComposite.php index fc62bc711deb8..197a8f2232f21 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/AbstractComposite.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/AbstractComposite.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ abstract class AbstractComposite extends \Magento\Config\Model\Config\Structure\AbstractElement { @@ -15,7 +14,6 @@ abstract class AbstractComposite extends \Magento\Config\Model\Config\Structure\ * Child elements iterator * * @var Iterator - * @since 2.0.0 */ protected $_childrenIterator; @@ -23,7 +21,6 @@ abstract class AbstractComposite extends \Magento\Config\Model\Config\Structure\ * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Module\Manager $moduleManager * @param Iterator $childrenIterator - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -40,7 +37,6 @@ public function __construct( * @param array $data * @param string $scope * @return void - * @since 2.0.0 */ public function setData(array $data, $scope) { @@ -58,7 +54,6 @@ public function setData(array $data, $scope) * Check whether element has visible child elements * * @return bool - * @since 2.0.0 */ public function hasChildren() { @@ -72,7 +67,6 @@ public function hasChildren() * Retrieve children iterator * * @return \Magento\Config\Model\Config\Structure\Element\Iterator - * @since 2.0.0 */ public function getChildren() { @@ -83,7 +77,6 @@ public function getChildren() * Check whether element is visible * * @return bool - * @since 2.0.0 */ public function isVisible() { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Field.php b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Field.php index ce9586482b57c..74576411b089f 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Field.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Field.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Field { @@ -15,7 +14,6 @@ class Field * Values for dependence * * @var string[] - * @since 2.0.0 */ protected $_values; @@ -23,7 +21,6 @@ class Field * Id of the dependent field * * @var string - * @since 2.0.0 */ protected $_id; @@ -31,14 +28,12 @@ class Field * Whether dependence is for negative comparison * * @var bool - * @since 2.0.0 */ protected $_isNegative = false; /** * @param array $fieldData * @param string $fieldPrefix - * @since 2.0.0 */ public function __construct(array $fieldData = [], $fieldPrefix = "") { @@ -64,7 +59,6 @@ public function __construct(array $fieldData = [], $fieldPrefix = "") * * @param string $value * @return bool - * @since 2.0.0 */ public function isValueSatisfy($value) { @@ -75,7 +69,6 @@ public function isValueSatisfy($value) * Get id of the dependent field * * @return string - * @since 2.0.0 */ public function getId() { @@ -86,7 +79,6 @@ public function getId() * Get values for dependence * * @return string[] - * @since 2.0.0 */ public function getValues() { @@ -97,7 +89,6 @@ public function getValues() * Get negative indication of dependency * * @return bool - * @since 2.0.0 */ public function isNegative() { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/FieldFactory.php b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/FieldFactory.php index 989901b639a71..8a227bace0ed1 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/FieldFactory.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/FieldFactory.php @@ -7,19 +7,16 @@ /** * @api - * @since 2.0.0 */ class FieldFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -31,7 +28,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param array $arguments * @return Field - * @since 2.0.0 */ public function create(array $arguments = []) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Mapper.php b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Mapper.php index f4d6aaf0f8ac8..676e74f6c9be9 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Mapper.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Dependency/Mapper.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Mapper { @@ -15,7 +14,6 @@ class Mapper * Field locator model * * @var \Magento\Config\Model\Config\Structure\SearchInterface - * @since 2.0.0 */ protected $_fieldLocator; @@ -23,13 +21,11 @@ class Mapper * Dependency Field model * * @var FieldFactory - * @since 2.0.0 */ protected $_fieldFactory; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -37,7 +33,6 @@ class Mapper * @param \Magento\Config\Model\Config\Structure\SearchInterface $fieldLocator * @param FieldFactory $fieldFactory * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\Config\Model\Config\Structure\SearchInterface $fieldLocator, @@ -56,7 +51,6 @@ public function __construct( * @param string $storeCode * @param string $fieldPrefix * @return array - * @since 2.0.0 */ public function getDependencies($dependencies, $storeCode, $fieldPrefix = '') { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Field.php b/app/code/Magento/Config/Model/Config/Structure/Element/Field.php index ac9e035203f13..5a093bb056fe4 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Field.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Field.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement { @@ -22,7 +21,6 @@ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement * Backend model factory * * @var \Magento\Config\Model\Config\BackendFactory - * @since 2.0.0 */ protected $_backendFactory; @@ -30,7 +28,6 @@ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement * Source model factory * * @var \Magento\Config\Model\Config\SourceFactory - * @since 2.0.0 */ protected $_sourceFactory; @@ -38,14 +35,12 @@ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement * Comment model factory * * @var \Magento\Config\Model\Config\CommentFactory - * @since 2.0.0 */ protected $_commentFactory; /** * * @var \Magento\Config\Model\Config\Structure\Element\Dependency\Mapper - * @since 2.0.0 */ protected $_dependencyMapper; @@ -53,7 +48,6 @@ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement * Block factory * * @var \Magento\Framework\View\Element\BlockFactory - * @since 2.0.0 */ protected $_blockFactory; @@ -65,7 +59,6 @@ class Field extends \Magento\Config\Model\Config\Structure\AbstractElement * @param \Magento\Config\Model\Config\CommentFactory $commentFactory * @param \Magento\Framework\View\Element\BlockFactory $blockFactory * @param Dependency\Mapper $dependencyMapper - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -89,7 +82,6 @@ public function __construct( * * @param string $labelPrefix * @return string - * @since 2.0.0 */ public function getLabel($labelPrefix = '') { @@ -105,7 +97,6 @@ public function getLabel($labelPrefix = '') * Retrieve field hint * * @return string - * @since 2.0.0 */ public function getHint() { @@ -117,7 +108,6 @@ public function getHint() * * @param string $currentValue * @return string - * @since 2.0.0 */ public function getComment($currentValue = '') { @@ -139,7 +129,6 @@ public function getComment($currentValue = '') * Retrieve tooltip text * * @return string - * @since 2.0.0 */ public function getTooltip() { @@ -155,7 +144,6 @@ public function getTooltip() * Retrieve field type * * @return string - * @since 2.0.0 */ public function getType() { @@ -168,7 +156,6 @@ public function getType() * @param string $fieldPrefix * @param string $elementType * @return string[] - * @since 2.0.0 */ protected function _getRequiredElements($fieldPrefix = '', $elementType = 'group') { @@ -190,7 +177,6 @@ protected function _getRequiredElements($fieldPrefix = '', $elementType = 'group * * @param string $fieldPrefix * @return string[] - * @since 2.0.0 */ public function getRequiredGroups($fieldPrefix = '') { @@ -202,7 +188,6 @@ public function getRequiredGroups($fieldPrefix = '') * * @param string $fieldPrefix * @return string[] - * @since 2.0.0 */ public function getRequiredFields($fieldPrefix = '') { @@ -213,7 +198,6 @@ public function getRequiredFields($fieldPrefix = '') * Retrieve frontend css class * * @return string - * @since 2.0.0 */ public function getFrontendClass() { @@ -224,7 +208,6 @@ public function getFrontendClass() * Check whether field has backend model * * @return bool - * @since 2.0.0 */ public function hasBackendModel() { @@ -235,7 +218,6 @@ public function hasBackendModel() * Retrieve backend model * * @return \Magento\Framework\App\Config\ValueInterface - * @since 2.0.0 */ public function getBackendModel() { @@ -246,7 +228,6 @@ public function getBackendModel() * Retrieve field section id * * @return string - * @since 2.0.0 */ public function getSectionId() { @@ -258,7 +239,6 @@ public function getSectionId() * Retrieve field group path * * @return string - * @since 2.0.0 */ public function getGroupPath() { @@ -269,7 +249,6 @@ public function getGroupPath() * Retrieve config path * * @return null|string - * @since 2.0.0 */ public function getConfigPath() { @@ -280,7 +259,6 @@ public function getConfigPath() * Check whether field should be shown in default scope * * @return bool - * @since 2.0.0 */ public function showInDefault() { @@ -291,7 +269,6 @@ public function showInDefault() * Check whether field should be shown in website scope * * @return bool - * @since 2.0.0 */ public function showInWebsite() { @@ -302,7 +279,6 @@ public function showInWebsite() * Check whether field should be shown in store scope * * @return bool - * @since 2.0.0 */ public function showInStore() { @@ -325,7 +301,6 @@ public function canRestore() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $formField * @return void - * @since 2.0.0 */ public function populateInput($formField) { @@ -342,7 +317,6 @@ public function populateInput($formField) * Check whether field has validation class * * @return bool - * @since 2.0.0 */ public function hasValidation() { @@ -353,7 +327,6 @@ public function hasValidation() * Retrieve field validation class * * @return string - * @since 2.0.0 */ public function getValidation() { @@ -364,7 +337,6 @@ public function getValidation() * Check whether field can be empty * * @return bool - * @since 2.0.0 */ public function canBeEmpty() { @@ -375,7 +347,6 @@ public function canBeEmpty() * Check whether field has source model * * @return bool - * @since 2.0.0 */ public function hasSourceModel() { @@ -386,7 +357,6 @@ public function hasSourceModel() * Check whether field has options or source model * * @return bool - * @since 2.0.0 */ public function hasOptions() { @@ -397,7 +367,6 @@ public function hasOptions() * Retrieve static options or source model option list * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -418,7 +387,6 @@ public function getOptions() * * @param array $options * @return array - * @since 2.0.0 */ protected function _getStaticOptions(array $options) { @@ -434,7 +402,6 @@ protected function _getStaticOptions(array $options) * * @param string $label an option label that should be translated * @return \Magento\Framework\Phrase - * @since 2.0.0 */ private function _translateLabel($label) { @@ -446,7 +413,6 @@ private function _translateLabel($label) * * @param string $value an option value that may contain a placeholder for a constant value * @return mixed|string the value after being replaced by the constant if needed - * @since 2.0.0 */ private function _fillInConstantPlaceholders($value) { @@ -461,7 +427,6 @@ private function _fillInConstantPlaceholders($value) * * @param string $sourceModel Source model class name or class::method * @return array - * @since 2.0.0 */ protected function _getOptionsFromSourceModel($sourceModel) { @@ -500,7 +465,6 @@ protected function _getOptionsFromSourceModel($sourceModel) * @param string $fieldPrefix * @param string $storeCode * @return array - * @since 2.0.0 */ public function getDependencies($fieldPrefix, $storeCode) { @@ -520,7 +484,6 @@ public function getDependencies($fieldPrefix, $storeCode) * Check whether element should be displayed for advanced users * * @return bool - * @since 2.0.0 */ public function isAdvanced() { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/FlyweightFactory.php b/app/code/Magento/Config/Model/Config/Structure/Element/FlyweightFactory.php index 9f91c5ad8bae5..cb8cdaaa0c60c 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/FlyweightFactory.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/FlyweightFactory.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class FlyweightFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; @@ -21,7 +19,6 @@ class FlyweightFactory * Map of flyweight types * * @var array - * @since 2.0.0 */ protected $_flyweightMap = [ 'section' => \Magento\Config\Model\Config\Structure\Element\Section::class, @@ -31,7 +28,6 @@ class FlyweightFactory /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -43,7 +39,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * * @param string $type * @return \Magento\Config\Model\Config\Structure\ElementInterface - * @since 2.0.0 */ public function create($type) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Group.php b/app/code/Magento/Config/Model/Config/Structure/Element/Group.php index 66ed512521790..e6eaeeb9615f0 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Group.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Group.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Group extends AbstractComposite { @@ -18,14 +17,12 @@ class Group extends AbstractComposite * Group clone model factory * * @var \Magento\Config\Model\Config\BackendClone\Factory - * @since 2.0.0 */ protected $_cloneModelFactory; /** * * @var \Magento\Config\Model\Config\Structure\Element\Dependency\Mapper - * @since 2.0.0 */ protected $_dependencyMapper; @@ -35,7 +32,6 @@ class Group extends AbstractComposite * @param Iterator\Field $childrenIterator * @param \Magento\Config\Model\Config\BackendClone\Factory $cloneModelFactory * @param Dependency\Mapper $dependencyMapper - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -53,7 +49,6 @@ public function __construct( * Should group fields be cloned * * @return bool - * @since 2.0.0 */ public function shouldCloneFields() { @@ -65,7 +60,6 @@ public function shouldCloneFields() * * @return \Magento\Framework\Model\AbstractModel * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getCloneModel() { @@ -82,7 +76,6 @@ public function getCloneModel() * * @param \Magento\Framework\Data\Form\Element\Fieldset $fieldset * @return void - * @since 2.0.0 */ public function populateFieldset(\Magento\Framework\Data\Form\Element\Fieldset $fieldset) { @@ -99,7 +92,6 @@ public function populateFieldset(\Magento\Framework\Data\Form\Element\Fieldset $ * Check whether group should be expanded * * @return bool - * @since 2.0.0 */ public function isExpanded() { @@ -110,7 +102,6 @@ public function isExpanded() * Retrieve group fieldset css * * @return string - * @since 2.0.0 */ public function getFieldsetCss() { @@ -122,7 +113,6 @@ public function getFieldsetCss() * * @param string $storeCode * @return array - * @since 2.0.0 */ public function getDependencies($storeCode) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Group/Proxy.php b/app/code/Magento/Config/Model/Config/Structure/Element/Group/Proxy.php index 1348bf729ce7c..499d91557e512 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Group/Proxy.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Group/Proxy.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Proxy extends \Magento\Config\Model\Config\Structure\Element\Group implements \Magento\Framework\ObjectManager\NoninterceptableInterface @@ -15,19 +14,16 @@ class Proxy extends \Magento\Config\Model\Config\Structure\Element\Group impleme /** * Object manager * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @var \Magento\Config\Model\Config\Structure\Element\Group - * @since 2.0.0 */ protected $_subject; /** * @param \Magento\Framework\ObjectManagerInterface $objectManger - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManger) { @@ -38,7 +34,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * Retrieve subject * * @return \Magento\Config\Model\Config\Structure\Element\Group - * @since 2.0.0 */ protected function _getSubject() { @@ -56,7 +51,6 @@ protected function _getSubject() * @param array $data * @param string $scope * @return void - * @since 2.0.0 */ public function setData(array $data, $scope) { @@ -67,7 +61,6 @@ public function setData(array $data, $scope) * Retrieve element id * * @return string - * @since 2.0.0 */ public function getId() { @@ -78,7 +71,6 @@ public function getId() * Retrieve element label * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -89,7 +81,6 @@ public function getLabel() * Retrieve element label * * @return string - * @since 2.0.0 */ public function getComment() { @@ -100,7 +91,6 @@ public function getComment() * Retrieve frontend model class name * * @return string - * @since 2.0.0 */ public function getFrontendModel() { @@ -112,7 +102,6 @@ public function getFrontendModel() * * @param string $key * @return mixed - * @since 2.0.0 */ public function getAttribute($key) { @@ -123,7 +112,6 @@ public function getAttribute($key) * Check whether section is allowed for current user * * @return bool - * @since 2.0.0 */ public function isAllowed() { @@ -136,7 +124,6 @@ public function isAllowed() * @param string $websiteCode * @param string $storeCode * @return bool - * @since 2.0.0 */ public function isVisible($websiteCode = '', $storeCode = '') { @@ -147,7 +134,6 @@ public function isVisible($websiteCode = '', $storeCode = '') * Retrieve css class of a tab * * @return string - * @since 2.0.0 */ public function getClass() { @@ -158,7 +144,6 @@ public function getClass() * Check whether element has visible child elements * * @return bool - * @since 2.0.0 */ public function hasChildren() { @@ -169,7 +154,6 @@ public function hasChildren() * Retrieve children iterator * * @return \Magento\Config\Model\Config\Structure\Element\Iterator - * @since 2.0.0 */ public function getChildren() { @@ -180,7 +164,6 @@ public function getChildren() * Should group fields be cloned * * @return bool - * @since 2.0.0 */ public function shouldCloneFields() { @@ -191,7 +174,6 @@ public function shouldCloneFields() * Retrieve clone model * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function getCloneModel() { @@ -203,7 +185,6 @@ public function getCloneModel() * * @param \Magento\Framework\Data\Form\Element\Fieldset $fieldset * @return void - * @since 2.0.0 */ public function populateFieldset(\Magento\Framework\Data\Form\Element\Fieldset $fieldset) { @@ -214,7 +195,6 @@ public function populateFieldset(\Magento\Framework\Data\Form\Element\Fieldset $ * Retrieve element data * * @return array - * @since 2.0.0 */ public function getData() { @@ -226,7 +206,6 @@ public function getData() * * @param string $fieldPrefix * @return string - * @since 2.0.0 */ public function getPath($fieldPrefix = '') { @@ -237,7 +216,6 @@ public function getPath($fieldPrefix = '') * Check whether element should be expanded * * @return bool - * @since 2.0.0 */ public function isExpanded() { @@ -248,7 +226,6 @@ public function isExpanded() * Retrieve fieldset css * * @return string - * @since 2.0.0 */ public function getFieldsetCss() { @@ -260,7 +237,6 @@ public function getFieldsetCss() * * @param string $storeCode * @return array - * @since 2.0.0 */ public function getDependencies($storeCode) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php index bd841ee4b2144..2678c43be3c6d 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Iterator implements \Iterator { @@ -15,7 +14,6 @@ class Iterator implements \Iterator * List of element data * * @var \Magento\Config\Model\Config\Structure\ElementInterface[] - * @since 2.0.0 */ protected $_elements; @@ -23,7 +21,6 @@ class Iterator implements \Iterator * Config structure element flyweight * * @var \Magento\Config\Model\Config\Structure\AbstractElement - * @since 2.0.0 */ protected $_flyweight; @@ -31,7 +28,6 @@ class Iterator implements \Iterator * Configuration scope * * @var string - * @since 2.0.0 */ protected $_scope; @@ -39,13 +35,11 @@ class Iterator implements \Iterator * Last element id * * @var string - * @since 2.0.0 */ protected $_lastId; /** * @param \Magento\Config\Model\Config\Structure\AbstractElement $element - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure\AbstractElement $element) { @@ -58,7 +52,6 @@ public function __construct(\Magento\Config\Model\Config\Structure\AbstractEleme * @param array $elements * @param string $scope * @return void - * @since 2.0.0 */ public function setElements(array $elements, $scope) { @@ -74,7 +67,6 @@ public function setElements(array $elements, $scope) * Return the current element * * @return \Magento\Config\Model\Config\Structure\ElementInterface - * @since 2.0.0 */ public function current() { @@ -85,7 +77,6 @@ public function current() * Move forward to next element * * @return void Any returned value is ignored. - * @since 2.0.0 */ public function next() { @@ -103,7 +94,6 @@ public function next() * * @param array $element * @return void - * @since 2.0.0 */ protected function _initFlyweight(array $element) { @@ -114,7 +104,6 @@ protected function _initFlyweight(array $element) * Return the key of the current element * * @return void - * @since 2.0.0 */ public function key() { @@ -126,7 +115,6 @@ public function key() * * @return bool The return value will be casted to boolean and then evaluated. * Returns true on success or false on failure. - * @since 2.0.0 */ public function valid() { @@ -137,7 +125,6 @@ public function valid() * Rewind the \Iterator to the first element * * @return void Any returned value is ignored. - * @since 2.0.0 */ public function rewind() { @@ -155,7 +142,6 @@ public function rewind() * * @param \Magento\Config\Model\Config\Structure\ElementInterface $element * @return bool - * @since 2.0.0 */ public function isLast(\Magento\Config\Model\Config\Structure\ElementInterface $element) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Field.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Field.php index be43dec6216ca..c5f6f8a20bc41 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Field.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Field.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Field extends \Magento\Config\Model\Config\Structure\Element\Iterator { @@ -15,7 +14,6 @@ class Field extends \Magento\Config\Model\Config\Structure\Element\Iterator * Group flyweight * * @var \Magento\Config\Model\Config\Structure\Element\Group - * @since 2.0.0 */ protected $_groupFlyweight; @@ -23,14 +21,12 @@ class Field extends \Magento\Config\Model\Config\Structure\Element\Iterator * Field element flyweight * * @var \Magento\Config\Model\Config\Structure\Element\Field - * @since 2.0.0 */ protected $_fieldFlyweight; /** * @param \Magento\Config\Model\Config\Structure\Element\Group $groupFlyweight * @param \Magento\Config\Model\Config\Structure\Element\Field $fieldFlyweight - * @since 2.0.0 */ public function __construct( \Magento\Config\Model\Config\Structure\Element\Group $groupFlyweight, @@ -46,7 +42,6 @@ public function __construct( * @param array $element * @return void * @throws \LogicException - * @since 2.0.0 */ protected function _initFlyweight(array $element) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Group.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Group.php index 559397aba19a5..c1b6f16ecdcf2 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Group.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Group.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Group extends \Magento\Config\Model\Config\Structure\Element\Iterator { /** * @param \Magento\Config\Model\Config\Structure\Element\Group $element - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure\Element\Group $element) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Section.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Section.php index e2882cdc0fd9a..1cfd865a4c3f6 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Section.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Section.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Section extends \Magento\Config\Model\Config\Structure\Element\Iterator { /** * @param \Magento\Config\Model\Config\Structure\Element\Section $element - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure\Element\Section $element) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Tab.php b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Tab.php index 1f677823242fc..eb63e0622e205 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Tab.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Iterator/Tab.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Tab extends \Magento\Config\Model\Config\Structure\Element\Iterator { /** * @param \Magento\Config\Model\Config\Structure\Element\Tab $element - * @since 2.0.0 */ public function __construct(\Magento\Config\Model\Config\Structure\Element\Tab $element) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Section.php b/app/code/Magento/Config/Model/Config/Structure/Element/Section.php index 28c080257bde2..4f748c194374b 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Section.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Section.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Section extends AbstractComposite { @@ -15,7 +14,6 @@ class Section extends AbstractComposite * Authorization service * * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $_authorization; @@ -24,7 +22,6 @@ class Section extends AbstractComposite * @param \Magento\Framework\Module\Manager $moduleManager * @param Iterator $childrenIterator * @param \Magento\Framework\AuthorizationInterface $authorization - * @since 2.0.0 */ public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, @@ -40,7 +37,6 @@ public function __construct( * Retrieve section header css * * @return string - * @since 2.0.0 */ public function getHeaderCss() { @@ -51,7 +47,6 @@ public function getHeaderCss() * Check whether section is allowed for current user * * @return bool - * @since 2.0.0 */ public function isAllowed() { @@ -62,7 +57,6 @@ public function isAllowed() * Check whether element should be displayed * * @return bool - * @since 2.0.0 */ public function isVisible() { diff --git a/app/code/Magento/Config/Model/Config/Structure/Element/Tab.php b/app/code/Magento/Config/Model/Config/Structure/Element/Tab.php index 33909cee033dd..a6a745a61573f 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Element/Tab.php +++ b/app/code/Magento/Config/Model/Config/Structure/Element/Tab.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Tab extends AbstractComposite { @@ -15,7 +14,6 @@ class Tab extends AbstractComposite * Check whether tab is visible * * @return bool - * @since 2.0.0 */ public function isVisible() { diff --git a/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php b/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php index 3c0c44ce43dae..dc03fd2a6ed09 100644 --- a/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php +++ b/app/code/Magento/Config/Model/Config/Structure/ElementInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface ElementInterface { @@ -17,7 +16,6 @@ interface ElementInterface * @param array $data * @param string $scope * @return void - * @since 2.0.0 */ public function setData(array $data, $scope); @@ -25,7 +23,6 @@ public function setData(array $data, $scope); * Retrieve element configuration * * @return array - * @since 2.0.0 */ public function getData(); @@ -33,7 +30,6 @@ public function getData(); * Retrieve element id * * @return string - * @since 2.0.0 */ public function getId(); @@ -41,7 +37,6 @@ public function getId(); * Retrieve element label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -49,7 +44,6 @@ public function getLabel(); * Check whether element is visible * * @return bool - * @since 2.0.0 */ public function isVisible(); @@ -58,7 +52,6 @@ public function isVisible(); * * @param string $key * @return mixed - * @since 2.0.0 */ public function getAttribute($key); } diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Attribute/Inheritance.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Attribute/Inheritance.php index 5b403e990c74d..6a44b0fc8984e 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Attribute/Inheritance.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Attribute/Inheritance.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Inheritance implements \Magento\Config\Model\Config\Structure\MapperInterface { @@ -20,7 +19,6 @@ class Inheritance implements \Magento\Config\Model\Config\Structure\MapperInterf * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Dependencies.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Dependencies.php index 2b8fff9b158c9..5c2f5059885b9 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Dependencies.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Dependencies.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Dependencies extends \Magento\Config\Model\Config\Structure\AbstractMapper { @@ -19,13 +18,11 @@ class Dependencies extends \Magento\Config\Model\Config\Structure\AbstractMapper * Class that can convert relative paths from "depends" node to absolute * * @var \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter - * @since 2.0.0 */ protected $_pathConverter; /** * @param \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter $pathConverted - * @since 2.0.0 */ public function __construct( \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter $pathConverted @@ -38,7 +35,6 @@ public function __construct( * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { @@ -55,7 +51,6 @@ public function map(array $data) * * @param array $config * @return array - * @since 2.0.0 */ protected function _processConfig($config) { @@ -74,7 +69,6 @@ protected function _processConfig($config) * * @param array $config * @return array - * @since 2.0.0 */ protected function _processDepends($config) { @@ -95,7 +89,6 @@ protected function _processDepends($config) * @param array $config * @return string[] * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function _getDependPath($field, $config) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/ExtendsMapper.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/ExtendsMapper.php index 767896479a459..8851891cb3103 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/ExtendsMapper.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/ExtendsMapper.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class ExtendsMapper extends \Magento\Config\Model\Config\Structure\AbstractMapper { @@ -19,7 +18,6 @@ class ExtendsMapper extends \Magento\Config\Model\Config\Structure\AbstractMappe * System configuration array * * @var array - * @since 2.0.0 */ protected $_systemConfiguration; @@ -27,7 +25,6 @@ class ExtendsMapper extends \Magento\Config\Model\Config\Structure\AbstractMappe * List of already extended notes (used to break circular extends) * * @var string[] - * @since 2.0.0 */ protected $_extendedNodesList = []; @@ -35,13 +32,11 @@ class ExtendsMapper extends \Magento\Config\Model\Config\Structure\AbstractMappe * Class that can convert relative paths from "extends" node to absolute * * @var \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter - * @since 2.0.0 */ protected $_pathConverter; /** * @param \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter $pathConverted - * @since 2.0.0 */ public function __construct( \Magento\Config\Model\Config\Structure\Mapper\Helper\RelativePathConverter $pathConverted @@ -54,7 +49,6 @@ public function __construct( * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { @@ -76,7 +70,6 @@ public function map(array $data) * * @param string $path * @return void - * @since 2.0.0 */ protected function _traverseAndExtend($path) { @@ -102,7 +95,6 @@ protected function _traverseAndExtend($path) * * @param string $path * @return array - * @since 2.0.0 */ protected function _getDataByPath($path) { @@ -126,7 +118,6 @@ protected function _getDataByPath($path) * @param string $extendSourceNode * @return array * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function _extendNode($path, $extendSourceNode) { @@ -164,7 +155,6 @@ protected function _extendNode($path, $extendSourceNode) * @param array $arr1 * @param array $arr2 * @return array - * @since 2.0.0 */ protected function _mergeData($arr1, $arr2) { @@ -185,7 +175,6 @@ protected function _mergeData($arr1, $arr2) * @param string $path * @param array $newData * @return void - * @since 2.0.0 */ protected function _replaceData($path, $newData) { @@ -207,7 +196,6 @@ protected function _replaceData($path, $newData) * * @param string $path * @return string[] - * @since 2.0.0 */ protected function _transformPathToKeysList($path) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Factory.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Factory.php index 4998974174628..9707b9870289b 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Factory.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Factory.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Factory { @@ -29,13 +28,11 @@ class Factory /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @var array - * @since 2.0.0 */ protected $_typeMap = [ self::MAPPER_SORTING => \Magento\Config\Model\Config\Structure\Mapper\Sorting::class, @@ -49,7 +46,6 @@ class Factory /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -62,7 +58,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param string $type * @return \Magento\Config\Model\Config\Structure\MapperInterface * @throws \Exception - * @since 2.0.0 */ public function create($type) { @@ -85,7 +80,6 @@ public function create($type) * @param string $type * @return string * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function _getMapperClassNameByType($type) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Helper/RelativePathConverter.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Helper/RelativePathConverter.php index 8a0f750d78b69..324fbb0dce244 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Helper/RelativePathConverter.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Helper/RelativePathConverter.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class RelativePathConverter { @@ -22,7 +21,6 @@ class RelativePathConverter * @param string $relativePath * @return string * @throws \InvalidArgumentException - * @since 2.0.0 */ public function convert($nodePath, $relativePath) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Ignore.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Ignore.php index df7032faac96a..7399b00a9f97b 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Ignore.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Ignore.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Ignore implements \Magento\Config\Model\Config\Structure\MapperInterface { @@ -20,7 +19,6 @@ class Ignore implements \Magento\Config\Model\Config\Structure\MapperInterface * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Path.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Path.php index da3829c1d8208..b200849769467 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Path.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Path.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Path extends \Magento\Config\Model\Config\Structure\AbstractMapper { @@ -20,7 +19,6 @@ class Path extends \Magento\Config\Model\Config\Structure\AbstractMapper * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { @@ -42,7 +40,6 @@ public function map(array $data) * @param array $elementConfig * @param array $parentConfig * @return array - * @since 2.0.0 */ protected function _processConfig(array $elementConfig, array $parentConfig) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Mapper/Sorting.php b/app/code/Magento/Config/Model/Config/Structure/Mapper/Sorting.php index 1c7fc5308f66a..e6085b416e041 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Mapper/Sorting.php +++ b/app/code/Magento/Config/Model/Config/Structure/Mapper/Sorting.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Sorting extends \Magento\Config\Model\Config\Structure\AbstractMapper { @@ -20,7 +19,6 @@ class Sorting extends \Magento\Config\Model\Config\Structure\AbstractMapper * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data) { @@ -33,7 +31,6 @@ public function map(array $data) /** * @param array $data * @return array - * @since 2.0.0 */ protected function _processConfig($data) { @@ -52,7 +49,6 @@ protected function _processConfig($data) * @param array $elementA * @param array $elementB * @return int - * @since 2.0.0 */ protected function _cmp($elementA, $elementB) { diff --git a/app/code/Magento/Config/Model/Config/Structure/MapperInterface.php b/app/code/Magento/Config/Model/Config/Structure/MapperInterface.php index 18819b6658089..d72fe18738477 100644 --- a/app/code/Magento/Config/Model/Config/Structure/MapperInterface.php +++ b/app/code/Magento/Config/Model/Config/Structure/MapperInterface.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ interface MapperInterface { @@ -20,7 +19,6 @@ interface MapperInterface * * @param array $data * @return array - * @since 2.0.0 */ public function map(array $data); } diff --git a/app/code/Magento/Config/Model/Config/Structure/Reader.php b/app/code/Magento/Config/Model/Config/Structure/Reader.php index 53648a59c4c65..a271da897336a 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Reader.php +++ b/app/code/Magento/Config/Model/Config/Structure/Reader.php @@ -15,7 +15,6 @@ /** * Class Reader * @api - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -23,7 +22,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * List of identifier attributes for merging * * @var array - * @since 2.0.0 */ protected $_idAttributes = [ '/config/system/tab' => 'id', @@ -36,7 +34,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem /** * @var CompilerInterface - * @since 2.0.0 */ protected $compiler; @@ -52,7 +49,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, @@ -84,7 +80,6 @@ public function __construct( * @param array $fileList * @return array * @throws LocalizedException - * @since 2.0.0 */ protected function _readFiles($fileList) { @@ -129,7 +124,6 @@ protected function _readFiles($fileList) * * @param string $content * @return string - * @since 2.0.0 */ protected function processingDocument($content) { diff --git a/app/code/Magento/Config/Model/Config/Structure/Search/Proxy.php b/app/code/Magento/Config/Model/Config/Structure/Search/Proxy.php index cdd350786bfe0..9c8a4f704a234 100644 --- a/app/code/Magento/Config/Model/Config/Structure/Search/Proxy.php +++ b/app/code/Magento/Config/Model/Config/Structure/Search/Proxy.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Proxy implements \Magento\Config\Model\Config\Structure\SearchInterface, @@ -16,19 +15,16 @@ class Proxy implements /** * Object manager * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @var \Magento\Config\Model\Config\Structure - * @since 2.0.0 */ protected $_subject; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -39,7 +35,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * Retrieve subject * * @return \Magento\Config\Model\Config\Structure\SearchInterface - * @since 2.0.0 */ protected function _getSubject() { @@ -54,7 +49,6 @@ protected function _getSubject() * * @param string $path * @return \Magento\Config\Model\Config\Structure\ElementInterface|null - * @since 2.0.0 */ public function getElement($path) { diff --git a/app/code/Magento/Config/Model/Config/Structure/SearchInterface.php b/app/code/Magento/Config/Model/Config/Structure/SearchInterface.php index b18d414d9c9b7..36f2fa601e229 100644 --- a/app/code/Magento/Config/Model/Config/Structure/SearchInterface.php +++ b/app/code/Magento/Config/Model/Config/Structure/SearchInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface SearchInterface { @@ -16,7 +15,6 @@ interface SearchInterface * * @param string $path * @return ElementInterface|null - * @since 2.0.0 */ public function getElement($path); } diff --git a/app/code/Magento/Config/Model/Placeholder/Environment.php b/app/code/Magento/Config/Model/Placeholder/Environment.php index cc3fead686c31..896de1d34e5da 100644 --- a/app/code/Magento/Config/Model/Placeholder/Environment.php +++ b/app/code/Magento/Config/Model/Placeholder/Environment.php @@ -11,7 +11,7 @@ /** * Class is used to work with placeholders for environment variables names based on config paths * @api - * @since 2.2.0 + * @since 2.1.3 */ class Environment implements PlaceholderInterface { @@ -22,13 +22,13 @@ class Environment implements PlaceholderInterface /** * @var DeploymentConfig - * @since 2.2.0 + * @since 2.1.3 */ private $deploymentConfig; /** * @param DeploymentConfig $deploymentConfig - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(DeploymentConfig $deploymentConfig) { @@ -39,7 +39,7 @@ public function __construct(DeploymentConfig $deploymentConfig) * Generates placeholder like CONFIG__DEFAULT__TEST__TEST_VALUE * * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function generate($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode = null) { @@ -61,7 +61,7 @@ public function generate($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DE /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function restore($template) { @@ -74,7 +74,7 @@ public function restore($template) /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ public function isApplicable($placeholder) { diff --git a/app/code/Magento/Config/Model/Placeholder/PlaceholderFactory.php b/app/code/Magento/Config/Model/Placeholder/PlaceholderFactory.php index 258eee9be4b26..03f7a2f5e3dfb 100644 --- a/app/code/Magento/Config/Model/Placeholder/PlaceholderFactory.php +++ b/app/code/Magento/Config/Model/Placeholder/PlaceholderFactory.php @@ -10,7 +10,7 @@ /** * @api - * @since 2.2.0 + * @since 2.1.3 */ class PlaceholderFactory { @@ -21,20 +21,20 @@ class PlaceholderFactory /** * @var ObjectManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $objectManager; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $types; /** * @param ObjectManagerInterface $objectManager * @param array $types - * @since 2.2.0 + * @since 2.1.3 */ public function __construct(ObjectManagerInterface $objectManager, array $types = []) { @@ -48,7 +48,7 @@ public function __construct(ObjectManagerInterface $objectManager, array $types * @param string $type * @return PlaceholderInterface * @throws LocalizedException - * @since 2.2.0 + * @since 2.1.3 */ public function create($type) { diff --git a/app/code/Magento/Config/Model/Placeholder/PlaceholderInterface.php b/app/code/Magento/Config/Model/Placeholder/PlaceholderInterface.php index 5d41902ffd239..9d3c199b09a8f 100644 --- a/app/code/Magento/Config/Model/Placeholder/PlaceholderInterface.php +++ b/app/code/Magento/Config/Model/Placeholder/PlaceholderInterface.php @@ -10,7 +10,7 @@ /** * Interface PlaceholderInterface * @api - * @since 2.2.0 + * @since 2.1.3 */ interface PlaceholderInterface { @@ -21,7 +21,7 @@ interface PlaceholderInterface * @param string $scopeType * @param string $scopeCode * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function generate($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode = null); @@ -30,7 +30,7 @@ public function generate($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DE * * @param string $template * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function restore($template); @@ -39,7 +39,7 @@ public function restore($template); * * @param string $placeholder * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function isApplicable($placeholder); } diff --git a/app/code/Magento/Config/Model/ResourceModel/Config.php b/app/code/Magento/Config/Model/ResourceModel/Config.php index d9a593b327d27..9a534fc2260bc 100644 --- a/app/code/Magento/Config/Model/ResourceModel/Config.php +++ b/app/code/Magento/Config/Model/ResourceModel/Config.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implements \Magento\Framework\App\Config\ConfigResource\ConfigInterface @@ -19,7 +18,6 @@ class Config extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implem * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -34,7 +32,6 @@ protected function _construct() * @param string $scope * @param int $scopeId * @return $this - * @since 2.0.0 */ public function saveConfig($path, $value, $scope, $scopeId) { @@ -71,7 +68,6 @@ public function saveConfig($path, $value, $scope, $scopeId) * @param string $scope * @param int $scopeId * @return $this - * @since 2.0.0 */ public function deleteConfig($path, $scope, $scopeId) { diff --git a/app/code/Magento/Config/Model/ResourceModel/Config/Data.php b/app/code/Magento/Config/Model/ResourceModel/Config/Data.php index 4a9a8f604b6f6..b19c3d4529904 100644 --- a/app/code/Magento/Config/Model/ResourceModel/Config/Data.php +++ b/app/code/Magento/Config/Model/ResourceModel/Config/Data.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -18,7 +17,6 @@ class Data extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -30,7 +28,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) { @@ -50,7 +47,6 @@ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _checkUnique(\Magento\Framework\Model\AbstractModel $object) { @@ -84,7 +80,6 @@ protected function _checkUnique(\Magento\Framework\Model\AbstractModel $object) * @param string $scopeCode * @param int|array $scopeIds * @return void - * @since 2.0.0 */ public function clearScopeData($scopeCode, $scopeIds) { diff --git a/app/code/Magento/Config/Model/ResourceModel/Config/Data/Collection.php b/app/code/Magento/Config/Model/ResourceModel/Config/Data/Collection.php index 110bba9bddc49..a57b520ddb896 100644 --- a/app/code/Magento/Config/Model/ResourceModel/Config/Data/Collection.php +++ b/app/code/Magento/Config/Model/ResourceModel/Config/Data/Collection.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -18,7 +17,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Define resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -35,7 +33,6 @@ protected function _construct() * @param int $scopeId * @param string $section * @return $this - * @since 2.0.0 */ public function addScopeFilter($scope, $scopeId, $section) { @@ -50,7 +47,6 @@ public function addScopeFilter($scope, $scopeId, $section) * * @param string $section * @return $this - * @since 2.0.0 */ public function addPathFilter($section) { @@ -63,7 +59,6 @@ public function addPathFilter($section) * * @param int|string $value * @return $this - * @since 2.0.0 */ public function addValueFilter($value) { diff --git a/app/code/Magento/Config/Observer/Config/Backend/Admin/AfterCustomUrlChangedObserver.php b/app/code/Magento/Config/Observer/Config/Backend/Admin/AfterCustomUrlChangedObserver.php index b4291b2a3323f..583bedc3bb72b 100644 --- a/app/code/Magento/Config/Observer/Config/Backend/Admin/AfterCustomUrlChangedObserver.php +++ b/app/code/Magento/Config/Observer/Config/Backend/Admin/AfterCustomUrlChangedObserver.php @@ -10,7 +10,6 @@ /** * Class \Magento\Config\Observer\Config\Backend\Admin\AfterCustomUrlChangedObserver * - * @since 2.0.0 */ class AfterCustomUrlChangedObserver implements ObserverInterface { @@ -18,7 +17,6 @@ class AfterCustomUrlChangedObserver implements ObserverInterface * Backend data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_backendData; @@ -26,19 +24,16 @@ class AfterCustomUrlChangedObserver implements ObserverInterface * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var \Magento\Backend\Model\Auth\Session - * @since 2.0.0 */ protected $_authSession; /** * @var \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ protected $_response; @@ -47,7 +42,6 @@ class AfterCustomUrlChangedObserver implements ObserverInterface * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Backend\Model\Auth\Session $authSession * @param \Magento\Framework\App\ResponseInterface $response - * @since 2.0.0 */ public function __construct( \Magento\Backend\Helper\Data $backendData, @@ -68,7 +62,6 @@ public function __construct( * @return void * @SuppressWarnings(PHPMD.ExitExpression) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Config/Setup/InstallData.php b/app/code/Magento/Config/Setup/InstallData.php index 71bae02528136..37b8c72851712 100644 --- a/app/code/Magento/Config/Setup/InstallData.php +++ b/app/code/Magento/Config/Setup/InstallData.php @@ -13,13 +13,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Config/Setup/InstallSchema.php b/app/code/Magento/Config/Setup/InstallSchema.php index f0254331c8dd3..2fd267f0dacc7 100644 --- a/app/code/Magento/Config/Setup/InstallSchema.php +++ b/app/code/Magento/Config/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/ConfigurableImportExport/Model/Export/Product/Type/Configurable.php b/app/code/Magento/ConfigurableImportExport/Model/Export/Product/Type/Configurable.php index a65c1114169d7..0859d8e9d59fe 100644 --- a/app/code/Magento/ConfigurableImportExport/Model/Export/Product/Type/Configurable.php +++ b/app/code/Magento/ConfigurableImportExport/Model/Export/Product/Type/Configurable.php @@ -8,7 +8,6 @@ /** * Class \Magento\ConfigurableImportExport\Model\Export\Product\Type\Configurable * - * @since 2.0.0 */ class Configurable extends \Magento\CatalogImportExport\Model\Export\Product\Type\AbstractType { diff --git a/app/code/Magento/ConfigurableImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/ConfigurableImportExport/Model/Export/RowCustomizer.php index 2d2cc99c00d6c..3d224d1a268f0 100644 --- a/app/code/Magento/ConfigurableImportExport/Model/Export/RowCustomizer.php +++ b/app/code/Magento/ConfigurableImportExport/Model/Export/RowCustomizer.php @@ -14,13 +14,11 @@ /** * Class \Magento\ConfigurableImportExport\Model\Export\RowCustomizer * - * @since 2.0.0 */ class RowCustomizer implements RowCustomizerInterface { /** * @var array - * @since 2.0.0 */ protected $configurableData = []; @@ -30,7 +28,6 @@ class RowCustomizer implements RowCustomizerInterface * @param ProductCollection $collection * @param int[] $productIds * @return void - * @since 2.0.0 */ public function prepareData($collection, $productIds) { @@ -75,7 +72,6 @@ public function prepareData($collection, $productIds) * * @param array $columns * @return array - * @since 2.0.0 */ public function addHeaderColumns($columns) { @@ -98,7 +94,6 @@ public function addHeaderColumns($columns) * @param array $dataRow * @param int $productId * @return array - * @since 2.0.0 */ public function addData($dataRow, $productId) { @@ -114,7 +109,6 @@ public function addData($dataRow, $productId) * @param array $additionalRowsCount * @param int $productId * @return array - * @since 2.0.0 */ public function getAdditionalRowsCount($additionalRowsCount, $productId) { diff --git a/app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php b/app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php index 355c15ae8ef6f..aa309553238a0 100644 --- a/app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php +++ b/app/code/Magento/ConfigurableImportExport/Model/Import/Product/Type/Configurable.php @@ -20,7 +20,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType { @@ -39,7 +38,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Validation failure message template definitions * * @var array - * @since 2.0.0 */ protected $_messageTemplates = [ self::ERROR_ATTRIBUTE_CODE_IS_NOT_SUPER => 'Attribute with code "%s" is not super', @@ -52,7 +50,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Column names that holds values with particular meaning. * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = [ '_super_products_sku', @@ -70,7 +67,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * product_n (underscore) attribute_id_n => product_super_attr_id_n * * @var array - * @since 2.0.0 */ protected $_productSuperAttrs = []; @@ -90,7 +86,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * ) * * @var array - * @since 2.0.0 */ protected $_skuSuperAttributeValues = []; @@ -110,7 +105,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * ) * * @var array - * @since 2.0.0 */ protected $_skuSuperData = []; @@ -118,7 +112,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Super attributes codes in a form of code => TRUE array pairs. * * @var array - * @since 2.0.0 */ protected $_superAttributes = []; @@ -126,25 +119,21 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * All super attributes values combinations for each attribute set. * * @var array - * @since 2.0.0 */ protected $_superAttrValuesCombs = null; /** * @var \Magento\Catalog\Model\ProductTypes\ConfigInterface - * @since 2.0.0 */ protected $_productTypesConfig; /** * @var \Magento\ImportExport\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * @var \Magento\Framework\App\ResourceConnection - * @since 2.0.0 */ protected $_resource; @@ -153,7 +142,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * * @var \Magento\Framework\DB\Adapter\AdapterInterface * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_connection; @@ -161,7 +149,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Instance of product collection factory. * * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory - * @since 2.0.0 */ protected $_productColFac; @@ -169,7 +156,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Product data. * * @var array - * @since 2.0.0 */ protected $_productData; @@ -177,7 +163,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Product super data. * * @var array - * @since 2.0.0 */ protected $_productSuperData; @@ -185,7 +170,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Simple product ids to delete. * * @var array - * @since 2.0.0 */ protected $_simpleIdsToDelete; @@ -193,7 +177,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Super attributes data. * * @var array - * @since 2.0.0 */ protected $_superAttributesData; @@ -201,7 +184,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * Next attribute id. * * @var null|int - * @since 2.0.0 */ protected $_nextAttrId; @@ -222,7 +204,6 @@ class Configurable extends \Magento\CatalogImportExport\Model\Import\Product\Typ * @param \Magento\ImportExport\Model\ResourceModel\Helper $resourceHelper * @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $_productColFac * @param MetadataPool $metadataPool - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attrSetColFac, @@ -248,7 +229,6 @@ public function __construct( * @param array $attrParams Refined attribute parameters. * @param mixed $attribute * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType - * @since 2.0.0 */ protected function _addAttributeParams($attrSetName, array $attrParams, $attribute) { @@ -265,7 +245,6 @@ protected function _addAttributeParams($attrSetName, array $attrParams, $attribu * @param int $productId * @param int $attributeId * @return array|null - * @since 2.0.0 */ protected function _getSuperAttributeId($productId, $attributeId) { @@ -281,7 +260,6 @@ protected function _getSuperAttributeId($productId, $attributeId) * * @param string $attrCode * @return bool - * @since 2.0.0 */ protected function _isAttributeRequiredCheckNeeded($attrCode) { @@ -294,7 +272,6 @@ protected function _isAttributeRequiredCheckNeeded($attrCode) * * @param string $attrCode * @return bool - * @since 2.0.0 */ protected function _isAttributeSuper($attrCode) { @@ -307,7 +284,6 @@ protected function _isAttributeSuper($attrCode) * @param array $rowData * @param int $rowNum * @return bool - * @since 2.0.0 */ protected function _isParticularAttributesValid(array $rowData, $rowNum) { @@ -337,7 +313,6 @@ protected function _isParticularAttributesValid(array $rowData, $rowNum) * @param array $oldSku - present variations list * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _loadSkuSuperAttributeValues($bunch, $newSku, $oldSku) { @@ -391,7 +366,6 @@ protected function _loadSkuSuperAttributeValues($bunch, $newSku, $oldSku) * * @param array $bunch * @return $this - * @since 2.0.0 */ protected function _loadSkuSuperDataForBunch(array $bunch) { @@ -442,7 +416,6 @@ protected function _loadSkuSuperDataForBunch(array $bunch) * * @return $this * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _processSuperData() { @@ -501,7 +474,6 @@ protected function _processSuperData() * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _parseVariations($rowData) { @@ -553,7 +525,6 @@ protected function _parseVariations($rowData) * @param array $rowData * * @return array - * @since 2.0.0 */ protected function _parseVariationLabels($rowData) { @@ -583,7 +554,6 @@ protected function _parseVariationLabels($rowData) * Delete unnecessary links. * * @return $this - * @since 2.0.0 */ protected function _deleteData() { @@ -607,7 +577,6 @@ protected function _deleteData() * * @return $this * @throws \Zend_Db_Exception - * @since 2.0.0 */ protected function _insertData() { @@ -643,7 +612,6 @@ protected function _insertData() * Get new supper attribute id. * * @return int - * @since 2.0.0 */ protected function _getNextAttrId() { @@ -660,7 +628,6 @@ protected function _getNextAttrId() * * @param array $rowData * @return $this - * @since 2.0.0 */ protected function _collectSuperData($rowData) { @@ -710,7 +677,6 @@ protected function _collectSuperData($rowData) * * @param array $data * @return $this - * @since 2.0.0 */ protected function _collectAssocIds($data) { @@ -744,7 +710,6 @@ protected function _collectAssocIds($data) * @param integer|string $productId * @param array $variationLabels * @return $this - * @since 2.0.0 */ protected function _collectSuperDataLabels($data, $productSuperAttrId, $productId, $variationLabels) { @@ -771,7 +736,6 @@ protected function _collectSuperDataLabels($data, $productSuperAttrId, $productI * @throws \Exception * @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function saveData() { @@ -833,7 +797,6 @@ public function saveData() * * @param array $bunch * @return bool - * @since 2.0.0 */ protected function configurableInBunch($bunch) { @@ -857,7 +820,6 @@ protected function configurableInBunch($bunch) * @param bool $isNewProduct Optional * * @return bool - * @since 2.0.0 */ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true) { diff --git a/app/code/Magento/ConfigurableProduct/Api/ConfigurableProductManagementInterface.php b/app/code/Magento/ConfigurableProduct/Api/ConfigurableProductManagementInterface.php index 6b9eeedb9149a..f5917ea2c0498 100644 --- a/app/code/Magento/ConfigurableProduct/Api/ConfigurableProductManagementInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/ConfigurableProductManagementInterface.php @@ -9,7 +9,6 @@ /** * Interface ConfigurableProductManagementInterface * @api - * @since 2.0.0 */ interface ConfigurableProductManagementInterface { @@ -19,7 +18,6 @@ interface ConfigurableProductManagementInterface * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param \Magento\ConfigurableProduct\Api\Data\OptionInterface[] $options * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.0.0 */ public function generateVariation(\Magento\Catalog\Api\Data\ProductInterface $product, $options); @@ -28,7 +26,6 @@ public function generateVariation(\Magento\Catalog\Api\Data\ProductInterface $pr * * @param int|null $status * @return int - * @since 2.0.0 */ public function getCount($status = null); } diff --git a/app/code/Magento/ConfigurableProduct/Api/Data/ConfigurableItemOptionValueInterface.php b/app/code/Magento/ConfigurableProduct/Api/Data/ConfigurableItemOptionValueInterface.php index 430715808e92d..91c7128d1e57d 100644 --- a/app/code/Magento/ConfigurableProduct/Api/Data/ConfigurableItemOptionValueInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/Data/ConfigurableItemOptionValueInterface.php @@ -8,7 +8,6 @@ /** * Interface ConfigurableItemOptionValueInterface * @api - * @since 2.0.0 */ interface ConfigurableItemOptionValueInterface extends \Magento\Framework\Api\ExtensibleDataInterface { @@ -25,7 +24,6 @@ interface ConfigurableItemOptionValueInterface extends \Magento\Framework\Api\Ex * Get option SKU * * @return string - * @since 2.0.0 */ public function getOptionId(); @@ -34,7 +32,6 @@ public function getOptionId(); * * @param string $value * @return void - * @since 2.0.0 */ public function setOptionId($value); @@ -42,7 +39,6 @@ public function setOptionId($value); * Get item id * * @return int|null - * @since 2.0.0 */ public function getOptionValue(); @@ -51,7 +47,6 @@ public function getOptionValue(); * * @param int|null $value * @return void - * @since 2.0.0 */ public function setOptionValue($value); @@ -59,7 +54,6 @@ public function setOptionValue($value); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -68,7 +62,6 @@ public function getExtensionAttributes(); * * @param \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes diff --git a/app/code/Magento/ConfigurableProduct/Api/Data/OptionInterface.php b/app/code/Magento/ConfigurableProduct/Api/Data/OptionInterface.php index eebea9a9d0a7c..99f1cf9aa9df4 100644 --- a/app/code/Magento/ConfigurableProduct/Api/Data/OptionInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/Data/OptionInterface.php @@ -9,85 +9,72 @@ /** * Interface OptionInterface * @api - * @since 2.0.0 */ interface OptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface { /** * @return int|null - * @since 2.0.0 */ public function getId(); /** * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); /** * @return string|null - * @since 2.0.0 */ public function getAttributeId(); /** * @param string $attributeId * @return $this - * @since 2.0.0 */ public function setAttributeId($attributeId); /** * @return string|null - * @since 2.0.0 */ public function getLabel(); /** * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); /** * @return int|null - * @since 2.0.0 */ public function getPosition(); /** * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position); /** * @return bool|null - * @since 2.0.0 */ public function getIsUseDefault(); /** * @param bool $isUseDefault * @return $this - * @since 2.0.0 */ public function setIsUseDefault($isUseDefault); /** * @return \Magento\ConfigurableProduct\Api\Data\OptionValueInterface[]|null - * @since 2.0.0 */ public function getValues(); /** * @param \Magento\ConfigurableProduct\Api\Data\OptionValueInterface[] $values * @return $this - * @since 2.0.0 */ public function setValues(array $values = null); @@ -95,7 +82,6 @@ public function setValues(array $values = null); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -104,7 +90,6 @@ public function getExtensionAttributes(); * * @param \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface $extensionAttributes @@ -112,14 +97,12 @@ public function setExtensionAttributes( /** * @return int|null - * @since 2.0.0 */ public function getProductId(); /** * @param int|null $value * @return $this - * @since 2.0.0 */ public function setProductId($value); } diff --git a/app/code/Magento/ConfigurableProduct/Api/Data/OptionValueInterface.php b/app/code/Magento/ConfigurableProduct/Api/Data/OptionValueInterface.php index 634b629bf3182..0cf3dd414f256 100644 --- a/app/code/Magento/ConfigurableProduct/Api/Data/OptionValueInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/Data/OptionValueInterface.php @@ -9,20 +9,17 @@ /** * Interface OptionValueInterface * @api - * @since 2.0.0 */ interface OptionValueInterface extends \Magento\Framework\Api\ExtensibleDataInterface { /** * @return int - * @since 2.0.0 */ public function getValueIndex(); /** * @param int $valueIndex * @return $this - * @since 2.0.0 */ public function setValueIndex($valueIndex); @@ -30,7 +27,6 @@ public function setValueIndex($valueIndex); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -39,7 +35,6 @@ public function getExtensionAttributes(); * * @param \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface $extensionAttributes diff --git a/app/code/Magento/ConfigurableProduct/Api/LinkManagementInterface.php b/app/code/Magento/ConfigurableProduct/Api/LinkManagementInterface.php index 849c8aaa26597..63a471b1f6d3d 100644 --- a/app/code/Magento/ConfigurableProduct/Api/LinkManagementInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/LinkManagementInterface.php @@ -10,7 +10,6 @@ * Manage children products of configurable product * * @api - * @since 2.0.0 */ interface LinkManagementInterface { @@ -19,7 +18,6 @@ interface LinkManagementInterface * * @param string $sku * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.0.0 */ public function getChildren($sku); @@ -27,7 +25,6 @@ public function getChildren($sku); * @param string $sku * @param string $childSku * @return bool - * @since 2.0.0 */ public function addChild($sku, $childSku); @@ -39,7 +36,6 @@ public function addChild($sku, $childSku); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException * @return bool - * @since 2.0.0 */ public function removeChild($sku, $childSku); } diff --git a/app/code/Magento/ConfigurableProduct/Api/OptionRepositoryInterface.php b/app/code/Magento/ConfigurableProduct/Api/OptionRepositoryInterface.php index 52af1f4dbe0c7..5188d94adb1da 100644 --- a/app/code/Magento/ConfigurableProduct/Api/OptionRepositoryInterface.php +++ b/app/code/Magento/ConfigurableProduct/Api/OptionRepositoryInterface.php @@ -10,7 +10,6 @@ * Manage options of configurable product * * @api - * @since 2.0.0 */ interface OptionRepositoryInterface { @@ -22,7 +21,6 @@ interface OptionRepositoryInterface * @return \Magento\ConfigurableProduct\Api\Data\OptionInterface * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function get($sku, $id); @@ -33,7 +31,6 @@ public function get($sku, $id); * @return \Magento\ConfigurableProduct\Api\Data\OptionInterface[] * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function getList($sku); @@ -42,7 +39,6 @@ public function getList($sku); * * @param \Magento\ConfigurableProduct\Api\Data\OptionInterface $option * @return bool - * @since 2.0.0 */ public function delete(\Magento\ConfigurableProduct\Api\Data\OptionInterface $option); @@ -54,7 +50,6 @@ public function delete(\Magento\ConfigurableProduct\Api\Data\OptionInterface $op * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ public function deleteById($sku, $id); @@ -67,7 +62,6 @@ public function deleteById($sku, $id); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\CouldNotSaveException * @throws \InvalidArgumentException - * @since 2.0.0 */ public function save($sku, \Magento\ConfigurableProduct\Api\Data\OptionInterface $option); } diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/Edit/Tab/Variations/Main.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/Edit/Tab/Variations/Main.php index 8a60a68ac7f95..106ebb50e2baf 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/Edit/Tab/Variations/Main.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/Edit/Tab/Variations/Main.php @@ -13,7 +13,6 @@ /** * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Main extends \Magento\Eav\Block\Adminhtml\Attribute\Edit\Main\AbstractMain { @@ -21,7 +20,6 @@ class Main extends \Magento\Eav\Block\Adminhtml\Attribute\Edit\Main\AbstractMain * Adding product form elements for editing attribute * * @return \Magento\ConfigurableProduct\Block\Adminhtml\Product\Attribute\Edit\Tab\Variations\Main - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php index 81407974b6db8..33ea66b222420 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php @@ -9,13 +9,11 @@ * New product attribute created on product edit page * * @api - * @since 2.0.0 */ class Created extends \Magento\Backend\Block\Widget { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/attribute/new/created.phtml'; @@ -23,25 +21,21 @@ class Created extends \Magento\Backend\Block\Widget * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Eav\Model\Entity\AttributeFactory - * @since 2.0.0 */ protected $_attributeFactory; /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $_setFactory; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -52,7 +46,6 @@ class Created extends \Magento\Backend\Block\Widget * @param \Magento\Eav\Model\Entity\AttributeFactory $attributeFactory * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -73,7 +66,6 @@ public function __construct( * Retrieve list of product attributes * * @return array - * @since 2.0.0 */ protected function _getGroupAttributes() { @@ -93,7 +85,6 @@ protected function _getGroupAttributes() * Retrieve HTML for 'Close' button * * @return string - * @since 2.0.0 */ public function getCloseButtonHtml() { @@ -104,7 +95,6 @@ public function getCloseButtonHtml() * Retrieve attributes data as JSON * * @return string - * @since 2.0.0 */ public function getAttributesBlockJson() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php index bcf5769c2d448..f2ca1a3fc1941 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Composite/Fieldset/Configurable.php @@ -9,7 +9,6 @@ /** * @api - * @since 2.0.0 */ class Configurable extends \Magento\ConfigurableProduct\Block\Product\View\Type\Configurable { @@ -17,7 +16,6 @@ class Configurable extends \Magento\ConfigurableProduct\Block\Product\View\Type\ * Retrieve product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getProduct() { @@ -39,7 +37,6 @@ public function getProduct() * Retrieve current store * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getCurrentStore() { @@ -50,7 +47,6 @@ public function getCurrentStore() * Returns additional values for js config, con be overridden by descendants * * @return array - * @since 2.0.0 */ protected function _getAdditionalConfig() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php index 414e218900eb6..63bc6359ce2f3 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/AttributeSet/Form.php @@ -11,19 +11,16 @@ /** * @api - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $attributeSetRepository; /** * @var \Magento\Catalog\Model\Product\AttributeSet\Options - * @since 2.0.0 */ protected $attributeSetOptions; @@ -34,7 +31,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Catalog\Api\AttributeSetRepositoryInterface $attributeSetRepository * @param \Magento\Catalog\Model\Product\AttributeSet\Options $attributeSetOptions * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -53,7 +49,6 @@ public function __construct( * Prepares attribute set form * * @return void - * @since 2.0.0 */ protected function _prepareForm() { @@ -129,7 +124,6 @@ protected function _prepareForm() /** * @return string - * @since 2.0.0 */ protected function getCurrentAttributeSetName() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config.php index 313e833a9afcd..9c15329f8edf4 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config.php @@ -12,13 +12,11 @@ /** * Adminhtml catalog super product configurable tab - * @since 2.0.0 */ class Config extends Widget implements TabInterface { /** * @var string - * @since 2.0.0 */ protected $_template = 'catalog/product/edit/super/config.phtml'; @@ -26,7 +24,6 @@ class Config extends Widget implements TabInterface * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -41,7 +38,6 @@ class Config extends Widget implements TabInterface * @param \Magento\Framework\Registry $coreRegistry * @param Configurable $configurableType * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -58,7 +54,6 @@ public function __construct( * Initialize block * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -74,7 +69,6 @@ protected function _construct() * Retrieve Tab class (for loading) * * @return string - * @since 2.0.0 */ public function getTabClass() { @@ -85,7 +79,6 @@ public function getTabClass() * Retrieve currently edited product object * * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -96,7 +89,6 @@ public function getProduct() * Retrieve Tab label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -107,7 +99,6 @@ public function getTabLabel() * Retrieve Tab title * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -118,7 +109,6 @@ public function getTabTitle() * Can show tab flag * * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -129,7 +119,6 @@ public function canShowTab() * Check is a hidden tab * * @return bool - * @since 2.0.0 */ public function isHidden() { @@ -140,7 +129,6 @@ public function isHidden() * Get parent tab code * * @return string - * @since 2.0.0 */ public function getParentTab() { @@ -159,7 +147,6 @@ public function isHasVariations() /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php index 49658127ba632..8bb035e6749b1 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php @@ -15,55 +15,46 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Matrix extends \Magento\Backend\Block\Template { /** * @var \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.0.0 */ protected $_configurableType; /** * @var \Magento\CatalogInventory\Api\StockRegistryInterface - * @since 2.0.0 */ protected $stockRegistry; /** * @var \Magento\ConfigurableProduct\Model\Product\Type\VariationMatrix - * @since 2.0.0 */ protected $variationMatrix; /** * @var ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $image; /** * @var null|array - * @since 2.0.0 */ private $productMatrix; /** * @var null|array - * @since 2.0.0 */ private $productAttributes; /** * @var \Magento\Framework\Locale\CurrencyInterface - * @since 2.0.0 */ protected $localeCurrency; @@ -83,7 +74,6 @@ class Matrix extends \Magento\Backend\Block\Template * @param \Magento\Framework\Locale\CurrencyInterface $localeCurrency * @param LocatorInterface $locator * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -108,7 +98,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getCurrencySymbol() { @@ -119,7 +108,6 @@ public function getCurrencySymbol() * Retrieve currently edited product object * * @return Product - * @since 2.0.0 */ public function getProduct() { @@ -130,7 +118,6 @@ public function getProduct() * Retrieve all possible attribute values combinations * * @return array - * @since 2.0.0 */ public function getVariations() { @@ -186,7 +173,6 @@ public function getConfigurableModal() * * @param string $id * @return string - * @since 2.0.0 */ public function getEditProductUrl($id) { @@ -197,7 +183,6 @@ public function getEditProductUrl($id) * Retrieve attributes data * * @return array - * @since 2.0.0 */ protected function getAttributes() { @@ -227,7 +212,6 @@ protected function getAttributes() * Get used product attributes * * @return array - * @since 2.0.0 */ protected function getUsedAttributes() { @@ -238,7 +222,6 @@ protected function getUsedAttributes() * Retrieve actual list of associated products, array key is obtained from varying attributes values * * @return Product[] - * @since 2.0.0 */ protected function getAssociatedProducts() { @@ -259,7 +242,6 @@ protected function getAssociatedProducts() * - previously saved in database relations are not considered) * * @return Product[] - * @since 2.0.0 */ protected function _getAssociatedProducts() { @@ -284,7 +266,6 @@ protected function _getAssociatedProducts() * Get url to upload files * * @return string - * @since 2.0.0 */ public function getImageUploadUrl() { @@ -294,7 +275,6 @@ public function getImageUploadUrl() /** * @param Product $product * @return float - * @since 2.0.0 */ public function getProductStockQty(Product $product) { @@ -304,7 +284,6 @@ public function getProductStockQty(Product $product) /** * @param array $initData * @return string - * @since 2.0.0 */ public function getVariationWizard($initData) { @@ -319,7 +298,6 @@ public function getVariationWizard($initData) /** * @return array|null - * @since 2.0.0 */ public function getProductMatrix() { @@ -331,7 +309,6 @@ public function getProductMatrix() /** * @return array|null - * @since 2.0.0 */ public function getProductAttributes() { @@ -345,7 +322,6 @@ public function getProductAttributes() * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @return void * TODO: move to class - * @since 2.0.0 */ protected function prepareVariations() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php index 3201ef87edc7b..d0695c67c6409 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/AttributeValues.php @@ -9,13 +9,11 @@ * Adminhtml block for fieldset of configurable product * * @api - * @since 2.0.0 */ class AttributeValues extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract { /** * {@inheritdoc} - * @since 2.0.0 */ public function getCaption() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Bulk.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Bulk.php index 333e32dafbac8..d53345e772098 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Bulk.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Bulk.php @@ -17,25 +17,23 @@ * Adminhtml block for fieldset of configurable product * * @api - * @since 2.0.0 */ class Bulk extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract { /** * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $image; /** * @var ProductFactory - * @since 2.1.0 + * @since 2.0.3 */ private $productFactory; /** * @var Config - * @since 2.1.0 + * @since 2.0.3 */ private $catalogProductMediaConfig; @@ -44,7 +42,6 @@ class Bulk extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract * @param Image $image * @param Config $catalogProductMediaConfig * @param ProductFactory $productFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -60,7 +57,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getCaption() { @@ -69,7 +65,6 @@ public function getCaption() /** * @return string - * @since 2.0.0 */ public function getNoImageUrl() { @@ -80,7 +75,6 @@ public function getNoImageUrl() * Get image types data * * @return array - * @since 2.0.0 */ public function getImageTypes() { @@ -100,7 +94,6 @@ public function getImageTypes() /** * @return array - * @since 2.0.0 */ public function getMediaAttributes() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/SelectAttributes.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/SelectAttributes.php index bba83c492ce3f..54e974f7674e5 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/SelectAttributes.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/SelectAttributes.php @@ -9,7 +9,6 @@ * Adminhtml block for fieldset of configurable product * * @api - * @since 2.0.0 */ class SelectAttributes extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract { @@ -17,14 +16,12 @@ class SelectAttributes extends \Magento\Ui\Block\Component\StepsWizard\StepAbstr * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry = null; /** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( * * @param string $dataProvider * @return string - * @since 2.0.0 */ public function getAddNewAttributeButton($dataProvider = '') { @@ -80,7 +76,6 @@ public function getAddNewAttributeButton($dataProvider = '') /** * {@inheritdoc} - * @since 2.0.0 */ public function getCaption() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Summary.php b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Summary.php index 8172a1f3ae8e2..81cbae0b483b6 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Summary.php +++ b/app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Steps/Summary.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Summary extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract { /** * {@inheritdoc} - * @since 2.0.0 */ public function getCaption() { @@ -24,7 +22,6 @@ public function getCaption() * Get url to upload files * * @return string - * @since 2.0.0 */ public function getImageUploadUrl() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php b/app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php index 23eca2510501a..1d512d6e829a8 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Block/Cart/Item/Renderer/Configurable.php @@ -13,7 +13,6 @@ * Shopping cart item render block for configurable products. * * @api - * @since 2.0.0 */ class Configurable extends Renderer implements IdentityInterface { @@ -26,7 +25,6 @@ class Configurable extends Renderer implements IdentityInterface * Get item configurable child product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ public function getChildProduct() { @@ -40,7 +38,6 @@ public function getChildProduct() * Get item product name * * @return string - * @since 2.0.0 */ public function getProductName() { @@ -51,7 +48,6 @@ public function getProductName() * Get list of all options for product * * @return array - * @since 2.0.0 */ public function getOptionList() { @@ -60,7 +56,6 @@ public function getOptionList() /** * {@inheritdoc} - * @since 2.0.0 */ public function getProductForThumbnail() { @@ -85,7 +80,6 @@ public function getProductForThumbnail() * Return identifiers for produced content * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Plugin/Product/Media/Gallery.php b/app/code/Magento/ConfigurableProduct/Block/Plugin/Product/Media/Gallery.php index 44a66513a977d..0af3f0251eea4 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Plugin/Product/Media/Gallery.php +++ b/app/code/Magento/ConfigurableProduct/Block/Plugin/Product/Media/Gallery.php @@ -11,7 +11,7 @@ /** * Provides a serialized media gallery data for configurable product options. - * @since 2.1.0 + * @since 2.2.0 */ class Gallery { @@ -23,7 +23,7 @@ class Gallery /** * @param Json $json - * @since 2.1.0 + * @since 2.2.0 */ public function __construct( Json $json @@ -35,7 +35,7 @@ public function __construct( * @param \Magento\Catalog\Block\Product\View\Gallery $subject * @param string $result * @return string - * @since 2.1.0 + * @since 2.2.0 */ public function afterGetOptionsMediaGalleryDataJson( \Magento\Catalog\Block\Product\View\Gallery $subject, @@ -59,7 +59,7 @@ public function afterGetOptionsMediaGalleryDataJson( /** * @param Product $product * @return array - * @since 2.1.0 + * @since 2.2.0 */ private function getProductGallery($product) { diff --git a/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AssociatedSelector/Renderer/Id.php b/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AssociatedSelector/Renderer/Id.php index 6bfd769a99dcb..c4745d1c62e81 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AssociatedSelector/Renderer/Id.php +++ b/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AssociatedSelector/Renderer/Id.php @@ -9,13 +9,11 @@ /** * @api - * @since 2.0.0 */ class Id extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $_productHelper; @@ -23,7 +21,6 @@ class Id extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRend * @param \Magento\Backend\Block\Context $context * @param \Magento\Catalog\Helper\Product $productHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -39,7 +36,6 @@ public function __construct( * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AttributeSelector.php b/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AttributeSelector.php index 9e878c22ec49d..a9fdecbb92910 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AttributeSelector.php +++ b/app/code/Magento/ConfigurableProduct/Block/Product/Configurable/AttributeSelector.php @@ -11,7 +11,6 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @api - * @since 2.0.0 */ class AttributeSelector extends \Magento\Backend\Block\Template { @@ -19,7 +18,6 @@ class AttributeSelector extends \Magento\Backend\Block\Template * Attribute set creation action URL * * @return string - * @since 2.0.0 */ public function getAttributeSetCreationUrl() { @@ -30,7 +28,6 @@ public function getAttributeSetCreationUrl() * Get options for suggest widget * * @return array - * @since 2.0.0 */ public function getSuggestWidgetOptions() { diff --git a/app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php b/app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php index aa288a20c1557..2bf68f050797a 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php @@ -17,7 +17,6 @@ * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView { @@ -25,7 +24,6 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView * Catalog product * * @var \Magento\Catalog\Helper\Product - * @since 2.0.0 */ protected $catalogProduct = null; @@ -33,7 +31,6 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView * Current customer * * @var CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; @@ -41,31 +38,26 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView * Prices * * @var array - * @since 2.0.0 */ protected $_prices = []; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $jsonEncoder; /** * @var \Magento\ConfigurableProduct\Helper\Data $imageHelper - * @since 2.0.0 */ protected $helper; /** * @var PriceCurrencyInterface - * @since 2.0.0 */ protected $priceCurrency; /** * @var ConfigurableAttributeData - * @since 2.0.0 */ protected $configurableAttributeData; @@ -87,7 +79,6 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView * @param array $data * @param Format|null $localeFormat * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Block\Product\Context $context, @@ -133,7 +124,6 @@ public function getCacheKeyInfo() * Get allowed attributes * * @return array - * @since 2.0.0 */ public function getAllowAttributes() { @@ -144,7 +134,6 @@ public function getAllowAttributes() * Check if allowed attributes have options * * @return bool - * @since 2.0.0 */ public function hasOptions() { @@ -164,7 +153,6 @@ public function hasOptions() * Get Allowed Products * * @return \Magento\Catalog\Model\Product[] - * @since 2.0.0 */ public function getAllowProducts() { @@ -186,7 +174,6 @@ public function getAllowProducts() * Retrieve current store * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getCurrentStore() { @@ -197,7 +184,6 @@ public function getCurrentStore() * Returns additional values for js config, con be overridden by descendants * * @return array - * @since 2.0.0 */ protected function _getAdditionalConfig() { @@ -208,7 +194,6 @@ protected function _getAdditionalConfig() * Composes configuration for js * * @return string - * @since 2.0.0 */ public function getJsonConfig() { @@ -284,7 +269,6 @@ protected function getOptionImages() /** * @return array - * @since 2.0.0 */ protected function getOptionPrices() { @@ -333,7 +317,6 @@ protected function getOptionPrices() * @deprecated 2.2.0 Will be removed in major release * @param float $price * @return string - * @since 2.0.0 */ protected function _registerJsPrice($price) { diff --git a/app/code/Magento/ConfigurableProduct/Block/Stockqty/Type/Configurable.php b/app/code/Magento/ConfigurableProduct/Block/Stockqty/Type/Configurable.php index b9b4c8a88c990..be4be3c8ad876 100644 --- a/app/code/Magento/ConfigurableProduct/Block/Stockqty/Type/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Block/Stockqty/Type/Configurable.php @@ -11,7 +11,6 @@ * Product stock qty block for configurable product type * * @api - * @since 2.0.0 */ class Configurable extends \Magento\CatalogInventory\Block\Stockqty\Composite { @@ -19,7 +18,6 @@ class Configurable extends \Magento\CatalogInventory\Block\Stockqty\Composite * Retrieve child products * * @return Product[] - * @since 2.0.0 */ protected function _getChildProducts() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/AddAttribute.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/AddAttribute.php index 9b95844dbf98f..b3ab86e1322bf 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/AddAttribute.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/AddAttribute.php @@ -12,20 +12,17 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\AddAttribute * - * @since 2.0.0 */ class AddAttribute extends Action { /** * @var \Magento\Catalog\Controller\Adminhtml\Product\Builder - * @since 2.0.0 */ protected $productBuilder; /** * @param Action\Context $context * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -37,7 +34,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Associated/Grid.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Associated/Grid.php index 1787f9a0da908..0734c27addb58 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Associated/Grid.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Associated/Grid.php @@ -13,20 +13,17 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Associated\Grid * - * @since 2.0.0 */ class Grid extends Action { /** * @var LayoutFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param LayoutFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -40,7 +37,6 @@ public function __construct( * Index action * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptions.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptions.php index ff1fb920f6e41..a6c03a20e783f 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptions.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/CreateOptions.php @@ -12,7 +12,6 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Attribute\CreateOptions * - * @since 2.0.0 */ class CreateOptions extends Action { @@ -25,13 +24,11 @@ class CreateOptions extends Action /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; /** * @var \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory - * @since 2.0.0 */ protected $attributeFactory; @@ -39,7 +36,6 @@ class CreateOptions extends Action * @param Action\Context $context * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param AttributeFactory $attributeFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -55,7 +51,6 @@ public function __construct( * Search for attributes by part of attribute's label in admin store * * @return void - * @since 2.0.0 */ public function execute() { @@ -70,7 +65,6 @@ public function execute() * when full set of operations for attribute options during * product creation will be implemented: edit labels, remove, reorder. * Currently only addition of options to end and removal of just added option is supported. - * @since 2.0.0 */ protected function saveAttributeOptions() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/GetAttributes.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/GetAttributes.php index 5000bbbd4c126..7bf6b6fb8eb45 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/GetAttributes.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/GetAttributes.php @@ -12,7 +12,6 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Attribute\GetAttributes * - * @since 2.0.0 */ class GetAttributes extends Action { @@ -27,13 +26,11 @@ class GetAttributes extends Action * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -42,7 +39,6 @@ class GetAttributes extends Action * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param AttributesListInterface $attributesList - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -60,7 +56,6 @@ public function __construct( * Get attributes * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/SuggestConfigurableAttributes.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/SuggestConfigurableAttributes.php index 773037ef9e99d..deb4486de020f 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/SuggestConfigurableAttributes.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Attribute/SuggestConfigurableAttributes.php @@ -12,7 +12,6 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Attribute\SuggestConfigurableAttributes * - * @since 2.0.0 */ class SuggestConfigurableAttributes extends Action { @@ -25,13 +24,11 @@ class SuggestConfigurableAttributes extends Action /** * @var \Magento\ConfigurableProduct\Model\SuggestedAttributeList - * @since 2.0.0 */ protected $attributeList; /** * @var \Magento\Framework\Json\Helper\Data - * @since 2.0.0 */ protected $jsonHelper; @@ -39,7 +36,6 @@ class SuggestConfigurableAttributes extends Action * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -48,7 +44,6 @@ class SuggestConfigurableAttributes extends Action * @param SuggestedAttributeList $attributeList * @param \Magento\Framework\Json\Helper\Data $jsonHelper * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -66,7 +61,6 @@ public function __construct( * Search for attributes by part of attribute's label in admin store * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Builder/Plugin.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Builder/Plugin.php index 18f7f2dd21e43..be32b90c4162f 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Builder/Plugin.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Builder/Plugin.php @@ -15,26 +15,22 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Builder\Plugin * - * @since 2.0.0 */ class Plugin { /** * @var ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.0.0 */ protected $configurableType; /** * @param ProductFactory $productFactory * @param Type\Configurable $configurableType - * @since 2.0.0 */ public function __construct(ProductFactory $productFactory, Type\Configurable $configurableType) { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Configurable.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Configurable.php index 9039e83699121..a0a785397469b 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Configurable.php @@ -19,19 +19,16 @@ * Class Configurable * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Configurable { /** * @var VariationHandler - * @since 2.0.0 */ private $variationHandler; /** * @var RequestInterface - * @since 2.0.0 */ private $request; @@ -65,7 +62,6 @@ class Configurable * @param VariationHandler $variationHandler * @param RequestInterface $request * @param Factory $optionsFactory - * @since 2.0.0 */ public function __construct( VariationHandler $variationHandler, @@ -86,7 +82,6 @@ public function __construct( * @throws \InvalidArgumentException * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterInitialize(Helper $subject, ProductInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/UpdateConfigurations.php b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/UpdateConfigurations.php index a182b6ad0bfab..a5afaeea7861b 100644 --- a/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/UpdateConfigurations.php +++ b/app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/UpdateConfigurations.php @@ -10,25 +10,21 @@ /** * Class \Magento\ConfigurableProduct\Controller\Adminhtml\Product\Initialization\Helper\Plugin\UpdateConfigurations * - * @since 2.0.0 */ class UpdateConfigurations { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; /** * @var \Magento\ConfigurableProduct\Model\Product\VariationHandler - * @since 2.0.0 */ protected $variationHandler; @@ -54,7 +50,6 @@ class UpdateConfigurations * @param \Magento\Framework\App\RequestInterface $request * @param \Magento\Catalog\Api\ProductRepositoryInterface $productRepository * @param \Magento\ConfigurableProduct\Model\Product\VariationHandler $variationHandler - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\RequestInterface $request, @@ -74,7 +69,6 @@ public function __construct( * * @return \Magento\Catalog\Model\Product * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterInitialize( \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper $subject, diff --git a/app/code/Magento/ConfigurableProduct/CustomerData/ConfigurableItem.php b/app/code/Magento/ConfigurableProduct/CustomerData/ConfigurableItem.php index 8238432d9f685..0a4fc20578ed9 100644 --- a/app/code/Magento/ConfigurableProduct/CustomerData/ConfigurableItem.php +++ b/app/code/Magento/ConfigurableProduct/CustomerData/ConfigurableItem.php @@ -11,13 +11,11 @@ /** * Configurable item - * @since 2.0.0 */ class ConfigurableItem extends DefaultItem { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -28,7 +26,6 @@ class ConfigurableItem extends DefaultItem * @param \Magento\Catalog\Helper\Product\ConfigurationPool $configurationPool * @param \Magento\Checkout\Helper\Data $checkoutHelper * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Helper\Image $imageHelper, @@ -50,7 +47,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function getProductForThumbnail() { @@ -75,7 +71,6 @@ protected function getProductForThumbnail() * Get item configurable child product * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected function getChildProduct() { diff --git a/app/code/Magento/ConfigurableProduct/Helper/Data.php b/app/code/Magento/ConfigurableProduct/Helper/Data.php index 727265654b474..8e22548babf5e 100644 --- a/app/code/Magento/ConfigurableProduct/Helper/Data.php +++ b/app/code/Magento/ConfigurableProduct/Helper/Data.php @@ -12,7 +12,6 @@ * Class Data * Helper class for getting options * @api - * @since 2.0.0 */ class Data { @@ -20,13 +19,11 @@ class Data * Catalog Image Helper * * @var \Magento\Catalog\Helper\Image - * @since 2.0.0 */ protected $imageHelper; /** * @param \Magento\Catalog\Helper\Image $imageHelper - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Helper\Image $imageHelper) { @@ -38,7 +35,6 @@ public function __construct(\Magento\Catalog\Helper\Image $imageHelper) * * @param \Magento\Catalog\Api\Data\ProductInterface $product * @return \Magento\Catalog\Model\Product\Image[]|null - * @since 2.0.0 */ public function getGalleryImages(\Magento\Catalog\Api\Data\ProductInterface $product) { @@ -76,7 +72,6 @@ public function getGalleryImages(\Magento\Catalog\Api\Data\ProductInterface $pro * @param \Magento\Catalog\Model\Product $currentProduct * @param array $allowedProducts * @return array - * @since 2.0.0 */ public function getOptions($currentProduct, $allowedProducts) { @@ -102,7 +97,6 @@ public function getOptions($currentProduct, $allowedProducts) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getAllowAttributes($product) { diff --git a/app/code/Magento/ConfigurableProduct/Helper/Product/Configuration/Plugin.php b/app/code/Magento/ConfigurableProduct/Helper/Product/Configuration/Plugin.php index 287efda94dd3a..1f2caf33ddca7 100644 --- a/app/code/Magento/ConfigurableProduct/Helper/Product/Configuration/Plugin.php +++ b/app/code/Magento/ConfigurableProduct/Helper/Product/Configuration/Plugin.php @@ -9,7 +9,6 @@ /** * Class \Magento\ConfigurableProduct\Helper\Product\Configuration\Plugin * - * @since 2.0.0 */ class Plugin { @@ -22,7 +21,6 @@ class Plugin * * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetOptions( \Magento\Catalog\Helper\Product\Configuration $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/Attribute/LockValidator.php b/app/code/Magento/ConfigurableProduct/Model/Attribute/LockValidator.php index b741532c87a6d..1bcdf4ac166fe 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Attribute/LockValidator.php +++ b/app/code/Magento/ConfigurableProduct/Model/Attribute/LockValidator.php @@ -13,13 +13,11 @@ /** * Class LockValidator - * @since 2.0.0 */ class LockValidator implements LockValidatorInterface { /** * @var Resource - * @since 2.0.0 */ protected $resource; @@ -33,7 +31,6 @@ class LockValidator implements LockValidatorInterface * Constructor * * @param ResourceConnection $resource - * @since 2.0.0 */ public function __construct( ResourceConnection $resource @@ -48,7 +45,6 @@ public function __construct( * @param null $attributeSet * @throws \Magento\Framework\Exception\LocalizedException * @return void - * @since 2.0.0 */ public function validate(\Magento\Framework\Model\AbstractModel $object, $attributeSet = null) { diff --git a/app/code/Magento/ConfigurableProduct/Model/AttributesList.php b/app/code/Magento/ConfigurableProduct/Model/AttributesList.php index fda77f5b398ef..01086b3be7d19 100644 --- a/app/code/Magento/ConfigurableProduct/Model/AttributesList.php +++ b/app/code/Magento/ConfigurableProduct/Model/AttributesList.php @@ -8,19 +8,16 @@ /** * Class \Magento\ConfigurableProduct\Model\AttributesList * - * @since 2.0.0 */ class AttributesList implements AttributesListInterface { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $collectionFactory @@ -33,7 +30,6 @@ public function __construct( * * @param array $ids * @return array - * @since 2.0.0 */ public function getAttributes($ids) { diff --git a/app/code/Magento/ConfigurableProduct/Model/AttributesListInterface.php b/app/code/Magento/ConfigurableProduct/Model/AttributesListInterface.php index 34ac568db7695..ff96aa65d3b92 100644 --- a/app/code/Magento/ConfigurableProduct/Model/AttributesListInterface.php +++ b/app/code/Magento/ConfigurableProduct/Model/AttributesListInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface AttributesListInterface { @@ -16,7 +15,6 @@ interface AttributesListInterface * * @param array $ids * @return array - * @since 2.0.0 */ public function getAttributes($ids); } diff --git a/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeData.php b/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeData.php index a2ec4cc6ea552..2bbcfb51c3e0d 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeData.php +++ b/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeData.php @@ -12,7 +12,6 @@ /** * Class ConfigurableAttributeData * @api - * @since 2.0.0 */ class ConfigurableAttributeData { @@ -22,7 +21,6 @@ class ConfigurableAttributeData * @param Product $product * @param array $options * @return array - * @since 2.0.0 */ public function getAttributesData(Product $product, array $options = []) { @@ -53,7 +51,6 @@ public function getAttributesData(Product $product, array $options = []) * @param Attribute $attribute * @param array $config * @return array - * @since 2.0.0 */ protected function getAttributeOptionsData($attribute, $config) { @@ -75,7 +72,6 @@ protected function getAttributeOptionsData($attribute, $config) * @param int $attributeId * @param Product $product * @return mixed|null - * @since 2.0.0 */ protected function getAttributeConfigValue($attributeId, $product) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeHandler.php b/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeHandler.php index a43e4cb8cbb05..300c00db12cfe 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeHandler.php +++ b/app/code/Magento/ConfigurableProduct/Model/ConfigurableAttributeHandler.php @@ -8,7 +8,6 @@ /** * Class \Magento\ConfigurableProduct\Model\ConfigurableAttributeHandler * - * @since 2.0.0 */ class ConfigurableAttributeHandler { @@ -16,13 +15,11 @@ class ConfigurableAttributeHandler * Attribute collection factory * * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; /** * @param \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeColFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeColFactory @@ -34,7 +31,6 @@ public function __construct( * Retrieve list of attributes applicable for configurable product * * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getApplicableAttributes() { @@ -55,7 +51,6 @@ public function getApplicableAttributes() /** * @param \Magento\Catalog\Api\Data\ProductAttributeInterface $attribute * @return bool - * @since 2.0.0 */ public function isAttributeApplicable($attribute) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ConfigurableProductManagement.php b/app/code/Magento/ConfigurableProduct/Model/ConfigurableProductManagement.php index 958f816ecccff..6dda82af30709 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ConfigurableProductManagement.php +++ b/app/code/Magento/ConfigurableProduct/Model/ConfigurableProductManagement.php @@ -14,25 +14,21 @@ /** * Class \Magento\ConfigurableProduct\Model\ConfigurableProductManagement * - * @since 2.0.0 */ class ConfigurableProductManagement implements \Magento\ConfigurableProduct\Api\ConfigurableProductManagementInterface { /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.0.0 */ private $attributeRepository; /** * @var ProductVariationsBuilder - * @since 2.0.0 */ private $productVariationBuilder; /** * @var CollectionFactory - * @since 2.0.0 */ protected $productsFactory; @@ -40,7 +36,6 @@ class ConfigurableProductManagement implements \Magento\ConfigurableProduct\Api\ * @param \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository * @param ProductVariationsBuilder $productVariationBuilder * @param CollectionFactory $productsFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $attributeRepository, @@ -54,7 +49,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function generateVariation(ProductInterface $product, $options) { @@ -65,7 +59,6 @@ public function generateVariation(ProductInterface $product, $options) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCount($status = null) { @@ -89,7 +82,6 @@ public function getCount($status = null) * * @param \Magento\ConfigurableProduct\Api\Data\OptionInterface[] $options * @return array - * @since 2.0.0 */ private function getAttributesForMatrix($options) { @@ -115,7 +107,6 @@ private function getAttributesForMatrix($options) * * @param \Magento\Framework\DataObject $object * @return array - * @since 2.0.0 */ private function objectToArray(\Magento\Framework\DataObject $object) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Entity/Product/Attribute/Group/AttributeMapper/Plugin.php b/app/code/Magento/ConfigurableProduct/Model/Entity/Product/Attribute/Group/AttributeMapper/Plugin.php index 387374ce434e6..fc1efa4816372 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Entity/Product/Attribute/Group/AttributeMapper/Plugin.php +++ b/app/code/Magento/ConfigurableProduct/Model/Entity/Product/Attribute/Group/AttributeMapper/Plugin.php @@ -13,32 +13,27 @@ /** * Class \Magento\ConfigurableProduct\Model\Entity\Product\Attribute\Group\AttributeMapper\Plugin * - * @since 2.0.0 */ class Plugin { /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\AttributeFactory - * @since 2.0.0 */ protected $attributeFactory; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var array - * @since 2.0.0 */ protected $configurableAttributes; /** * @param AttributeFactory $attributeFactory * @param Registry $registry - * @since 2.0.0 */ public function __construct(AttributeFactory $attributeFactory, Registry $registry) { @@ -55,7 +50,6 @@ public function __construct(AttributeFactory $attributeFactory, Registry $regist * * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundMap( \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/LinkManagement.php b/app/code/Magento/ConfigurableProduct/Model/LinkManagement.php index c46c53152712f..1ef58bb981406 100644 --- a/app/code/Magento/ConfigurableProduct/Model/LinkManagement.php +++ b/app/code/Magento/ConfigurableProduct/Model/LinkManagement.php @@ -13,43 +13,38 @@ /** * Class \Magento\ConfigurableProduct\Model\LinkManagement * - * @since 2.0.0 */ class LinkManagement implements \Magento\ConfigurableProduct\Api\LinkManagementInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ private $productRepository; /** * @var \Magento\Catalog\Api\Data\ProductInterfaceFactory - * @since 2.0.0 */ private $productFactory; /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.0.0 */ private $configurableType; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ private $dataObjectHelper; /** * @var \Magento\ConfigurableProduct\Helper\Product\Options\Factory; - * @since 2.2.0 + * @since 2.1.2 */ private $optionsFactory; /** * @var \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory - * @since 2.2.0 + * @since 2.1.2 */ private $attributeFactory; @@ -61,7 +56,6 @@ class LinkManagement implements \Magento\ConfigurableProduct\Api\LinkManagementI * @param \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $configurableType * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @param \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory $attributeFactory - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -80,7 +74,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getChildren($sku) { @@ -120,7 +113,6 @@ public function getChildren($sku) /** * {@inheritdoc} - * @since 2.0.0 */ public function addChild($sku, $childSku) { @@ -159,7 +151,6 @@ public function addChild($sku, $childSku) /** * {@inheritdoc} - * @since 2.0.0 */ public function removeChild($sku, $childSku) { @@ -192,8 +183,8 @@ public function removeChild($sku, $childSku) * * @return \Magento\ConfigurableProduct\Helper\Product\Options\Factory * - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.2 + * @since 2.1.2 */ private function getOptionsFactory() { @@ -209,7 +200,7 @@ private function getOptionsFactory() * * @param int[] $attributeIds * @return array - * @since 2.2.0 + * @since 2.1.2 */ private function getConfigurableAttributesData($attributeIds) { diff --git a/app/code/Magento/ConfigurableProduct/Model/OptionRepository.php b/app/code/Magento/ConfigurableProduct/Model/OptionRepository.php index 52c17b6791fbe..994cb0c49bd7c 100644 --- a/app/code/Magento/ConfigurableProduct/Model/OptionRepository.php +++ b/app/code/Magento/ConfigurableProduct/Model/OptionRepository.php @@ -22,55 +22,46 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class OptionRepository implements \Magento\ConfigurableProduct\Api\OptionRepositoryInterface { /** * @var \Magento\Catalog\Api\ProductRepositoryInterface - * @since 2.0.0 */ protected $productRepository; /** * @var \Magento\ConfigurableProduct\Api\Data\OptionValueInterfaceFactory - * @since 2.0.0 */ protected $optionValueFactory; /** * @var Product\Type\Configurable - * @since 2.0.0 */ protected $configurableType; /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute - * @since 2.0.0 */ protected $optionResource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Catalog\Api\ProductAttributeRepositoryInterface - * @since 2.0.0 */ protected $productAttributeRepository; /** * @var ConfigurableType\AttributeFactory - * @since 2.0.0 */ protected $configurableAttributeFactory; /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.0.0 */ private $configurableTypeResource; @@ -98,7 +89,6 @@ class OptionRepository implements \Magento\ConfigurableProduct\Api\OptionReposit * @param Loader $optionLoader * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, @@ -124,7 +114,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function get($sku, $id) { @@ -142,7 +131,6 @@ public function get($sku, $id) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList($sku) { @@ -153,7 +141,6 @@ public function getList($sku) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(OptionInterface $option) { @@ -180,7 +167,6 @@ public function delete(OptionInterface $option) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($sku, $id) { @@ -197,7 +183,6 @@ public function deleteById($sku, $id) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function save($sku, OptionInterface $option) { @@ -245,7 +230,6 @@ public function save($sku, OptionInterface $option) * @param string $sku * @return ProductInterface * @throws InputException - * @since 2.0.0 */ private function getProduct($sku) { @@ -264,7 +248,6 @@ private function getProduct($sku) * @param int $id * @return ProductInterface * @throws InputException - * @since 2.0.0 */ private function getProductById($id) { @@ -284,7 +267,6 @@ private function getProductById($id) * @return void * @throws InputException * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function validateNewOptionData(OptionInterface $option) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Order/Admin/Item/Plugin/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/Order/Admin/Item/Plugin/Configurable.php index bda42552641fd..e6d4ac1072aec 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Order/Admin/Item/Plugin/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/Order/Admin/Item/Plugin/Configurable.php @@ -8,19 +8,16 @@ /** * Class \Magento\ConfigurableProduct\Model\Order\Admin\Item\Plugin\Configurable * - * @since 2.0.0 */ class Configurable { /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @param \Magento\Catalog\Model\ProductFactory $productFactory - * @since 2.0.0 */ public function __construct(\Magento\Catalog\Model\ProductFactory $productFactory) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Catalog\Model\ProductFactory $productFactor * * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetSku( \Magento\Sales\Model\Order\Admin\Item $subject, @@ -60,7 +56,6 @@ public function aroundGetSku( * * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetName( \Magento\Sales\Model\Order\Admin\Item $subject, @@ -84,7 +79,6 @@ public function aroundGetName( * * @return int * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundGetProductId( \Magento\Sales\Model\Order\Admin\Item $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/Plugin/PriceBackend.php b/app/code/Magento/ConfigurableProduct/Model/Plugin/PriceBackend.php index 21241f6ee20e5..da9f1316c6bd7 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Plugin/PriceBackend.php +++ b/app/code/Magento/ConfigurableProduct/Model/Plugin/PriceBackend.php @@ -11,7 +11,6 @@ * Class PriceBackend * * Make price validation optional for configurable product - * @since 2.0.0 */ class PriceBackend { @@ -21,7 +20,6 @@ class PriceBackend * @param \Magento\Catalog\Model\Product|\Magento\Framework\DataObject $object * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundValidate( \Magento\Catalog\Model\Product\Attribute\Backend\Price $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Cache/Tag/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/Product/Cache/Tag/Configurable.php index 81573657ab785..23a90e94eb38b 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Cache/Tag/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Cache/Tag/Configurable.php @@ -9,7 +9,7 @@ /** * Add parent invalidation tags - * @since 2.2.0 + * @since 2.1.3 */ class Configurable implements StrategyInterface { @@ -17,13 +17,13 @@ class Configurable implements StrategyInterface * Configurable product type resource * * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.2.0 + * @since 2.1.3 */ private $catalogProductTypeConfigurable; /** * @param \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $catalogProductTypeConfigurable - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $catalogProductTypeConfigurable @@ -33,7 +33,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.3 */ public function getTags($object) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/CartConfiguration/Plugin/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/Product/CartConfiguration/Plugin/Configurable.php index cc43609c59fc9..aa1a5c5cf35ff 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/CartConfiguration/Plugin/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/CartConfiguration/Plugin/Configurable.php @@ -10,7 +10,6 @@ /** * Class \Magento\ConfigurableProduct\Model\Product\CartConfiguration\Plugin\Configurable * - * @since 2.0.0 */ class Configurable { @@ -24,7 +23,6 @@ class Configurable * * @return bool * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundIsProductConfigured( \Magento\Catalog\Model\Product\CartConfiguration $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Collection/SalableProcessor.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Collection/SalableProcessor.php index 807d3d9063433..4d2568def89cd 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Collection/SalableProcessor.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Collection/SalableProcessor.php @@ -13,19 +13,19 @@ /** * This class is responsible for adding additional filters for products collection * to check if the product from this collection available to buy. - * @since 2.2.0 + * @since 2.1.6 */ class SalableProcessor { /** * @var StatusFactory - * @since 2.2.0 + * @since 2.1.6 */ private $stockStatusFactory; /** * @param StatusFactory $stockStatusFactory - * @since 2.2.0 + * @since 2.1.6 */ public function __construct(StatusFactory $stockStatusFactory) { @@ -42,7 +42,7 @@ public function __construct(StatusFactory $stockStatusFactory) * * @param Collection $collection * @return Collection - * @since 2.2.0 + * @since 2.1.6 */ public function process(Collection $collection) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php index 5c901cbb9af4a..9fe997bb02c06 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php @@ -24,7 +24,6 @@ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType { @@ -53,7 +52,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for Used Attributes * * @var string - * @since 2.0.0 */ protected $_usedAttributes = '_cache_instance_used_attributes'; @@ -61,7 +59,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for configurable attributes * * @var string - * @since 2.0.0 */ protected $_configurableAttributes = '_cache_instance_configurable_attributes'; @@ -69,7 +66,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for Used product ids * * @var string - * @since 2.0.0 */ protected $_usedProductIds = '_cache_instance_product_ids'; @@ -77,7 +73,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Cache key for used products * * @var string - * @since 2.0.0 */ protected $_usedProducts = '_cache_instance_products'; @@ -93,7 +88,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Product is composite * * @var bool - * @since 2.0.0 */ protected $_isComposite = true; @@ -101,13 +95,11 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Product is configurable * * @var bool - * @since 2.0.0 */ protected $_canConfigure = true; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -115,7 +107,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Catalog product type configurable * * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.0.0 */ protected $_catalogProductTypeConfigurable; @@ -124,7 +115,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * * @var * \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute\CollectionFactory - * @since 2.0.0 */ protected $_attributeCollectionFactory; @@ -132,7 +122,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Product collection factory * * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Product\CollectionFactory - * @since 2.0.0 */ protected $_productCollectionFactory; @@ -148,7 +137,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Eav attribute factory * * @var \Magento\Catalog\Model\ResourceModel\Eav\AttributeFactory - * @since 2.0.0 */ protected $_eavAttributeFactory; @@ -162,13 +150,12 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; /** * @var \Magento\Framework\Cache\FrontendInterface - * @since 2.1.0 + * @since 2.0.9 */ private $cache; @@ -192,7 +179,7 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType /** * @var \Magento\Customer\Model\Session - * @since 2.2.0 + * @since 2.1.1 */ private $customerSession; @@ -200,7 +187,7 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Product factory * * @var ProductInterfaceFactory - * @since 2.2.0 + * @since 2.1.6 */ private $productFactory; @@ -208,7 +195,7 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * Collection salable processor * * @var SalableProcessor - * @since 2.2.0 + * @since 2.1.6 */ private $salableProcessor; @@ -236,7 +223,6 @@ class Configurable extends \Magento\Catalog\Model\Product\Type\AbstractType * @param ProductInterfaceFactory $productFactory * @param SalableProcessor $salableProcessor * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\Product\Option $catalogProductOption, @@ -291,9 +277,9 @@ public function __construct( } /** - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @return \Magento\Framework\Cache\FrontendInterface - * @since 2.2.0 + * @since 2.1.1 */ private function getCache() { @@ -304,9 +290,9 @@ private function getCache() } /** - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @return \Magento\Customer\Model\Session - * @since 2.2.0 + * @since 2.1.1 */ private function getCustomerSession() { @@ -320,7 +306,6 @@ private function getCustomerSession() * Return relation info about used products * * @return \Magento\Framework\DataObject Object with information data - * @since 2.0.0 */ public function getRelationInfo() { @@ -344,7 +329,6 @@ public function getRelationInfo() * @param array|int $parentId * @param bool $required * @return array - * @since 2.0.0 */ public function getChildrenIds($parentId, $required = true) { @@ -356,7 +340,6 @@ public function getChildrenIds($parentId, $required = true) * * @param int|array $childId * @return array - * @since 2.0.0 */ public function getParentIdsByChild($childId) { @@ -368,7 +351,6 @@ public function getParentIdsByChild($childId) * * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return bool - * @since 2.0.0 */ public function canUseAttribute(\Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute) { @@ -385,7 +367,6 @@ public function canUseAttribute(\Magento\Catalog\Model\ResourceModel\Eav\Attribu * @param \Magento\Catalog\Model\Product $product * @return \Magento\ConfigurableProduct\Model\Product\Type\Configurable * @deprecated 2.1.0 use \Magento\ConfigurableProduct\Model\Product\Type\Configurable::setUsedProductAttributes instead - * @since 2.0.0 */ public function setUsedProductAttributeIds($ids, $product) { @@ -411,7 +392,7 @@ public function setUsedProductAttributeIds($ids, $product) * @param ProductInterface $product * @param array $ids * @return $this - * @since 2.1.0 + * @since 2.0.9 */ public function setUsedProductAttributes(ProductInterface $product, array $ids) { @@ -431,7 +412,6 @@ public function setUsedProductAttributes(ProductInterface $product, array $ids) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getUsedProductAttributeIds($product) { @@ -450,7 +430,6 @@ public function getUsedProductAttributeIds($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getUsedProductAttributes($product) { @@ -475,7 +454,6 @@ public function getUsedProductAttributes($product) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\ConfigurableProduct\Model\Product\Type\Configurable\Attribute[] - * @since 2.0.0 */ public function getConfigurableAttributes($product) { @@ -498,7 +476,6 @@ public function getConfigurableAttributes($product) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function resetConfigurableAttributes($product) { @@ -511,7 +488,6 @@ public function resetConfigurableAttributes($product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getConfigurableAttributesAsArray($product) { @@ -545,7 +521,6 @@ public function getConfigurableAttributesAsArray($product) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute\Collection - * @since 2.0.0 */ public function getConfigurableAttributeCollection(\Magento\Catalog\Model\Product $product) { @@ -555,10 +530,9 @@ public function getConfigurableAttributeCollection(\Magento\Catalog\Model\Produc /** * Retrieve subproducts identifiers * - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getUsedProductIds($product) { @@ -576,7 +550,7 @@ public function getUsedProductIds($product) * Retrieve GalleryReadHandler * * @return GalleryReadHandler - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @since 2.1.0 */ protected function getGalleryReadHandler() @@ -593,7 +567,6 @@ protected function getGalleryReadHandler() * * @param \Magento\Catalog\Model\Product $product * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Product\Collection - * @since 2.0.0 */ public function getUsedProductCollection($product) { @@ -615,7 +588,6 @@ public function getUsedProductCollection($product) * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function beforeSave($product) { @@ -654,7 +626,6 @@ public function beforeSave($product) * @return $this * @throws \InvalidArgumentException * @deprecated 2.1.0 the \Magento\ConfigurableProduct\Model\Product\SaveHandler::execute should be used instead - * @since 2.0.0 */ public function save($product) { @@ -755,7 +726,6 @@ private function saveRelatedProducts(ProductInterface $product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function isSalable($product) { @@ -778,7 +748,6 @@ public function isSalable($product) * @param \Magento\Catalog\Model\Product $product * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsSalable($product) { @@ -794,7 +763,6 @@ public function getIsSalable($product) * @param array $attributesInfo * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\Product|null - * @since 2.0.0 */ public function getProductByAttributes($attributesInfo, $product) { @@ -831,7 +799,6 @@ public function getProductByAttributes($attributesInfo, $product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getSelectedAttributesInfo($product) { @@ -886,7 +853,6 @@ public function getSelectedAttributesInfo($product) * @return \Magento\Framework\Phrase|array|string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $product, $processMode) { @@ -983,7 +949,6 @@ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $p * @param \Magento\Catalog\Model\Product $product * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function checkProductBuyState($product) { @@ -1010,7 +975,6 @@ public function checkProductBuyState($product) * Retrieve message for specify option(s) * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getSpecifyOptionMessage() { @@ -1023,7 +987,6 @@ public function getSpecifyOptionMessage() * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getOrderOptions($product) { @@ -1045,7 +1008,6 @@ public function getOrderOptions($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function isVirtual($product) { @@ -1063,7 +1025,6 @@ public function isVirtual($product) * * @param \Magento\Catalog\Model\Product $product * @return bool - * @since 2.0.0 */ public function hasOptions($product) { @@ -1085,7 +1046,6 @@ public function hasOptions($product) * * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getWeight($product) { @@ -1108,7 +1068,6 @@ public function getWeight($product) * @param \Magento\Catalog\Model\Product|null $product * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function assignProductToOption($optionProduct, $option, $product) { @@ -1126,7 +1085,6 @@ public function assignProductToOption($optionProduct, $option, $product) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getProductsToPurchaseByReqGroups($product) { @@ -1138,7 +1096,6 @@ public function getProductsToPurchaseByReqGroups($product) * * @param \Magento\Catalog\Model\Product $product * @return string - * @since 2.0.0 */ public function getSku($product) { @@ -1164,7 +1121,6 @@ public function getSku($product) * @param \Magento\Framework\DataObject $buyRequest * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function processBuyRequest($product, $buyRequest) { @@ -1181,7 +1137,6 @@ public function processBuyRequest($product, $buyRequest) * * @param \Magento\Catalog\Model\Product $product * @return array - * @since 2.0.0 */ public function getConfigurableOptions($product) { @@ -1195,7 +1150,6 @@ public function getConfigurableOptions($product) * Delete data specific for Configurable product type * * @param \Magento\Catalog\Model\Product $product - * @since 2.0.0 */ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) { @@ -1213,7 +1167,6 @@ public function deleteTypeSpecificData(\Magento\Catalog\Model\Product $product) * @param \Magento\Catalog\Model\Product $product * @return \Magento\Catalog\Model\ResourceModel\Eav\Attribute * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getAttributeById($attributeId, $product) { @@ -1225,7 +1178,6 @@ public function getAttributeById($attributeId, $product) * * @param \Magento\Catalog\Model\Product $product * @return \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.0.0 */ public function setImageFromChildProduct(\Magento\Catalog\Model\Product $product) { @@ -1291,7 +1243,6 @@ public function isPossibleBuyFromList($product) * @param \Magento\Catalog\Model\Product $product * @param array $requiredAttributeIds * @return ProductInterface[] - * @since 2.0.0 */ public function getUsedProducts($product, $requiredAttributeIds = null) { @@ -1318,7 +1269,7 @@ public function getUsedProducts($product, $requiredAttributeIds = null) * @param array|null $requiredAttributeIds * @return ProductInterface[] * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function getSalableUsedProducts(\Magento\Catalog\Model\Product $product, $requiredAttributeIds = null) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Attribute.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Attribute.php index 2b17a7afaee3e..574434494429b 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Attribute.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Attribute.php @@ -16,7 +16,6 @@ * @method Attribute getResource() * @method Attribute setProductAttribute(\Magento\Eav\Model\Entity\Attribute\AbstractAttribute $value) * @method \Magento\Eav\Model\Entity\Attribute\AbstractAttribute getProductAttribute() - * @since 2.0.0 */ class Attribute extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\ConfigurableProduct\Api\Data\OptionInterface @@ -75,7 +74,6 @@ public function __construct( * Initialize resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -86,7 +84,6 @@ protected function _construct() * Get attribute options * * @return array - * @since 2.0.0 */ public function getOptions() { @@ -95,7 +92,6 @@ public function getOptions() /** * {@inheritdoc} - * @since 2.0.0 */ public function getLabel() { @@ -112,7 +108,6 @@ public function getLabel() * After save process * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -127,7 +122,6 @@ public function afterSave() * @param \Magento\Catalog\Model\Product $product * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute * @return void - * @since 2.0.0 */ public function loadByProductAndAttribute($product, $attribute) { @@ -147,7 +141,6 @@ public function loadByProductAndAttribute($product, $attribute) * * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ public function deleteByProduct($product) { @@ -158,7 +151,6 @@ public function deleteByProduct($product) /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getAttributeId() { @@ -168,7 +160,6 @@ public function getAttributeId() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getPosition() { @@ -178,7 +169,6 @@ public function getPosition() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getIsUseDefault() { @@ -188,7 +178,6 @@ public function getIsUseDefault() /** * {@inheritdoc} * @codeCoverageIgnore - * @since 2.0.0 */ public function getValues() { @@ -200,7 +189,6 @@ public function getValues() /** * @param string $attributeId * @return $this - * @since 2.0.0 */ public function setAttributeId($attributeId) { @@ -210,7 +198,6 @@ public function setAttributeId($attributeId) /** * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -220,7 +207,6 @@ public function setLabel($label) /** * @param int $position * @return $this - * @since 2.0.0 */ public function setPosition($position) { @@ -230,7 +216,6 @@ public function setPosition($position) /** * @param bool $isUseDefault * @return $this - * @since 2.0.0 */ public function setIsUseDefault($isUseDefault) { @@ -240,7 +225,6 @@ public function setIsUseDefault($isUseDefault) /** * @param \Magento\ConfigurableProduct\Api\Data\OptionValueInterface[] $values * @return $this - * @since 2.0.0 */ public function setValues(array $values = null) { @@ -251,7 +235,6 @@ public function setValues(array $values = null) * {@inheritdoc} * * @return \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -263,7 +246,6 @@ public function getExtensionAttributes() * * @param \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\OptionExtensionInterface $extensionAttributes @@ -273,7 +255,6 @@ public function setExtensionAttributes( /** * {@inheritdoc} - * @since 2.0.0 */ public function getProductId() { @@ -282,7 +263,6 @@ public function getProductId() /** * {@inheritdoc} - * @since 2.0.0 */ public function setProductId($value) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/OptionValue.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/OptionValue.php index 91ae75fa33ffc..856e2ac163aef 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/OptionValue.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/OptionValue.php @@ -10,7 +10,6 @@ /** * Class OptionValue * - * @since 2.0.0 */ class OptionValue extends \Magento\Framework\Model\AbstractExtensibleModel implements \Magento\ConfigurableProduct\Api\Data\OptionValueInterface @@ -25,7 +24,6 @@ class OptionValue extends \Magento\Framework\Model\AbstractExtensibleModel imple /** * {@inheritdoc} - * @since 2.0.0 */ public function getValueIndex() { @@ -35,7 +33,6 @@ public function getValueIndex() /** * @param int $valueIndex * @return $this - * @since 2.0.0 */ public function setValueIndex($valueIndex) { @@ -46,7 +43,6 @@ public function setValueIndex($valueIndex) * {@inheritdoc} * * @return \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -58,7 +54,6 @@ public function getExtensionAttributes() * * @param \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\OptionValueExtensionInterface $extensionAttributes diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php index bdd43d0e5b551..34769a2e37f42 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable/Price.php @@ -10,7 +10,6 @@ /** * Class \Magento\ConfigurableProduct\Model\Product\Type\Configurable\Price * - * @since 2.0.0 */ class Price extends \Magento\Catalog\Model\Product\Type\Price { @@ -20,7 +19,6 @@ class Price extends \Magento\Catalog\Model\Product\Type\Price * @param float $qty * @param \Magento\Catalog\Model\Product $product * @return float - * @since 2.0.0 */ public function getFinalPrice($qty, $product) { @@ -42,7 +40,6 @@ public function getFinalPrice($qty, $product) /** * {@inheritdoc} - * @since 2.0.0 */ public function getPrice($product) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Plugin.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Plugin.php index 33e138c42261c..b751791812893 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/Plugin.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/Plugin.php @@ -11,19 +11,16 @@ /** * Class \Magento\ConfigurableProduct\Model\Product\Type\Plugin * - * @since 2.0.0 */ class Plugin { /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @param Manager $moduleManager - * @since 2.0.0 */ public function __construct(Manager $moduleManager) { @@ -38,7 +35,6 @@ public function __construct(Manager $moduleManager) * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterGetOptionArray(\Magento\Catalog\Model\Product\Type $subject, array $result) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php b/app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php index 9788495bdd982..113aecc8c353d 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class VariationMatrix { @@ -16,7 +15,6 @@ class VariationMatrix * * @param array $usedProductAttributes * @return array - * @since 2.0.0 */ public function getVariations($usedProductAttributes) { @@ -56,7 +54,6 @@ public function getVariations($usedProductAttributes) * * @param array $usedProductAttributes * @return array - * @since 2.0.0 */ private function combineVariationalAttributes($usedProductAttributes) { @@ -85,7 +82,6 @@ private function combineVariationalAttributes($usedProductAttributes) * @param array $variationalAttributes * @param array $currentVariation * @return void - * @since 2.0.0 */ private function incrementVariationalIndex($attributesCount, $variationalAttributes, &$currentVariation) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/TypeTransitionManager/Plugin/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/Product/TypeTransitionManager/Plugin/Configurable.php index b7c53c3b9d6c9..fb4d3442d93b8 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/TypeTransitionManager/Plugin/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/TypeTransitionManager/Plugin/Configurable.php @@ -13,7 +13,6 @@ /** * Class \Magento\ConfigurableProduct\Model\Product\TypeTransitionManager\Plugin\Configurable * - * @since 2.0.0 */ class Configurable { @@ -21,13 +20,11 @@ class Configurable * Request instance * * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; /** * @param RequestInterface $request - * @since 2.0.0 */ public function __construct(RequestInterface $request) { @@ -42,7 +39,6 @@ public function __construct(RequestInterface $request) * @param \Magento\Catalog\Model\Product $product * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundProcessProduct( \Magento\Catalog\Model\Product\TypeTransitionManager $subject, diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/Validator/Plugin.php b/app/code/Magento/ConfigurableProduct/Model/Product/Validator/Plugin.php index 7210737a3b251..3dcb8c0ef216c 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/Validator/Plugin.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/Validator/Plugin.php @@ -14,25 +14,21 @@ /** * Configurable product validation - * @since 2.0.0 */ class Plugin { /** * @var \Magento\Framework\Event\Manager - * @since 2.0.0 */ protected $eventManager; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var Data - * @since 2.0.0 */ protected $jsonHelper; @@ -40,7 +36,6 @@ class Plugin * @param Manager $eventManager * @param ProductFactory $productFactory * @param Data $jsonHelper - * @since 2.0.0 */ public function __construct( Manager $eventManager, @@ -116,7 +111,6 @@ public function afterValidate( * @param array $products * @param RequestInterface $request * @return array - * @since 2.0.0 */ protected function _validateProductVariations(Product $parentProduct, array $products, RequestInterface $request) { @@ -161,7 +155,6 @@ protected function _validateProductVariations(Product $parentProduct, array $pro /** * @param Product $product * @return array - * @since 2.0.0 */ protected function getRequiredDataFromProduct(Product $product) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Product/VariationHandler.php b/app/code/Magento/ConfigurableProduct/Model/Product/VariationHandler.php index b94bf3d65b0fc..9cfd189726e6f 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Product/VariationHandler.php +++ b/app/code/Magento/ConfigurableProduct/Model/Product/VariationHandler.php @@ -12,7 +12,6 @@ * Variation Handler * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @api - * @since 2.0.0 */ class VariationHandler { @@ -24,38 +23,33 @@ class VariationHandler /** * @var \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.0.0 */ protected $configurableProduct; /** * @var \Magento\Eav\Model\Entity\Attribute\SetFactory - * @since 2.0.0 */ protected $attributeSetFactory; /** * @var \Magento\Eav\Model\EntityFactory - * @since 2.0.0 */ protected $entityFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\Eav\Model\Entity\Attribute\AbstractAttribute[] - * @since 2.2.0 + * @since 2.1.3 */ private $attributes; /** * @var \Magento\CatalogInventory\Api\StockConfigurationInterface * @deprecated 2.1.0 - * @since 2.0.0 */ protected $stockConfiguration; @@ -66,7 +60,6 @@ class VariationHandler * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\CatalogInventory\Api\StockConfigurationInterface $stockConfiguration * @param \Magento\Catalog\Model\Product\Gallery\Processor $mediaGalleryProcessor - * @since 2.0.0 */ public function __construct( Type\Configurable $configurableProduct, @@ -91,7 +84,6 @@ public function __construct( * @param array $productsData * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function generateSimpleProducts($parentProduct, $productsData) { @@ -125,7 +117,6 @@ public function generateSimpleProducts($parentProduct, $productsData) * @deprecated 2.1.0 since 2.1.0 * @param \Magento\Catalog\Model\Product $product * @return void - * @since 2.0.0 */ protected function prepareAttributeSetToBeBaseForNewVariations(\Magento\Catalog\Model\Product $product) { @@ -171,7 +162,6 @@ public function prepareAttributeSet(\Magento\Catalog\Model\Product $product) * @SuppressWarnings(PHPMD.NPathComplexity) * * @return void - * @since 2.0.0 */ protected function fillSimpleProductData( \Magento\Catalog\Model\Product $product, @@ -232,7 +222,6 @@ protected function fillSimpleProductData( * * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function duplicateImagesForVariations($productsData) { @@ -274,7 +263,6 @@ public function duplicateImagesForVariations($productsData) * @param array $productData * * @return array - * @since 2.0.0 */ public function processMediaGallery($product, $productData) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ProductOptionProcessor.php b/app/code/Magento/ConfigurableProduct/Model/ProductOptionProcessor.php index 59e67ab01a065..8498e776f66e4 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ProductOptionProcessor.php +++ b/app/code/Magento/ConfigurableProduct/Model/ProductOptionProcessor.php @@ -15,26 +15,22 @@ /** * Class \Magento\ConfigurableProduct\Model\ProductOptionProcessor * - * @since 2.0.0 */ class ProductOptionProcessor implements ProductOptionProcessorInterface { /** * @var DataObjectFactory - * @since 2.0.0 */ protected $objectFactory; /** * @var ConfigurableItemOptionValueFactory - * @since 2.0.0 */ protected $itemOptionValueFactory; /** * @param DataObjectFactory $objectFactory * @param ConfigurableItemOptionValueFactory $itemOptionValueFactory - * @since 2.0.0 */ public function __construct( DataObjectFactory $objectFactory, @@ -46,7 +42,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToBuyRequest(ProductOptionInterface $productOption) { @@ -71,7 +66,6 @@ public function convertToBuyRequest(ProductOptionInterface $productOption) * * @param ProductOptionInterface $productOption * @return array - * @since 2.0.0 */ protected function getConfigurableItemOptions(ProductOptionInterface $productOption) { @@ -87,7 +81,6 @@ protected function getConfigurableItemOptions(ProductOptionInterface $productOpt /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToProductOption(DataObject $request) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ProductVariationsBuilder.php b/app/code/Magento/ConfigurableProduct/Model/ProductVariationsBuilder.php index f8e61d217b3b2..a649f21f368de 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ProductVariationsBuilder.php +++ b/app/code/Magento/ConfigurableProduct/Model/ProductVariationsBuilder.php @@ -9,25 +9,21 @@ /** * Class \Magento\ConfigurableProduct\Model\ProductVariationsBuilder * - * @since 2.0.0 */ class ProductVariationsBuilder { /** * @var \Magento\Framework\Api\AttributeValueFactory - * @since 2.0.0 */ private $customAttributeFactory; /** * @var \Magento\Catalog\Model\ProductFactory - * @since 2.0.0 */ protected $productFactory; /** * @var \Magento\ConfigurableProduct\Model\Product\Type\VariationMatrix - * @since 2.0.0 */ private $variationMatrix; @@ -35,7 +31,6 @@ class ProductVariationsBuilder * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory * @param Product\Type\VariationMatrix $variationMatrix - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Model\ProductFactory $productFactory, @@ -53,7 +48,6 @@ public function __construct( * @param \Magento\Catalog\Api\Data\ProductInterface $product * @param array $attributes * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.0.0 */ public function create(\Magento\Catalog\Api\Data\ProductInterface $product, $attributes) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/CartItemProcessor.php b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/CartItemProcessor.php index 19244d2c6bcb9..2a55cda832584 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/CartItemProcessor.php +++ b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/CartItemProcessor.php @@ -13,31 +13,26 @@ /** * Class \Magento\ConfigurableProduct\Model\Quote\Item\CartItemProcessor * - * @since 2.0.0 */ class CartItemProcessor implements CartItemProcessorInterface { /** * @var \Magento\Framework\DataObject\Factory - * @since 2.0.0 */ protected $objectFactory; /** * @var \Magento\Quote\Model\Quote\ProductOptionFactory - * @since 2.0.0 */ protected $productOptionFactory; /** * @var \Magento\Quote\Api\Data\ProductOptionExtensionFactory - * @since 2.0.0 */ protected $extensionFactory; /** * @var \Magento\ConfigurableProduct\Model\Quote\Item\ConfigurableItemOptionValueFactory - * @since 2.0.0 */ protected $itemOptionValueFactory; @@ -53,7 +48,6 @@ class CartItemProcessor implements CartItemProcessorInterface * @param \Magento\Quote\Api\Data\ProductOptionExtensionFactory $extensionFactory * @param \Magento\ConfigurableProduct\Model\Quote\Item\ConfigurableItemOptionValueFactory $itemOptionValueFactory * @param Json $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\DataObject\Factory $objectFactory, @@ -71,7 +65,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function convertToBuyRequest(CartItemInterface $cartItem) { @@ -91,7 +84,6 @@ public function convertToBuyRequest(CartItemInterface $cartItem) /** * {@inheritdoc} - * @since 2.0.0 */ public function processOptions(CartItemInterface $cartItem) { diff --git a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/ConfigurableItemOptionValue.php b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/ConfigurableItemOptionValue.php index c666ce6ead9ed..46639ce68dea6 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/ConfigurableItemOptionValue.php +++ b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/ConfigurableItemOptionValue.php @@ -10,7 +10,6 @@ /** * Class ConfigurableItemOptionValue - * @since 2.0.0 */ class ConfigurableItemOptionValue extends AbstractExtensibleModel implements ConfigurableItemOptionValueInterface { @@ -18,7 +17,6 @@ class ConfigurableItemOptionValue extends AbstractExtensibleModel implements Con /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptionId() { @@ -27,7 +25,6 @@ public function getOptionId() /** * {@inheritdoc} - * @since 2.0.0 */ public function setOptionId($value) { @@ -36,7 +33,6 @@ public function setOptionId($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptionValue() { @@ -45,7 +41,6 @@ public function getOptionValue() /** * {@inheritdoc} - * @since 2.0.0 */ public function setOptionValue($value) { @@ -56,7 +51,6 @@ public function setOptionValue($value) * Retrieve existing extension attributes object or create a new one. * * @return \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -68,7 +62,6 @@ public function getExtensionAttributes() * * @param \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes( \Magento\ConfigurableProduct\Api\Data\ConfigurableItemOptionValueExtensionInterface $extensionAttributes diff --git a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/QuantityValidator/Initializer/Option/Plugin/ConfigurableProduct.php b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/QuantityValidator/Initializer/Option/Plugin/ConfigurableProduct.php index b23ca5a3090c7..d28ce8adec4c3 100644 --- a/app/code/Magento/ConfigurableProduct/Model/Quote/Item/QuantityValidator/Initializer/Option/Plugin/ConfigurableProduct.php +++ b/app/code/Magento/ConfigurableProduct/Model/Quote/Item/QuantityValidator/Initializer/Option/Plugin/ConfigurableProduct.php @@ -10,7 +10,6 @@ /** * Class \Magento\ConfigurableProduct\Model\Quote\Item\QuantityValidator\Initializer\Option\Plugin\ConfigurableProduct * - * @since 2.0.0 */ class ConfigurableProduct { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Indexer/Stock/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Indexer/Stock/Configurable.php index ed56f2f7ac037..35c208544d816 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Indexer/Stock/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Indexer/Stock/Configurable.php @@ -20,7 +20,6 @@ * Stock indexer for configurable product. * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Configurable extends \Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\DefaultStock { @@ -60,7 +59,6 @@ public function __construct( * @param int|array $entityIds * @param bool $usePrimaryTable use primary or temporary index table * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getStockStatusSelect($entityIds = null, $usePrimaryTable = false) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/Configurable.php index 3095f324bdfe1..b0fab05dbd7d4 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Indexer/Price/Configurable.php @@ -15,13 +15,12 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Configurable extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice { /** * @var StoreResolverInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeResolver; @@ -35,7 +34,7 @@ class Configurable extends \Magento\Catalog\Model\ResourceModel\Product\Indexer\ * @param \Magento\Framework\Module\Manager $moduleManager * @param string|null $connectionName * @param StoreResolverInterface|null $storeResolver - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -55,7 +54,6 @@ public function __construct( /** * @param null|int|array $entityIds * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable - * @since 2.0.0 */ protected function reindex($entityIds = null) { @@ -72,7 +70,6 @@ protected function reindex($entityIds = null) * Retrieve table name for custom option temporary aggregation data * * @return string - * @since 2.0.0 */ protected function _getConfigurableOptionAggregateTable() { @@ -83,7 +80,6 @@ protected function _getConfigurableOptionAggregateTable() * Retrieve table name for custom option prices data * * @return string - * @since 2.0.0 */ protected function _getConfigurableOptionPriceTable() { @@ -94,7 +90,6 @@ protected function _getConfigurableOptionPriceTable() * Prepare table structure for custom option temporary aggregation data * * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable - * @since 2.0.0 */ protected function _prepareConfigurableOptionAggregateTable() { @@ -106,7 +101,6 @@ protected function _prepareConfigurableOptionAggregateTable() * Prepare table structure for custom option prices data * * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable - * @since 2.0.0 */ protected function _prepareConfigurableOptionPriceTable() { @@ -120,7 +114,6 @@ protected function _prepareConfigurableOptionPriceTable() * * @return \Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price\Configurable * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _applyConfigurableOption() { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable.php index 1197aa0b98644..aa02365a73b5b 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable.php @@ -21,7 +21,6 @@ /** * Class \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable * - * @since 2.0.0 */ class Configurable extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -41,7 +40,7 @@ class Configurable extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb /** * @var ScopeResolverInterface - * @since 2.2.0 + * @since 2.1.1 */ private $scopeResolver; @@ -58,7 +57,6 @@ class Configurable extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param ScopeResolverInterface $scopeResolver * @param AttributeOptionProviderInterface $attributeOptionProvider * @param OptionProvider $optionProvider - * @since 2.0.0 */ public function __construct( DbContext $context, @@ -80,7 +78,6 @@ public function __construct( * Init resource * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -113,7 +110,6 @@ public function getEntityIdByAttribute(OptionInterface $option) * @param ProductModel $mainProduct the parent id * @param array $productIds the children id array * @return $this - * @since 2.0.0 */ public function saveProducts($mainProduct, array $productIds) { @@ -159,7 +155,6 @@ public function saveProducts($mainProduct, array $productIds) * @param bool $required * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getChildrenIds($parentId, $required = true) { @@ -192,7 +187,6 @@ public function getChildrenIds($parentId, $required = true) * * @param int|array $childId * @return string[] - * @since 2.0.0 */ public function getParentIdsByChild($childId) { @@ -219,7 +213,6 @@ public function getParentIdsByChild($childId) * @param ProductModel $product * @param array $attributes * @return array - * @since 2.0.0 */ public function getConfigurableOptions($product, $attributes) { @@ -238,7 +231,7 @@ public function getConfigurableOptions($product, $attributes) * @param AbstractAttribute $superAttribute * @param int $productId * @return array - * @since 2.2.0 + * @since 2.1.1 */ public function getAttributeOptions(AbstractAttribute $superAttribute, $productId) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute.php index ee34e2ac4ce4d..5c206832ca3b3 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute.php @@ -14,7 +14,6 @@ /** * Class \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute * - * @since 2.0.0 */ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -22,7 +21,6 @@ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Label table name cache * * @var string - * @since 2.0.0 */ protected $_labelTable; @@ -30,7 +28,6 @@ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -38,7 +35,6 @@ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -47,7 +43,6 @@ class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Catalog\Helper\Data $catalogData * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -64,7 +59,6 @@ public function __construct( * Inititalize connection and define tables * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -77,7 +71,6 @@ protected function _construct() * * @param \Magento\ConfigurableProduct\Model\Product\Type\Configurable\Attribute $attribute * @return $this - * @since 2.0.0 */ public function saveLabel($attribute) { @@ -121,7 +114,6 @@ public function saveLabel($attribute) * * @param int $setId The specific attribute set * @return array - * @since 2.0.0 */ public function getUsedAttributes($setId) { @@ -158,7 +150,6 @@ public function getUsedAttributes($setId) * * @return string * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function getIdByProductIdAndAttributeId($attribute, $productId, $attributeId) { @@ -180,7 +171,6 @@ public function getIdByProductIdAndAttributeId($attribute, $productId, $attribut * * @param mixed $productId * @return void - * @since 2.0.0 */ public function deleteAttributesByProductId($productId) { @@ -197,7 +187,6 @@ public function deleteAttributesByProductId($productId) /** * @param \Magento\Framework\Model\AbstractModel $object * @return $this - * @since 2.0.0 */ protected function _afterLoad(\Magento\Framework\Model\AbstractModel $object) { @@ -211,7 +200,6 @@ protected function _afterLoad(\Magento\Framework\Model\AbstractModel $object) * * @param ConfigurableAttribute $object * @return $this - * @since 2.0.0 */ protected function loadLabel(ConfigurableAttribute $object) { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute/Collection.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute/Collection.php index 9923f10e0b82f..669085468f548 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute/Collection.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute/Collection.php @@ -19,13 +19,12 @@ * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { /** * @var \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable - * @since 2.2.0 + * @since 2.1.1 */ private $configurableResource; @@ -33,7 +32,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Configurable attributes label table name * * @var string - * @since 2.0.0 */ protected $_labelTable; @@ -41,7 +39,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Product instance * * @var \Magento\Catalog\Model\Product - * @since 2.0.0 */ protected $_product; @@ -49,7 +46,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Catalog data * * @var \Magento\Catalog\Helper\Data - * @since 2.0.0 */ protected $_catalogData = null; @@ -57,7 +53,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Catalog product type configurable * * @var Configurable - * @since 2.0.0 */ protected $_productTypeConfigurable; @@ -65,7 +60,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Store manager * * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -87,7 +81,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * @param \Magento\Framework\DB\Adapter\AdapterInterface $connection * @param ConfigurableResource $configurableResource * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -112,7 +105,6 @@ public function __construct( * Initialize connection and define table names * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -128,7 +120,6 @@ protected function _construct() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProductFilter($product) { @@ -141,7 +132,6 @@ public function setProductFilter($product) * Get product type * * @return Configurable - * @since 2.0.0 */ private function getProductType() { @@ -153,7 +143,6 @@ private function getProductType() * * @param string $dir * @return $this - * @since 2.0.0 */ public function orderByPosition($dir = self::SORT_ORDER_ASC) { @@ -165,7 +154,6 @@ public function orderByPosition($dir = self::SORT_ORDER_ASC) * Retrieve Store Id * * @return int - * @since 2.0.0 */ public function getStoreId() { @@ -176,7 +164,6 @@ public function getStoreId() * After load collection process * * @return $this - * @since 2.0.0 */ protected function _afterLoad() { @@ -197,7 +184,6 @@ protected function _afterLoad() * Add product attributes to collection items * * @return $this - * @since 2.0.0 */ protected function _addProductAttributes() { @@ -215,8 +201,7 @@ protected function _addProductAttributes() * Add Associated Product Filters (From Product Type Instance) * * @return $this - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ public function _addAssociatedProductFilters() { @@ -231,7 +216,6 @@ public function _addAssociatedProductFilters() * Load attribute labels * * @return $this - * @since 2.0.0 */ protected function _loadLabels() { @@ -273,7 +257,6 @@ protected function _loadLabels() /** * @return void - * @since 2.0.0 */ protected function loadOptions() { @@ -312,7 +295,6 @@ protected function loadOptions() * @param \Magento\Catalog\Model\Product[] $usedProducts * @param AbstractAttribute $productAttribute * @return array - * @since 2.0.0 */ protected function getIncludedOptions(array $usedProducts, AbstractAttribute $productAttribute) { @@ -328,7 +310,6 @@ protected function getIncludedOptions(array $usedProducts, AbstractAttribute $pr * Retrieve product instance * * @return \Magento\Catalog\Model\Product - * @since 2.0.0 */ private function getProduct() { @@ -337,7 +318,7 @@ private function getProduct() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __sleep() { @@ -356,7 +337,7 @@ public function __sleep() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __wakeup() { @@ -387,9 +368,9 @@ private function getMetadataPool() /** * Get Configurable Resource * - * @deprecated 2.2.0 + * @deprecated 2.1.1 * @return ConfigurableResource - * @since 2.2.0 + * @since 2.1.1 */ private function getConfigurableResource() { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php index 22247e14eee6b..71700d183b3a7 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Product/Collection.php @@ -12,7 +12,6 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection { @@ -20,7 +19,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Link table name * * @var string - * @since 2.0.0 */ protected $_linkTable; @@ -28,7 +26,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection * Assign link table name * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -39,7 +36,6 @@ protected function _construct() /** * Init select * @return $this|\Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Product\Collection - * @since 2.0.0 */ protected function _initSelect() { @@ -59,7 +55,6 @@ protected function _initSelect() * * @param \Magento\Catalog\Model\Product $product * @return $this - * @since 2.0.0 */ public function setProductFilter($product) { @@ -74,7 +69,6 @@ public function setProductFilter($product) * Return alvays false if magento run admin * * @return bool - * @since 2.0.0 */ public function isEnabledFlat() { diff --git a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Setup/PropertyMapper.php b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Setup/PropertyMapper.php index 4486cdcd658c3..2f113fcbc5fd5 100644 --- a/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Setup/PropertyMapper.php +++ b/app/code/Magento/ConfigurableProduct/Model/ResourceModel/Setup/PropertyMapper.php @@ -12,7 +12,6 @@ /** * Class \Magento\ConfigurableProduct\Model\ResourceModel\Setup\PropertyMapper * - * @since 2.0.0 */ class PropertyMapper extends PropertyMapperAbstract { @@ -25,7 +24,6 @@ class PropertyMapper extends PropertyMapperAbstract * @SuppressWarnings(PHPMD.UnusedFormalParameter) * * @return array - * @since 2.0.0 */ public function map(array $input, $entityTypeId) { diff --git a/app/code/Magento/ConfigurableProduct/Model/SuggestedAttributeList.php b/app/code/Magento/ConfigurableProduct/Model/SuggestedAttributeList.php index c7083db69fa3a..259765a093b18 100644 --- a/app/code/Magento/ConfigurableProduct/Model/SuggestedAttributeList.php +++ b/app/code/Magento/ConfigurableProduct/Model/SuggestedAttributeList.php @@ -10,13 +10,11 @@ /** * Class \Magento\ConfigurableProduct\Model\SuggestedAttributeList * - * @since 2.0.0 */ class SuggestedAttributeList { /** * @var ConfigurableAttributeHandler - * @since 2.0.0 */ protected $configurableAttributeHandler; @@ -24,14 +22,12 @@ class SuggestedAttributeList * Catalog resource helper * * @var \Magento\Catalog\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * @param ConfigurableAttributeHandler $configurableAttributeHandler * @param \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper - * @since 2.0.0 */ public function __construct( \Magento\ConfigurableProduct\Model\ConfigurableAttributeHandler $configurableAttributeHandler, @@ -46,7 +42,6 @@ public function __construct( * * @param string $labelPart * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getSuggestedAttributes($labelPart) { diff --git a/app/code/Magento/ConfigurableProduct/Plugin/Model/ResourceModel/Product.php b/app/code/Magento/ConfigurableProduct/Plugin/Model/ResourceModel/Product.php index f26b7074458cc..f4826e76be228 100644 --- a/app/code/Magento/ConfigurableProduct/Plugin/Model/ResourceModel/Product.php +++ b/app/code/Magento/ConfigurableProduct/Plugin/Model/ResourceModel/Product.php @@ -11,7 +11,6 @@ /** * Class \Magento\ConfigurableProduct\Plugin\Model\ResourceModel\Product * - * @since 2.0.0 */ class Product { @@ -23,7 +22,6 @@ class Product * @return void * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function beforeSave( \Magento\Catalog\Model\ResourceModel\Product $subject, diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProvider.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProvider.php index 1095337d439d0..146cced35f651 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProvider.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProvider.php @@ -16,19 +16,19 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Price\ConfigurableOptionsProvider * - * @since 2.2.0 + * @since 2.1.1 */ class ConfigurableOptionsProvider implements ConfigurableOptionsProviderInterface { /** * @var \Magento\ConfigurableProduct\Model\Product\Type\Configurable - * @since 2.2.0 + * @since 2.1.1 */ private $configurable; /** * @var ProductInterface[] - * @since 2.2.0 + * @since 2.1.1 */ private $products; @@ -39,7 +39,7 @@ class ConfigurableOptionsProvider implements ConfigurableOptionsProviderInterfac * @param CollectionFactory $collectionFactory * @param RequestSafetyInterface $requestSafety * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( Configurable $configurable, @@ -53,7 +53,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.1 */ public function getProducts(ProductInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProviderInterface.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProviderInterface.php index a82721c36ffa8..6891c06d11a6c 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProviderInterface.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableOptionsProviderInterface.php @@ -11,14 +11,14 @@ /** * Provide configurable sub-products for price calculation * @api - * @since 2.2.0 + * @since 2.1.1 */ interface ConfigurableOptionsProviderInterface { /** * @param ProductInterface $product * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.2.0 + * @since 2.1.1 */ public function getProducts(\Magento\Catalog\Api\Data\ProductInterface $product); } diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurablePriceResolver.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurablePriceResolver.php index 395cd57baec1c..3ad18fa54c8b9 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurablePriceResolver.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurablePriceResolver.php @@ -13,33 +13,29 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Price\ConfigurablePriceResolver * - * @since 2.0.0 */ class ConfigurablePriceResolver implements PriceResolverInterface { /** * @var \Magento\ConfigurableProduct\Pricing\Price\PriceResolverInterface - * @since 2.0.0 */ protected $priceResolver; /** * @var PriceCurrencyInterface - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ protected $priceCurrency; /** * @var Configurable - * @deprecated 2.2.0 - * @since 2.0.0 + * @deprecated 2.1.1 */ protected $configurable; /** * @var LowestPriceOptionsProviderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $lowestPriceOptionsProvider; @@ -48,7 +44,6 @@ class ConfigurablePriceResolver implements PriceResolverInterface * @param Configurable $configurable * @param PriceCurrencyInterface $priceCurrency * @param LowestPriceOptionsProviderInterface $lowestPriceOptionsProvider - * @since 2.0.0 */ public function __construct( PriceResolverInterface $priceResolver, @@ -67,7 +62,6 @@ public function __construct( * @param \Magento\Framework\Pricing\SaleableInterface|\Magento\Catalog\Model\Product $product * @return float * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function resolvePrice(\Magento\Framework\Pricing\SaleableInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php index 90ed50739ab90..38980252ff36e 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPrice.php @@ -12,7 +12,6 @@ /** * Class RegularPrice - * @since 2.0.0 */ class ConfigurableRegularPrice extends AbstractPrice implements ConfigurableRegularPriceInterface { @@ -23,37 +22,33 @@ class ConfigurableRegularPrice extends AbstractPrice implements ConfigurableRegu /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $maxRegularAmount; /** * @var \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected $minRegularAmount; /** * @var array - * @since 2.0.0 */ protected $values = []; /** * @var \Magento\ConfigurableProduct\Pricing\Price\PriceResolverInterface - * @since 2.0.0 */ protected $priceResolver; /** * @var ConfigurableOptionsProviderInterface - * @since 2.2.0 + * @since 2.1.1 */ private $configurableOptionsProvider; /** * @var LowestPriceOptionsProviderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $lowestPriceOptionsProvider; @@ -64,7 +59,6 @@ class ConfigurableRegularPrice extends AbstractPrice implements ConfigurableRegu * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param PriceResolverInterface $priceResolver * @param LowestPriceOptionsProviderInterface $lowestPriceOptionsProvider - * @since 2.0.0 */ public function __construct( \Magento\Framework\Pricing\SaleableInterface $saleableItem, @@ -82,7 +76,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue() { @@ -95,7 +88,6 @@ public function getValue() /** * {@inheritdoc} - * @since 2.0.0 */ public function getAmount() { @@ -104,7 +96,6 @@ public function getAmount() /** * {@inheritdoc} - * @since 2.0.0 */ public function getMaxRegularAmount() { @@ -118,7 +109,6 @@ public function getMaxRegularAmount() * Get max regular amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected function doGetMaxRegularAmount() { @@ -134,7 +124,6 @@ protected function doGetMaxRegularAmount() /** * {@inheritdoc} - * @since 2.0.0 */ public function getMinRegularAmount() { @@ -148,7 +137,6 @@ public function getMinRegularAmount() * Get min regular amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ protected function doGetMinRegularAmount() { @@ -166,7 +154,6 @@ protected function doGetMinRegularAmount() * Get children simple products * * @return Product[] - * @since 2.0.0 */ protected function getUsedProducts() { @@ -175,8 +162,8 @@ protected function getUsedProducts() /** * @return \Magento\ConfigurableProduct\Pricing\Price\ConfigurableOptionsProviderInterface - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.1 + * @since 2.1.1 */ private function getConfigurableOptionsProvider() { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPriceInterface.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPriceInterface.php index 0e74de3d5e1ff..2f45285070a82 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPriceInterface.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/ConfigurableRegularPriceInterface.php @@ -12,7 +12,6 @@ /** * Configurable regular price interface * @api - * @since 2.0.0 */ interface ConfigurableRegularPriceInterface extends BasePriceProviderInterface { @@ -20,7 +19,6 @@ interface ConfigurableRegularPriceInterface extends BasePriceProviderInterface * Get max regular amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMaxRegularAmount(); @@ -28,7 +26,6 @@ public function getMaxRegularAmount(); * Get min regular amount * * @return \Magento\Framework\Pricing\Amount\AmountInterface - * @since 2.0.0 */ public function getMinRegularAmount(); } diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPrice.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPrice.php index 9c3055d094e49..60a03ceecdae4 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPrice.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPrice.php @@ -9,19 +9,16 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Price\FinalPrice * - * @since 2.0.0 */ class FinalPrice extends \Magento\Catalog\Pricing\Price\FinalPrice { /** * @var \Magento\ConfigurableProduct\Pricing\Price\PriceResolverInterface - * @since 2.0.0 */ protected $priceResolver; /** * @var array - * @since 2.0.0 */ protected $values = []; @@ -31,7 +28,6 @@ class FinalPrice extends \Magento\Catalog\Pricing\Price\FinalPrice * @param \Magento\Framework\Pricing\Adjustment\CalculatorInterface $calculator * @param \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency * @param PriceResolverInterface $priceResolver - * @since 2.0.0 */ public function __construct( \Magento\Framework\Pricing\SaleableInterface $saleableItem, @@ -46,7 +42,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue() { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPriceResolver.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPriceResolver.php index a1db77e1f7cba..2d571df38e1ed 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPriceResolver.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/FinalPriceResolver.php @@ -11,14 +11,12 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Price\FinalPriceResolver * - * @since 2.0.0 */ class FinalPriceResolver implements PriceResolverInterface { /** * @param \Magento\Framework\Pricing\SaleableInterface $product * @return float - * @since 2.0.0 */ public function resolvePrice(\Magento\Framework\Pricing\SaleableInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProvider.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProvider.php index 8a8cf5f044230..cf4edc6882a7e 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProvider.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProvider.php @@ -12,25 +12,25 @@ /** * Retrieve list of products where each product contains lower price than others at least for one possible price type - * @since 2.2.0 + * @since 2.1.3 */ class LowestPriceOptionsProvider implements LowestPriceOptionsProviderInterface { /** * @var ResourceConnection - * @since 2.2.0 + * @since 2.1.3 */ private $resource; /** * @var LinkedProductSelectBuilderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $linkedProductSelectBuilder; /** * @var CollectionFactory - * @since 2.2.0 + * @since 2.1.3 */ private $collectionFactory; @@ -46,7 +46,7 @@ class LowestPriceOptionsProvider implements LowestPriceOptionsProviderInterface * @param ResourceConnection $resourceConnection * @param LinkedProductSelectBuilderInterface $linkedProductSelectBuilder * @param CollectionFactory $collectionFactory - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( ResourceConnection $resourceConnection, @@ -60,7 +60,7 @@ public function __construct( /** * {@inheritdoc} - * @since 2.2.0 + * @since 2.1.3 */ public function getProducts(ProductInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProviderInterface.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProviderInterface.php index 4d10410891ea5..87a73faaa269f 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProviderInterface.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/LowestPriceOptionsProviderInterface.php @@ -10,14 +10,14 @@ /** * Retrieve list of products where each product contains lower price than others at least for one possible price type * @api - * @since 2.2.0 + * @since 2.1.3 */ interface LowestPriceOptionsProviderInterface { /** * @param ProductInterface $product * @return \Magento\Catalog\Api\Data\ProductInterface[] - * @since 2.2.0 + * @since 2.1.3 */ public function getProducts(\Magento\Catalog\Api\Data\ProductInterface $product); } diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/PriceResolverInterface.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/PriceResolverInterface.php index 9dd8ac754c38e..600903f7ece1c 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/PriceResolverInterface.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/PriceResolverInterface.php @@ -8,14 +8,12 @@ /** * @api - * @since 2.0.0 */ interface PriceResolverInterface { /** * @param \Magento\Framework\Pricing\SaleableInterface $product * @return float - * @since 2.0.0 */ public function resolvePrice(\Magento\Framework\Pricing\SaleableInterface $product); } diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Price/RegularPriceResolver.php b/app/code/Magento/ConfigurableProduct/Pricing/Price/RegularPriceResolver.php index 9d97110fead29..03df99cfdbf41 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Price/RegularPriceResolver.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Price/RegularPriceResolver.php @@ -9,14 +9,12 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Price\RegularPriceResolver * - * @since 2.0.0 */ class RegularPriceResolver implements PriceResolverInterface { /** * @param \Magento\Framework\Pricing\SaleableInterface $product * @return float - * @since 2.0.0 */ public function resolvePrice(\Magento\Framework\Pricing\SaleableInterface $product) { diff --git a/app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php b/app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php index 5e451991d055e..fda7381ef07ae 100644 --- a/app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php +++ b/app/code/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox.php @@ -20,13 +20,13 @@ /** * Class \Magento\ConfigurableProduct\Pricing\Render\FinalPriceBox * - * @since 2.2.0 + * @since 2.1.3 */ class FinalPriceBox extends \Magento\Catalog\Pricing\Render\FinalPriceBox { /** * @var LowestPriceOptionsProviderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $lowestPriceOptionsProvider; @@ -41,7 +41,7 @@ class FinalPriceBox extends \Magento\Catalog\Pricing\Render\FinalPriceBox * @param SalableResolverInterface|null $salableResolver * @param MinimalPriceCalculatorInterface|null $minimalPriceCalculator * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Context $context, @@ -71,7 +71,7 @@ public function __construct( * Define if the special price should be shown * * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function hasSpecialPrice() { diff --git a/app/code/Magento/ConfigurableProduct/Setup/InstallData.php b/app/code/Magento/ConfigurableProduct/Setup/InstallData.php index 14b41a97861fa..7bc56569dea44 100644 --- a/app/code/Magento/ConfigurableProduct/Setup/InstallData.php +++ b/app/code/Magento/ConfigurableProduct/Setup/InstallData.php @@ -15,7 +15,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -23,7 +22,6 @@ class InstallData implements InstallDataInterface * EAV setup factory * * @var EavSetupFactory - * @since 2.0.0 */ private $eavSetupFactory; @@ -31,7 +29,6 @@ class InstallData implements InstallDataInterface * Init * * @param EavSetupFactory $eavSetupFactory - * @since 2.0.0 */ public function __construct(EavSetupFactory $eavSetupFactory) { @@ -40,7 +37,6 @@ public function __construct(EavSetupFactory $eavSetupFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/ConfigurableProduct/Setup/InstallSchema.php b/app/code/Magento/ConfigurableProduct/Setup/InstallSchema.php index 5c01fbfef523b..75157b9655eaa 100644 --- a/app/code/Magento/ConfigurableProduct/Setup/InstallSchema.php +++ b/app/code/Magento/ConfigurableProduct/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Attribute/Repository.php b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Attribute/Repository.php index 945d2c701e037..d9dcf89f44789 100644 --- a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Attribute/Repository.php +++ b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Attribute/Repository.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class Repository extends \Magento\Catalog\Ui\Component\Listing\Attribute\AbstractRepository { /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; @@ -21,7 +19,6 @@ class Repository extends \Magento\Catalog\Ui\Component\Listing\Attribute\Abstrac * @param \Magento\Catalog\Api\ProductAttributeRepositoryInterface $productAttributeRepository * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder * @param \Magento\Framework\App\RequestInterface $request - * @since 2.0.0 */ public function __construct( \Magento\Catalog\Api\ProductAttributeRepositoryInterface $productAttributeRepository, @@ -34,7 +31,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function buildSearchCriteria() { diff --git a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Columns.php b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Columns.php index e40151e14d11e..890df06bbbc4a 100644 --- a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Columns.php +++ b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Columns.php @@ -8,13 +8,11 @@ /** * Class \Magento\ConfigurableProduct\Ui\Component\Listing\AssociatedProduct\Columns * - * @since 2.0.0 */ class Columns extends \Magento\Ui\Component\Listing\Columns { /** * @var \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface - * @since 2.0.0 */ protected $attributeRepository; @@ -24,7 +22,6 @@ class Columns extends \Magento\Ui\Component\Listing\Columns * @param \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface $attributeRepository * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\UiComponent\ContextInterface $context, @@ -40,7 +37,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function prepare() { diff --git a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Filters.php b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Filters.php index fa895f1f62d8c..e4219f3d35d20 100644 --- a/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Filters.php +++ b/app/code/Magento/ConfigurableProduct/Ui/Component/Listing/AssociatedProduct/Filters.php @@ -12,26 +12,22 @@ /** * @api - * @since 2.0.0 */ class Filters implements ObserverInterface { /** * @var FilterFactory - * @since 2.0.0 */ protected $filterFactory; /** * @var CollectionFactory - * @since 2.0.0 */ protected $attributeCollectionFactory; /** * @param FilterFactory $filterFactory * @param CollectionFactory $attributeCollectionFactory - * @since 2.0.0 */ public function __construct( FilterFactory $filterFactory, @@ -43,7 +39,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function update(UiComponentInterface $component) { @@ -64,7 +59,6 @@ public function update(UiComponentInterface $component) /** * @param array $attributeCodes * @return mixed - * @since 2.0.0 */ protected function getAttributes($attributeCodes) { diff --git a/app/code/Magento/ConfigurableProduct/Ui/DataProvider/Attributes.php b/app/code/Magento/ConfigurableProduct/Ui/DataProvider/Attributes.php index eb0d77750644d..da4f4b1931dfb 100644 --- a/app/code/Magento/ConfigurableProduct/Ui/DataProvider/Attributes.php +++ b/app/code/Magento/ConfigurableProduct/Ui/DataProvider/Attributes.php @@ -9,13 +9,11 @@ /** * Class \Magento\ConfigurableProduct\Ui\DataProvider\Attributes * - * @since 2.0.0 */ class Attributes extends \Magento\Ui\DataProvider\AbstractDataProvider { /** * @var \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ protected $collection; @@ -26,7 +24,6 @@ class Attributes extends \Magento\Ui\DataProvider\AbstractDataProvider * @param \Magento\ConfigurableProduct\Model\ConfigurableAttributeHandler $configurableAttributeHandler * @param array $meta * @param array $data - * @since 2.0.0 */ public function __construct( $name, @@ -43,7 +40,6 @@ public function __construct( /** * @return \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection - * @since 2.0.0 */ public function getCollection() { @@ -52,7 +48,6 @@ public function getCollection() /** * {@inheritdoc} - * @since 2.0.0 */ public function getData() { diff --git a/app/code/Magento/Contact/Block/ContactForm.php b/app/code/Magento/Contact/Block/ContactForm.php index 82312f13350ba..d0369df10d211 100644 --- a/app/code/Magento/Contact/Block/ContactForm.php +++ b/app/code/Magento/Contact/Block/ContactForm.php @@ -11,14 +11,12 @@ * Main contact form block * * @api - * @since 2.0.0 */ class ContactForm extends Template { /** * @param Template\Context $context * @param array $data - * @since 2.0.0 */ public function __construct(Template\Context $context, array $data = []) { @@ -30,7 +28,6 @@ public function __construct(Template\Context $context, array $data = []) * Returns action url for contact form * * @return string - * @since 2.0.0 */ public function getFormAction() { diff --git a/app/code/Magento/Contact/Controller/Index.php b/app/code/Magento/Contact/Controller/Index.php index 619b0a7c95686..887c194b60aa2 100644 --- a/app/code/Magento/Contact/Controller/Index.php +++ b/app/code/Magento/Contact/Controller/Index.php @@ -12,7 +12,6 @@ /** * Contact module base controller - * @since 2.0.0 */ abstract class Index extends \Magento\Framework\App\Action\Action { @@ -45,7 +44,6 @@ abstract class Index extends \Magento\Framework\App\Action\Action /** * @param Context $context * @param ConfigInterface $contactsConfig - * @since 2.0.0 */ public function __construct( Context $context, @@ -61,7 +59,6 @@ public function __construct( * @param RequestInterface $request * @return \Magento\Framework\App\ResponseInterface * @throws \Magento\Framework\Exception\NotFoundException - * @since 2.0.0 */ public function dispatch(RequestInterface $request) { diff --git a/app/code/Magento/Contact/Controller/Index/Index.php b/app/code/Magento/Contact/Controller/Index/Index.php index 476174636ff31..57404358bef24 100644 --- a/app/code/Magento/Contact/Controller/Index/Index.php +++ b/app/code/Magento/Contact/Controller/Index/Index.php @@ -11,7 +11,6 @@ /** * Class \Magento\Contact\Controller\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Contact\Controller\Index { @@ -19,7 +18,6 @@ class Index extends \Magento\Contact\Controller\Index * Show Contact Us page * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Contact/Controller/Index/Post.php b/app/code/Magento/Contact/Controller/Index/Post.php index 6017979992745..eeb1e3aee245d 100644 --- a/app/code/Magento/Contact/Controller/Index/Post.php +++ b/app/code/Magento/Contact/Controller/Index/Post.php @@ -19,7 +19,6 @@ /** * Class \Magento\Contact\Controller\Index\Post * - * @since 2.0.0 */ class Post extends \Magento\Contact\Controller\Index { @@ -73,7 +72,6 @@ public function __construct( * Post user question * * @return Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Contact/Helper/Data.php b/app/code/Magento/Contact/Helper/Data.php index e4f730c2062e9..3841225a86358 100644 --- a/app/code/Magento/Contact/Helper/Data.php +++ b/app/code/Magento/Contact/Helper/Data.php @@ -17,7 +17,6 @@ * * @deprecated 2.2.0 * @see \Magento\Contact\Model\ConfigInterface - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -27,13 +26,11 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * Customer session * * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_customerViewHelper; @@ -53,7 +50,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param CustomerViewHelper $customerViewHelper - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -70,7 +66,6 @@ public function __construct( * * @return string|null * @deprecated 2.2.0 use \Magento\Contact\Api\ConfigInterface::isEnabled() instead - * @since 2.0.0 */ public function isEnabled() { @@ -84,7 +79,6 @@ public function isEnabled() * Get user name * * @return string - * @since 2.0.0 */ public function getUserName() { @@ -103,7 +97,6 @@ public function getUserName() * Get user email * * @return string - * @since 2.0.0 */ public function getUserEmail() { diff --git a/app/code/Magento/Contact/Model/System/Config/Backend/Links.php b/app/code/Magento/Contact/Model/System/Config/Backend/Links.php index 28f88689cbf68..63073626fa8e0 100644 --- a/app/code/Magento/Contact/Model/System/Config/Backend/Links.php +++ b/app/code/Magento/Contact/Model/System/Config/Backend/Links.php @@ -9,7 +9,6 @@ /** * Cache cleaner backend model - * @since 2.0.0 */ class Links extends Cache implements \Magento\Framework\DataObject\IdentityInterface { @@ -17,7 +16,6 @@ class Links extends Cache implements \Magento\Framework\DataObject\IdentityInter * Cache tags to clean * * @var string[] - * @since 2.0.0 */ protected $_cacheTags = [\Magento\Store\Model\Store::CACHE_TAG, \Magento\Cms\Model\Block::CACHE_TAG]; @@ -25,7 +23,6 @@ class Links extends Cache implements \Magento\Framework\DataObject\IdentityInter * Get identities * * @return array - * @since 2.0.0 */ public function getIdentities() { diff --git a/app/code/Magento/Cookie/Block/Html/Notices.php b/app/code/Magento/Cookie/Block/Html/Notices.php index 931180578f9ae..ab9505a3a5880 100644 --- a/app/code/Magento/Cookie/Block/Html/Notices.php +++ b/app/code/Magento/Cookie/Block/Html/Notices.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class Notices extends \Magento\Framework\View\Element\Template { @@ -20,7 +19,6 @@ class Notices extends \Magento\Framework\View\Element\Template * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getPrivacyPolicyLink() { diff --git a/app/code/Magento/Cookie/Block/RequireCookie.php b/app/code/Magento/Cookie/Block/RequireCookie.php index 2507e6d532120..b57adcd5cdbc6 100644 --- a/app/code/Magento/Cookie/Block/RequireCookie.php +++ b/app/code/Magento/Cookie/Block/RequireCookie.php @@ -11,7 +11,6 @@ /** * @api - * @since 2.0.0 */ class RequireCookie extends \Magento\Framework\View\Element\Template { @@ -19,7 +18,6 @@ class RequireCookie extends \Magento\Framework\View\Element\Template * Retrieve script options encoded to json * * @return string - * @since 2.0.0 */ public function getScriptOptions() { diff --git a/app/code/Magento/Cookie/Controller/Index/NoCookies.php b/app/code/Magento/Cookie/Controller/Index/NoCookies.php index 40a54d9447dfd..df17c00bdfa0e 100644 --- a/app/code/Magento/Cookie/Controller/Index/NoCookies.php +++ b/app/code/Magento/Cookie/Controller/Index/NoCookies.php @@ -9,7 +9,6 @@ /** * Class \Magento\Cookie\Controller\Index\NoCookies * - * @since 2.0.0 */ class NoCookies extends \Magento\Framework\App\Action\Action { @@ -17,7 +16,6 @@ class NoCookies extends \Magento\Framework\App\Action\Action * No cookies action * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Cookie/Helper/Cookie.php b/app/code/Magento/Cookie/Helper/Cookie.php index 9e89a3f45cc56..2a781b43e3fdd 100644 --- a/app/code/Magento/Cookie/Helper/Cookie.php +++ b/app/code/Magento/Cookie/Helper/Cookie.php @@ -8,7 +8,6 @@ /** * Cookie helper * @api - * @since 2.0.0 */ class Cookie extends \Magento\Framework\App\Helper\AbstractHelper { @@ -29,13 +28,11 @@ class Cookie extends \Magento\Framework\App\Helper\AbstractHelper /** * @var \Magento\Store\Model\Store - * @since 2.0.0 */ protected $_currentStore; /** * @var \Magento\Store\Model\Website - * @since 2.0.0 */ protected $_website; @@ -45,7 +42,6 @@ class Cookie extends \Magento\Framework\App\Helper\AbstractHelper * @param array $data * * @throws \InvalidArgumentException - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -70,7 +66,6 @@ public function __construct( * Check if cookie restriction notice should be displayed * * @return bool - * @since 2.0.0 */ public function isUserNotAllowSaveCookie() { @@ -98,7 +93,6 @@ public function isCookieRestrictionModeEnabled() * Return serialized list of accepted save cookie website * * @return string - * @since 2.0.0 */ public function getAcceptedSaveCookiesWebsiteIds() { @@ -111,7 +105,6 @@ public function getAcceptedSaveCookiesWebsiteIds() * Get accepted save cookies websites * * @return array - * @since 2.0.0 */ protected function _getAcceptedSaveCookiesWebsites() { @@ -127,7 +120,6 @@ protected function _getAcceptedSaveCookiesWebsites() * Get cookie restriction lifetime (in seconds) * * @return int - * @since 2.0.0 */ public function getCookieRestrictionLifetime() { diff --git a/app/code/Magento/Cookie/Model/Config/Backend/Cookie.php b/app/code/Magento/Cookie/Model/Config/Backend/Cookie.php index 4298b3a7b4f20..280f78ecc8919 100644 --- a/app/code/Magento/Cookie/Model/Config/Backend/Cookie.php +++ b/app/code/Magento/Cookie/Model/Config/Backend/Cookie.php @@ -8,13 +8,11 @@ /** * Config Cookie Restriction mode backend - * @since 2.0.0 */ class Cookie extends \Magento\Framework\App\Config\Value { /** * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'adminhtml_system_config_backend_cookie'; } diff --git a/app/code/Magento/Cookie/Model/Config/Backend/Domain.php b/app/code/Magento/Cookie/Model/Config/Backend/Domain.php index da5c918002e35..d0c2ec0e749d0 100644 --- a/app/code/Magento/Cookie/Model/Config/Backend/Domain.php +++ b/app/code/Magento/Cookie/Model/Config/Backend/Domain.php @@ -7,13 +7,11 @@ /** * Backend model for domain config value - * @since 2.0.0 */ class Domain extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Session\Config\Validator\CookieDomainValidator - * @since 2.0.0 */ protected $configValidator; @@ -27,7 +25,6 @@ class Domain extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Cookie/Model/Config/Backend/Lifetime.php b/app/code/Magento/Cookie/Model/Config/Backend/Lifetime.php index e406a1f2e3e27..5f092e786f448 100644 --- a/app/code/Magento/Cookie/Model/Config/Backend/Lifetime.php +++ b/app/code/Magento/Cookie/Model/Config/Backend/Lifetime.php @@ -7,13 +7,11 @@ /** * Backend model for domain config value - * @since 2.0.0 */ class Lifetime extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Session\Config\Validator\CookieLifetimeValidator - * @since 2.0.0 */ protected $configValidator; @@ -27,7 +25,6 @@ class Lifetime extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Cookie/Model/Config/Backend/Path.php b/app/code/Magento/Cookie/Model/Config/Backend/Path.php index e4aaf4a2fbf49..916a5e81ebc89 100644 --- a/app/code/Magento/Cookie/Model/Config/Backend/Path.php +++ b/app/code/Magento/Cookie/Model/Config/Backend/Path.php @@ -7,13 +7,11 @@ /** * Backend model for domain config value - * @since 2.0.0 */ class Path extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Session\Config\Validator\CookiePathValidator - * @since 2.0.0 */ protected $configValidator; @@ -27,7 +25,6 @@ class Path extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @codeCoverageIgnore - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -48,7 +45,6 @@ public function __construct( * * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Cron/Console/Command/CronCommand.php b/app/code/Magento/Cron/Console/Command/CronCommand.php index 0ff4545fbe7f5..78bbb2329f8dc 100644 --- a/app/code/Magento/Cron/Console/Command/CronCommand.php +++ b/app/code/Magento/Cron/Console/Command/CronCommand.php @@ -19,7 +19,6 @@ /** * Command for executing cron jobs - * @since 2.0.0 */ class CronCommand extends Command { @@ -32,7 +31,6 @@ class CronCommand extends Command * Object manager factory * * @var ObjectManagerFactory - * @since 2.0.0 */ private $objectManagerFactory; @@ -40,7 +38,6 @@ class CronCommand extends Command * Constructor * * @param ObjectManagerFactory $objectManagerFactory - * @since 2.0.0 */ public function __construct(ObjectManagerFactory $objectManagerFactory) { @@ -50,7 +47,6 @@ public function __construct(ObjectManagerFactory $objectManagerFactory) /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -76,7 +72,6 @@ protected function configure() /** * {@inheritdoc} - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Cron/Model/Backend/Config/Structure/Converter.php b/app/code/Magento/Cron/Model/Backend/Config/Structure/Converter.php index 2f3f73a2e28ac..5c32c4663c22c 100644 --- a/app/code/Magento/Cron/Model/Backend/Config/Structure/Converter.php +++ b/app/code/Magento/Cron/Model/Backend/Config/Structure/Converter.php @@ -8,19 +8,16 @@ /** * Class \Magento\Cron\Model\Backend\Config\Structure\Converter * - * @since 2.0.0 */ class Converter { /** * @var \Magento\Cron\Model\Groups\Config\Data - * @since 2.0.0 */ protected $groupsConfig; /** * @param \Magento\Cron\Model\Groups\Config\Data $groupsConfig - * @since 2.0.0 */ public function __construct(\Magento\Cron\Model\Groups\Config\Data $groupsConfig) { @@ -36,7 +33,6 @@ public function __construct(\Magento\Cron\Model\Groups\Config\Data $groupsConfig * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function afterConvert(\Magento\Config\Model\Config\Structure\Converter $subject, array $result) { diff --git a/app/code/Magento/Cron/Model/Config.php b/app/code/Magento/Cron/Model/Config.php index dbcb2321fc1f9..3aa1aadd8c049 100644 --- a/app/code/Magento/Cron/Model/Config.php +++ b/app/code/Magento/Cron/Model/Config.php @@ -7,7 +7,6 @@ /** * Configuration entry point for client using - * @since 2.0.0 */ class Config implements \Magento\Cron\Model\ConfigInterface { @@ -15,7 +14,6 @@ class Config implements \Magento\Cron\Model\ConfigInterface * Cron config data * * @var \Magento\Cron\Model\Config\Data - * @since 2.0.0 */ protected $_configData; @@ -23,7 +21,6 @@ class Config implements \Magento\Cron\Model\ConfigInterface * Initialize needed parameters * * @param \Magento\Cron\Model\Config\Data $configData - * @since 2.0.0 */ public function __construct(\Magento\Cron\Model\Config\Data $configData) { @@ -34,7 +31,6 @@ public function __construct(\Magento\Cron\Model\Config\Data $configData) * Return cron full cron jobs * * @return array - * @since 2.0.0 */ public function getJobs() { diff --git a/app/code/Magento/Cron/Model/Config/Backend/Product/Alert.php b/app/code/Magento/Cron/Model/Config/Backend/Product/Alert.php index a3357ecdcd4ce..ddc09288f75bb 100644 --- a/app/code/Magento/Cron/Model/Config/Backend/Product/Alert.php +++ b/app/code/Magento/Cron/Model/Config/Backend/Product/Alert.php @@ -14,7 +14,6 @@ /** * Class \Magento\Cron\Model\Config\Backend\Product\Alert * - * @since 2.0.0 */ class Alert extends \Magento\Framework\App\Config\Value { @@ -30,13 +29,11 @@ class Alert extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @var string - * @since 2.0.0 */ protected $_runModelPath = ''; @@ -50,7 +47,6 @@ class Alert extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param string $runModelPath * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -73,7 +69,6 @@ public function __construct( * * @return $this * @throws \Exception - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Cron/Model/Config/Backend/Sitemap.php b/app/code/Magento/Cron/Model/Config/Backend/Sitemap.php index 9cd788579f1e2..2495e833a7c9f 100644 --- a/app/code/Magento/Cron/Model/Config/Backend/Sitemap.php +++ b/app/code/Magento/Cron/Model/Config/Backend/Sitemap.php @@ -14,7 +14,6 @@ /** * Class \Magento\Cron\Model\Config\Backend\Sitemap * - * @since 2.0.0 */ class Sitemap extends \Magento\Framework\App\Config\Value { @@ -30,13 +29,11 @@ class Sitemap extends \Magento\Framework\App\Config\Value /** * @var \Magento\Framework\App\Config\ValueFactory - * @since 2.0.0 */ protected $_configValueFactory; /** * @var string - * @since 2.0.0 */ protected $_runModelPath = ''; @@ -50,7 +47,6 @@ class Sitemap extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param string $runModelPath * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -71,7 +67,6 @@ public function __construct( /** * @return $this * @throws \Exception - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Cron/Model/Config/Converter/Db.php b/app/code/Magento/Cron/Model/Config/Converter/Db.php index 5215ab2947d16..232ca8604774c 100644 --- a/app/code/Magento/Cron/Model/Config/Converter/Db.php +++ b/app/code/Magento/Cron/Model/Config/Converter/Db.php @@ -7,7 +7,6 @@ /** * Convert data incoming from data base storage - * @since 2.0.0 */ class Db implements \Magento\Framework\Config\ConverterInterface { @@ -16,7 +15,6 @@ class Db implements \Magento\Framework\Config\ConverterInterface * * @param array $source * @return array - * @since 2.0.0 */ public function convert($source) { @@ -33,7 +31,6 @@ public function convert($source) * * @param array $jobs * @return array - * @since 2.0.0 */ protected function _extractParams(array $cronTab) { @@ -61,7 +58,6 @@ protected function _extractParams(array $cronTab) * @param string $jobName * @param array $result * @return void - * @since 2.0.0 */ protected function _processConfigParam(array $jobConfig, $jobName, array &$result) { @@ -77,7 +73,6 @@ protected function _processConfigParam(array $jobConfig, $jobName, array &$resul * @param string $jobName * @param array $result * @return void - * @since 2.0.0 */ protected function _processScheduleParam(array $jobConfig, $jobName, array &$result) { @@ -93,7 +88,6 @@ protected function _processScheduleParam(array $jobConfig, $jobName, array &$res * @param string $jobName * @param array $result * @return void - * @since 2.0.0 */ protected function _processRunModel(array $jobConfig, $jobName, array &$result) { diff --git a/app/code/Magento/Cron/Model/Config/Converter/Xml.php b/app/code/Magento/Cron/Model/Config/Converter/Xml.php index 34de79d5ab230..810788cfb7570 100644 --- a/app/code/Magento/Cron/Model/Config/Converter/Xml.php +++ b/app/code/Magento/Cron/Model/Config/Converter/Xml.php @@ -7,7 +7,6 @@ /** * Converts cron parameters from XML files - * @since 2.0.0 */ class Xml implements \Magento\Framework\Config\ConverterInterface { @@ -17,7 +16,6 @@ class Xml implements \Magento\Framework\Config\ConverterInterface * @param \DOMDocument $source * @return array * @throws \InvalidArgumentException - * @since 2.0.0 */ public function convert($source) { @@ -61,7 +59,6 @@ public function convert($source) * @param \DOMElement $jobConfig * @return array * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function convertCronConfig(\DOMElement $jobConfig) { @@ -83,7 +80,6 @@ protected function convertCronConfig(\DOMElement $jobConfig) * * @param \DOMElement $jobConfig * @return array - * @since 2.0.0 */ protected function convertCronSchedule(\DOMElement $jobConfig) { @@ -107,7 +103,6 @@ protected function convertCronSchedule(\DOMElement $jobConfig) * * @param \DOMElement $jobConfig * @return array - * @since 2.0.0 */ protected function convertCronConfigPath(\DOMElement $jobConfig) { diff --git a/app/code/Magento/Cron/Model/Config/Data.php b/app/code/Magento/Cron/Model/Config/Data.php index 6ff8ffeda9db8..4452744c046f0 100644 --- a/app/code/Magento/Cron/Model/Config/Data.php +++ b/app/code/Magento/Cron/Model/Config/Data.php @@ -9,7 +9,6 @@ /** * Provides cron configuration - * @since 2.0.0 */ class Data extends \Magento\Framework\Config\Data { @@ -21,7 +20,6 @@ class Data extends \Magento\Framework\Config\Data * @param Reader\Db $dbReader * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Cron\Model\Config\Reader\Xml $reader, @@ -38,7 +36,6 @@ public function __construct( * Merge cron jobs and return * * @return array - * @since 2.0.0 */ public function getJobs() { diff --git a/app/code/Magento/Cron/Model/Config/Reader/Db.php b/app/code/Magento/Cron/Model/Config/Reader/Db.php index 1e5971a28ce00..5cdf857ed2ea8 100644 --- a/app/code/Magento/Cron/Model/Config/Reader/Db.php +++ b/app/code/Magento/Cron/Model/Config/Reader/Db.php @@ -9,7 +9,6 @@ /** * Reader for cron parameters from data base storage - * @since 2.0.0 */ class Db { @@ -17,13 +16,11 @@ class Db * Converter instance * * @var \Magento\Cron\Model\Config\Converter\Db - * @since 2.0.0 */ protected $_converter; /** * @var \Magento\Framework\App\Config\Scope\ReaderInterface - * @since 2.0.0 */ protected $_reader; @@ -38,7 +35,6 @@ class Db * * @param Config $config * @param \Magento\Cron\Model\Config\Converter\Db $converter - * @since 2.0.0 */ public function __construct( Config $config, @@ -52,7 +48,6 @@ public function __construct( * Return converted data * * @return array - * @since 2.0.0 */ public function get() { diff --git a/app/code/Magento/Cron/Model/Config/Reader/Xml.php b/app/code/Magento/Cron/Model/Config/Reader/Xml.php index ece60e183bd99..22deb223fa149 100644 --- a/app/code/Magento/Cron/Model/Config/Reader/Xml.php +++ b/app/code/Magento/Cron/Model/Config/Reader/Xml.php @@ -7,7 +7,6 @@ /** * Reader for XML files - * @since 2.0.0 */ class Xml extends \Magento\Framework\Config\Reader\Filesystem { @@ -15,7 +14,6 @@ class Xml extends \Magento\Framework\Config\Reader\Filesystem * Mapping XML name nodes * * @var array - * @since 2.0.0 */ protected $_idAttributes = ['/config/group' => 'id', '/config/group/job' => 'name']; @@ -28,7 +26,6 @@ class Xml extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Cron/Model/Config/SchemaLocator.php b/app/code/Magento/Cron/Model/Config/SchemaLocator.php index dc521a0338073..23378fcc05e5c 100644 --- a/app/code/Magento/Cron/Model/Config/SchemaLocator.php +++ b/app/code/Magento/Cron/Model/Config/SchemaLocator.php @@ -9,7 +9,6 @@ /** * Cron locator - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -17,7 +16,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema; @@ -25,13 +23,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -42,7 +38,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -53,7 +48,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Cron/Model/Config/Source/Frequency.php b/app/code/Magento/Cron/Model/Config/Source/Frequency.php index 6ed88e03e685a..ebff0459f9be9 100644 --- a/app/code/Magento/Cron/Model/Config/Source/Frequency.php +++ b/app/code/Magento/Cron/Model/Config/Source/Frequency.php @@ -8,13 +8,11 @@ /** * Class \Magento\Cron\Model\Config\Source\Frequency * - * @since 2.0.0 */ class Frequency implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected static $_options; @@ -26,7 +24,6 @@ class Frequency implements \Magento\Framework\Option\ArrayInterface /** * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Cron/Model/ConfigInterface.php b/app/code/Magento/Cron/Model/ConfigInterface.php index 78458c6dc80d2..904a748f000b8 100644 --- a/app/code/Magento/Cron/Model/ConfigInterface.php +++ b/app/code/Magento/Cron/Model/ConfigInterface.php @@ -9,7 +9,6 @@ * Interface \Magento\Cron\Model\ConfigInterface * * @api - * @since 2.0.0 */ interface ConfigInterface { @@ -17,7 +16,6 @@ interface ConfigInterface * Return list of cron jobs * * @return array - * @since 2.0.0 */ public function getJobs(); } diff --git a/app/code/Magento/Cron/Model/Groups/Config/Converter/Xml.php b/app/code/Magento/Cron/Model/Groups/Config/Converter/Xml.php index 2a126c10ede6c..208bb4176c99c 100644 --- a/app/code/Magento/Cron/Model/Groups/Config/Converter/Xml.php +++ b/app/code/Magento/Cron/Model/Groups/Config/Converter/Xml.php @@ -7,7 +7,6 @@ /** * Converts cron parameters from XML files - * @since 2.0.0 */ class Xml implements \Magento\Framework\Config\ConverterInterface { @@ -17,7 +16,6 @@ class Xml implements \Magento\Framework\Config\ConverterInterface * @param mixed $source * @return array * @throws \InvalidArgumentException - * @since 2.0.0 */ public function convert($source) { diff --git a/app/code/Magento/Cron/Model/Groups/Config/Data.php b/app/code/Magento/Cron/Model/Groups/Config/Data.php index 70553e6713ca5..574cf1b0876c1 100644 --- a/app/code/Magento/Cron/Model/Groups/Config/Data.php +++ b/app/code/Magento/Cron/Model/Groups/Config/Data.php @@ -9,7 +9,6 @@ /** * Provides cron groups configuration - * @since 2.0.0 */ class Data extends \Magento\Framework\Config\Data { @@ -20,7 +19,6 @@ class Data extends \Magento\Framework\Config\Data * @param \Magento\Framework\Config\CacheInterface $cache * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Cron\Model\Groups\Config\Reader\Xml $reader, @@ -36,7 +34,6 @@ public function __construct( * * @param string $groupId * @return array - * @since 2.0.0 */ public function getByGroupId($groupId) { diff --git a/app/code/Magento/Cron/Model/Groups/Config/Reader/Xml.php b/app/code/Magento/Cron/Model/Groups/Config/Reader/Xml.php index d58e67ffe2faf..6346093a73ba1 100644 --- a/app/code/Magento/Cron/Model/Groups/Config/Reader/Xml.php +++ b/app/code/Magento/Cron/Model/Groups/Config/Reader/Xml.php @@ -7,7 +7,6 @@ /** * Reader for XML files - * @since 2.0.0 */ class Xml extends \Magento\Framework\Config\Reader\Filesystem { @@ -15,7 +14,6 @@ class Xml extends \Magento\Framework\Config\Reader\Filesystem * Mapping XML name nodes * * @var array - * @since 2.0.0 */ protected $_idAttributes = ['/config/group' => 'id']; @@ -28,7 +26,6 @@ class Xml extends \Magento\Framework\Config\Reader\Filesystem * @param array $idAttributes * @param string $domDocumentClass * @param string $defaultScope - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Cron/Model/Groups/Config/SchemaLocator.php b/app/code/Magento/Cron/Model/Groups/Config/SchemaLocator.php index 188348bd60c13..b76c1cf242c39 100644 --- a/app/code/Magento/Cron/Model/Groups/Config/SchemaLocator.php +++ b/app/code/Magento/Cron/Model/Groups/Config/SchemaLocator.php @@ -9,7 +9,6 @@ /** * Cron locator - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -17,7 +16,6 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema; @@ -25,13 +23,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for separate config files * * @var string - * @since 2.0.0 */ protected $_perFileSchema; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -43,7 +39,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) * Get path to merged config schema * * @return string|null - * @since 2.0.0 */ public function getSchema() { @@ -54,7 +49,6 @@ public function getSchema() * Get path to pre file validation schema * * @return string|null - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Cron/Model/ResourceModel/Schedule.php b/app/code/Magento/Cron/Model/ResourceModel/Schedule.php index 836bf8a54bbf2..2bf6e30b898ea 100644 --- a/app/code/Magento/Cron/Model/ResourceModel/Schedule.php +++ b/app/code/Magento/Cron/Model/ResourceModel/Schedule.php @@ -9,7 +9,6 @@ * Schedule resource * * @api - * @since 2.0.0 */ class Schedule extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { @@ -17,7 +16,6 @@ class Schedule extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * Initialize resource * * @return void - * @since 2.0.0 */ public function _construct() { @@ -34,7 +32,6 @@ public function _construct() * @param string $newStatus * @param string $currentStatus * @return bool - * @since 2.0.0 */ public function trySetJobStatusAtomic($scheduleId, $newStatus, $currentStatus) { diff --git a/app/code/Magento/Cron/Model/ResourceModel/Schedule/Collection.php b/app/code/Magento/Cron/Model/ResourceModel/Schedule/Collection.php index 901cec8f46c67..32a8aa3c2d9d4 100644 --- a/app/code/Magento/Cron/Model/ResourceModel/Schedule/Collection.php +++ b/app/code/Magento/Cron/Model/ResourceModel/Schedule/Collection.php @@ -9,7 +9,6 @@ * Schedules Collection * * @api - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Initialize resource collection * * @return void - * @since 2.0.0 */ public function _construct() { diff --git a/app/code/Magento/Cron/Model/Schedule.php b/app/code/Magento/Cron/Model/Schedule.php index 80b6d4132be80..df9586143aa9a 100644 --- a/app/code/Magento/Cron/Model/Schedule.php +++ b/app/code/Magento/Cron/Model/Schedule.php @@ -31,7 +31,6 @@ * @method \Magento\Cron\Model\Schedule setCronExprArr(array $value) * * @api - * @since 2.0.0 */ class Schedule extends \Magento\Framework\Model\AbstractModel { @@ -51,7 +50,6 @@ class Schedule extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -65,7 +63,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function _construct() { @@ -76,7 +73,6 @@ public function _construct() * @param string $expr * @return $this * @throws \Magento\Framework\Exception\CronException - * @since 2.0.0 */ public function setCronExpr($expr) { @@ -95,7 +91,6 @@ public function setCronExpr($expr) * Supports $this->setCronExpr('* 0-5,10-59/5 2-10,15-25 january-june/2 mon-fri') * * @return bool - * @since 2.0.0 */ public function trySchedule() { @@ -124,7 +119,6 @@ public function trySchedule() * @throws \Magento\Framework\Exception\CronException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function matchCronExpression($expr, $num) { @@ -187,7 +181,6 @@ public function matchCronExpression($expr, $num) /** * @param int|string $value * @return bool|int|string - * @since 2.0.0 */ public function getNumeric($value) { @@ -235,7 +228,6 @@ public function getNumeric($value) * Returns true if status was changed and false otherwise. * * @return boolean - * @since 2.0.0 */ public function tryLockJob() { diff --git a/app/code/Magento/Cron/Model/System/Config/Initial/Converter.php b/app/code/Magento/Cron/Model/System/Config/Initial/Converter.php index bfbe632f9fcb2..71a0074fd9eb9 100644 --- a/app/code/Magento/Cron/Model/System/Config/Initial/Converter.php +++ b/app/code/Magento/Cron/Model/System/Config/Initial/Converter.php @@ -8,19 +8,16 @@ /** * Class \Magento\Cron\Model\System\Config\Initial\Converter * - * @since 2.0.0 */ class Converter { /** * @var \Magento\Cron\Model\Groups\Config\Data - * @since 2.0.0 */ protected $groupsConfig; /** * @param \Magento\Cron\Model\Groups\Config\Data $groupsConfig - * @since 2.0.0 */ public function __construct(\Magento\Cron\Model\Groups\Config\Data $groupsConfig) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Cron\Model\Groups\Config\Data $groupsConfig * * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterConvert(\Magento\Framework\App\Config\Initial\Converter $subject, array $result) { diff --git a/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php b/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php index 00eb5cb6abfb5..1a96656b881a2 100644 --- a/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php +++ b/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php @@ -16,7 +16,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ProcessCronQueueObserver implements ObserverInterface { @@ -59,49 +58,41 @@ class ProcessCronQueueObserver implements ObserverInterface /** * @var \Magento\Cron\Model\ResourceModel\Schedule\Collection - * @since 2.0.0 */ protected $_pendingSchedules; /** * @var \Magento\Cron\Model\ConfigInterface - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Framework\App\ObjectManager - * @since 2.0.0 */ protected $_objectManager; /** * @var \Magento\Framework\App\CacheInterface - * @since 2.0.0 */ protected $_cache; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var ScheduleFactory - * @since 2.0.0 */ protected $_scheduleFactory; /** * @var \Magento\Framework\App\Console\Request - * @since 2.0.0 */ protected $_request; /** * @var \Magento\Framework\ShellInterface - * @since 2.0.0 */ protected $_shell; @@ -154,7 +145,6 @@ class ProcessCronQueueObserver implements ObserverInterface * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\App\State $state * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -192,7 +182,6 @@ public function __construct( * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { @@ -277,7 +266,6 @@ public function execute(\Magento\Framework\Event\Observer $observer) * @param string $groupId * @return void * @throws \Exception - * @since 2.0.0 */ protected function _runJob($scheduledTime, $currentTime, $jobConfig, $schedule, $groupId) { @@ -323,7 +311,6 @@ protected function _runJob($scheduledTime, $currentTime, $jobConfig, $schedule, * Return job collection from data base with status 'pending' * * @return \Magento\Cron\Model\ResourceModel\Schedule\Collection - * @since 2.0.0 */ protected function _getPendingSchedules() { @@ -341,7 +328,6 @@ protected function _getPendingSchedules() * * @param string $groupId * @return $this - * @since 2.0.0 */ protected function _generate($groupId) { @@ -393,7 +379,6 @@ protected function _generate($groupId) * @param array $exists * @param string $groupId * @return $this - * @since 2.0.0 */ protected function _generateJobs($jobs, $exists, $groupId) { @@ -414,7 +399,6 @@ protected function _generateJobs($jobs, $exists, $groupId) * * @param string $groupId * @return $this - * @since 2.0.0 */ protected function _cleanup($groupId) { @@ -483,7 +467,6 @@ protected function _cleanup($groupId) /** * @param array $jobConfig * @return mixed - * @since 2.0.0 */ protected function getConfigSchedule($jobConfig) { @@ -501,7 +484,6 @@ protected function getConfigSchedule($jobConfig) * @param int $timeInterval * @param array $exists * @return void - * @since 2.0.0 */ protected function saveSchedule($jobCode, $cronExpression, $timeInterval, $exists) { @@ -533,7 +515,6 @@ protected function saveSchedule($jobCode, $cronExpression, $timeInterval, $exist * @param string $cronExpression * @param int $time * @return Schedule - * @since 2.0.0 */ protected function generateSchedule($jobCode, $cronExpression, $time) { @@ -550,7 +531,6 @@ protected function generateSchedule($jobCode, $cronExpression, $time) /** * @param string $groupId * @return int - * @since 2.0.0 */ protected function getScheduleTimeInterval($groupId) { diff --git a/app/code/Magento/Cron/Setup/InstallSchema.php b/app/code/Magento/Cron/Setup/InstallSchema.php index c3e31ff844027..921080e11cb71 100644 --- a/app/code/Magento/Cron/Setup/InstallSchema.php +++ b/app/code/Magento/Cron/Setup/InstallSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency.php b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency.php index 309eab3e97ec5..683c317d2ec74 100644 --- a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency.php +++ b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Currency extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'system/currency/rates.phtml'; @@ -27,7 +25,6 @@ class Currency extends \Magento\Backend\Block\Template * Prepare layout * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -78,7 +75,6 @@ protected function _prepareLayout() * * @return \Magento\Framework\Phrase * @codeCoverageIgnore - * @since 2.0.0 */ public function getHeader() { @@ -90,7 +86,6 @@ public function getHeader() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getSaveButtonHtml() { @@ -102,7 +97,6 @@ public function getSaveButtonHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getResetButtonHtml() { @@ -114,7 +108,6 @@ public function getResetButtonHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getImportButtonHtml() { @@ -126,7 +119,6 @@ public function getImportButtonHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getServicesHtml() { @@ -138,7 +130,6 @@ public function getServicesHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getRatesMatrixHtml() { @@ -150,7 +141,6 @@ public function getRatesMatrixHtml() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getImportFormAction() { diff --git a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Matrix.php b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Matrix.php index 2b110f9d36549..a1536739f2de4 100644 --- a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Matrix.php +++ b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Matrix.php @@ -14,19 +14,16 @@ /** * Class \Magento\CurrencySymbol\Block\Adminhtml\System\Currency\Rate\Matrix * - * @since 2.0.0 */ class Matrix extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'system/currency/rate/matrix.phtml'; /** * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_dirCurrencyFactory; @@ -34,7 +31,6 @@ class Matrix extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Directory\Model\CurrencyFactory $dirCurrencyFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Prepare layout * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -93,7 +88,6 @@ protected function _prepareLayout() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getRatesFormAction() { @@ -105,7 +99,6 @@ public function getRatesFormAction() * * @param array $array * @return array - * @since 2.0.0 */ protected function _prepareRates($array) { diff --git a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Services.php b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Services.php index c2307a89c526c..194feaf928061 100644 --- a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Services.php +++ b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Services.php @@ -14,19 +14,16 @@ /** * Class \Magento\CurrencySymbol\Block\Adminhtml\System\Currency\Rate\Services * - * @since 2.0.0 */ class Services extends \Magento\Backend\Block\Template { /** * @var string - * @since 2.0.0 */ protected $_template = 'system/currency/rate/services.phtml'; /** * @var \Magento\Directory\Model\Currency\Import\Source\ServiceFactory - * @since 2.0.0 */ protected $_srcCurrencyFactory; @@ -34,7 +31,6 @@ class Services extends \Magento\Backend\Block\Template * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Directory\Model\Currency\Import\Source\ServiceFactory $srcCurrencyFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Create import services form select element * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currencysymbol.php b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currencysymbol.php index c30ac876f55c4..f44502f164356 100644 --- a/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currencysymbol.php +++ b/app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currencysymbol.php @@ -13,13 +13,11 @@ /** * @api - * @since 2.0.0 */ class Currencysymbol extends \Magento\Backend\Block\Widget\Form { /** * @var \Magento\CurrencySymbol\Model\System\CurrencysymbolFactory - * @since 2.0.0 */ protected $_symbolSystemFactory; @@ -27,7 +25,6 @@ class Currencysymbol extends \Magento\Backend\Block\Widget\Form * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\CurrencySymbol\Model\System\CurrencysymbolFactory $symbolSystemFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -42,7 +39,6 @@ public function __construct( * Constructor. Initialization required variables for class instance. * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -54,7 +50,6 @@ protected function _construct() * Custom currency symbol properties * * @var array - * @since 2.0.0 */ protected $_symbolsData = []; @@ -62,7 +57,6 @@ protected function _construct() * Prepares layout * * @return \Magento\Framework\View\Element\AbstractBlock - * @since 2.0.0 */ protected function _prepareLayout() { @@ -86,7 +80,6 @@ protected function _prepareLayout() * * @return \Magento\Framework\Phrase * @codeCoverageIgnore - * @since 2.0.0 */ public function getHeader() { @@ -98,7 +91,6 @@ public function getHeader() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ public function getFormActionUrl() { @@ -110,7 +102,6 @@ public function getFormActionUrl() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getWebsiteId() { @@ -122,7 +113,6 @@ public function getWebsiteId() * * @return int * @codeCoverageIgnore - * @since 2.0.0 */ public function getStoreId() { @@ -133,7 +123,6 @@ public function getStoreId() * Returns Custom currency symbol properties * * @return array - * @since 2.0.0 */ public function getCurrencySymbolsData() { @@ -148,7 +137,6 @@ public function getCurrencySymbolsData() * * @return \Magento\Framework\Phrase * @codeCoverageIgnore - * @since 2.0.0 */ public function getInheritText() { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency.php index f2f05845338f1..d4b8859b9e235 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ abstract class Currency extends \Magento\Backend\App\Action { @@ -28,14 +27,12 @@ abstract class Currency extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Registry $coreRegistry - * @since 2.0.0 */ public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry) { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php index 632ace80b1f31..7264f3b9e91a9 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php @@ -12,7 +12,6 @@ /** * Class \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency\FetchRates * - * @since 2.0.0 */ class FetchRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency { @@ -20,7 +19,6 @@ class FetchRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Cur * Fetch rates action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/Index.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/Index.php index e0e8ee5791bc1..76e39853daffb 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/Index.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency\Index * - * @since 2.0.0 */ class Index extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency { @@ -17,7 +16,6 @@ class Index extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency * Currency management main page * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/SaveRates.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/SaveRates.php index 43a99f038a86a..27d3a26e1dfc4 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/SaveRates.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/SaveRates.php @@ -10,7 +10,6 @@ /** * Class \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency\SaveRates * - * @since 2.0.0 */ class SaveRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency { @@ -18,7 +17,6 @@ class SaveRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Curr * Save rates action * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol.php index 55a73d9d4deb2..c97b97ef841c3 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ abstract class Currencysymbol extends \Magento\Backend\App\Action { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Index.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Index.php index 4afc5267c4690..16dbd27f4cdb0 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Index.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\CurrencySymbol\Controller\Adminhtml\System\Currencysymbol\Index * - * @since 2.0.0 */ class Index extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currencysymbol { @@ -17,7 +16,6 @@ class Index extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency * Show Currency Symbols Management dialog * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Save.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Save.php index 0d535830cd509..94ba328f590af 100644 --- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Save.php +++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/Save.php @@ -9,7 +9,6 @@ /** * Class \Magento\CurrencySymbol\Controller\Adminhtml\System\Currencysymbol\Save * - * @since 2.0.0 */ class Save extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currencysymbol { @@ -17,7 +16,6 @@ class Save extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currencys * Save custom Currency symbol * * @return void - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CurrencySymbol/Model/System/Currencysymbol.php b/app/code/Magento/CurrencySymbol/Model/System/Currencysymbol.php index 7503b0ec97a81..b02ebfe8cbf7e 100644 --- a/app/code/Magento/CurrencySymbol/Model/System/Currencysymbol.php +++ b/app/code/Magento/CurrencySymbol/Model/System/Currencysymbol.php @@ -15,7 +15,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class Currencysymbol { @@ -23,7 +22,6 @@ class Currencysymbol * Custom currency symbol properties * * @var array - * @since 2.0.0 */ protected $_symbolsData = []; @@ -31,7 +29,6 @@ class Currencysymbol * Store id * * @var string|null - * @since 2.0.0 */ protected $_storeId; @@ -39,7 +36,6 @@ class Currencysymbol * Website id * * @var string|null - * @since 2.0.0 */ protected $_websiteId; @@ -47,7 +43,6 @@ class Currencysymbol * Cache types which should be invalidated * * @var array - * @since 2.0.0 */ protected $_cacheTypes = [ \Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER, @@ -77,43 +72,36 @@ class Currencysymbol * Core event manager proxy * * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Framework\App\Cache\TypeListInterface - * @since 2.0.0 */ protected $_cacheTypeList; /** * @var \Magento\Config\Model\Config\Factory - * @since 2.0.0 */ protected $_configFactory; /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_systemStore; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $localeResolver; /** * @var \Magento\Framework\App\Config\ReinitableConfigInterface - * @since 2.0.0 */ protected $_coreConfig; @@ -121,7 +109,6 @@ class Currencysymbol * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -141,7 +128,6 @@ class Currencysymbol * @param \Magento\Store\Model\System\Store $systemStore * @param \Magento\Framework\Event\ManagerInterface $eventManager * @param Json|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -169,7 +155,6 @@ public function __construct( * Return currency symbol properties array based on config values * * @return array - * @since 2.0.0 */ public function getCurrencySymbolsData() { @@ -204,7 +189,6 @@ public function getCurrencySymbolsData() * * @param $symbols array * @return $this - * @since 2.0.0 */ public function setCurrencySymbolsData($symbols = []) { @@ -252,7 +236,6 @@ public function setCurrencySymbolsData($symbols = []) * * @param string $code * @return string|false - * @since 2.0.0 */ public function getCurrencySymbol($code) { @@ -268,7 +251,6 @@ public function getCurrencySymbol($code) * Clear translate cache * * @return $this - * @since 2.0.0 */ protected function clearCache() { @@ -285,7 +267,6 @@ protected function clearCache() * @param string $configPath * @param int $storeId * @return array - * @since 2.0.0 */ protected function _unserializeStoreConfig($configPath, $storeId = null) { @@ -306,7 +287,6 @@ protected function _unserializeStoreConfig($configPath, $storeId = null) * Return allowed currencies * * @return array - * @since 2.0.0 */ protected function getAllowedCurrencies() { diff --git a/app/code/Magento/CurrencySymbol/Observer/CurrencyDisplayOptions.php b/app/code/Magento/CurrencySymbol/Observer/CurrencyDisplayOptions.php index 53e1be208450a..315d263d45b3d 100644 --- a/app/code/Magento/CurrencySymbol/Observer/CurrencyDisplayOptions.php +++ b/app/code/Magento/CurrencySymbol/Observer/CurrencyDisplayOptions.php @@ -11,19 +11,16 @@ /** * Class \Magento\CurrencySymbol\Observer\CurrencyDisplayOptions * - * @since 2.0.0 */ class CurrencyDisplayOptions implements ObserverInterface { /** * @var \Magento\CurrencySymbol\Model\System\CurrencysymbolFactory - * @since 2.0.0 */ protected $symbolFactory; /** * @param \Magento\CurrencySymbol\Model\System\CurrencysymbolFactory $symbolFactory - * @since 2.0.0 */ public function __construct(\Magento\CurrencySymbol\Model\System\CurrencysymbolFactory $symbolFactory) { @@ -35,7 +32,6 @@ public function __construct(\Magento\CurrencySymbol\Model\System\CurrencysymbolF * * @param \Magento\Framework\Event\Observer $observer * @return $this - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { @@ -51,7 +47,6 @@ public function execute(\Magento\Framework\Event\Observer $observer) * * @param string $baseCode * @return array - * @since 2.0.0 */ protected function getCurrencyOptions($baseCode) { diff --git a/app/code/Magento/Customer/Api/AccountManagementInterface.php b/app/code/Magento/Customer/Api/AccountManagementInterface.php index a5cf09f0783d0..52b711d988c6e 100644 --- a/app/code/Magento/Customer/Api/AccountManagementInterface.php +++ b/app/code/Magento/Customer/Api/AccountManagementInterface.php @@ -10,7 +10,6 @@ /** * Interface for managing customers accounts. * @api - * @since 2.0.0 */ interface AccountManagementInterface { @@ -31,7 +30,6 @@ interface AccountManagementInterface * @param string $redirectUrl * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function createAccount( \Magento\Customer\Api\Data\CustomerInterface $customer, @@ -51,7 +49,6 @@ public function createAccount( * @throws \Magento\Framework\Exception\InputException If bad input is provided * @throws \Magento\Framework\Exception\State\InputMismatchException If the provided email is already used * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function createAccountWithPasswordHash( \Magento\Customer\Api\Data\CustomerInterface $customer, @@ -65,7 +62,6 @@ public function createAccountWithPasswordHash( * @param \Magento\Customer\Api\Data\CustomerInterface $customer * @return \Magento\Customer\Api\Data\ValidationResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validate(\Magento\Customer\Api\Data\CustomerInterface $customer); @@ -77,7 +73,6 @@ public function validate(\Magento\Customer\Api\Data\CustomerInterface $customer) * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException If group is not found * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function isReadonly($customerId); @@ -88,7 +83,6 @@ public function isReadonly($customerId); * @param string $confirmationKey * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function activate($email, $confirmationKey); @@ -100,7 +94,6 @@ public function activate($email, $confirmationKey); * @param string $confirmationKey * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function activateById($customerId, $confirmationKey); @@ -111,7 +104,6 @@ public function activateById($customerId, $confirmationKey); * @param string $password * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function authenticate($email, $password); @@ -123,7 +115,6 @@ public function authenticate($email, $password); * @param string $newPassword * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function changePassword($email, $currentPassword, $newPassword); @@ -135,7 +126,6 @@ public function changePassword($email, $currentPassword, $newPassword); * @param string $newPassword * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function changePasswordById($customerId, $currentPassword, $newPassword); @@ -147,7 +137,6 @@ public function changePasswordById($customerId, $currentPassword, $newPassword); * @param int $websiteId * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function initiatePasswordReset($email, $template, $websiteId = null); @@ -159,7 +148,6 @@ public function initiatePasswordReset($email, $template, $websiteId = null); * @param string $newPassword * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function resetPassword($email, $resetToken, $newPassword); @@ -174,7 +162,6 @@ public function resetPassword($email, $resetToken, $newPassword); * @throws \Magento\Framework\Exception\InputException If token or customer id is invalid * @throws \Magento\Framework\Exception\NoSuchEntityException If customer doesn't exist * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkToken); @@ -184,7 +171,6 @@ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkTo * @param int $customerId * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getConfirmationStatus($customerId); @@ -196,7 +182,6 @@ public function getConfirmationStatus($customerId); * @param string $redirectUrl * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function resendConfirmation($email, $websiteId, $redirectUrl = ''); @@ -207,7 +192,6 @@ public function resendConfirmation($email, $websiteId, $redirectUrl = ''); * @param int $websiteId If not set, will use the current websiteId * @return bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function isEmailAvailable($customerEmail, $websiteId = null); @@ -218,7 +202,6 @@ public function isEmailAvailable($customerEmail, $websiteId = null); * @param int $storeId * @return bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function isCustomerInStore($customerWebsiteId, $storeId); @@ -229,7 +212,6 @@ public function isCustomerInStore($customerWebsiteId, $storeId); * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getDefaultBillingAddress($customerId); @@ -240,7 +222,6 @@ public function getDefaultBillingAddress($customerId); * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getDefaultShippingAddress($customerId); @@ -249,7 +230,6 @@ public function getDefaultShippingAddress($customerId); * * @param string $password * @return string - * @since 2.0.0 */ public function getPasswordHash($password); } diff --git a/app/code/Magento/Customer/Api/AddressMetadataInterface.php b/app/code/Magento/Customer/Api/AddressMetadataInterface.php index 597b6c9eedc96..4c4c213e9f18b 100644 --- a/app/code/Magento/Customer/Api/AddressMetadataInterface.php +++ b/app/code/Magento/Customer/Api/AddressMetadataInterface.php @@ -9,7 +9,6 @@ /** * Interface for retrieval information about customer address attributes metadata. * @api - * @since 2.0.0 */ interface AddressMetadataInterface extends MetadataInterface { diff --git a/app/code/Magento/Customer/Api/AddressMetadataManagementInterface.php b/app/code/Magento/Customer/Api/AddressMetadataManagementInterface.php index 3515096080332..6110a12cfc933 100644 --- a/app/code/Magento/Customer/Api/AddressMetadataManagementInterface.php +++ b/app/code/Magento/Customer/Api/AddressMetadataManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing customer address attributes metadata. * @api - * @since 2.0.0 */ interface AddressMetadataManagementInterface extends MetadataManagementInterface { diff --git a/app/code/Magento/Customer/Api/AddressRepositoryInterface.php b/app/code/Magento/Customer/Api/AddressRepositoryInterface.php index 0024cdde8128c..1aea658be443d 100644 --- a/app/code/Magento/Customer/Api/AddressRepositoryInterface.php +++ b/app/code/Magento/Customer/Api/AddressRepositoryInterface.php @@ -9,7 +9,6 @@ /** * Customer address CRUD interface. * @api - * @since 2.0.0 */ interface AddressRepositoryInterface { @@ -19,7 +18,6 @@ interface AddressRepositoryInterface * @param \Magento\Customer\Api\Data\AddressInterface $address * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\AddressInterface $address); @@ -29,7 +27,6 @@ public function save(\Magento\Customer\Api\Data\AddressInterface $address); * @param int $addressId * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($addressId); @@ -39,7 +36,6 @@ public function getById($addressId); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Customer\Api\Data\AddressSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -49,7 +45,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param \Magento\Customer\Api\Data\AddressInterface $address * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(\Magento\Customer\Api\Data\AddressInterface $address); @@ -60,7 +55,6 @@ public function delete(\Magento\Customer\Api\Data\AddressInterface $address); * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($addressId); } diff --git a/app/code/Magento/Customer/Api/CustomerManagementInterface.php b/app/code/Magento/Customer/Api/CustomerManagementInterface.php index 97788cf44c844..137b3545a4144 100644 --- a/app/code/Magento/Customer/Api/CustomerManagementInterface.php +++ b/app/code/Magento/Customer/Api/CustomerManagementInterface.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ interface CustomerManagementInterface { @@ -15,7 +14,6 @@ interface CustomerManagementInterface * Provide the number of customer count * * @return int - * @since 2.0.0 */ public function getCount(); } diff --git a/app/code/Magento/Customer/Api/CustomerMetadataInterface.php b/app/code/Magento/Customer/Api/CustomerMetadataInterface.php index 67dfd90bf10c1..1067358de09fe 100644 --- a/app/code/Magento/Customer/Api/CustomerMetadataInterface.php +++ b/app/code/Magento/Customer/Api/CustomerMetadataInterface.php @@ -9,7 +9,6 @@ /** * Interface for retrieval information about customer attributes metadata. * @api - * @since 2.0.0 */ interface CustomerMetadataInterface extends MetadataInterface { diff --git a/app/code/Magento/Customer/Api/CustomerMetadataManagementInterface.php b/app/code/Magento/Customer/Api/CustomerMetadataManagementInterface.php index d27d42db6bc65..a3ce83f44552a 100644 --- a/app/code/Magento/Customer/Api/CustomerMetadataManagementInterface.php +++ b/app/code/Magento/Customer/Api/CustomerMetadataManagementInterface.php @@ -8,7 +8,6 @@ /** * Interface for managing customer attributes metadata. * @api - * @since 2.0.0 */ interface CustomerMetadataManagementInterface extends MetadataManagementInterface { diff --git a/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php b/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php index 4495a4215dd6b..2af3dc777d3f9 100644 --- a/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php +++ b/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php @@ -10,7 +10,6 @@ /** * Customer CRUD interface. * @api - * @since 2.0.0 */ interface CustomerRepositoryInterface { @@ -23,7 +22,6 @@ interface CustomerRepositoryInterface * @throws \Magento\Framework\Exception\InputException If bad input is provided * @throws \Magento\Framework\Exception\State\InputMismatchException If the provided email is already used * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\CustomerInterface $customer, $passwordHash = null); @@ -35,7 +33,6 @@ public function save(\Magento\Customer\Api\Data\CustomerInterface $customer, $pa * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\NoSuchEntityException If customer with the specified email does not exist. * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function get($email, $websiteId = null); @@ -46,7 +43,6 @@ public function get($email, $websiteId = null); * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\NoSuchEntityException If customer with the specified ID does not exist. * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($customerId); @@ -60,7 +56,6 @@ public function getById($customerId); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Customer\Api\Data\CustomerSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -70,7 +65,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @param \Magento\Customer\Api\Data\CustomerInterface $customer * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer); @@ -81,7 +75,6 @@ public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer); * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($customerId); } diff --git a/app/code/Magento/Customer/Api/Data/AddressInterface.php b/app/code/Magento/Customer/Api/Data/AddressInterface.php index 299ebb2a8875b..0cdd54c4789c3 100644 --- a/app/code/Magento/Customer/Api/Data/AddressInterface.php +++ b/app/code/Magento/Customer/Api/Data/AddressInterface.php @@ -10,7 +10,6 @@ /** * Customer address interface. * @api - * @since 2.0.0 */ interface AddressInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -42,7 +41,6 @@ interface AddressInterface extends \Magento\Framework\Api\CustomAttributesDataIn * Get ID * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -51,7 +49,6 @@ public function getId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -59,7 +56,6 @@ public function setId($id); * Get customer ID * * @return int|null - * @since 2.0.0 */ public function getCustomerId(); @@ -68,7 +64,6 @@ public function getCustomerId(); * * @param int $customerId * @return $this - * @since 2.0.0 */ public function setCustomerId($customerId); @@ -76,7 +71,6 @@ public function setCustomerId($customerId); * Get region * * @return \Magento\Customer\Api\Data\RegionInterface|null - * @since 2.0.0 */ public function getRegion(); @@ -85,7 +79,6 @@ public function getRegion(); * * @param \Magento\Customer\Api\Data\RegionInterface $region * @return $this - * @since 2.0.0 */ public function setRegion(RegionInterface $region = null); @@ -93,7 +86,6 @@ public function setRegion(RegionInterface $region = null); * Get region ID * * @return int|null - * @since 2.0.0 */ public function getRegionId(); @@ -102,7 +94,6 @@ public function getRegionId(); * * @param int $regionId * @return $this - * @since 2.0.0 */ public function setRegionId($regionId); @@ -110,7 +101,6 @@ public function setRegionId($regionId); * Two-letter country code in ISO_3166-2 format * * @return string|null - * @since 2.0.0 */ public function getCountryId(); @@ -119,7 +109,6 @@ public function getCountryId(); * * @param string $countryId * @return $this - * @since 2.0.0 */ public function setCountryId($countryId); @@ -127,7 +116,6 @@ public function setCountryId($countryId); * Get street * * @return string[]|null - * @since 2.0.0 */ public function getStreet(); @@ -136,7 +124,6 @@ public function getStreet(); * * @param string[] $street * @return $this - * @since 2.0.0 */ public function setStreet(array $street); @@ -144,7 +131,6 @@ public function setStreet(array $street); * Get company * * @return string|null - * @since 2.0.0 */ public function getCompany(); @@ -153,7 +139,6 @@ public function getCompany(); * * @param string $company * @return $this - * @since 2.0.0 */ public function setCompany($company); @@ -161,7 +146,6 @@ public function setCompany($company); * Get telephone number * * @return string|null - * @since 2.0.0 */ public function getTelephone(); @@ -170,7 +154,6 @@ public function getTelephone(); * * @param string $telephone * @return $this - * @since 2.0.0 */ public function setTelephone($telephone); @@ -178,7 +161,6 @@ public function setTelephone($telephone); * Get fax number * * @return string|null - * @since 2.0.0 */ public function getFax(); @@ -187,7 +169,6 @@ public function getFax(); * * @param string $fax * @return $this - * @since 2.0.0 */ public function setFax($fax); @@ -195,7 +176,6 @@ public function setFax($fax); * Get postcode * * @return string|null - * @since 2.0.0 */ public function getPostcode(); @@ -204,7 +184,6 @@ public function getPostcode(); * * @param string $postcode * @return $this - * @since 2.0.0 */ public function setPostcode($postcode); @@ -212,7 +191,6 @@ public function setPostcode($postcode); * Get city name * * @return string|null - * @since 2.0.0 */ public function getCity(); @@ -221,7 +199,6 @@ public function getCity(); * * @param string $city * @return $this - * @since 2.0.0 */ public function setCity($city); @@ -229,7 +206,6 @@ public function setCity($city); * Get first name * * @return string|null - * @since 2.0.0 */ public function getFirstname(); @@ -238,7 +214,6 @@ public function getFirstname(); * * @param string $firstName * @return $this - * @since 2.0.0 */ public function setFirstname($firstName); @@ -246,7 +221,6 @@ public function setFirstname($firstName); * Get last name * * @return string|null - * @since 2.0.0 */ public function getLastname(); @@ -255,7 +229,6 @@ public function getLastname(); * * @param string $lastName * @return $this - * @since 2.0.0 */ public function setLastname($lastName); @@ -263,7 +236,6 @@ public function setLastname($lastName); * Get middle name * * @return string|null - * @since 2.0.0 */ public function getMiddlename(); @@ -272,7 +244,6 @@ public function getMiddlename(); * * @param string $middleName * @return $this - * @since 2.0.0 */ public function setMiddlename($middleName); @@ -280,7 +251,6 @@ public function setMiddlename($middleName); * Get prefix * * @return string|null - * @since 2.0.0 */ public function getPrefix(); @@ -289,7 +259,6 @@ public function getPrefix(); * * @param string $prefix * @return $this - * @since 2.0.0 */ public function setPrefix($prefix); @@ -297,7 +266,6 @@ public function setPrefix($prefix); * Get suffix * * @return string|null - * @since 2.0.0 */ public function getSuffix(); @@ -306,7 +274,6 @@ public function getSuffix(); * * @param string $suffix * @return $this - * @since 2.0.0 */ public function setSuffix($suffix); @@ -314,7 +281,6 @@ public function setSuffix($suffix); * Get Vat id * * @return string|null - * @since 2.0.0 */ public function getVatId(); @@ -323,7 +289,6 @@ public function getVatId(); * * @param string $vatId * @return $this - * @since 2.0.0 */ public function setVatId($vatId); @@ -331,7 +296,6 @@ public function setVatId($vatId); * Get if this address is default shipping address. * * @return bool|null - * @since 2.0.0 */ public function isDefaultShipping(); @@ -340,7 +304,6 @@ public function isDefaultShipping(); * * @param bool $isDefaultShipping * @return $this - * @since 2.0.0 */ public function setIsDefaultShipping($isDefaultShipping); @@ -348,7 +311,6 @@ public function setIsDefaultShipping($isDefaultShipping); * Get if this address is default billing address * * @return bool|null - * @since 2.0.0 */ public function isDefaultBilling(); @@ -357,7 +319,6 @@ public function isDefaultBilling(); * * @param bool $isDefaultBilling * @return $this - * @since 2.0.0 */ public function setIsDefaultBilling($isDefaultBilling); @@ -365,7 +326,6 @@ public function setIsDefaultBilling($isDefaultBilling); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Customer\Api\Data\AddressExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -374,7 +334,6 @@ public function getExtensionAttributes(); * * @param \Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Customer/Api/Data/AddressSearchResultsInterface.php b/app/code/Magento/Customer/Api/Data/AddressSearchResultsInterface.php index a24c5dc4af29b..db2300ab7194b 100644 --- a/app/code/Magento/Customer/Api/Data/AddressSearchResultsInterface.php +++ b/app/code/Magento/Customer/Api/Data/AddressSearchResultsInterface.php @@ -9,7 +9,6 @@ /** * Interface for customer address search results. * @api - * @since 2.0.0 */ interface AddressSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -17,7 +16,6 @@ interface AddressSearchResultsInterface extends \Magento\Framework\Api\SearchRes * Get customer addresses list. * * @return \Magento\Customer\Api\Data\AddressInterface[] - * @since 2.0.0 */ public function getItems(); @@ -26,7 +24,6 @@ public function getItems(); * * @param \Magento\Customer\Api\Data\AddressInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Customer/Api/Data/AttributeMetadataInterface.php b/app/code/Magento/Customer/Api/Data/AttributeMetadataInterface.php index a0c9e61deae74..2c234af8ff625 100644 --- a/app/code/Magento/Customer/Api/Data/AttributeMetadataInterface.php +++ b/app/code/Magento/Customer/Api/Data/AttributeMetadataInterface.php @@ -9,7 +9,6 @@ /** * Customer attribute metadata interface. * @api - * @since 2.0.0 */ interface AttributeMetadataInterface extends \Magento\Framework\Api\MetadataObjectInterface { @@ -43,7 +42,6 @@ interface AttributeMetadataInterface extends \Magento\Framework\Api\MetadataObje * Frontend HTML for input element. * * @return string - * @since 2.0.0 */ public function getFrontendInput(); @@ -52,7 +50,6 @@ public function getFrontendInput(); * * @param string $frontendInput * @return $this - * @since 2.0.0 */ public function setFrontendInput($frontendInput); @@ -60,7 +57,6 @@ public function setFrontendInput($frontendInput); * Get template used for input (e.g. "date") * * @return string - * @since 2.0.0 */ public function getInputFilter(); @@ -69,7 +65,6 @@ public function getInputFilter(); * * @param string $inputFilter * @return $this - * @since 2.0.0 */ public function setInputFilter($inputFilter); @@ -77,7 +72,6 @@ public function setInputFilter($inputFilter); * Get label of the store. * * @return string - * @since 2.0.0 */ public function getStoreLabel(); @@ -86,7 +80,6 @@ public function getStoreLabel(); * * @param string $storeLabel * @return $this - * @since 2.0.0 */ public function setStoreLabel($storeLabel); @@ -94,7 +87,6 @@ public function setStoreLabel($storeLabel); * Retrieve validation rules. * * @return \Magento\Customer\Api\Data\ValidationRuleInterface[] - * @since 2.0.0 */ public function getValidationRules(); @@ -103,7 +95,6 @@ public function getValidationRules(); * * @param \Magento\Customer\Api\Data\ValidationRuleInterface[] $validationRules * @return $this - * @since 2.0.0 */ public function setValidationRules(array $validationRules); @@ -111,7 +102,6 @@ public function setValidationRules(array $validationRules); * Number of lines of the attribute value. * * @return int - * @since 2.0.0 */ public function getMultilineCount(); @@ -120,7 +110,6 @@ public function getMultilineCount(); * * @param int $multilineCount * @return $this - * @since 2.0.0 */ public function setMultilineCount($multilineCount); @@ -128,7 +117,6 @@ public function setMultilineCount($multilineCount); * Whether attribute is visible on frontend. * * @return bool - * @since 2.0.0 */ public function isVisible(); @@ -137,7 +125,6 @@ public function isVisible(); * * @param bool $isVisible * @return $this - * @since 2.0.0 */ public function setIsVisible($isVisible); @@ -145,7 +132,6 @@ public function setIsVisible($isVisible); * Whether attribute is required. * * @return bool - * @since 2.0.0 */ public function isRequired(); @@ -154,7 +140,6 @@ public function isRequired(); * * @param bool $isRequired * @return $this - * @since 2.0.0 */ public function setIsRequired($isRequired); @@ -162,7 +147,6 @@ public function setIsRequired($isRequired); * Get data model for attribute. * * @return string - * @since 2.0.0 */ public function getDataModel(); @@ -171,7 +155,6 @@ public function getDataModel(); * * @param string $dataModel * @return $this - * @since 2.0.0 */ public function setDataModel($dataModel); @@ -179,7 +162,6 @@ public function setDataModel($dataModel); * Return options of the attribute (key => value pairs for select) * * @return \Magento\Customer\Api\Data\OptionInterface[] - * @since 2.0.0 */ public function getOptions(); @@ -188,7 +170,6 @@ public function getOptions(); * * @param \Magento\Customer\Api\Data\OptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null); @@ -196,7 +177,6 @@ public function setOptions(array $options = null); * Get class which is used to display the attribute on frontend. * * @return string - * @since 2.0.0 */ public function getFrontendClass(); @@ -205,7 +185,6 @@ public function getFrontendClass(); * * @param string $frontendClass * @return $this - * @since 2.0.0 */ public function setFrontendClass($frontendClass); @@ -213,7 +192,6 @@ public function setFrontendClass($frontendClass); * Whether current attribute has been defined by a user. * * @return bool - * @since 2.0.0 */ public function isUserDefined(); @@ -222,7 +200,6 @@ public function isUserDefined(); * * @param bool $isUserDefined * @return $this - * @since 2.0.0 */ public function setIsUserDefined($isUserDefined); @@ -230,7 +207,6 @@ public function setIsUserDefined($isUserDefined); * Get attributes sort order. * * @return int - * @since 2.0.0 */ public function getSortOrder(); @@ -239,7 +215,6 @@ public function getSortOrder(); * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder); @@ -247,7 +222,6 @@ public function setSortOrder($sortOrder); * Get label which supposed to be displayed on frontend. * * @return string - * @since 2.0.0 */ public function getFrontendLabel(); @@ -256,7 +230,6 @@ public function getFrontendLabel(); * * @param string $frontendLabel * @return $this - * @since 2.0.0 */ public function setFrontendLabel($frontendLabel); @@ -264,7 +237,6 @@ public function setFrontendLabel($frontendLabel); * Get the note attribute for the element. * * @return string - * @since 2.0.0 */ public function getNote(); @@ -273,7 +245,6 @@ public function getNote(); * * @param string $note * @return $this - * @since 2.0.0 */ public function setNote($note); @@ -281,7 +252,6 @@ public function setNote($note); * Whether this is a system attribute. * * @return bool - * @since 2.0.0 */ public function isSystem(); @@ -290,7 +260,6 @@ public function isSystem(); * * @param bool $isSystem * @return $this - * @since 2.0.0 */ public function setIsSystem($isSystem); @@ -298,7 +267,6 @@ public function setIsSystem($isSystem); * Get backend type. * * @return string - * @since 2.0.0 */ public function getBackendType(); @@ -307,7 +275,6 @@ public function getBackendType(); * * @param string $backendType * @return $this - * @since 2.0.0 */ public function setBackendType($backendType); @@ -315,7 +282,6 @@ public function setBackendType($backendType); * Whether it is used in customer grid * * @return bool|null - * @since 2.0.0 */ public function getIsUsedInGrid(); @@ -323,7 +289,6 @@ public function getIsUsedInGrid(); * Whether it is visible in customer grid * * @return bool|null - * @since 2.0.0 */ public function getIsVisibleInGrid(); @@ -331,7 +296,6 @@ public function getIsVisibleInGrid(); * Whether it is filterable in customer grid * * @return bool|null - * @since 2.0.0 */ public function getIsFilterableInGrid(); @@ -339,7 +303,6 @@ public function getIsFilterableInGrid(); * Whether it is searchable in customer grid * * @return bool|null - * @since 2.0.0 */ public function getIsSearchableInGrid(); @@ -348,7 +311,6 @@ public function getIsSearchableInGrid(); * * @param bool $isUsedInGrid * @return $this - * @since 2.0.0 */ public function setIsUsedInGrid($isUsedInGrid); @@ -357,7 +319,6 @@ public function setIsUsedInGrid($isUsedInGrid); * * @param bool $isVisibleInGrid * @return $this - * @since 2.0.0 */ public function setIsVisibleInGrid($isVisibleInGrid); @@ -366,7 +327,6 @@ public function setIsVisibleInGrid($isVisibleInGrid); * * @param bool $isFilterableInGrid * @return $this - * @since 2.0.0 */ public function setIsFilterableInGrid($isFilterableInGrid); @@ -375,7 +335,6 @@ public function setIsFilterableInGrid($isFilterableInGrid); * * @param bool $isSearchableInGrid * @return $this - * @since 2.0.0 */ public function setIsSearchableInGrid($isSearchableInGrid); } diff --git a/app/code/Magento/Customer/Api/Data/CustomerInterface.php b/app/code/Magento/Customer/Api/Data/CustomerInterface.php index 7b6a46b769599..e6a93c714e078 100644 --- a/app/code/Magento/Customer/Api/Data/CustomerInterface.php +++ b/app/code/Magento/Customer/Api/Data/CustomerInterface.php @@ -8,7 +8,6 @@ /** * Customer interface. * @api - * @since 2.0.0 */ interface CustomerInterface extends \Magento\Framework\Api\CustomAttributesDataInterface { @@ -42,7 +41,6 @@ interface CustomerInterface extends \Magento\Framework\Api\CustomAttributesDataI * Get customer id * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -51,7 +49,6 @@ public function getId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -59,7 +56,6 @@ public function setId($id); * Get group id * * @return int|null - * @since 2.0.0 */ public function getGroupId(); @@ -68,7 +64,6 @@ public function getGroupId(); * * @param int $groupId * @return $this - * @since 2.0.0 */ public function setGroupId($groupId); @@ -76,7 +71,6 @@ public function setGroupId($groupId); * Get default billing address id * * @return string|null - * @since 2.0.0 */ public function getDefaultBilling(); @@ -85,7 +79,6 @@ public function getDefaultBilling(); * * @param string $defaultBilling * @return $this - * @since 2.0.0 */ public function setDefaultBilling($defaultBilling); @@ -93,7 +86,6 @@ public function setDefaultBilling($defaultBilling); * Get default shipping address id * * @return string|null - * @since 2.0.0 */ public function getDefaultShipping(); @@ -102,7 +94,6 @@ public function getDefaultShipping(); * * @param string $defaultShipping * @return $this - * @since 2.0.0 */ public function setDefaultShipping($defaultShipping); @@ -110,7 +101,6 @@ public function setDefaultShipping($defaultShipping); * Get confirmation * * @return string|null - * @since 2.0.0 */ public function getConfirmation(); @@ -119,7 +109,6 @@ public function getConfirmation(); * * @param string $confirmation * @return $this - * @since 2.0.0 */ public function setConfirmation($confirmation); @@ -127,7 +116,6 @@ public function setConfirmation($confirmation); * Get created at time * * @return string|null - * @since 2.0.0 */ public function getCreatedAt(); @@ -136,7 +124,6 @@ public function getCreatedAt(); * * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt); @@ -144,7 +131,6 @@ public function setCreatedAt($createdAt); * Get updated at time * * @return string|null - * @since 2.0.0 */ public function getUpdatedAt(); @@ -153,7 +139,6 @@ public function getUpdatedAt(); * * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt); @@ -161,7 +146,6 @@ public function setUpdatedAt($updatedAt); * Get created in area * * @return string|null - * @since 2.0.0 */ public function getCreatedIn(); @@ -170,7 +154,6 @@ public function getCreatedIn(); * * @param string $createdIn * @return $this - * @since 2.0.0 */ public function setCreatedIn($createdIn); @@ -178,7 +161,6 @@ public function setCreatedIn($createdIn); * Get date of birth * * @return string|null - * @since 2.0.0 */ public function getDob(); @@ -187,7 +169,6 @@ public function getDob(); * * @param string $dob * @return $this - * @since 2.0.0 */ public function setDob($dob); @@ -195,7 +176,6 @@ public function setDob($dob); * Get email address * * @return string - * @since 2.0.0 */ public function getEmail(); @@ -204,7 +184,6 @@ public function getEmail(); * * @param string $email * @return $this - * @since 2.0.0 */ public function setEmail($email); @@ -212,7 +191,6 @@ public function setEmail($email); * Get first name * * @return string - * @since 2.0.0 */ public function getFirstname(); @@ -221,7 +199,6 @@ public function getFirstname(); * * @param string $firstname * @return $this - * @since 2.0.0 */ public function setFirstname($firstname); @@ -229,7 +206,6 @@ public function setFirstname($firstname); * Get last name * * @return string - * @since 2.0.0 */ public function getLastname(); @@ -238,7 +214,6 @@ public function getLastname(); * * @param string $lastname * @return $this - * @since 2.0.0 */ public function setLastname($lastname); @@ -246,7 +221,6 @@ public function setLastname($lastname); * Get middle name * * @return string|null - * @since 2.0.0 */ public function getMiddlename(); @@ -255,7 +229,6 @@ public function getMiddlename(); * * @param string $middlename * @return $this - * @since 2.0.0 */ public function setMiddlename($middlename); @@ -263,7 +236,6 @@ public function setMiddlename($middlename); * Get prefix * * @return string|null - * @since 2.0.0 */ public function getPrefix(); @@ -272,7 +244,6 @@ public function getPrefix(); * * @param string $prefix * @return $this - * @since 2.0.0 */ public function setPrefix($prefix); @@ -280,7 +251,6 @@ public function setPrefix($prefix); * Get suffix * * @return string|null - * @since 2.0.0 */ public function getSuffix(); @@ -289,7 +259,6 @@ public function getSuffix(); * * @param string $suffix * @return $this - * @since 2.0.0 */ public function setSuffix($suffix); @@ -297,7 +266,6 @@ public function setSuffix($suffix); * Get gender * * @return int|null - * @since 2.0.0 */ public function getGender(); @@ -306,7 +274,6 @@ public function getGender(); * * @param int $gender * @return $this - * @since 2.0.0 */ public function setGender($gender); @@ -314,7 +281,6 @@ public function setGender($gender); * Get store id * * @return int|null - * @since 2.0.0 */ public function getStoreId(); @@ -323,7 +289,6 @@ public function getStoreId(); * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId); @@ -331,7 +296,6 @@ public function setStoreId($storeId); * Get tax Vat * * @return string|null - * @since 2.0.0 */ public function getTaxvat(); @@ -340,7 +304,6 @@ public function getTaxvat(); * * @param string $taxvat * @return $this - * @since 2.0.0 */ public function setTaxvat($taxvat); @@ -348,7 +311,6 @@ public function setTaxvat($taxvat); * Get website id * * @return int|null - * @since 2.0.0 */ public function getWebsiteId(); @@ -357,7 +319,6 @@ public function getWebsiteId(); * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId); @@ -365,7 +326,6 @@ public function setWebsiteId($websiteId); * Get customer addresses. * * @return \Magento\Customer\Api\Data\AddressInterface[]|null - * @since 2.0.0 */ public function getAddresses(); @@ -374,7 +334,6 @@ public function getAddresses(); * * @param \Magento\Customer\Api\Data\AddressInterface[] $addresses * @return $this - * @since 2.0.0 */ public function setAddresses(array $addresses = null); @@ -382,7 +341,6 @@ public function setAddresses(array $addresses = null); * Get disable auto group change flag. * * @return int|null - * @since 2.0.0 */ public function getDisableAutoGroupChange(); @@ -391,7 +349,6 @@ public function getDisableAutoGroupChange(); * * @param int $disableAutoGroupChange * @return $this - * @since 2.0.0 */ public function setDisableAutoGroupChange($disableAutoGroupChange); @@ -399,7 +356,6 @@ public function setDisableAutoGroupChange($disableAutoGroupChange); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Customer\Api\Data\CustomerExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -408,7 +364,6 @@ public function getExtensionAttributes(); * * @param \Magento\Customer\Api\Data\CustomerExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\CustomerExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Customer/Api/Data/CustomerSearchResultsInterface.php b/app/code/Magento/Customer/Api/Data/CustomerSearchResultsInterface.php index 2cb7da1da7578..dcf507f47c6d3 100644 --- a/app/code/Magento/Customer/Api/Data/CustomerSearchResultsInterface.php +++ b/app/code/Magento/Customer/Api/Data/CustomerSearchResultsInterface.php @@ -9,7 +9,6 @@ /** * Interface for customer search results. * @api - * @since 2.0.0 */ interface CustomerSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -17,7 +16,6 @@ interface CustomerSearchResultsInterface extends \Magento\Framework\Api\SearchRe * Get customers list. * * @return \Magento\Customer\Api\Data\CustomerInterface[] - * @since 2.0.0 */ public function getItems(); @@ -26,7 +24,6 @@ public function getItems(); * * @param \Magento\Customer\Api\Data\CustomerInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Customer/Api/Data/GroupInterface.php b/app/code/Magento/Customer/Api/Data/GroupInterface.php index 3fb51fd3aa81b..dcd71c78d5867 100644 --- a/app/code/Magento/Customer/Api/Data/GroupInterface.php +++ b/app/code/Magento/Customer/Api/Data/GroupInterface.php @@ -12,7 +12,6 @@ /** * Customer group interface. * @api - * @since 2.0.0 */ interface GroupInterface extends ExtensibleDataInterface { @@ -32,7 +31,6 @@ interface GroupInterface extends ExtensibleDataInterface * Get id * * @return int|null - * @since 2.0.0 */ public function getId(); @@ -41,7 +39,6 @@ public function getId(); * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id); @@ -49,7 +46,6 @@ public function setId($id); * Get code * * @return string - * @since 2.0.0 */ public function getCode(); @@ -58,7 +54,6 @@ public function getCode(); * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code); @@ -66,7 +61,6 @@ public function setCode($code); * Get tax class id * * @return int - * @since 2.0.0 */ public function getTaxClassId(); @@ -75,7 +69,6 @@ public function getTaxClassId(); * * @param int $taxClassId * @return $this - * @since 2.0.0 */ public function setTaxClassId($taxClassId); @@ -83,7 +76,6 @@ public function setTaxClassId($taxClassId); * Get tax class name * * @return string|null - * @since 2.0.0 */ public function getTaxClassName(); @@ -92,7 +84,6 @@ public function getTaxClassName(); * * @param string $taxClassName * @return string|null - * @since 2.0.0 */ public function setTaxClassName($taxClassName); @@ -100,7 +91,6 @@ public function setTaxClassName($taxClassName); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Customer\Api\Data\GroupExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -109,7 +99,6 @@ public function getExtensionAttributes(); * * @param \Magento\Customer\Api\Data\GroupExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\GroupExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Customer/Api/Data/GroupSearchResultsInterface.php b/app/code/Magento/Customer/Api/Data/GroupSearchResultsInterface.php index 7d6e8049dfb5e..8d862bb660c68 100644 --- a/app/code/Magento/Customer/Api/Data/GroupSearchResultsInterface.php +++ b/app/code/Magento/Customer/Api/Data/GroupSearchResultsInterface.php @@ -9,7 +9,6 @@ /** * Interface for customer groups search results. * @api - * @since 2.0.0 */ interface GroupSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface { @@ -17,7 +16,6 @@ interface GroupSearchResultsInterface extends \Magento\Framework\Api\SearchResul * Get customer groups list. * * @return \Magento\Customer\Api\Data\GroupInterface[] - * @since 2.0.0 */ public function getItems(); @@ -27,7 +25,6 @@ public function getItems(); * @api * @param \Magento\Customer\Api\Data\GroupInterface[] $items * @return $this - * @since 2.0.0 */ public function setItems(array $items); } diff --git a/app/code/Magento/Customer/Api/Data/OptionInterface.php b/app/code/Magento/Customer/Api/Data/OptionInterface.php index ee5dad63dd488..41a14f8288f4e 100644 --- a/app/code/Magento/Customer/Api/Data/OptionInterface.php +++ b/app/code/Magento/Customer/Api/Data/OptionInterface.php @@ -10,7 +10,6 @@ /** * Option interface. * @api - * @since 2.0.0 */ interface OptionInterface { @@ -26,7 +25,6 @@ interface OptionInterface * Get option label * * @return string - * @since 2.0.0 */ public function getLabel(); @@ -35,7 +33,6 @@ public function getLabel(); * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label); @@ -43,7 +40,6 @@ public function setLabel($label); * Get option value * * @return string|null - * @since 2.0.0 */ public function getValue(); @@ -52,7 +48,6 @@ public function getValue(); * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value); @@ -60,7 +55,6 @@ public function setValue($value); * Get nested options * * @return \Magento\Customer\Api\Data\OptionInterface[]|null - * @since 2.0.0 */ public function getOptions(); @@ -69,7 +63,6 @@ public function getOptions(); * * @param \Magento\Customer\Api\Data\OptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null); } diff --git a/app/code/Magento/Customer/Api/Data/RegionInterface.php b/app/code/Magento/Customer/Api/Data/RegionInterface.php index 2a55b8c78eb44..f64276e79536a 100644 --- a/app/code/Magento/Customer/Api/Data/RegionInterface.php +++ b/app/code/Magento/Customer/Api/Data/RegionInterface.php @@ -11,7 +11,6 @@ /** * Customer address region interface. * @api - * @since 2.0.0 */ interface RegionInterface extends ExtensibleDataInterface { @@ -27,7 +26,6 @@ interface RegionInterface extends ExtensibleDataInterface * Get region code * * @return string - * @since 2.0.0 */ public function getRegionCode(); @@ -36,7 +34,6 @@ public function getRegionCode(); * * @param string $regionCode * @return $this - * @since 2.0.0 */ public function setRegionCode($regionCode); @@ -44,7 +41,6 @@ public function setRegionCode($regionCode); * Get region * * @return string - * @since 2.0.0 */ public function getRegion(); @@ -53,7 +49,6 @@ public function getRegion(); * * @param string $region * @return $this - * @since 2.0.0 */ public function setRegion($region); @@ -61,7 +56,6 @@ public function setRegion($region); * Get region id * * @return int - * @since 2.0.0 */ public function getRegionId(); @@ -70,7 +64,6 @@ public function getRegionId(); * * @param int $regionId * @return $this - * @since 2.0.0 */ public function setRegionId($regionId); @@ -78,7 +71,6 @@ public function setRegionId($regionId); * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Customer\Api\Data\RegionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes(); @@ -87,7 +79,6 @@ public function getExtensionAttributes(); * * @param \Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes); } diff --git a/app/code/Magento/Customer/Api/Data/ValidationResultsInterface.php b/app/code/Magento/Customer/Api/Data/ValidationResultsInterface.php index e3ef435daf45e..ea51fd5bcf0bc 100644 --- a/app/code/Magento/Customer/Api/Data/ValidationResultsInterface.php +++ b/app/code/Magento/Customer/Api/Data/ValidationResultsInterface.php @@ -10,7 +10,6 @@ /** * Validation results interface. * @api - * @since 2.0.0 */ interface ValidationResultsInterface { @@ -25,7 +24,6 @@ interface ValidationResultsInterface * Check if the provided data is valid. * * @return bool - * @since 2.0.0 */ public function isValid(); @@ -34,7 +32,6 @@ public function isValid(); * * @param bool $isValid * @return $this - * @since 2.0.0 */ public function setIsValid($isValid); @@ -42,7 +39,6 @@ public function setIsValid($isValid); * Get error messages as array in case of validation failure, else return empty array. * * @return string[] - * @since 2.0.0 */ public function getMessages(); @@ -51,7 +47,6 @@ public function getMessages(); * * @param string[] $messages * @return string[] - * @since 2.0.0 */ public function setMessages(array $messages); } diff --git a/app/code/Magento/Customer/Api/Data/ValidationRuleInterface.php b/app/code/Magento/Customer/Api/Data/ValidationRuleInterface.php index dc4208cc13c1b..b9f19cb676907 100644 --- a/app/code/Magento/Customer/Api/Data/ValidationRuleInterface.php +++ b/app/code/Magento/Customer/Api/Data/ValidationRuleInterface.php @@ -10,7 +10,6 @@ /** * Validation rule interface. * @api - * @since 2.0.0 */ interface ValidationRuleInterface { @@ -25,7 +24,6 @@ interface ValidationRuleInterface * Get validation rule name * * @return string - * @since 2.0.0 */ public function getName(); @@ -34,7 +32,6 @@ public function getName(); * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name); @@ -42,7 +39,6 @@ public function setName($name); * Get validation rule value * * @return string - * @since 2.0.0 */ public function getValue(); @@ -51,7 +47,6 @@ public function getValue(); * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value); } diff --git a/app/code/Magento/Customer/Api/GroupManagementInterface.php b/app/code/Magento/Customer/Api/GroupManagementInterface.php index faebc6e77860a..5534f58f24ab8 100644 --- a/app/code/Magento/Customer/Api/GroupManagementInterface.php +++ b/app/code/Magento/Customer/Api/GroupManagementInterface.php @@ -9,7 +9,6 @@ /** * Interface for managing customer groups. * @api - * @since 2.0.0 */ interface GroupManagementInterface { @@ -20,7 +19,6 @@ interface GroupManagementInterface * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException If group is not found * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function isReadonly($id); @@ -31,7 +29,6 @@ public function isReadonly($id); * @return \Magento\Customer\Api\Data\GroupInterface * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getDefaultGroup($storeId = null); @@ -41,7 +38,6 @@ public function getDefaultGroup($storeId = null); * @return \Magento\Customer\Api\Data\GroupInterface * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getNotLoggedInGroup(); @@ -50,7 +46,6 @@ public function getNotLoggedInGroup(); * * @return \Magento\Customer\Api\Data\GroupInterface[] * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getLoggedInGroups(); @@ -59,7 +54,6 @@ public function getLoggedInGroups(); * * @return \Magento\Customer\Api\Data\GroupInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAllCustomersGroup(); } diff --git a/app/code/Magento/Customer/Api/GroupRepositoryInterface.php b/app/code/Magento/Customer/Api/GroupRepositoryInterface.php index 2f9ad4d0af8b4..3a72fc1bcb03c 100644 --- a/app/code/Magento/Customer/Api/GroupRepositoryInterface.php +++ b/app/code/Magento/Customer/Api/GroupRepositoryInterface.php @@ -8,7 +8,6 @@ /** * Customer group CRUD interface * @api - * @since 2.0.0 */ interface GroupRepositoryInterface { @@ -22,7 +21,6 @@ interface GroupRepositoryInterface * @throws \Magento\Framework\Exception\State\InvalidTransitionException * If saving customer group with customer group code that is used by an existing customer group * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\GroupInterface $group); @@ -33,7 +31,6 @@ public function save(\Magento\Customer\Api\Data\GroupInterface $group); * @return \Magento\Customer\Api\Data\GroupInterface * @throws \Magento\Framework\Exception\NoSuchEntityException If $groupId is not found * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($id); @@ -50,7 +47,6 @@ public function getById($id); * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Magento\Customer\Api\Data\GroupSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria); @@ -61,7 +57,6 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr * @return bool true on success * @throws \Magento\Framework\Exception\StateException If customer group cannot be deleted * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(\Magento\Customer\Api\Data\GroupInterface $group); @@ -73,7 +68,6 @@ public function delete(\Magento\Customer\Api\Data\GroupInterface $group); * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException If customer group cannot be deleted * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($id); } diff --git a/app/code/Magento/Customer/Api/MetadataInterface.php b/app/code/Magento/Customer/Api/MetadataInterface.php index 85717c433f1f0..9a8016283b17c 100644 --- a/app/code/Magento/Customer/Api/MetadataInterface.php +++ b/app/code/Magento/Customer/Api/MetadataInterface.php @@ -9,7 +9,6 @@ /** * Interface for getting attributes metadata. Note that this interface should not be used directly, use its children. * @api - * @since 2.0.0 */ interface MetadataInterface extends \Magento\Framework\Api\MetadataServiceInterface { @@ -19,7 +18,6 @@ interface MetadataInterface extends \Magento\Framework\Api\MetadataServiceInterf * @param string $formCode * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAttributes($formCode); @@ -30,7 +28,6 @@ public function getAttributes($formCode); * @return \Magento\Customer\Api\Data\AttributeMetadataInterface * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAttributeMetadata($attributeCode); @@ -39,7 +36,6 @@ public function getAttributeMetadata($attributeCode); * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAllAttributesMetadata(); @@ -49,7 +45,6 @@ public function getAllAttributesMetadata(); * @param string $dataInterfaceName * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataInterfaceName = ''); } diff --git a/app/code/Magento/Customer/Api/MetadataManagementInterface.php b/app/code/Magento/Customer/Api/MetadataManagementInterface.php index 399892d9b55b0..7cd447497847a 100644 --- a/app/code/Magento/Customer/Api/MetadataManagementInterface.php +++ b/app/code/Magento/Customer/Api/MetadataManagementInterface.php @@ -10,7 +10,6 @@ /** * Interface for managing attributes metadata. * @api - * @since 2.0.0 */ interface MetadataManagementInterface { @@ -21,7 +20,6 @@ interface MetadataManagementInterface * @param AttributeMetadataInterface $attribute * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute); @@ -32,7 +30,6 @@ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute); * @param AttributeMetadataInterface $attribute * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException - * @since 2.0.0 */ public function canBeFilterableInGrid(AttributeMetadataInterface $attribute); } diff --git a/app/code/Magento/Customer/Block/Account/AuthenticationPopup.php b/app/code/Magento/Customer/Block/Account/AuthenticationPopup.php index 2e187b3cbb1c7..0d05d39ca04a2 100644 --- a/app/code/Magento/Customer/Block/Account/AuthenticationPopup.php +++ b/app/code/Magento/Customer/Block/Account/AuthenticationPopup.php @@ -10,13 +10,11 @@ /** * @api - * @since 2.0.0 */ class AuthenticationPopup extends \Magento\Framework\View\Element\Template { /** * @var array - * @since 2.0.0 */ protected $jsLayout; @@ -31,7 +29,6 @@ class AuthenticationPopup extends \Magento\Framework\View\Element\Template * @param array $data * @param \Magento\Framework\Serialize\Serializer\Json|null $serializer * @throws \RuntimeException - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -46,7 +43,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getJsLayout() { @@ -57,7 +53,6 @@ public function getJsLayout() * Returns popup config * * @return array - * @since 2.0.0 */ public function getConfig() { @@ -100,7 +95,6 @@ private function isAutocompleteEnabled() * Return base url. * * @return string - * @since 2.0.0 */ public function getBaseUrl() { @@ -111,7 +105,6 @@ public function getBaseUrl() * Get customer register url * * @return string - * @since 2.0.0 */ public function getCustomerRegisterUrlUrl() { @@ -122,7 +115,6 @@ public function getCustomerRegisterUrlUrl() * Get customer forgot password url * * @return string - * @since 2.0.0 */ public function getCustomerForgotPasswordUrl() { diff --git a/app/code/Magento/Customer/Block/Account/AuthorizationLink.php b/app/code/Magento/Customer/Block/Account/AuthorizationLink.php index 6791cda0d2542..56c3e5072b4be 100644 --- a/app/code/Magento/Customer/Block/Account/AuthorizationLink.php +++ b/app/code/Magento/Customer/Block/Account/AuthorizationLink.php @@ -13,7 +13,6 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class AuthorizationLink extends \Magento\Framework\View\Element\Html\Link implements SortLinkInterface { @@ -21,19 +20,16 @@ class AuthorizationLink extends \Magento\Framework\View\Element\Html\Link implem * Customer session * * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; /** * @var \Magento\Framework\Data\Helper\PostHelper - * @since 2.0.0 */ protected $_postDataHelper; @@ -43,7 +39,6 @@ class AuthorizationLink extends \Magento\Framework\View\Element\Html\Link implem * @param \Magento\Customer\Model\Url $customerUrl * @param \Magento\Framework\Data\Helper\PostHelper $postDataHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -60,7 +55,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getHref() { @@ -71,7 +65,6 @@ public function getHref() /** * @return string - * @since 2.0.0 */ public function getLabel() { @@ -82,7 +75,6 @@ public function getLabel() * Retrieve params for post request * * @return string - * @since 2.0.0 */ public function getPostParams() { @@ -93,7 +85,6 @@ public function getPostParams() * Is logged in * * @return bool - * @since 2.0.0 */ public function isLoggedIn() { diff --git a/app/code/Magento/Customer/Block/Account/Customer.php b/app/code/Magento/Customer/Block/Account/Customer.php index fe3de556dcb14..e74428436320a 100644 --- a/app/code/Magento/Customer/Block/Account/Customer.php +++ b/app/code/Magento/Customer/Block/Account/Customer.php @@ -9,25 +9,21 @@ /** * @api - * @since 2.0.0 */ class Customer extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_viewHelper; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; @@ -35,7 +31,6 @@ class Customer extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Framework\App\Http\Context $httpContext * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -50,7 +45,6 @@ public function __construct( * Checking customer login status * * @return bool - * @since 2.0.0 */ public function customerLoggedIn() { diff --git a/app/code/Magento/Customer/Block/Account/Dashboard.php b/app/code/Magento/Customer/Block/Account/Dashboard.php index ffbfac75a8da7..6a08ef8530a6c 100644 --- a/app/code/Magento/Customer/Block/Account/Dashboard.php +++ b/app/code/Magento/Customer/Block/Account/Dashboard.php @@ -12,37 +12,31 @@ * Customer dashboard block * * @api - * @since 2.0.0 */ class Dashboard extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ protected $subscription; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Newsletter\Model\SubscriberFactory - * @since 2.0.0 */ protected $subscriberFactory; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; @@ -55,7 +49,6 @@ class Dashboard extends \Magento\Framework\View\Element\Template * @param CustomerRepositoryInterface $customerRepository * @param AccountManagementInterface $customerAccountManagement * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -76,7 +69,6 @@ public function __construct( * Return the Customer given the customer Id stored in the session. * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ public function getCustomer() { @@ -87,7 +79,6 @@ public function getCustomer() * Retrieve the Url for editing the customer's account. * * @return string - * @since 2.0.0 */ public function getAccountUrl() { @@ -98,7 +89,6 @@ public function getAccountUrl() * Retrieve the Url for customer addresses. * * @return string - * @since 2.0.0 */ public function getAddressesUrl() { @@ -110,7 +100,6 @@ public function getAddressesUrl() * * @param \Magento\Customer\Api\Data\AddressInterface $address * @return string - * @since 2.0.0 */ public function getAddressEditUrl($address) { @@ -124,7 +113,6 @@ public function getAddressEditUrl($address) * Retrieve the Url for customer orders. * * @return string - * @since 2.0.0 */ public function getOrdersUrl() { @@ -135,7 +123,6 @@ public function getOrdersUrl() * Retrieve the Url for customer reviews. * * @return string - * @since 2.0.0 */ public function getReviewsUrl() { @@ -146,7 +133,6 @@ public function getReviewsUrl() * Retrieve the Url for managing customer wishlist. * * @return string - * @since 2.0.0 */ public function getWishlistUrl() { @@ -157,7 +143,6 @@ public function getWishlistUrl() * Retrieve the subscription object (i.e. the subscriber). * * @return \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ public function getSubscriptionObject() { @@ -173,7 +158,6 @@ public function getSubscriptionObject() * Retrieve the Url for managing newsletter subscriptions. * * @return string - * @since 2.0.0 */ public function getManageNewsletterUrl() { @@ -184,7 +168,6 @@ public function getManageNewsletterUrl() * Retrieve subscription text, either subscribed or not. * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getSubscriptionText() { @@ -199,7 +182,6 @@ public function getSubscriptionText() * Retrieve the customer's primary addresses (i.e. default billing and shipping). * * @return \Magento\Customer\Api\Data\AddressInterface[]|bool - * @since 2.0.0 */ public function getPrimaryAddresses() { @@ -231,7 +213,6 @@ public function getPrimaryAddresses() * \Magento\Customer\Block\Address\Book - Because of secure Url * * @return string - * @since 2.0.0 */ public function getBackUrl() { @@ -246,7 +227,6 @@ public function getBackUrl() * Create an instance of a subscriber. * * @return \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ protected function _createSubscriber() { diff --git a/app/code/Magento/Customer/Block/Account/Dashboard/Address.php b/app/code/Magento/Customer/Block/Account/Dashboard/Address.php index b1e421cc07b55..fb5590399187d 100644 --- a/app/code/Magento/Customer/Block/Account/Dashboard/Address.php +++ b/app/code/Magento/Customer/Block/Account/Dashboard/Address.php @@ -13,31 +13,26 @@ * Class to manage customer dashboard addresses section * * @api - * @since 2.0.0 */ class Address extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Customer\Model\Address\Config - * @since 2.0.0 */ protected $_addressConfig; /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; /** * @var \Magento\Customer\Helper\Session\CurrentCustomerAddress - * @since 2.0.0 */ protected $currentCustomerAddress; /** * @var Mapper - * @since 2.0.0 */ protected $addressMapper; @@ -48,7 +43,6 @@ class Address extends \Magento\Framework\View\Element\Template * @param \Magento\Customer\Model\Address\Config $addressConfig * @param Mapper $addressMapper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -69,7 +63,6 @@ public function __construct( * Get the logged in customer * * @return \Magento\Customer\Api\Data\CustomerInterface|null - * @since 2.0.0 */ public function getCustomer() { @@ -84,7 +77,6 @@ public function getCustomer() * HTML for Shipping Address * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getPrimaryShippingAddressHtml() { @@ -105,7 +97,6 @@ public function getPrimaryShippingAddressHtml() * HTML for Billing Address * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getPrimaryBillingAddressHtml() { @@ -124,7 +115,6 @@ public function getPrimaryBillingAddressHtml() /** * @return string - * @since 2.0.0 */ public function getPrimaryShippingAddressEditUrl() { @@ -142,7 +132,6 @@ public function getPrimaryShippingAddressEditUrl() /** * @return string - * @since 2.0.0 */ public function getPrimaryBillingAddressEditUrl() { @@ -160,7 +149,6 @@ public function getPrimaryBillingAddressEditUrl() /** * @return string - * @since 2.0.0 */ public function getAddressBookUrl() { @@ -172,7 +160,6 @@ public function getAddressBookUrl() * * @param AddressInterface $address * @return string - * @since 2.0.0 */ protected function _getAddressHtml($address) { diff --git a/app/code/Magento/Customer/Block/Account/Dashboard/Info.php b/app/code/Magento/Customer/Block/Account/Dashboard/Info.php index 1fce6793d0148..df70b2b2750f0 100644 --- a/app/code/Magento/Customer/Block/Account/Dashboard/Info.php +++ b/app/code/Magento/Customer/Block/Account/Dashboard/Info.php @@ -11,7 +11,6 @@ * Dashboard Customer Info * * @api - * @since 2.0.0 */ class Info extends \Magento\Framework\View\Element\Template { @@ -19,25 +18,21 @@ class Info extends \Magento\Framework\View\Element\Template * Cached subscription object * * @var \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ protected $_subscription; /** * @var \Magento\Newsletter\Model\SubscriberFactory - * @since 2.0.0 */ protected $_subscriberFactory; /** * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_helperView; /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; @@ -49,7 +44,6 @@ class Info extends \Magento\Framework\View\Element\Template * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param \Magento\Customer\Helper\View $helperView * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -68,7 +62,6 @@ public function __construct( * Returns the Magento Customer Model for this block * * @return \Magento\Customer\Api\Data\CustomerInterface|null - * @since 2.0.0 */ public function getCustomer() { @@ -83,7 +76,6 @@ public function getCustomer() * Get the full name of a customer * * @return string full name - * @since 2.0.0 */ public function getName() { @@ -92,7 +84,6 @@ public function getName() /** * @return string - * @since 2.0.0 */ public function getChangePasswordUrl() { @@ -103,7 +94,6 @@ public function getChangePasswordUrl() * Get Customer Subscription Object Information * * @return \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ public function getSubscriptionObject() { @@ -123,7 +113,6 @@ public function getSubscriptionObject() * @return bool * * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsSubscribed() { @@ -134,7 +123,6 @@ public function getIsSubscribed() * Newsletter module availability * * @return bool - * @since 2.0.0 */ public function isNewsletterEnabled() { @@ -145,7 +133,6 @@ public function isNewsletterEnabled() /** * @return \Magento\Newsletter\Model\Subscriber - * @since 2.0.0 */ protected function _createSubscriber() { @@ -154,7 +141,6 @@ protected function _createSubscriber() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Customer/Block/Account/Forgotpassword.php b/app/code/Magento/Customer/Block/Account/Forgotpassword.php index 33ec3099d6a14..8b39f3cf54a9e 100644 --- a/app/code/Magento/Customer/Block/Account/Forgotpassword.php +++ b/app/code/Magento/Customer/Block/Account/Forgotpassword.php @@ -12,13 +12,11 @@ * Customer account navigation sidebar * * @api - * @since 2.0.0 */ class Forgotpassword extends \Magento\Framework\View\Element\Template { /** * @var Url - * @since 2.0.0 */ protected $customerUrl; @@ -26,7 +24,6 @@ class Forgotpassword extends \Magento\Framework\View\Element\Template * @param Template\Context $context * @param Url $customerUrl * @param array $data - * @since 2.0.0 */ public function __construct( Template\Context $context, @@ -41,7 +38,6 @@ public function __construct( * Get login URL * * @return string - * @since 2.0.0 */ public function getLoginUrl() { diff --git a/app/code/Magento/Customer/Block/Account/Link.php b/app/code/Magento/Customer/Block/Account/Link.php index 9031ca2e18a26..2f9312b46a05f 100644 --- a/app/code/Magento/Customer/Block/Account/Link.php +++ b/app/code/Magento/Customer/Block/Account/Link.php @@ -12,13 +12,11 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Link extends \Magento\Framework\View\Element\Html\Link implements SortLinkInterface { /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -26,7 +24,6 @@ class Link extends \Magento\Framework\View\Element\Html\Link implements SortLink * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Customer\Model\Url $customerUrl * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getHref() { diff --git a/app/code/Magento/Customer/Block/Account/RegisterLink.php b/app/code/Magento/Customer/Block/Account/RegisterLink.php index 2a2ba788603a7..b8250160c8585 100644 --- a/app/code/Magento/Customer/Block/Account/RegisterLink.php +++ b/app/code/Magento/Customer/Block/Account/RegisterLink.php @@ -12,7 +12,6 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class RegisterLink extends \Magento\Framework\View\Element\Html\Link { @@ -20,19 +19,16 @@ class RegisterLink extends \Magento\Framework\View\Element\Html\Link * Customer session * * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $httpContext; /** * @var \Magento\Customer\Model\Registration - * @since 2.0.0 */ protected $_registration; /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -42,7 +38,6 @@ class RegisterLink extends \Magento\Framework\View\Element\Html\Link * @param \Magento\Customer\Model\Registration $registration * @param \Magento\Customer\Model\Url $customerUrl * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -59,7 +54,6 @@ public function __construct( /** * @return string - * @since 2.0.0 */ public function getHref() { @@ -68,7 +62,6 @@ public function getHref() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Customer/Block/Account/Resetpassword.php b/app/code/Magento/Customer/Block/Account/Resetpassword.php index dadd4fe681f36..46ab3c9e1a383 100644 --- a/app/code/Magento/Customer/Block/Account/Resetpassword.php +++ b/app/code/Magento/Customer/Block/Account/Resetpassword.php @@ -11,7 +11,6 @@ * Customer reset password form * * @api - * @since 2.0.0 */ class Resetpassword extends \Magento\Framework\View\Element\Template { @@ -19,7 +18,6 @@ class Resetpassword extends \Magento\Framework\View\Element\Template * Check if autocomplete is disabled on storefront * * @return bool - * @since 2.0.0 */ public function isAutocompleteDisabled() { diff --git a/app/code/Magento/Customer/Block/Address/Book.php b/app/code/Magento/Customer/Block/Address/Book.php index 97e0e668913e8..927dd86256a60 100644 --- a/app/code/Magento/Customer/Block/Address/Book.php +++ b/app/code/Magento/Customer/Block/Address/Book.php @@ -14,37 +14,31 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Book extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var AddressRepositoryInterface - * @since 2.0.0 */ protected $addressRepository; /** * @var \Magento\Customer\Model\Address\Config - * @since 2.0.0 */ protected $_addressConfig; /** * @var Mapper - * @since 2.0.0 */ protected $addressMapper; @@ -56,7 +50,6 @@ class Book extends \Magento\Framework\View\Element\Template * @param \Magento\Customer\Model\Address\Config $addressConfig * @param Mapper $addressMapper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -77,7 +70,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -87,7 +79,6 @@ protected function _prepareLayout() /** * @return string - * @since 2.0.0 */ public function getAddAddressUrl() { @@ -96,7 +87,6 @@ public function getAddAddressUrl() /** * @return string - * @since 2.0.0 */ public function getBackUrl() { @@ -108,7 +98,6 @@ public function getBackUrl() /** * @return string - * @since 2.0.0 */ public function getDeleteUrl() { @@ -118,7 +107,6 @@ public function getDeleteUrl() /** * @param int $addressId * @return string - * @since 2.0.0 */ public function getAddressEditUrl($addressId) { @@ -127,7 +115,6 @@ public function getAddressEditUrl($addressId) /** * @return bool - * @since 2.0.0 */ public function hasPrimaryAddress() { @@ -136,7 +123,6 @@ public function hasPrimaryAddress() /** * @return \Magento\Customer\Api\Data\AddressInterface[]|bool - * @since 2.0.0 */ public function getAdditionalAddresses() { @@ -159,7 +145,6 @@ public function getAdditionalAddresses() * * @param \Magento\Customer\Api\Data\AddressInterface $address * @return string - * @since 2.0.0 */ public function getAddressHtml(\Magento\Customer\Api\Data\AddressInterface $address = null) { @@ -173,7 +158,6 @@ public function getAddressHtml(\Magento\Customer\Api\Data\AddressInterface $addr /** * @return \Magento\Customer\Api\Data\CustomerInterface|null - * @since 2.0.0 */ public function getCustomer() { @@ -191,7 +175,6 @@ public function getCustomer() /** * @return int|null - * @since 2.0.0 */ public function getDefaultBilling() { @@ -206,7 +189,6 @@ public function getDefaultBilling() /** * @param int $addressId * @return \Magento\Customer\Api\Data\AddressInterface|null - * @since 2.0.0 */ public function getAddressById($addressId) { @@ -219,7 +201,6 @@ public function getAddressById($addressId) /** * @return int|null - * @since 2.0.0 */ public function getDefaultShipping() { diff --git a/app/code/Magento/Customer/Block/Address/Edit.php b/app/code/Magento/Customer/Block/Address/Edit.php index b9c932d669fed..56922cfc8e4d2 100644 --- a/app/code/Magento/Customer/Block/Address/Edit.php +++ b/app/code/Magento/Customer/Block/Address/Edit.php @@ -12,43 +12,36 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Edit extends \Magento\Directory\Block\Data { /** * @var \Magento\Customer\Api\Data\AddressInterface|null - * @since 2.0.0 */ protected $_address = null; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Customer\Api\AddressRepositoryInterface - * @since 2.0.0 */ protected $_addressRepository; /** * @var \Magento\Customer\Api\Data\AddressInterfaceFactory - * @since 2.0.0 */ protected $addressDataFactory; /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -69,7 +62,6 @@ class Edit extends \Magento\Directory\Block\Data * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -105,7 +97,6 @@ public function __construct( * Prepare the layout of the address edit block. * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -154,7 +145,6 @@ protected function _prepareLayout() * Generate name block html. * * @return string - * @since 2.0.0 */ public function getNameBlockHtml() { @@ -169,7 +159,6 @@ public function getNameBlockHtml() * Return the title, either editing an existing address, or adding a new one. * * @return string - * @since 2.0.0 */ public function getTitle() { @@ -188,7 +177,6 @@ public function getTitle() * Return the Url to go back. * * @return string - * @since 2.0.0 */ public function getBackUrl() { @@ -207,7 +195,6 @@ public function getBackUrl() * Return the Url for saving. * * @return string - * @since 2.0.0 */ public function getSaveUrl() { @@ -221,7 +208,6 @@ public function getSaveUrl() * Return the associated address. * * @return \Magento\Customer\Api\Data\AddressInterface - * @since 2.0.0 */ public function getAddress() { @@ -233,7 +219,6 @@ public function getAddress() * * @param int $lineNumber * @return string - * @since 2.0.0 */ public function getStreetLine($lineNumber) { @@ -245,7 +230,6 @@ public function getStreetLine($lineNumber) * Return the country Id. * * @return int|null|string - * @since 2.0.0 */ public function getCountryId() { @@ -259,7 +243,6 @@ public function getCountryId() * Return the name of the region for the address being edited. * * @return string region name - * @since 2.0.0 */ public function getRegion() { @@ -271,7 +254,6 @@ public function getRegion() * Return the id of the region being edited. * * @return int region id - * @since 2.0.0 */ public function getRegionId() { @@ -283,7 +265,6 @@ public function getRegionId() * Retrieve the number of addresses associated with the customer given a customer Id. * * @return int - * @since 2.0.0 */ public function getCustomerAddressCount() { @@ -294,7 +275,6 @@ public function getCustomerAddressCount() * Determine if the address can be set as the default billing address. * * @return bool|int - * @since 2.0.0 */ public function canSetAsDefaultBilling() { @@ -308,7 +288,6 @@ public function canSetAsDefaultBilling() * Determine if the address can be set as the default shipping address. * * @return bool|int - * @since 2.0.0 */ public function canSetAsDefaultShipping() { @@ -322,7 +301,6 @@ public function canSetAsDefaultShipping() * Is the address the default billing address? * * @return bool - * @since 2.0.0 */ public function isDefaultBilling() { @@ -333,7 +311,6 @@ public function isDefaultBilling() * Is the address the default shipping address? * * @return bool - * @since 2.0.0 */ public function isDefaultShipping() { @@ -344,7 +321,6 @@ public function isDefaultShipping() * Retrieve the Customer Data using the customer Id from the customer session. * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ public function getCustomer() { @@ -355,7 +331,6 @@ public function getCustomer() * Return back button Url, either to customer address or account. * * @return string - * @since 2.0.0 */ public function getBackButtonUrl() { @@ -371,7 +346,6 @@ public function getBackButtonUrl() * * @param string $path * @return string|null - * @since 2.0.0 */ public function getConfig($path) { diff --git a/app/code/Magento/Customer/Block/Address/Renderer/DefaultRenderer.php b/app/code/Magento/Customer/Block/Address/Renderer/DefaultRenderer.php index 36bbf6eb44209..a8622d98948df 100644 --- a/app/code/Magento/Customer/Block/Address/Renderer/DefaultRenderer.php +++ b/app/code/Magento/Customer/Block/Address/Renderer/DefaultRenderer.php @@ -12,7 +12,6 @@ /** * Address format renderer default - * @since 2.0.0 */ class DefaultRenderer extends AbstractBlock implements RendererInterface { @@ -20,31 +19,26 @@ class DefaultRenderer extends AbstractBlock implements RendererInterface * Format type object * * @var \Magento\Framework\DataObject - * @since 2.0.0 */ protected $_type; /** * @var ElementFactory - * @since 2.0.0 */ protected $_elementFactory; /** * @var \Magento\Directory\Model\CountryFactory - * @since 2.0.0 */ protected $_countryFactory; /** * @var \Magento\Customer\Api\AddressMetadataInterface - * @since 2.0.0 */ protected $_addressMetadataService; /** * @var Mapper - * @since 2.0.0 */ protected $addressMapper; @@ -57,7 +51,6 @@ class DefaultRenderer extends AbstractBlock implements RendererInterface * @param \Magento\Customer\Api\AddressMetadataInterface $metadataService * @param Mapper $addressMapper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Context $context, @@ -79,7 +72,6 @@ public function __construct( * Retrieve format type object * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getType() { @@ -91,7 +83,6 @@ public function getType() * * @param \Magento\Framework\DataObject $type * @return $this - * @since 2.0.0 */ public function setType(\Magento\Framework\DataObject $type) { @@ -103,7 +94,6 @@ public function setType(\Magento\Framework\DataObject $type) * @param AddressModelInterface|null $address * @return string * All new code should use renderArray based on Metadata service - * @since 2.0.0 */ public function getFormat(AddressModelInterface $address = null) { @@ -120,7 +110,6 @@ public function getFormat(AddressModelInterface $address = null) * * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function render(AddressModelInterface $address, $format = null) { @@ -130,7 +119,6 @@ public function render(AddressModelInterface $address, $format = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function getFormatArray($addressAttributes = null) { @@ -149,7 +137,6 @@ public function getFormatArray($addressAttributes = null) * * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function renderArray($addressAttributes, $format = null) { diff --git a/app/code/Magento/Customer/Block/Address/Renderer/RendererInterface.php b/app/code/Magento/Customer/Block/Address/Renderer/RendererInterface.php index f2ea668233448..2f867d928bab0 100644 --- a/app/code/Magento/Customer/Block/Address/Renderer/RendererInterface.php +++ b/app/code/Magento/Customer/Block/Address/Renderer/RendererInterface.php @@ -12,7 +12,6 @@ * Address renderer interface * * @author Magento Core Team - * @since 2.0.0 */ interface RendererInterface { @@ -21,7 +20,6 @@ interface RendererInterface * * @param \Magento\Framework\DataObject $type * @return void - * @since 2.0.0 */ public function setType(\Magento\Framework\DataObject $type); @@ -29,7 +27,6 @@ public function setType(\Magento\Framework\DataObject $type); * Retrieve format type object * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getType(); @@ -40,7 +37,6 @@ public function getType(); * @param string|null $format * @return mixed * All new code should use renderArray based on Metadata service - * @since 2.0.0 */ public function render(AddressModelInterface $address, $format = null); @@ -49,7 +45,6 @@ public function render(AddressModelInterface $address, $format = null); * * @param null|array $addressAttributes * @return Format - * @since 2.0.0 */ public function getFormatArray($addressAttributes = null); @@ -59,7 +54,6 @@ public function getFormatArray($addressAttributes = null); * @param array $addressAttributes * @param Format|null $format * @return string - * @since 2.0.0 */ public function renderArray($addressAttributes, $format = null); } diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit.php b/app/code/Magento/Customer/Block/Adminhtml/Edit.php index bc85f44311bd4..94dc9523e409c 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit.php @@ -12,7 +12,6 @@ /** * @deprecated 2.2.0 for UiComponent replacement * @see app/code/Magento/Customer/view/base/ui_component/customer_form.xml - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { @@ -20,19 +19,16 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -40,7 +36,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Customer view helper * * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_viewHelper; @@ -53,7 +48,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * @param CustomerRepositoryInterface $customerRepository * @param \Magento\Customer\Helper\View $viewHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -72,7 +66,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -141,7 +134,6 @@ protected function _construct() * Retrieve the Url for creating an order. * * @return string - * @since 2.0.0 */ public function getCreateOrderUrl() { @@ -152,7 +144,6 @@ public function getCreateOrderUrl() * Return the customer Id. * * @return int|null - * @since 2.0.0 */ public function getCustomerId() { @@ -164,7 +155,6 @@ public function getCustomerId() * Retrieve the header text, either the name of an existing customer or 'New Customer'. * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getHeaderText() { @@ -181,7 +171,6 @@ public function getHeaderText() * Prepare form Html. Add block for configurable product modification interface. * * @return string - * @since 2.0.0 */ public function getFormHtml() { @@ -196,7 +185,6 @@ public function getFormHtml() * Retrieve customer validation Url. * * @return string - * @since 2.0.0 */ public function getValidationUrl() { @@ -207,7 +195,6 @@ public function getValidationUrl() * Prepare the layout. * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -235,7 +222,6 @@ protected function _prepareLayout() * Retrieve the save and continue edit Url. * * @return string - * @since 2.0.0 */ protected function _getSaveAndContinueUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/BackButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/BackButton.php index 7739716bfbe4c..11ca201dcdb4c 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/BackButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/BackButton.php @@ -9,13 +9,11 @@ /** * Class BackButton - * @since 2.0.0 */ class BackButton extends GenericButton implements ButtonProviderInterface { /** * @return array - * @since 2.0.0 */ public function getButtonData() { @@ -31,7 +29,6 @@ public function getButtonData() * Get URL for back (reset) button * * @return string - * @since 2.0.0 */ public function getBackUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/DeleteButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/DeleteButton.php index b07bc8005e172..e1bb6feb23698 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/DeleteButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/DeleteButton.php @@ -11,13 +11,11 @@ /** * Class DeleteButton * @package Magento\Customer\Block\Adminhtml\Edit - * @since 2.0.0 */ class DeleteButton extends GenericButton implements ButtonProviderInterface { /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; @@ -27,7 +25,6 @@ class DeleteButton extends GenericButton implements ButtonProviderInterface * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry * @param AccountManagementInterface $customerAccountManagement - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -40,7 +37,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getButtonData() { @@ -64,7 +60,6 @@ public function getButtonData() /** * @return string - * @since 2.0.0 */ public function getDeleteUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Form.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Form.php index 1a564c8f20d21..16ab68dc33210 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Form.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Form.php @@ -9,7 +9,6 @@ /** * Adminhtml customer edit form block - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { @@ -17,13 +16,11 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * Customer Repository. * * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $_customerRepository; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ protected $_extensibleDataObjectConverter; @@ -36,7 +33,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository * @param \Magento\Framework\Api\ExtensibleDataObjectConverter $extensibleDataObjectConverter * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -55,7 +51,6 @@ public function __construct( * Prepare the form. * * @return $this - * @since 2.0.0 */ protected function _prepareForm() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/GenericButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/GenericButton.php index b0964f5838275..8ef3d1b67ee54 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/GenericButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/GenericButton.php @@ -10,7 +10,6 @@ /** * Class GenericButton * @package Magento\Customer\Block\Adminhtml\Edit - * @since 2.0.0 */ class GenericButton { @@ -18,7 +17,6 @@ class GenericButton * Url Builder * * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -26,7 +24,6 @@ class GenericButton * Registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; @@ -35,7 +32,6 @@ class GenericButton * * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -49,7 +45,6 @@ public function __construct( * Return the customer Id. * * @return int|null - * @since 2.0.0 */ public function getCustomerId() { @@ -62,7 +57,6 @@ public function getCustomerId() * @param string $route * @param array $params * @return string - * @since 2.0.0 */ public function getUrl($route = '', $params = []) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/InvalidateTokenButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/InvalidateTokenButton.php index ce49d48346dd0..180cb3d66ea35 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/InvalidateTokenButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/InvalidateTokenButton.php @@ -10,13 +10,11 @@ /** * Class InvalidateTokenButton * @package Magento\Customer\Block\Adminhtml\Edit - * @since 2.0.0 */ class InvalidateTokenButton extends GenericButton implements ButtonProviderInterface { /** * @return array - * @since 2.0.0 */ public function getButtonData() { @@ -36,7 +34,6 @@ public function getButtonData() /** * @return string - * @since 2.0.0 */ public function getInvalidateTokenUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/OrderButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/OrderButton.php index a4a43fabc422f..c1aa3b2a035f8 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/OrderButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/OrderButton.php @@ -9,13 +9,11 @@ /** * Class OrderButton - * @since 2.0.0 */ class OrderButton extends GenericButton implements ButtonProviderInterface { /** * @var \Magento\Framework\AuthorizationInterface - * @since 2.0.0 */ protected $authorization; @@ -24,7 +22,6 @@ class OrderButton extends GenericButton implements ButtonProviderInterface * * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getButtonData() { @@ -57,7 +53,6 @@ public function getButtonData() * Retrieve the Url for creating an order. * * @return string - * @since 2.0.0 */ public function getCreateOrderUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer/Region.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer/Region.php index 194bb7352d9d3..9a025211c9b0a 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer/Region.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Renderer/Region.php @@ -7,14 +7,12 @@ /** * Customer address region field renderer - * @since 2.0.0 */ class Region extends \Magento\Backend\Block\AbstractBlock implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $_directoryHelper; @@ -22,7 +20,6 @@ class Region extends \Magento\Backend\Block\AbstractBlock implements * @param \Magento\Backend\Block\Context $context * @param \Magento\Directory\Helper\Data $directoryHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -40,7 +37,6 @@ public function __construct( * @return string * * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetButton.php index bc5322a7f26c1..d2308cb8d0174 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetButton.php @@ -9,13 +9,11 @@ /** * Class ResetButton - * @since 2.0.0 */ class ResetButton implements ButtonProviderInterface { /** * @return array - * @since 2.0.0 */ public function getButtonData() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetPasswordButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetPasswordButton.php index e8c1e6918b058..f2d1dd9f0a853 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetPasswordButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/ResetPasswordButton.php @@ -9,13 +9,11 @@ /** * Class ResetPasswordButton - * @since 2.0.0 */ class ResetPasswordButton extends GenericButton implements ButtonProviderInterface { /** * @return array - * @since 2.0.0 */ public function getButtonData() { @@ -34,7 +32,6 @@ public function getButtonData() /** * @return string - * @since 2.0.0 */ public function getResetPasswordUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveAndContinueButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveAndContinueButton.php index 0d9d6d57c901d..33afd130a38b7 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveAndContinueButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveAndContinueButton.php @@ -10,13 +10,11 @@ /** * Class SaveAndContinueButton - * @since 2.0.0 */ class SaveAndContinueButton extends GenericButton implements ButtonProviderInterface { /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; @@ -26,7 +24,6 @@ class SaveAndContinueButton extends GenericButton implements ButtonProviderInter * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry * @param AccountManagementInterface $customerAccountManagement - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getButtonData() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveButton.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveButton.php index 5b509218fc06c..4b97801a778c4 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveButton.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/SaveButton.php @@ -11,13 +11,11 @@ /** * Class SaveButton * @package Magento\Customer\Block\Adminhtml\Edit - * @since 2.0.0 */ class SaveButton extends GenericButton implements ButtonProviderInterface { /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; @@ -27,7 +25,6 @@ class SaveButton extends GenericButton implements ButtonProviderInterface * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Framework\Registry $registry * @param AccountManagementInterface $customerAccountManagement - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -40,7 +37,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getButtonData() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php index 5228520f8aa33..b469b7576ceed 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php @@ -13,7 +13,6 @@ * Adminhtml customer orders grid block * * @api - * @since 2.0.0 */ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -21,37 +20,31 @@ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Data\CollectionFactory - * @since 2.0.0 */ protected $_dataCollectionFactory; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected $quote = null; /** * @var string - * @since 2.0.0 */ protected $_parentTemplate; /** * @var \Magento\Quote\Model\QuoteFactory - * @since 2.0.0 */ protected $quoteFactory; @@ -63,7 +56,6 @@ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Quote\Model\QuoteFactory $quoteFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -83,7 +75,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -97,7 +88,6 @@ protected function _construct() * Prepare grid * * @return void - * @since 2.0.0 */ protected function _prepareGrid() { @@ -109,7 +99,6 @@ protected function _prepareGrid() * Prepare collection * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -130,7 +119,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -205,7 +193,6 @@ protected function _prepareColumns() * Gets customer assigned to this block * * @return int - * @since 2.0.0 */ public function getCustomerId() { @@ -214,7 +201,6 @@ public function getCustomerId() /** * {@inheritdoc} - * @since 2.0.0 */ public function getGridUrl() { @@ -225,7 +211,6 @@ public function getGridUrl() * Gets grid parent html * * @return string - * @since 2.0.0 */ public function getGridParentHtml() { @@ -235,7 +220,6 @@ public function getGridParentHtml() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { @@ -246,7 +230,6 @@ public function getRowUrl($row) * Get the quote of the cart * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected function getQuote() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php index ced850e3a4845..217704c39bb63 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php @@ -9,25 +9,21 @@ * Obtain all carts contents for specified client * * @api - * @since 2.0.0 */ class Carts extends \Magento\Backend\Block\Template { /** * @var \Magento\Customer\Model\Config\Share - * @since 2.0.0 */ protected $_shareConfig; /** * @var \Magento\Customer\Api\Data\CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerDataFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -37,7 +33,6 @@ class Carts extends \Magento\Backend\Block\Template * @param \Magento\Customer\Api\Data\CustomerInterfaceFactory $customerDataFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -56,7 +51,6 @@ public function __construct( * Add shopping cart grid of each website * * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -82,7 +76,6 @@ protected function _prepareLayout() * Just get child blocks html * * @return string - * @since 2.0.0 */ protected function _toHtml() { @@ -92,7 +85,6 @@ protected function _toHtml() /** * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ protected function _getCustomer() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/GenericMetadata.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/GenericMetadata.php index 1bec783c5dc1e..8ecae1c868610 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/GenericMetadata.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/GenericMetadata.php @@ -11,13 +11,11 @@ * Generic block that uses customer metatdata attributes. * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class GenericMetadata extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; @@ -27,7 +25,6 @@ class GenericMetadata extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Framework\Data\FormFactory $formFactory * @param \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -47,7 +44,6 @@ public function __construct( * @param \Magento\Framework\Data\Form\Element\Fieldset $fieldset * @param array $exclude attributes that should be skipped * @return void - * @since 2.0.0 */ protected function _setFieldset($attributes, $fieldset, $exclude = []) { @@ -87,7 +83,6 @@ protected function _setFieldset($attributes, $fieldset, $exclude = []) * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @param AttributeMetadataInterface $attribute * @return void - * @since 2.0.0 */ protected function _applyTypeSpecificConfigCustomer( $inputType, @@ -116,7 +111,6 @@ protected function _applyTypeSpecificConfigCustomer( /** * @param AttributeMetadataInterface $attribute * @return array - * @since 2.0.0 */ protected function _getAttributeOptionsArray(AttributeMetadataInterface $attribute) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter.php index 429301a0ef5dd..bb1a37b352f92 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter.php @@ -11,25 +11,21 @@ /** * Customer account form block - * @since 2.0.0 */ class Newsletter extends \Magento\Backend\Block\Widget\Form\Generic implements TabInterface { /** * @var string - * @since 2.0.0 */ protected $_template = 'tab/newsletter.phtml'; /** * @var \Magento\Newsletter\Model\SubscriberFactory - * @since 2.0.0 */ protected $_subscriberFactory; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; @@ -37,7 +33,6 @@ class Newsletter extends \Magento\Backend\Block\Widget\Form\Generic implements T * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -50,7 +45,6 @@ class Newsletter extends \Magento\Backend\Block\Widget\Form\Generic implements T * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param AccountManagementInterface $customerAccountManagement * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -69,7 +63,6 @@ public function __construct( * Return Tab label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -80,7 +73,6 @@ public function getTabLabel() * Return Tab title * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -91,7 +83,6 @@ public function getTabTitle() * Tab class getter * * @return string - * @since 2.0.0 */ public function getTabClass() { @@ -102,7 +93,6 @@ public function getTabClass() * Return URL link to Tab content * * @return string - * @since 2.0.0 */ public function getTabUrl() { @@ -113,7 +103,6 @@ public function getTabUrl() * Tab should be loaded trough Ajax call * * @return bool - * @since 2.0.0 */ public function isAjaxLoaded() { @@ -124,7 +113,6 @@ public function isAjaxLoaded() * Can show tab in tabs * * @return boolean - * @since 2.0.0 */ public function canShowTab() { @@ -135,7 +123,6 @@ public function canShowTab() * Tab is hidden * * @return boolean - * @since 2.0.0 */ public function isHidden() { @@ -147,7 +134,6 @@ public function isHidden() * * @return $this * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function initForm() { @@ -223,7 +209,6 @@ protected function updateFromSession(\Magento\Framework\Data\Form $form, $custom * Retrieve the date when the subscriber status changed. * * @return null|string - * @since 2.0.0 */ public function getStatusChangedDate() { @@ -241,7 +226,6 @@ public function getStatusChangedDate() /** * @return string - * @since 2.0.0 */ protected function _toHtml() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php index 3987aace4bc2b..4f3d23eae32bc 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid.php @@ -9,7 +9,6 @@ * Adminhtml newsletter queue grid block * * @api - * @since 2.0.0 */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -17,13 +16,11 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry|null - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Newsletter\Model\ResourceModel\Queue\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -33,7 +30,6 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Newsletter\Model\ResourceModel\Queue\CollectionFactory $collectionFactory * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -65,7 +60,6 @@ protected function _construct() /** * @return string - * @since 2.0.0 */ public function getGridUrl() { @@ -74,7 +68,6 @@ public function getGridUrl() /** * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -90,7 +83,6 @@ protected function _prepareCollection() /** * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php index c45fd6a1321fe..568ce56f27805 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Filter/Status.php @@ -9,19 +9,16 @@ /** * Adminhtml newsletter subscribers grid website filter - * @since 2.0.0 */ class Status extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { /** * @var array - * @since 2.0.0 */ protected static $_statuses; /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -38,7 +35,6 @@ protected function _construct() /** * @return array - * @since 2.0.0 */ protected function _getOptions() { @@ -52,7 +48,6 @@ protected function _getOptions() /** * @return array|null - * @since 2.0.0 */ public function getCondition() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Action.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Action.php index b6fbddf69a42d..43d9af36a5652 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Action.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Action.php @@ -7,7 +7,6 @@ /** * Adminhtml newsletter queue grid block action item renderer - * @since 2.0.0 */ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -15,7 +14,6 @@ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -23,7 +21,6 @@ class Action extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * @param \Magento\Backend\Block\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -37,7 +34,6 @@ public function __construct( /** * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -63,7 +59,6 @@ public function render(\Magento\Framework\DataObject $row) /** * @param string $value * @return string - * @since 2.0.0 */ protected function _getEscapedValue($value) { @@ -73,7 +68,6 @@ protected function _getEscapedValue($value) /** * @param array $actions * @return string - * @since 2.0.0 */ protected function _actionsToHtml(array $actions) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Status.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Status.php index 33115db3d3e67..fba213e9a21a4 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Status.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter/Grid/Renderer/Status.php @@ -7,13 +7,11 @@ /** * Adminhtml newsletter queue grid block status item renderer - * @since 2.0.0 */ class Status extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { /** * @var array - * @since 2.0.0 */ protected static $_statuses; @@ -21,7 +19,6 @@ class Status extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstract * Constructor for Grid Renderer Status * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -38,7 +35,6 @@ protected function _construct() /** * @param \Magento\Framework\DataObject $row * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -48,7 +44,6 @@ public function render(\Magento\Framework\DataObject $row) /** * @param string $status * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public static function getStatus($status) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php index 2c6d3b0d65b71..c3163e8c07536 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php @@ -11,7 +11,6 @@ * Adminhtml customer orders grid block * * @api - * @since 2.0.0 */ class Orders extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -19,7 +18,6 @@ class Orders extends \Magento\Backend\Block\Widget\Grid\Extended * Sales reorder * * @var \Magento\Sales\Helper\Reorder - * @since 2.0.0 */ protected $_salesReorder = null; @@ -27,13 +25,11 @@ class Orders extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -44,7 +40,6 @@ class Orders extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Sales\Helper\Reorder $salesReorder * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -62,7 +57,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -76,7 +70,6 @@ protected function _construct() * Apply various selection filters to prepare the sales order grid collection. * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -109,7 +102,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -162,7 +154,6 @@ protected function _prepareColumns() * * @param \Magento\Sales\Model\Order|\Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function getRowUrl($row) { @@ -171,7 +162,6 @@ public function getRowUrl($row) /** * {@inheritdoc} - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php index dc029f9be1c54..02f6b18ad70e2 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Reviews.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Reviews extends \Magento\Review\Block\Adminhtml\Grid { @@ -15,7 +14,6 @@ class Reviews extends \Magento\Review\Block\Adminhtml\Grid * Hide grid mass action elements * * @return \Magento\Customer\Block\Adminhtml\Edit\Tab\Reviews - * @since 2.0.0 */ protected function _prepareMassaction() { @@ -26,7 +24,6 @@ protected function _prepareMassaction() * Determine ajax url for grid refresh * * @return string - * @since 2.0.0 */ public function getGridUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View.php index 74681e089c457..9e4a9f0add5a5 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View.php @@ -10,7 +10,6 @@ /** * Customer account form block - * @since 2.0.0 */ class View extends \Magento\Backend\Block\Template implements TabInterface { @@ -18,7 +17,6 @@ class View extends \Magento\Backend\Block\Template implements TabInterface * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; @@ -26,7 +24,6 @@ class View extends \Magento\Backend\Block\Template implements TabInterface * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -39,7 +36,6 @@ public function __construct( /** * @return string|null - * @since 2.0.0 */ public function getCustomerId() { @@ -48,7 +44,6 @@ public function getCustomerId() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabLabel() { @@ -57,7 +52,6 @@ public function getTabLabel() /** * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getTabTitle() { @@ -66,7 +60,6 @@ public function getTabTitle() /** * @return bool - * @since 2.0.0 */ public function canShowTab() { @@ -78,7 +71,6 @@ public function canShowTab() /** * @return bool - * @since 2.0.0 */ public function isHidden() { @@ -92,7 +84,6 @@ public function isHidden() * Tab class getter * * @return string - * @since 2.0.0 */ public function getTabClass() { @@ -103,7 +94,6 @@ public function getTabClass() * Return URL link to Tab content * * @return string - * @since 2.0.0 */ public function getTabUrl() { @@ -114,7 +104,6 @@ public function getTabUrl() * Tab should be loaded trough Ajax call * * @return bool - * @since 2.0.0 */ public function isAjaxLoaded() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php index 87e65c1ed9cd4..6e3f6f77fcbaa 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Cart.php @@ -14,7 +14,6 @@ * @SuppressWarnings(PHPMD.LongVariable) * * @api - * @since 2.0.0 */ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -22,31 +21,26 @@ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\Data\CollectionFactory - * @since 2.0.0 */ protected $_dataCollectionFactory; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected $quote = null; /** * @var \Magento\Quote\Model\QuoteFactory - * @since 2.0.0 */ protected $quoteFactory; @@ -58,7 +52,6 @@ class Cart extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Framework\Registry $coreRegistry * @param \Magento\Quote\Model\QuoteFactory $quoteFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -78,7 +71,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function _construct() { @@ -95,7 +87,6 @@ protected function _construct() * Prepare the cart collection. * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -115,7 +106,6 @@ protected function _prepareCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _prepareColumns() { @@ -154,7 +144,6 @@ protected function _prepareColumns() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { @@ -163,7 +152,6 @@ public function getRowUrl($row) /** * {@inheritdoc} - * @since 2.0.0 */ public function getHeadersVisibility() { @@ -174,7 +162,6 @@ public function getHeadersVisibility() * Get quote * * @return \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected function getQuote() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Grid/Renderer/Item.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Grid/Renderer/Item.php index 688dbab3ebfba..f372d79258590 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Grid/Renderer/Item.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Grid/Renderer/Item.php @@ -9,7 +9,6 @@ /** * Adminhtml customers wishlist grid item renderer for name/options cell - * @since 2.0.0 */ class Item extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -17,13 +16,11 @@ class Item extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * Catalog product configuration * * @var \Magento\Catalog\Helper\Product\Configuration|null - * @since 2.0.0 */ protected $_productConfig = null; /** * @var \Magento\Catalog\Helper\Product\ConfigurationPool - * @since 2.0.0 */ protected $_productConfigPool; @@ -34,7 +31,6 @@ class Item extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRe * @param \Magento\Catalog\Helper\Product\Configuration $productConfig * @param \Magento\Catalog\Helper\Product\ConfigurationPool $productConfigPool * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -52,7 +48,6 @@ public function __construct( * * @param Product $product * @return \Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface - * @since 2.0.0 */ protected function _getProductHelper($product) { @@ -86,7 +81,6 @@ protected function _getProductHelper($product) * Returns product associated with this block * * @return string - * @since 2.0.0 */ public function getProduct() { @@ -97,7 +91,6 @@ public function getProduct() * Returns list of options and their values for product configuration * * @return array - * @since 2.0.0 */ protected function getOptionList() { @@ -112,7 +105,6 @@ protected function getOptionList() * * @param \Magento\Wishlist\Model\Item\Option $option * @return array - * @since 2.0.0 */ protected function getFormattedOptionValue($option) { @@ -125,7 +117,6 @@ protected function getFormattedOptionValue($option) * * @param \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface|\Magento\Framework\DataObject $item * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $item) { @@ -141,7 +132,6 @@ public function render(\Magento\Framework\DataObject $item) * @param Product $product * @param array $options * @return string - * @since 2.0.0 */ protected function _renderItemOptions(Product $product, array $options) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/PersonalInfo.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/PersonalInfo.php index 0218ed844d331..0e75b16ba1278 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/PersonalInfo.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/PersonalInfo.php @@ -15,7 +15,6 @@ * Adminhtml customer view personal information sales block. * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class PersonalInfo extends \Magento\Backend\Block\Template { @@ -30,7 +29,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Customer * * @var \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ protected $customer; @@ -38,7 +36,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Customer log * * @var \Magento\Customer\Model\Log - * @since 2.0.0 */ protected $customerLog; @@ -46,7 +43,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Customer logger * * @var \Magento\Customer\Model\Logger - * @since 2.0.0 */ protected $customerLogger; @@ -62,7 +58,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Account management * * @var AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; @@ -70,7 +65,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Customer group repository * * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; @@ -78,7 +72,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Customer data factory * * @var \Magento\Customer\Api\Data\CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerDataFactory; @@ -86,7 +79,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Address helper * * @var \Magento\Customer\Helper\Address - * @since 2.0.0 */ protected $addressHelper; @@ -94,7 +86,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Date time * * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; @@ -102,7 +93,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; @@ -110,7 +100,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Address mapper * * @var Mapper - * @since 2.0.0 */ protected $addressMapper; @@ -118,7 +107,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * Data object helper * * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -135,7 +123,6 @@ class PersonalInfo extends \Magento\Backend\Block\Template * @param \Magento\Customer\Model\Logger $customerLogger * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -200,7 +187,6 @@ public function getCustomerRegistry() * Retrieve customer object * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ public function getCustomer() { @@ -220,7 +206,6 @@ public function getCustomer() * Retrieve customer id * * @return string|null - * @since 2.0.0 */ public function getCustomerId() { @@ -231,7 +216,6 @@ public function getCustomerId() * Retrieves customer log model * * @return \Magento\Customer\Model\Log - * @since 2.0.0 */ protected function getCustomerLog() { @@ -248,7 +232,6 @@ protected function getCustomerLog() * Returns customer's created date in the assigned store * * @return string - * @since 2.0.0 */ public function getStoreCreateDate() { @@ -270,7 +253,6 @@ public function getStoreCreateDate() * Retrieve store default timezone from configuration * * @return string - * @since 2.0.0 */ public function getStoreCreateDateTimezone() { @@ -285,7 +267,6 @@ public function getStoreCreateDateTimezone() * Get customer creation date * * @return string - * @since 2.0.0 */ public function getCreateDate() { @@ -300,7 +281,6 @@ public function getCreateDate() * Check if account is confirmed * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getIsConfirmedStatus() { @@ -320,7 +300,6 @@ public function getIsConfirmedStatus() * Retrieve store * * @return null|string - * @since 2.0.0 */ public function getCreatedInStore() { @@ -333,7 +312,6 @@ public function getCreatedInStore() * Retrieve billing address html * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getBillingAddressHtml() { @@ -358,7 +336,6 @@ public function getBillingAddressHtml() * Retrieve group name * * @return string|null - * @since 2.0.0 */ public function getGroupName() { @@ -377,7 +354,6 @@ public function getGroupName() * * @param int $groupId * @return \Magento\Customer\Api\Data\GroupInterface|null - * @since 2.0.0 */ private function getGroup($groupId) { @@ -393,7 +369,6 @@ private function getGroup($groupId) * Returns timezone of the store to which customer assigned. * * @return string - * @since 2.0.0 */ public function getStoreLastLoginDateTimezone() { @@ -416,7 +391,6 @@ public function getStoreLastLoginDateTimezone() * In all other cases customer considered 'Online'. * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getCurrentStatus() { @@ -450,7 +424,6 @@ public function getCurrentStatus() * Get customer last login date. * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getLastLoginDate() { @@ -467,7 +440,6 @@ public function getLastLoginDate() * Returns customer last login date in store's timezone. * * @return \Magento\Framework\Phrase|string - * @since 2.0.0 */ public function getStoreLastLoginDate() { @@ -485,7 +457,6 @@ public function getStoreLastLoginDate() * Returns interval that shows how long customer will be considered 'Online'. * * @return int Interval in minutes - * @since 2.0.0 */ protected function getOnlineMinutesInterval() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Sales.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Sales.php index 4c441f85c7ed0..76c33f143e671 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Sales.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Sales.php @@ -11,7 +11,6 @@ /** * Adminhtml customer view sales block - * @since 2.0.0 */ class Sales extends \Magento\Backend\Block\Template { @@ -19,19 +18,16 @@ class Sales extends \Magento\Backend\Block\Template * Sales entity collection * * @var \Magento\Sales\Model\ResourceModel\Sale\Collection - * @since 2.0.0 */ protected $_collection; /** * @var array - * @since 2.0.0 */ protected $_groupedCollection; /** * @var int[] - * @since 2.0.0 */ protected $_websiteCounts; @@ -39,7 +35,6 @@ class Sales extends \Magento\Backend\Block\Template * Currency model * * @var Currency - * @since 2.0.0 */ protected $_currency; @@ -47,19 +42,16 @@ class Sales extends \Magento\Backend\Block\Template * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Directory\Model\CurrencyFactory - * @since 2.0.0 */ protected $_currencyFactory; /** * @var \Magento\Sales\Model\ResourceModel\Sale\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -71,7 +63,6 @@ class Sales extends \Magento\Backend\Block\Template * @param \Magento\Sales\Model\ResourceModel\Sale\CollectionFactory $collectionFactory * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -90,7 +81,6 @@ public function __construct( * Initialize the sales grid. * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -102,7 +92,6 @@ protected function _construct() * Execute before toHtml() code. * * @return $this - * @since 2.0.0 */ public function _beforeToHtml() { @@ -155,7 +144,6 @@ public function _beforeToHtml() * * @param int $websiteId * @return int - * @since 2.0.0 */ public function getWebsiteCount($websiteId) { @@ -164,7 +152,6 @@ public function getWebsiteCount($websiteId) /** * @return array - * @since 2.0.0 */ public function getRows() { @@ -173,7 +160,6 @@ public function getRows() /** * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function getTotals() { @@ -186,7 +172,6 @@ public function getTotals() * @param float $price * @param null|int $websiteId * @return string - * @since 2.0.0 */ public function formatCurrency($price, $websiteId = null) { @@ -197,7 +182,6 @@ public function formatCurrency($price, $websiteId = null) * Is single store mode * * @return bool - * @since 2.0.0 */ public function isSingleStoreMode() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php index 8e36f5c7d5244..cb3b88bc0c654 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/View/Wishlist.php @@ -11,7 +11,6 @@ * Adminhtml customer view wishlist block * * @api - * @since 2.0.0 */ class Wishlist extends \Magento\Backend\Block\Widget\Grid\Extended { @@ -19,7 +18,6 @@ class Wishlist extends \Magento\Backend\Block\Widget\Grid\Extended * Core registry. * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; @@ -27,7 +25,6 @@ class Wishlist extends \Magento\Backend\Block\Widget\Grid\Extended * Wishlist item collection factory. * * @var \Magento\Wishlist\Model\ResourceModel\Item\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -39,7 +36,6 @@ class Wishlist extends \Magento\Backend\Block\Widget\Grid\Extended * @param \Magento\Wishlist\Model\ResourceModel\Item\CollectionFactory $collectionFactory * @param \Magento\Framework\Registry $coreRegistry * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -57,7 +53,6 @@ public function __construct( * Initial settings. * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -73,7 +68,6 @@ protected function _construct() * Prepare collection. * * @return $this - * @since 2.0.0 */ protected function _prepareCollection() { @@ -92,7 +86,6 @@ protected function _prepareCollection() * Prepare columns. * * @return $this - * @since 2.0.0 */ protected function _prepareColumns() { @@ -141,7 +134,6 @@ protected function _prepareColumns() * @return bool * * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getHeadersVisibility() { @@ -150,7 +142,6 @@ public function getHeadersVisibility() /** * {@inheritdoc} - * @since 2.0.0 */ public function getRowUrl($row) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Wishlist/Grid/Renderer/Description.php b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Wishlist/Grid/Renderer/Description.php index 7a7203f6b9280..d0b47886dca7e 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Wishlist/Grid/Renderer/Description.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Wishlist/Grid/Renderer/Description.php @@ -7,7 +7,6 @@ /** * Adminhtml customers wishlist grid item renderer for item visibility - * @since 2.0.0 */ class Description extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { @@ -16,7 +15,6 @@ class Description extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abs * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Boolean.php b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Boolean.php index 5479e969ad06b..cc7ed670aebc3 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Boolean.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Boolean.php @@ -14,14 +14,12 @@ /** * Class \Magento\Customer\Block\Adminhtml\Form\Element\Boolean * - * @since 2.0.0 */ class Boolean extends \Magento\Framework\Data\Form\Element\Select { /** * Prepare default SELECT values * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/File.php b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/File.php index 1e0278736eed3..7e254b3227752 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/File.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/File.php @@ -9,13 +9,11 @@ * Customer Widget Form File Element Block * * @author Magento Core Team - * @since 2.0.0 */ class File extends \Magento\Framework\Data\Form\Element\AbstractElement { /** * @var \Magento\Framework\View\Asset\Repository - * @since 2.0.0 */ protected $_assetRepo; @@ -23,13 +21,11 @@ class File extends \Magento\Framework\Data\Form\Element\AbstractElement * Adminhtml data * * @var \Magento\Backend\Helper\Data - * @since 2.0.0 */ protected $_adminhtmlData = null; /** * @var \Magento\Framework\Url\EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; @@ -41,7 +37,6 @@ class File extends \Magento\Framework\Data\Form\Element\AbstractElement * @param \Magento\Framework\View\Asset\Repository $assetRepo * @param \Magento\Framework\Url\EncoderInterface $urlEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Form\Element\Factory $factoryElement, @@ -63,7 +58,6 @@ public function __construct( * Return Form Element HTML * * @return string - * @since 2.0.0 */ public function getElementHtml() { @@ -89,7 +83,6 @@ public function getElementHtml() * Return Delete File CheckBox HTML * * @return string - * @since 2.0.0 */ protected function _getDeleteCheckboxHtml() { @@ -121,7 +114,6 @@ protected function _getDeleteCheckboxHtml() * Return Delete CheckBox SPAN Class name * * @return string - * @since 2.0.0 */ protected function _getDeleteCheckboxSpanClass() { @@ -132,7 +124,6 @@ protected function _getDeleteCheckboxSpanClass() * Return Delete CheckBox Label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getDeleteCheckboxLabel() { @@ -143,7 +134,6 @@ protected function _getDeleteCheckboxLabel() * Return File preview link HTML * * @return string - * @since 2.0.0 */ protected function _getPreviewHtml() { @@ -168,7 +158,6 @@ protected function _getPreviewHtml() * Return Hidden element with current value * * @return string - * @since 2.0.0 */ protected function _getHiddenInput() { @@ -187,7 +176,6 @@ protected function _getHiddenInput() * Return Preview/Download URL * * @return string - * @since 2.0.0 */ protected function _getPreviewUrl() { @@ -204,7 +192,6 @@ protected function _getPreviewUrl() * @param array $attributes * @param bool $closed * @return string - * @since 2.0.0 */ protected function _drawElementHtml($element, array $attributes, $closed = true) { @@ -221,7 +208,6 @@ protected function _drawElementHtml($element, array $attributes, $closed = true) * * @param int|null $index * @return string|false - * @since 2.0.0 */ public function getEscapedValue($index = null) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Image.php b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Image.php index 01757f89b4347..cb2ab303c0d52 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Image.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Form/Element/Image.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Block\Adminhtml\Form\Element\Image * - * @since 2.0.0 */ class Image extends \Magento\Customer\Block\Adminhtml\Form\Element\File { @@ -22,7 +21,6 @@ class Image extends \Magento\Customer\Block\Adminhtml\Form\Element\File * Return Delete CheckBox Label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function _getDeleteCheckboxLabel() { @@ -33,7 +31,6 @@ protected function _getDeleteCheckboxLabel() * Return Delete CheckBox SPAN Class name * * @return string - * @since 2.0.0 */ protected function _getDeleteCheckboxSpanClass() { @@ -44,7 +41,6 @@ protected function _getDeleteCheckboxSpanClass() * Return File preview link HTML * * @return string - * @since 2.0.0 */ protected function _getPreviewHtml() { @@ -76,7 +72,6 @@ protected function _getPreviewHtml() * Return Image URL * * @return string - * @since 2.0.0 */ protected function _getPreviewUrl() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Grid/Filter/Country.php b/app/code/Magento/Customer/Block/Adminhtml/Grid/Filter/Country.php index 0da0a3bc12e39..64fe7c8b6188a 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Grid/Filter/Country.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Grid/Filter/Country.php @@ -9,13 +9,11 @@ * Country customer grid column filter * * @author Magento Core Team - * @since 2.0.0 */ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select { /** * @var \Magento\Directory\Model\ResourceModel\Country\CollectionFactory - * @since 2.0.0 */ protected $_collectionFactory; @@ -24,7 +22,6 @@ class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select * @param \Magento\Framework\DB\Helper $resourceHelper * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $collectionFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Context $context, @@ -38,7 +35,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ protected function _getOptions() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Grid/Renderer/Multiaction.php b/app/code/Magento/Customer/Block/Adminhtml/Grid/Renderer/Multiaction.php index 17680b097f719..bd6e8b69a29ea 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Grid/Renderer/Multiaction.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Grid/Renderer/Multiaction.php @@ -9,7 +9,6 @@ * Adminhtml customers wishlist grid item action renderer for few action controls in one cell * * @author Magento Core Team - * @since 2.0.0 */ class Multiaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Action { @@ -18,7 +17,6 @@ class Multiaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Act * * @param \Magento\Framework\DataObject $row * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\DataObject $row) { @@ -50,7 +48,6 @@ public function render(\Magento\Framework\DataObject $row) * @param array $action * @param \Magento\Framework\DataObject $row * @return string|false - * @since 2.0.0 */ protected function _toLinkHtml($action, \Magento\Framework\DataObject $row) { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Group.php b/app/code/Magento/Customer/Block/Adminhtml/Group.php index 43788918f461c..2b7eefb67d30f 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Group.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Group.php @@ -13,7 +13,6 @@ /** * @api - * @since 2.0.0 */ class Group extends \Magento\Backend\Block\Widget\Grid\Container { @@ -21,7 +20,6 @@ class Group extends \Magento\Backend\Block\Widget\Grid\Container * Modify header & button labels * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -35,7 +33,6 @@ protected function _construct() * Redefine header css class * * @return string - * @since 2.0.0 */ public function getHeaderCssClass() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Group/Edit.php b/app/code/Magento/Customer/Block/Adminhtml/Group/Edit.php index e4e68cb9adfc5..be2d143e7f864 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Group/Edit.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Group/Edit.php @@ -11,7 +11,6 @@ /** * Customer group edit block - * @since 2.0.0 */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { @@ -19,19 +18,16 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $coreRegistry; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; @@ -43,7 +39,6 @@ class Edit extends \Magento\Backend\Block\Widget\Form\Container * @param GroupRepositoryInterface $groupRepository * @param GroupManagementInterface $groupManagement * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Widget\Context $context, @@ -62,7 +57,6 @@ public function __construct( * Update Save and Delete buttons. Remove Delete button if group can't be deleted. * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -85,7 +79,6 @@ protected function _construct() * Retrieve the header text, either editing an existing group or creating a new one. * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getHeaderText() { @@ -102,7 +95,6 @@ public function getHeaderText() * Retrieve CSS classes added to the header. * * @return string - * @since 2.0.0 */ public function getHeaderCssClass() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Group/Edit/Form.php b/app/code/Magento/Customer/Block/Adminhtml/Group/Edit/Form.php index 020bd27d7cce0..1a57ab7c7b6a5 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Group/Edit/Form.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Group/Edit/Form.php @@ -9,31 +9,26 @@ /** * Adminhtml customer groups edit form - * @since 2.0.0 */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { /** * @var \Magento\Tax\Model\TaxClass\Source\Customer - * @since 2.0.0 */ protected $_taxCustomer; /** * @var \Magento\Tax\Helper\Data - * @since 2.0.0 */ protected $_taxHelper; /** * @var \Magento\Customer\Api\GroupRepositoryInterface - * @since 2.0.0 */ protected $_groupRepository; /** * @var \Magento\Customer\Api\Data\GroupInterfaceFactory - * @since 2.0.0 */ protected $groupDataFactory; @@ -46,7 +41,6 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository * @param \Magento\Customer\Api\Data\GroupInterfaceFactory $groupDataFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -69,7 +63,6 @@ public function __construct( * Prepare form for render * * @return void - * @since 2.0.0 */ protected function _prepareLayout() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php b/app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php index fc55fde058c24..4a0d0f66425bb 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php +++ b/app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php @@ -11,7 +11,6 @@ * VAT ID element renderer * * @author Magento Core Team - * @since 2.0.0 */ class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element { @@ -19,19 +18,16 @@ class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element * Validate button block * * @var null|\Magento\Backend\Block\Widget\Button - * @since 2.0.0 */ protected $_validateButton = null; /** * @var string - * @since 2.0.0 */ protected $_template = 'sales/order/create/address/form/renderer/vat.phtml'; /** * @var \Magento\Framework\Json\EncoderInterface - * @since 2.0.0 */ protected $_jsonEncoder; @@ -39,7 +35,6 @@ class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Backend\Block\Template\Context $context, @@ -54,7 +49,6 @@ public function __construct( * Retrieve validate button block * * @return \Magento\Backend\Block\Widget\Button - * @since 2.0.0 */ public function getValidateButton() { diff --git a/app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php b/app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php index 8c6e0b87eab1d..20532d297e8ff 100644 --- a/app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php +++ b/app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Block\Adminhtml\System\Config\Validatevat * - * @since 2.0.0 */ class Validatevat extends \Magento\Config\Block\System\Config\Form\Field { @@ -22,7 +21,6 @@ class Validatevat extends \Magento\Config\Block\System\Config\Form\Field * Merchant Country Field Name * * @var string - * @since 2.0.0 */ protected $_merchantCountry = 'general_store_information_country_id'; @@ -30,7 +28,6 @@ class Validatevat extends \Magento\Config\Block\System\Config\Form\Field * Merchant VAT Number Field * * @var string - * @since 2.0.0 */ protected $_merchantVatNumber = 'general_store_information_merchant_vat_number'; @@ -38,7 +35,6 @@ class Validatevat extends \Magento\Config\Block\System\Config\Form\Field * Validate VAT Button Label * * @var string - * @since 2.0.0 */ protected $_vatButtonLabel = 'Validate VAT Number'; @@ -47,7 +43,6 @@ class Validatevat extends \Magento\Config\Block\System\Config\Form\Field * * @param string $countryField * @return \Magento\Customer\Block\Adminhtml\System\Config\Validatevat - * @since 2.0.0 */ public function setMerchantCountryField($countryField) { @@ -59,7 +54,6 @@ public function setMerchantCountryField($countryField) * Get Merchant Country Field Name * * @return string - * @since 2.0.0 */ public function getMerchantCountryField() { @@ -71,7 +65,6 @@ public function getMerchantCountryField() * * @param string $vatNumberField * @return \Magento\Customer\Block\Adminhtml\System\Config\Validatevat - * @since 2.0.0 */ public function setMerchantVatNumberField($vatNumberField) { @@ -83,7 +76,6 @@ public function setMerchantVatNumberField($vatNumberField) * Get Merchant VAT Number Field * * @return string - * @since 2.0.0 */ public function getMerchantVatNumberField() { @@ -95,7 +87,6 @@ public function getMerchantVatNumberField() * * @param string $vatButtonLabel * @return \Magento\Customer\Block\Adminhtml\System\Config\Validatevat - * @since 2.0.0 */ public function setVatButtonLabel($vatButtonLabel) { @@ -107,7 +98,6 @@ public function setVatButtonLabel($vatButtonLabel) * Set template to itself * * @return \Magento\Customer\Block\Adminhtml\System\Config\Validatevat - * @since 2.0.0 */ protected function _prepareLayout() { @@ -123,7 +113,6 @@ protected function _prepareLayout() * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { @@ -136,7 +125,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string - * @since 2.0.0 */ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element) { diff --git a/app/code/Magento/Customer/Block/CustomerData.php b/app/code/Magento/Customer/Block/CustomerData.php index 9a396996f121d..bc93e9776715f 100644 --- a/app/code/Magento/Customer/Block/CustomerData.php +++ b/app/code/Magento/Customer/Block/CustomerData.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class CustomerData extends \Magento\Framework\View\Element\Template { @@ -21,7 +20,6 @@ class CustomerData extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\View\Element\Template\Context $context * @param array $data * @param array $expirableSectionNames - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -35,7 +33,6 @@ public function __construct( /** * Get CookieLifeTime * @return null|string scopeCode - * @since 2.0.0 */ public function getCookieLifeTime() { @@ -50,7 +47,6 @@ public function getCookieLifeTime() * * @param string $route * @return string Customer data url. - * @since 2.0.0 */ public function getCustomerDataUrl($route) { diff --git a/app/code/Magento/Customer/Block/Form/Edit.php b/app/code/Magento/Customer/Block/Form/Edit.php index fc1a6496b75be..8182f31431279 100644 --- a/app/code/Magento/Customer/Block/Form/Edit.php +++ b/app/code/Magento/Customer/Block/Form/Edit.php @@ -13,7 +13,6 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Edit extends \Magento\Customer\Block\Account\Dashboard { @@ -21,7 +20,6 @@ class Edit extends \Magento\Customer\Block\Account\Dashboard * Retrieve form data * * @return array - * @since 2.0.0 */ protected function getFormData() { @@ -44,7 +42,6 @@ protected function getFormData() * @param \Magento\Customer\Model\Metadata\Form $form * @param null $scope * @return \Magento\Customer\Block\Form\Register - * @since 2.0.0 */ public function restoreSessionData(\Magento\Customer\Model\Metadata\Form $form, $scope = null) { @@ -64,7 +61,6 @@ public function restoreSessionData(\Magento\Customer\Model\Metadata\Form $form, * @return bool * * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getChangePassword() { diff --git a/app/code/Magento/Customer/Block/Form/Login.php b/app/code/Magento/Customer/Block/Form/Login.php index a20d93820d586..8cf7bd6114870 100644 --- a/app/code/Magento/Customer/Block/Form/Login.php +++ b/app/code/Magento/Customer/Block/Form/Login.php @@ -10,25 +10,21 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Login extends \Magento\Framework\View\Element\Template { /** * @var int - * @since 2.0.0 */ private $_username = -1; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -37,7 +33,6 @@ class Login extends \Magento\Framework\View\Element\Template * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Customer\Model\Url $customerUrl * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -53,7 +48,6 @@ public function __construct( /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -65,7 +59,6 @@ protected function _prepareLayout() * Retrieve form posting url * * @return string - * @since 2.0.0 */ public function getPostActionUrl() { @@ -76,7 +69,6 @@ public function getPostActionUrl() * Retrieve password forgotten url * * @return string - * @since 2.0.0 */ public function getForgotPasswordUrl() { @@ -87,7 +79,6 @@ public function getForgotPasswordUrl() * Retrieve username for form field * * @return string - * @since 2.0.0 */ public function getUsername() { @@ -101,7 +92,6 @@ public function getUsername() * Check if autocomplete is disabled on storefront * * @return bool - * @since 2.0.0 */ public function isAutocompleteDisabled() { diff --git a/app/code/Magento/Customer/Block/Form/Login/Info.php b/app/code/Magento/Customer/Block/Form/Login/Info.php index 4f904988dc0e2..5fae2879383ba 100644 --- a/app/code/Magento/Customer/Block/Form/Login/Info.php +++ b/app/code/Magento/Customer/Block/Form/Login/Info.php @@ -9,13 +9,11 @@ * Customer login info block * * @api - * @since 2.0.0 */ class Info extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -23,7 +21,6 @@ class Info extends \Magento\Framework\View\Element\Template * Checkout data * * @var \Magento\Checkout\Helper\Data - * @since 2.0.0 */ protected $checkoutData; @@ -31,7 +28,6 @@ class Info extends \Magento\Framework\View\Element\Template * Core url * * @var \Magento\Framework\Url\Helper\Data - * @since 2.0.0 */ protected $coreUrl; @@ -39,7 +35,6 @@ class Info extends \Magento\Framework\View\Element\Template * Registration * * @var \Magento\Customer\Model\Registration - * @since 2.0.0 */ protected $registration; @@ -50,7 +45,6 @@ class Info extends \Magento\Framework\View\Element\Template * @param \Magento\Checkout\Helper\Data $checkoutData * @param \Magento\Framework\Url\Helper\Data $coreUrl * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -71,7 +65,6 @@ public function __construct( * Return registration * * @return \Magento\Customer\Model\Registration - * @since 2.0.0 */ public function getRegistration() { @@ -82,7 +75,6 @@ public function getRegistration() * Retrieve create new account url * * @return string - * @since 2.0.0 */ public function getCreateAccountUrl() { diff --git a/app/code/Magento/Customer/Block/Form/Register.php b/app/code/Magento/Customer/Block/Form/Register.php index b6c7a30d60b2b..bb68fe2e12bd3 100644 --- a/app/code/Magento/Customer/Block/Form/Register.php +++ b/app/code/Magento/Customer/Block/Form/Register.php @@ -12,25 +12,21 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Register extends \Magento\Directory\Block\Data { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $_moduleManager; /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -49,7 +45,6 @@ class Register extends \Magento\Directory\Block\Data * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -83,7 +78,6 @@ public function __construct( * * @param string $path * @return string|null - * @since 2.0.0 */ public function getConfig($path) { @@ -92,7 +86,6 @@ public function getConfig($path) /** * @return $this - * @since 2.0.0 */ protected function _prepareLayout() { @@ -104,7 +97,6 @@ protected function _prepareLayout() * Retrieve form posting url * * @return string - * @since 2.0.0 */ public function getPostActionUrl() { @@ -115,7 +107,6 @@ public function getPostActionUrl() * Retrieve back url * * @return string - * @since 2.0.0 */ public function getBackUrl() { @@ -130,7 +121,6 @@ public function getBackUrl() * Retrieve form data * * @return mixed - * @since 2.0.0 */ public function getFormData() { @@ -154,7 +144,6 @@ public function getFormData() * Retrieve customer country identifier * * @return int - * @since 2.0.0 */ public function getCountryId() { @@ -169,7 +158,6 @@ public function getCountryId() * Retrieve customer region identifier * * @return mixed - * @since 2.0.0 */ public function getRegion() { @@ -185,7 +173,6 @@ public function getRegion() * Newsletter module availability * * @return bool - * @since 2.0.0 */ public function isNewsletterEnabled() { @@ -199,7 +186,6 @@ public function isNewsletterEnabled() * @param \Magento\Customer\Model\Metadata\Form $form * @param string|null $scope * @return $this - * @since 2.0.0 */ public function restoreSessionData(\Magento\Customer\Model\Metadata\Form $form, $scope = null) { diff --git a/app/code/Magento/Customer/Block/Newsletter.php b/app/code/Magento/Customer/Block/Newsletter.php index a1587ee325b09..3ac3258dfe0de 100644 --- a/app/code/Magento/Customer/Block/Newsletter.php +++ b/app/code/Magento/Customer/Block/Newsletter.php @@ -13,20 +13,17 @@ * * @api * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Newsletter extends \Magento\Customer\Block\Account\Dashboard { /** * @var string - * @since 2.0.0 */ protected $_template = 'form/newsletter.phtml'; /** * @return bool * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsSubscribed() { @@ -37,7 +34,6 @@ public function getIsSubscribed() * Return the save action Url. * * @return string - * @since 2.0.0 */ public function getAction() { diff --git a/app/code/Magento/Customer/Block/SectionConfig.php b/app/code/Magento/Customer/Block/SectionConfig.php index 0c80e92824295..ba259a7dbcc3b 100644 --- a/app/code/Magento/Customer/Block/SectionConfig.php +++ b/app/code/Magento/Customer/Block/SectionConfig.php @@ -7,13 +7,11 @@ /** * @api - * @since 2.0.0 */ class SectionConfig extends \Magento\Framework\View\Element\Template { /** * @var \Magento\Framework\Config\DataInterface - * @since 2.0.0 */ protected $sectionConfig; @@ -22,7 +20,6 @@ class SectionConfig extends \Magento\Framework\View\Element\Template * Sections that do not have server side providers * * @var string[] - * @since 2.0.0 */ protected $clientSideSections; @@ -31,7 +28,6 @@ class SectionConfig extends \Magento\Framework\View\Element\Template * @param \Magento\Framework\Config\DataInterface $sectionConfig * @param array $data * @param string[] $clientSideSections - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -48,7 +44,6 @@ public function __construct( * Get list of sections for invalidation * * @return array - * @since 2.0.0 */ public function getSections() { @@ -58,7 +53,6 @@ public function getSections() /** * Get list of client side sections * @return string[] - * @since 2.0.0 */ public function getClientSideSections() { diff --git a/app/code/Magento/Customer/Block/Widget/AbstractWidget.php b/app/code/Magento/Customer/Block/Widget/AbstractWidget.php index 96d699d5ebe04..c16e1c7721e09 100644 --- a/app/code/Magento/Customer/Block/Widget/AbstractWidget.php +++ b/app/code/Magento/Customer/Block/Widget/AbstractWidget.php @@ -11,19 +11,16 @@ /** * Class \Magento\Customer\Block\Widget\AbstractWidget * - * @since 2.0.0 */ class AbstractWidget extends \Magento\Framework\View\Element\Template { /** * @var CustomerMetadataInterface - * @since 2.0.0 */ protected $customerMetadata; /** * @var \Magento\Customer\Helper\Address - * @since 2.0.0 */ protected $_addressHelper; @@ -32,7 +29,6 @@ class AbstractWidget extends \Magento\Framework\View\Element\Template * @param \Magento\Customer\Helper\Address $addressHelper * @param CustomerMetadataInterface $customerMetadata * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -49,7 +45,6 @@ public function __construct( /** * @param string $key * @return null|string - * @since 2.0.0 */ public function getConfig($key) { @@ -58,7 +53,6 @@ public function getConfig($key) /** * @return string - * @since 2.0.0 */ public function getFieldIdFormat() { @@ -70,7 +64,6 @@ public function getFieldIdFormat() /** * @return string - * @since 2.0.0 */ public function getFieldNameFormat() { @@ -83,7 +76,6 @@ public function getFieldNameFormat() /** * @param string $field * @return string - * @since 2.0.0 */ public function getFieldId($field) { @@ -93,7 +85,6 @@ public function getFieldId($field) /** * @param string $field * @return string - * @since 2.0.0 */ public function getFieldName($field) { @@ -105,7 +96,6 @@ public function getFieldName($field) * * @param string $attributeCode * @return \Magento\Customer\Api\Data\AttributeMetadataInterface|null - * @since 2.0.0 */ protected function _getAttribute($attributeCode) { diff --git a/app/code/Magento/Customer/Block/Widget/Dob.php b/app/code/Magento/Customer/Block/Widget/Dob.php index 33a70e266288e..b9d860b5ae3d5 100644 --- a/app/code/Magento/Customer/Block/Widget/Dob.php +++ b/app/code/Magento/Customer/Block/Widget/Dob.php @@ -12,7 +12,6 @@ * Class Dob * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Dob extends AbstractWidget { @@ -27,13 +26,11 @@ class Dob extends AbstractWidget * Date inputs * * @var array - * @since 2.0.0 */ protected $_dateInputs = []; /** * @var \Magento\Framework\View\Element\Html\Date - * @since 2.0.0 */ protected $dateElement; @@ -50,7 +47,6 @@ class Dob extends AbstractWidget * @param \Magento\Framework\View\Element\Html\Date $dateElement * @param \Magento\Framework\Data\Form\FilterFactory $filterFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -67,7 +63,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function _construct() { @@ -77,7 +72,6 @@ public function _construct() /** * @return bool - * @since 2.0.0 */ public function isEnabled() { @@ -87,7 +81,6 @@ public function isEnabled() /** * @return bool - * @since 2.0.0 */ public function isRequired() { @@ -98,7 +91,6 @@ public function isRequired() /** * @param string $date * @return $this - * @since 2.0.0 */ public function setDate($date) { @@ -146,7 +138,6 @@ protected function applyOutputFilter($value) /** * @return string|bool - * @since 2.0.0 */ public function getDay() { @@ -155,7 +146,6 @@ public function getDay() /** * @return string|bool - * @since 2.0.0 */ public function getMonth() { @@ -164,7 +154,6 @@ public function getMonth() /** * @return string|bool - * @since 2.0.0 */ public function getYear() { @@ -175,7 +164,6 @@ public function getYear() * Return label * * @return \Magento\Framework\Phrase - * @since 2.0.0 */ public function getLabel() { @@ -186,7 +174,6 @@ public function getLabel() * Create correct date field * * @return string - * @since 2.0.0 */ public function getFieldHtml() { @@ -211,7 +198,6 @@ public function getFieldHtml() * Return id * * @return string - * @since 2.0.0 */ public function getHtmlId() { @@ -243,7 +229,6 @@ public function getHtmlExtraParams() * Returns format which will be applied for DOB in javascript * * @return string - * @since 2.0.0 */ public function getDateFormat() { @@ -256,7 +241,6 @@ public function getDateFormat() * @param string $code * @param string $html * @return void - * @since 2.0.0 */ public function setDateInput($code, $html) { @@ -269,7 +253,6 @@ public function setDateInput($code, $html) * @param bool $stripNonInputChars * * @return string - * @since 2.0.0 */ public function getSortedDateInputs($stripNonInputChars = true) { @@ -291,7 +274,6 @@ public function getSortedDateInputs($stripNonInputChars = true) * Return minimal date range value * * @return string|null - * @since 2.0.0 */ public function getMinDateRange() { @@ -313,7 +295,6 @@ public function getMinDateRange() * Return maximal date range value * * @return string|null - * @since 2.0.0 */ public function getMaxDateRange() { diff --git a/app/code/Magento/Customer/Block/Widget/Gender.php b/app/code/Magento/Customer/Block/Widget/Gender.php index ae597e48005ba..1d3730e6c6d58 100644 --- a/app/code/Magento/Customer/Block/Widget/Gender.php +++ b/app/code/Magento/Customer/Block/Widget/Gender.php @@ -14,19 +14,16 @@ * Block to render customer's gender attribute * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Gender extends AbstractWidget { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -39,7 +36,6 @@ class Gender extends AbstractWidget * @param CustomerRepositoryInterface $customerRepository * @param \Magento\Customer\Model\Session $customerSession * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Initialize block * * @return void - * @since 2.0.0 */ public function _construct() { @@ -70,7 +65,6 @@ public function _construct() /** * Check if gender attribute enabled in system * @return bool - * @since 2.0.0 */ public function isEnabled() { @@ -80,7 +74,6 @@ public function isEnabled() /** * Check if gender attribute marked as required * @return bool - * @since 2.0.0 */ public function isRequired() { @@ -91,7 +84,6 @@ public function isRequired() * Get current customer from session * * @return CustomerInterface - * @since 2.0.0 */ public function getCustomer() { @@ -101,7 +93,6 @@ public function getCustomer() /** * Returns options from gender attribute * @return OptionInterface[] - * @since 2.0.0 */ public function getGenderOptions() { diff --git a/app/code/Magento/Customer/Block/Widget/Name.php b/app/code/Magento/Customer/Block/Widget/Name.php index a095f30858f2d..ecd09319cd85e 100644 --- a/app/code/Magento/Customer/Block/Widget/Name.php +++ b/app/code/Magento/Customer/Block/Widget/Name.php @@ -19,19 +19,16 @@ * @method Name setObject(CustomerInterface $customer) * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Name extends AbstractWidget { /** * @var AddressMetadataInterface - * @since 2.0.0 */ protected $addressMetadata; /** * @var Options - * @since 2.0.0 */ protected $options; @@ -42,7 +39,6 @@ class Name extends AbstractWidget * @param Options $options * @param AddressMetadataInterface $addressMetadata * @param array $data - * @since 2.0.0 */ public function __construct( Context $context, @@ -60,7 +56,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ public function _construct() { @@ -75,7 +70,6 @@ public function _construct() * * @param string $key * @return bool - * @since 2.0.0 */ protected function _showConfig($key) { @@ -86,7 +80,6 @@ protected function _showConfig($key) * Can show prefix * * @return bool - * @since 2.0.0 */ public function showPrefix() { @@ -97,7 +90,6 @@ public function showPrefix() * Define if prefix attribute is required * * @return bool - * @since 2.0.0 */ public function isPrefixRequired() { @@ -108,7 +100,6 @@ public function isPrefixRequired() * Retrieve name prefix drop-down options * * @return array|bool - * @since 2.0.0 */ public function getPrefixOptions() { @@ -125,7 +116,6 @@ public function getPrefixOptions() * Define if middle name attribute can be shown * * @return bool - * @since 2.0.0 */ public function showMiddlename() { @@ -136,7 +126,6 @@ public function showMiddlename() * Define if middlename attribute is required * * @return bool - * @since 2.0.0 */ public function isMiddlenameRequired() { @@ -147,7 +136,6 @@ public function isMiddlenameRequired() * Define if suffix attribute can be shown * * @return bool - * @since 2.0.0 */ public function showSuffix() { @@ -158,7 +146,6 @@ public function showSuffix() * Define if suffix attribute is required * * @return bool - * @since 2.0.0 */ public function isSuffixRequired() { @@ -169,7 +156,6 @@ public function isSuffixRequired() * Retrieve name suffix drop-down options * * @return array|bool - * @since 2.0.0 */ public function getSuffixOptions() { @@ -185,7 +171,6 @@ public function getSuffixOptions() * Class name getter * * @return string - * @since 2.0.0 */ public function getClassName() { @@ -199,7 +184,6 @@ public function getClassName() * Container class name getter * * @return string - * @since 2.0.0 */ public function getContainerClassName() { @@ -212,7 +196,6 @@ public function getContainerClassName() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getAttribute($attributeCode) { @@ -241,7 +224,6 @@ protected function _getAttribute($attributeCode) * * @param string $attributeCode * @return string - * @since 2.0.0 */ public function getStoreLabel($attributeCode) { @@ -254,7 +236,6 @@ public function getStoreLabel($attributeCode) * * @param string $attributeCode * @return string - * @since 2.0.0 */ public function getAttributeValidationClass($attributeCode) { @@ -264,7 +245,6 @@ public function getAttributeValidationClass($attributeCode) /** * @param string $attributeCode * @return bool - * @since 2.0.0 */ private function _isAttributeRequired($attributeCode) { @@ -275,7 +255,6 @@ private function _isAttributeRequired($attributeCode) /** * @param string $attributeCode * @return bool - * @since 2.0.0 */ private function _isAttributeVisible($attributeCode) { diff --git a/app/code/Magento/Customer/Block/Widget/Taxvat.php b/app/code/Magento/Customer/Block/Widget/Taxvat.php index 31396119d8ae7..e695681ad4a6c 100644 --- a/app/code/Magento/Customer/Block/Widget/Taxvat.php +++ b/app/code/Magento/Customer/Block/Widget/Taxvat.php @@ -12,7 +12,6 @@ * Customer Value Added Tax Widget * * @SuppressWarnings(PHPMD.DepthOfInheritance) - * @since 2.0.0 */ class Taxvat extends AbstractWidget { @@ -23,7 +22,6 @@ class Taxvat extends AbstractWidget * @param \Magento\Customer\Helper\Address $addressHelper * @param CustomerMetadataInterface $customerMetadata * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\Template\Context $context, @@ -39,7 +37,6 @@ public function __construct( * Sets the template * * @return void - * @since 2.0.0 */ public function _construct() { @@ -51,7 +48,6 @@ public function _construct() * Get is enabled. * * @return bool - * @since 2.0.0 */ public function isEnabled() { @@ -62,7 +58,6 @@ public function isEnabled() * Get is required. * * @return bool - * @since 2.0.0 */ public function isRequired() { diff --git a/app/code/Magento/Customer/Console/Command/UpgradeHashAlgorithmCommand.php b/app/code/Magento/Customer/Console/Command/UpgradeHashAlgorithmCommand.php index 640866986b9d2..0714571564717 100644 --- a/app/code/Magento/Customer/Console/Command/UpgradeHashAlgorithmCommand.php +++ b/app/code/Magento/Customer/Console/Command/UpgradeHashAlgorithmCommand.php @@ -16,32 +16,27 @@ /** * Class \Magento\Customer\Console\Command\UpgradeHashAlgorithmCommand * - * @since 2.0.0 */ class UpgradeHashAlgorithmCommand extends Command { /** * @var CollectionFactory - * @since 2.0.0 */ private $customerCollectionFactory; /** * @var Collection - * @since 2.0.0 */ private $collection; /** * @var Encryptor - * @since 2.0.0 */ private $encryptor; /** * @param CollectionFactory $customerCollectionFactory * @param Encryptor $encryptor - * @since 2.0.0 */ public function __construct( CollectionFactory $customerCollectionFactory, @@ -54,7 +49,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ protected function configure() { @@ -64,7 +58,6 @@ protected function configure() /** * @inheritdoc - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Customer/Controller/AbstractAccount.php b/app/code/Magento/Customer/Controller/AbstractAccount.php index 626421d181ff2..21611329ed9bc 100644 --- a/app/code/Magento/Customer/Controller/AbstractAccount.php +++ b/app/code/Magento/Customer/Controller/AbstractAccount.php @@ -12,7 +12,6 @@ * Class AbstractAccount * @package Magento\Customer\Controller * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ abstract class AbstractAccount extends Action implements AccountInterface { diff --git a/app/code/Magento/Customer/Controller/Account/Confirm.php b/app/code/Magento/Customer/Controller/Account/Confirm.php index 5690d18eb2a2d..998d0315854ef 100644 --- a/app/code/Magento/Customer/Controller/Account/Confirm.php +++ b/app/code/Magento/Customer/Controller/Account/Confirm.php @@ -23,49 +23,41 @@ * Class Confirm * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Confirm extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Customer\Helper\Address - * @since 2.0.0 */ protected $addressHelper; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlModel; /** * @var Session - * @since 2.0.0 */ protected $session; @@ -90,7 +82,6 @@ class Confirm extends \Magento\Customer\Controller\AbstractAccount * @param CustomerRepositoryInterface $customerRepository * @param Address $addressHelper * @param UrlFactory $urlFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -150,7 +141,6 @@ private function getCookieMetadataFactory() * Confirm customer account by id and confirmation key * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { @@ -194,7 +184,6 @@ public function execute() * Retrieve success message * * @return string - * @since 2.0.0 */ protected function getSuccessMessage() { @@ -224,7 +213,6 @@ protected function getSuccessMessage() * Retrieve success redirect URL * * @return string - * @since 2.0.0 */ protected function getSuccessRedirect() { diff --git a/app/code/Magento/Customer/Controller/Account/Confirmation.php b/app/code/Magento/Customer/Controller/Account/Confirmation.php index 839d923762e85..df0e6452c5a3e 100644 --- a/app/code/Magento/Customer/Controller/Account/Confirmation.php +++ b/app/code/Magento/Customer/Controller/Account/Confirmation.php @@ -16,31 +16,26 @@ /** * Class \Magento\Customer\Controller\Account\Confirmation * - * @since 2.0.0 */ class Confirmation extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -50,7 +45,6 @@ class Confirmation extends \Magento\Customer\Controller\AbstractAccount * @param PageFactory $resultPageFactory * @param StoreManagerInterface $storeManager * @param AccountManagementInterface $customerAccountManagement - * @since 2.0.0 */ public function __construct( Context $context, @@ -70,7 +64,6 @@ public function __construct( * Send confirmation link to specified email * * @return \Magento\Framework\Controller\Result\Redirect|\Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/Create.php b/app/code/Magento/Customer/Controller/Account/Create.php index 7d0184bfef38e..59bb8b7253743 100644 --- a/app/code/Magento/Customer/Controller/Account/Create.php +++ b/app/code/Magento/Customer/Controller/Account/Create.php @@ -14,25 +14,21 @@ /** * Class \Magento\Customer\Controller\Account\Create * - * @since 2.0.0 */ class Create extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Model\Registration - * @since 2.0.0 */ protected $registration; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -41,7 +37,6 @@ class Create extends \Magento\Customer\Controller\AbstractAccount * @param Session $customerSession * @param PageFactory $resultPageFactory * @param Registration $registration - * @since 2.0.0 */ public function __construct( Context $context, @@ -59,7 +54,6 @@ public function __construct( * Customer register form page * * @return \Magento\Framework\Controller\Result\Redirect|\Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/CreatePassword.php b/app/code/Magento/Customer/Controller/Account/CreatePassword.php index 1766c3f59b218..1e6216a7db9d9 100644 --- a/app/code/Magento/Customer/Controller/Account/CreatePassword.php +++ b/app/code/Magento/Customer/Controller/Account/CreatePassword.php @@ -14,25 +14,21 @@ /** * Class \Magento\Customer\Controller\Account\CreatePassword * - * @since 2.0.0 */ class CreatePassword extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -41,7 +37,6 @@ class CreatePassword extends \Magento\Customer\Controller\AbstractAccount * @param Session $customerSession * @param PageFactory $resultPageFactory * @param AccountManagementInterface $accountManagement - * @since 2.0.0 */ public function __construct( Context $context, @@ -59,7 +54,6 @@ public function __construct( * Resetting password handler * * @return \Magento\Framework\Controller\Result\Redirect|\Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/CreatePost.php b/app/code/Magento/Customer/Controller/Account/CreatePost.php index 5035fd6c9bcf6..72152f856c112 100644 --- a/app/code/Magento/Customer/Controller/Account/CreatePost.php +++ b/app/code/Magento/Customer/Controller/Account/CreatePost.php @@ -30,97 +30,81 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CreatePost extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @var \Magento\Customer\Helper\Address - * @since 2.0.0 */ protected $addressHelper; /** * @var \Magento\Customer\Model\Metadata\FormFactory - * @since 2.0.0 */ protected $formFactory; /** * @var \Magento\Newsletter\Model\SubscriberFactory - * @since 2.0.0 */ protected $subscriberFactory; /** * @var \Magento\Customer\Api\Data\RegionInterfaceFactory - * @since 2.0.0 */ protected $regionDataFactory; /** * @var \Magento\Customer\Api\Data\AddressInterfaceFactory - * @since 2.0.0 */ protected $addressDataFactory; /** * @var \Magento\Customer\Model\Registration - * @since 2.0.0 */ protected $registration; /** * @var \Magento\Customer\Api\Data\CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerDataFactory; /** * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $customerUrl; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $escaper; /** * @var \Magento\Customer\Model\CustomerExtractor - * @since 2.0.0 */ protected $customerExtractor; /** * @var \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected $urlModel; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var AccountRedirect - * @since 2.0.0 */ private $accountRedirect; @@ -157,7 +141,6 @@ class CreatePost extends \Magento\Customer\Controller\AbstractAccount * @param AccountRedirect $accountRedirect * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( Context $context, @@ -237,7 +220,6 @@ private function getCookieMetadataFactory() * Add address to customer during create account * * @return AddressInterface|null - * @since 2.0.0 */ protected function extractAddress() { @@ -290,7 +272,6 @@ protected function extractAddress() * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { @@ -398,7 +379,6 @@ public function execute() * @param string $confirmation * @return void * @throws InputException - * @since 2.0.0 */ protected function checkPasswordConfirmation($password, $confirmation) { @@ -411,7 +391,6 @@ protected function checkPasswordConfirmation($password, $confirmation) * Retrieve success message * * @return string - * @since 2.0.0 */ protected function getSuccessMessage() { diff --git a/app/code/Magento/Customer/Controller/Account/Edit.php b/app/code/Magento/Customer/Controller/Account/Edit.php index b2ad138cf283e..30a899001eaf8 100644 --- a/app/code/Magento/Customer/Controller/Account/Edit.php +++ b/app/code/Magento/Customer/Controller/Account/Edit.php @@ -15,31 +15,26 @@ /** * Class \Magento\Customer\Controller\Account\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -49,7 +44,6 @@ class Edit extends \Magento\Customer\Controller\AbstractAccount * @param PageFactory $resultPageFactory * @param CustomerRepositoryInterface $customerRepository * @param DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( Context $context, @@ -69,7 +63,6 @@ public function __construct( * Forgot customer account information page * * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/EditPost.php b/app/code/Magento/Customer/Controller/Account/EditPost.php index d20fe4cd45897..61e46be66413e 100644 --- a/app/code/Magento/Customer/Controller/Account/EditPost.php +++ b/app/code/Magento/Customer/Controller/Account/EditPost.php @@ -24,7 +24,6 @@ /** * Class EditPost * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class EditPost extends \Magento\Customer\Controller\AbstractAccount { @@ -35,31 +34,26 @@ class EditPost extends \Magento\Customer\Controller\AbstractAccount /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var Validator - * @since 2.0.0 */ protected $formKeyValidator; /** * @var CustomerExtractor - * @since 2.0.0 */ protected $customerExtractor; /** * @var Session - * @since 2.0.0 */ protected $session; @@ -77,7 +71,7 @@ class EditPost extends \Magento\Customer\Controller\AbstractAccount /** * @var Mapper - * @since 2.2.0 + * @since 2.1.3 */ private $customerMapper; @@ -88,7 +82,6 @@ class EditPost extends \Magento\Customer\Controller\AbstractAccount * @param CustomerRepositoryInterface $customerRepository * @param Validator $formKeyValidator * @param CustomerExtractor $customerExtractor - * @since 2.0.0 */ public function __construct( Context $context, @@ -146,7 +139,6 @@ private function getEmailNotification() * Change customer email or password action * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { @@ -225,7 +217,7 @@ private function dispatchSuccessEvent(\Magento\Customer\Api\Data\CustomerInterfa * @param int $customerId * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.1.0 + * @since 2.0.11 */ private function getCustomerDataObject($customerId) { @@ -238,7 +230,7 @@ private function getCustomerDataObject($customerId) * @param \Magento\Framework\App\RequestInterface $inputData * @param \Magento\Customer\Api\Data\CustomerInterface $currentCustomerData * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.1.0 + * @since 2.0.11 */ private function populateNewCustomerDataObject( \Magento\Framework\App\RequestInterface $inputData, @@ -267,7 +259,6 @@ private function populateNewCustomerDataObject( * @param string $email * @return boolean * @throws InvalidEmailOrPasswordException|InputException - * @since 2.0.0 */ protected function changeCustomerPassword($email) { @@ -315,8 +306,8 @@ private function processChangeEmailRequest(\Magento\Customer\Api\Data\CustomerIn * * @return Mapper * - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ private function getCustomerMapper() { diff --git a/app/code/Magento/Customer/Controller/Account/ForgotPassword.php b/app/code/Magento/Customer/Controller/Account/ForgotPassword.php index 9b4c67ffb418b..d9c881faeaf45 100644 --- a/app/code/Magento/Customer/Controller/Account/ForgotPassword.php +++ b/app/code/Magento/Customer/Controller/Account/ForgotPassword.php @@ -13,19 +13,16 @@ /** * Class \Magento\Customer\Controller\Account\ForgotPassword * - * @since 2.0.0 */ class ForgotPassword extends \Magento\Customer\Controller\AbstractAccount { /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var Session - * @since 2.0.0 */ protected $session; @@ -33,7 +30,6 @@ class ForgotPassword extends \Magento\Customer\Controller\AbstractAccount * @param Context $context * @param Session $customerSession * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -49,7 +45,6 @@ public function __construct( * Forgot customer password page * * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/ForgotPasswordPost.php b/app/code/Magento/Customer/Controller/Account/ForgotPasswordPost.php index d098770b3a2de..fe92032b1b75e 100644 --- a/app/code/Magento/Customer/Controller/Account/ForgotPasswordPost.php +++ b/app/code/Magento/Customer/Controller/Account/ForgotPasswordPost.php @@ -17,25 +17,21 @@ /** * ForgotPasswordPost controller * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class ForgotPasswordPost extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $escaper; /** * @var Session - * @since 2.0.0 */ protected $session; @@ -44,7 +40,6 @@ class ForgotPasswordPost extends \Magento\Customer\Controller\AbstractAccount * @param Session $customerSession * @param AccountManagementInterface $customerAccountManagement * @param Escaper $escaper - * @since 2.0.0 */ public function __construct( Context $context, @@ -62,7 +57,6 @@ public function __construct( * Forgot customer password action * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { @@ -106,7 +100,6 @@ public function execute() * * @param string $email * @return \Magento\Framework\Phrase - * @since 2.0.0 */ protected function getSuccessMessage($email) { diff --git a/app/code/Magento/Customer/Controller/Account/Index.php b/app/code/Magento/Customer/Controller/Account/Index.php index 06903a7a782c7..af439977f5414 100644 --- a/app/code/Magento/Customer/Controller/Account/Index.php +++ b/app/code/Magento/Customer/Controller/Account/Index.php @@ -12,20 +12,17 @@ /** * Class \Magento\Customer\Controller\Account\Index * - * @since 2.0.0 */ class Index extends \Magento\Customer\Controller\AbstractAccount { /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -39,7 +36,6 @@ public function __construct( * Default customer account page * * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/Login.php b/app/code/Magento/Customer/Controller/Account/Login.php index a20246257c271..feb8807399d66 100644 --- a/app/code/Magento/Customer/Controller/Account/Login.php +++ b/app/code/Magento/Customer/Controller/Account/Login.php @@ -13,19 +13,16 @@ /** * Class \Magento\Customer\Controller\Account\Login * - * @since 2.0.0 */ class Login extends \Magento\Customer\Controller\AbstractAccount { /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -33,7 +30,6 @@ class Login extends \Magento\Customer\Controller\AbstractAccount * @param Context $context * @param Session $customerSession * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -49,7 +45,6 @@ public function __construct( * Customer login form page * * @return \Magento\Framework\Controller\Result\Redirect|\Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/LoginPost.php b/app/code/Magento/Customer/Controller/Account/LoginPost.php index 4facdcb38a435..ccce84dfc8c4b 100644 --- a/app/code/Magento/Customer/Controller/Account/LoginPost.php +++ b/app/code/Magento/Customer/Controller/Account/LoginPost.php @@ -19,37 +19,32 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class LoginPost extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $formKeyValidator; /** * @var AccountRedirect - * @since 2.0.0 */ protected $accountRedirect; /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var ScopeConfigInterface - * @since 2.1.0 + * @since 2.0.11 */ private $scopeConfig; @@ -72,7 +67,6 @@ class LoginPost extends \Magento\Customer\Controller\AbstractAccount * @param CustomerUrl $customerHelperData * @param Validator $formKeyValidator * @param AccountRedirect $accountRedirect - * @since 2.0.0 */ public function __construct( Context $context, @@ -94,8 +88,8 @@ public function __construct( * Get scope config * * @return ScopeConfigInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.11 + * @since 2.0.11 */ private function getScopeConfig() { @@ -147,7 +141,6 @@ private function getCookieMetadataFactory() * * @return \Magento\Framework\Controller\Result\Redirect * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/Logout.php b/app/code/Magento/Customer/Controller/Account/Logout.php index 988283a009cb1..c32401c6f703b 100644 --- a/app/code/Magento/Customer/Controller/Account/Logout.php +++ b/app/code/Magento/Customer/Controller/Account/Logout.php @@ -15,13 +15,11 @@ /** * Class \Magento\Customer\Controller\Account\Logout * - * @since 2.0.0 */ class Logout extends \Magento\Customer\Controller\AbstractAccount { /** * @var Session - * @since 2.0.0 */ protected $session; @@ -40,7 +38,6 @@ class Logout extends \Magento\Customer\Controller\AbstractAccount /** * @param Context $context * @param Session $customerSession - * @since 2.0.0 */ public function __construct( Context $context, @@ -84,7 +81,6 @@ private function getCookieMetadataFactory() * Customer logout action * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/LogoutSuccess.php b/app/code/Magento/Customer/Controller/Account/LogoutSuccess.php index 34c73d672c30d..adc82aa8f7220 100644 --- a/app/code/Magento/Customer/Controller/Account/LogoutSuccess.php +++ b/app/code/Magento/Customer/Controller/Account/LogoutSuccess.php @@ -12,20 +12,17 @@ /** * Class \Magento\Customer\Controller\Account\LogoutSuccess * - * @since 2.0.0 */ class LogoutSuccess extends \Magento\Customer\Controller\AbstractAccount { /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -39,7 +36,6 @@ public function __construct( * Logout success page * * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Account/ResetPasswordPost.php b/app/code/Magento/Customer/Controller/Account/ResetPasswordPost.php index 2622b6ce7ffb2..f4329663c8c2a 100644 --- a/app/code/Magento/Customer/Controller/Account/ResetPasswordPost.php +++ b/app/code/Magento/Customer/Controller/Account/ResetPasswordPost.php @@ -17,25 +17,21 @@ /** * Class \Magento\Customer\Controller\Account\ResetPasswordPost * - * @since 2.0.0 */ class ResetPasswordPost extends \Magento\Customer\Controller\AbstractAccount { /** * @var \Magento\Customer\Api\AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var Session - * @since 2.0.0 */ protected $session; @@ -51,7 +47,6 @@ class ResetPasswordPost extends \Magento\Customer\Controller\AbstractAccount * @param AccountManagementInterface $accountManagement * @param CustomerRepositoryInterface $customerRepository * @param CredentialsValidator|null $credentialsValidator - * @since 2.0.0 */ public function __construct( Context $context, @@ -74,7 +69,6 @@ public function __construct( * Used to handle data received from reset forgotten password form * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/AccountInterface.php b/app/code/Magento/Customer/Controller/AccountInterface.php index d25bfeaa4db6d..11b75976480c4 100644 --- a/app/code/Magento/Customer/Controller/AccountInterface.php +++ b/app/code/Magento/Customer/Controller/AccountInterface.php @@ -10,7 +10,6 @@ /** * Interface \Magento\Customer\Controller\AccountInterface * - * @since 2.0.0 */ interface AccountInterface extends ActionInterface { diff --git a/app/code/Magento/Customer/Controller/Address.php b/app/code/Magento/Customer/Controller/Address.php index 20f326aa7b707..23e8f04d241db 100644 --- a/app/code/Magento/Customer/Controller/Address.php +++ b/app/code/Magento/Customer/Controller/Address.php @@ -11,67 +11,56 @@ * Customer address controller * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class Address extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $_customerSession; /** * @var \Magento\Framework\Data\Form\FormKey\Validator - * @since 2.0.0 */ protected $_formKeyValidator; /** * @var \Magento\Customer\Api\AddressRepositoryInterface - * @since 2.0.0 */ protected $_addressRepository; /** * @var \Magento\Customer\Model\Metadata\FormFactory - * @since 2.0.0 */ protected $_formFactory; /** * @var \Magento\Customer\Api\Data\AddressInterfaceFactory - * @since 2.0.0 */ protected $addressDataFactory; /** * @var \Magento\Customer\Api\Data\RegionInterfaceFactory - * @since 2.0.0 */ protected $regionDataFactory; /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $_dataProcessor; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Framework\Controller\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -88,7 +77,6 @@ abstract class Address extends \Magento\Framework\App\Action\Action * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -120,7 +108,6 @@ public function __construct( * Retrieve customer session object * * @return \Magento\Customer\Model\Session - * @since 2.0.0 */ protected function _getSession() { @@ -132,7 +119,6 @@ protected function _getSession() * * @param RequestInterface $request * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function dispatch(RequestInterface $request) { @@ -146,7 +132,6 @@ public function dispatch(RequestInterface $request) * @param string $route * @param array $params * @return string - * @since 2.0.0 */ protected function _buildUrl($route = '', $params = []) { diff --git a/app/code/Magento/Customer/Controller/Address/Delete.php b/app/code/Magento/Customer/Controller/Address/Delete.php index 2ae10db6de316..cd5ed795eb3be 100644 --- a/app/code/Magento/Customer/Controller/Address/Delete.php +++ b/app/code/Magento/Customer/Controller/Address/Delete.php @@ -9,13 +9,11 @@ /** * Class \Magento\Customer\Controller\Address\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Customer\Controller\Address { /** * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Address/Edit.php b/app/code/Magento/Customer/Controller/Address/Edit.php index e8ebbee3ef040..2de8a52403797 100644 --- a/app/code/Magento/Customer/Controller/Address/Edit.php +++ b/app/code/Magento/Customer/Controller/Address/Edit.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Address\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Customer\Controller\Address { @@ -17,7 +16,6 @@ class Edit extends \Magento\Customer\Controller\Address * Customer address edit action * * @return \Magento\Framework\Controller\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Address/Form.php b/app/code/Magento/Customer/Controller/Address/Form.php index ab7b690159f76..6628acfa5098c 100644 --- a/app/code/Magento/Customer/Controller/Address/Form.php +++ b/app/code/Magento/Customer/Controller/Address/Form.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Address\Form * - * @since 2.0.0 */ class Form extends \Magento\Customer\Controller\Address { @@ -17,7 +16,6 @@ class Form extends \Magento\Customer\Controller\Address * Address book form * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Address/FormPost.php b/app/code/Magento/Customer/Controller/Address/FormPost.php index 666221d7564cb..a571a3a304ce0 100644 --- a/app/code/Magento/Customer/Controller/Address/FormPost.php +++ b/app/code/Magento/Customer/Controller/Address/FormPost.php @@ -25,25 +25,22 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class FormPost extends \Magento\Customer\Controller\Address { /** * @var RegionFactory - * @since 2.0.0 */ protected $regionFactory; /** * @var HelperData - * @since 2.0.0 */ protected $helperData; /** * @var Mapper - * @since 2.2.0 + * @since 2.1.3 */ private $customerAddressMapper; @@ -62,7 +59,6 @@ class FormPost extends \Magento\Customer\Controller\Address * @param RegionFactory $regionFactory * @param HelperData $helperData * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( Context $context, @@ -100,7 +96,6 @@ public function __construct( * Extract address from request * * @return \Magento\Customer\Api\Data\AddressInterface - * @since 2.0.0 */ protected function _extractAddress() { @@ -135,7 +130,6 @@ protected function _extractAddress() * * @return array * @throws \Exception - * @since 2.0.0 */ protected function getExistingAddressData() { @@ -156,7 +150,6 @@ protected function getExistingAddressData() * @param array $attributeValues * @return void * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function updateRegionData(&$attributeValues) { @@ -187,7 +180,6 @@ protected function updateRegionData(&$attributeValues) * Process address form save * * @return \Magento\Framework\Controller\Result\Redirect - * @since 2.0.0 */ public function execute() { @@ -233,8 +225,8 @@ public function execute() * * @return Mapper * - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ private function getCustomerAddressMapper() { diff --git a/app/code/Magento/Customer/Controller/Address/Index.php b/app/code/Magento/Customer/Controller/Address/Index.php index 89e09a575dc54..ad04c7bd5c71b 100644 --- a/app/code/Magento/Customer/Controller/Address/Index.php +++ b/app/code/Magento/Customer/Controller/Address/Index.php @@ -10,13 +10,11 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Index extends \Magento\Customer\Controller\Address { /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -34,7 +32,6 @@ class Index extends \Magento\Customer\Controller\Address * @param \Magento\Framework\Controller\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -70,7 +67,6 @@ public function __construct( * Customer addresses list * * @return \Magento\Framework\Controller\ResultInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Address/NewAction.php b/app/code/Magento/Customer/Controller/Address/NewAction.php index 05b63ced8e551..a2e2058d09460 100644 --- a/app/code/Magento/Customer/Controller/Address/NewAction.php +++ b/app/code/Magento/Customer/Controller/Address/NewAction.php @@ -9,13 +9,11 @@ /** * Class \Magento\Customer\Controller\Address\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Customer\Controller\Address { /** * @return \Magento\Framework\Controller\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart.php b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart.php index 1409a6871f9da..c0ea38de809db 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart.php @@ -12,7 +12,6 @@ * Catalog composite product configuration controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class Cart extends \Magento\Backend\App\Action { @@ -27,7 +26,6 @@ abstract class Cart extends \Magento\Backend\App\Action * Customer we're working with * * @var int id of the customer - * @since 2.0.0 */ protected $_customerId; @@ -35,7 +33,6 @@ abstract class Cart extends \Magento\Backend\App\Action * Quote we're working with * * @var \Magento\Quote\Model\Quote - * @since 2.0.0 */ protected $_quote = null; @@ -43,19 +40,16 @@ abstract class Cart extends \Magento\Backend\App\Action * Quote item we're working with * * @var \Magento\Quote\Model\Quote\Item - * @since 2.0.0 */ protected $_quoteItem = null; /** * @var \Magento\Quote\Api\CartRepositoryInterface - * @since 2.0.0 */ protected $quoteRepository; /** * @var \Magento\Quote\Model\QuoteFactory - * @since 2.0.0 */ protected $quoteFactory; @@ -63,7 +57,6 @@ abstract class Cart extends \Magento\Backend\App\Action * @param Action\Context $context * @param \Magento\Quote\Api\CartRepositoryInterface $quoteRepository * @param \Magento\Quote\Model\QuoteFactory $quoteFactory - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -80,7 +73,6 @@ public function __construct( * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _initData() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Configure.php b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Configure.php index 4c8c689557f7d..b6acc3ad8523b 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Configure.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Configure.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Cart\Product\Composite\Cart\Configure * - * @since 2.0.0 */ class Configure extends \Magento\Customer\Controller\Adminhtml\Cart\Product\Composite\Cart { @@ -17,7 +16,6 @@ class Configure extends \Magento\Customer\Controller\Adminhtml\Cart\Product\Comp * Ajax handler to response configuration fieldset of composite product in customer's cart * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Update.php b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Update.php index 8975cc4764182..1e93294cd9bfd 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Update.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Cart/Product/Composite/Cart/Update.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Cart\Product\Composite\Cart\Update * - * @since 2.0.0 */ class Update extends \Magento\Customer\Controller\Adminhtml\Cart\Product\Composite\Cart { @@ -17,7 +16,6 @@ class Update extends \Magento\Customer\Controller\Adminhtml\Cart\Product\Composi * IFrame handler for submitted configuration for quote item * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Customer/InvalidateToken.php b/app/code/Magento/Customer/Controller/Adminhtml/Customer/InvalidateToken.php index 76c8ce7ddb05e..7337d005a7323 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Customer/InvalidateToken.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Customer/InvalidateToken.php @@ -24,13 +24,11 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ class InvalidateToken extends \Magento\Customer\Controller\Adminhtml\Index { /** * @var CustomerTokenServiceInterface - * @since 2.0.0 */ protected $tokenService; @@ -63,7 +61,6 @@ class InvalidateToken extends \Magento\Customer\Controller\Adminhtml\Index * @param CustomerTokenServiceInterface $tokenService * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -127,7 +124,6 @@ public function __construct( * Reset customer's tokens handler * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/File/Address/Upload.php b/app/code/Magento/Customer/Controller/Adminhtml/File/Address/Upload.php index e8b6ac1a5f1c8..810cc6e3b6517 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/File/Address/Upload.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/File/Address/Upload.php @@ -17,7 +17,7 @@ /** * Class \Magento\Customer\Controller\Adminhtml\File\Address\Upload * - * @since 2.2.0 + * @since 2.1.3 */ class Upload extends Action { @@ -30,19 +30,19 @@ class Upload extends Action /** * @var FileUploaderFactory - * @since 2.2.0 + * @since 2.1.3 */ private $fileUploaderFactory; /** * @var AddressMetadataInterface - * @since 2.2.0 + * @since 2.1.3 */ private $addressMetadataService; /** * @var LoggerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $logger; @@ -51,7 +51,7 @@ class Upload extends Action * @param FileUploaderFactory $fileUploaderFactory * @param AddressMetadataInterface $addressMetadataService * @param LoggerInterface $logger - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Context $context, @@ -67,7 +67,7 @@ public function __construct( /** * @inheritDoc - * @since 2.2.0 + * @since 2.1.3 */ public function execute() { @@ -121,7 +121,7 @@ public function execute() * NOTE: This conversion is required to use \Magento\Framework\File\Uploader::_setUploadFileId($fileId) method. * * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function convertFilesArray() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/File/Customer/Upload.php b/app/code/Magento/Customer/Controller/Adminhtml/File/Customer/Upload.php index 1d830597d1ffc..438496fe43c08 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/File/Customer/Upload.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/File/Customer/Upload.php @@ -17,7 +17,7 @@ /** * Class \Magento\Customer\Controller\Adminhtml\File\Customer\Upload * - * @since 2.2.0 + * @since 2.1.3 */ class Upload extends Action { @@ -30,19 +30,19 @@ class Upload extends Action /** * @var FileUploaderFactory - * @since 2.2.0 + * @since 2.1.3 */ private $fileUploaderFactory; /** * @var CustomerMetadataInterface - * @since 2.2.0 + * @since 2.1.3 */ private $customerMetadataService; /** * @var LoggerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $logger; @@ -51,7 +51,7 @@ class Upload extends Action * @param FileUploaderFactory $fileUploaderFactory * @param CustomerMetadataInterface $customerMetadataService * @param LoggerInterface $logger - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Context $context, @@ -67,7 +67,7 @@ public function __construct( /** * @inheritDoc - * @since 2.2.0 + * @since 2.1.3 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group.php b/app/code/Magento/Customer/Controller/Adminhtml/Group.php index 079b70208ea76..136945195abb6 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group.php @@ -10,7 +10,6 @@ /** * Customer groups controller - * @since 2.0.0 */ abstract class Group extends \Magento\Backend\App\Action { @@ -25,31 +24,26 @@ abstract class Group extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var GroupInterfaceFactory - * @since 2.0.0 */ protected $groupDataFactory; /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; @@ -62,7 +56,6 @@ abstract class Group extends \Magento\Backend\App\Action * @param GroupInterfaceFactory $groupDataFactory * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group/Delete.php b/app/code/Magento/Customer/Controller/Adminhtml/Group/Delete.php index f2e6711394c53..73fc4a60a4ffb 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group/Delete.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group/Delete.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Group\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Customer\Controller\Adminhtml\Group { @@ -19,7 +18,6 @@ class Delete extends \Magento\Customer\Controller\Adminhtml\Group * Delete customer group. * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group/Edit.php b/app/code/Magento/Customer/Controller/Adminhtml/Group/Edit.php index 48c659e242306..3434cd830ee35 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group/Edit.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group/Edit.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Group\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Customer\Controller\Adminhtml\Group { @@ -17,7 +16,6 @@ class Edit extends \Magento\Customer\Controller\Adminhtml\Group * Edit customer group action. Forward to new action. * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group/Index.php b/app/code/Magento/Customer/Controller/Adminhtml/Group/Index.php index d1434d377f921..6b3bcb9fc997b 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group/Index.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Group\Index * - * @since 2.0.0 */ class Index extends \Magento\Customer\Controller\Adminhtml\Group { @@ -17,7 +16,6 @@ class Index extends \Magento\Customer\Controller\Adminhtml\Group * Customer groups list. * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group/NewAction.php b/app/code/Magento/Customer/Controller/Adminhtml/Group/NewAction.php index 55827f27d0705..5cfbb73b325b7 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group/NewAction.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group/NewAction.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Group\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Customer\Controller\Adminhtml\Group { @@ -19,7 +18,6 @@ class NewAction extends \Magento\Customer\Controller\Adminhtml\Group * Initialize current group and set it in the registry. * * @return int - * @since 2.0.0 */ protected function _initGroup() { @@ -33,7 +31,6 @@ protected function _initGroup() * Edit or create customer group. * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Group/Save.php b/app/code/Magento/Customer/Controller/Adminhtml/Group/Save.php index b51f94636f18c..c0bee84760c90 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Group/Save.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Group/Save.php @@ -13,13 +13,11 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Group\Save * - * @since 2.0.0 */ class Save extends \Magento\Customer\Controller\Adminhtml\Group { /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; @@ -32,7 +30,6 @@ class Save extends \Magento\Customer\Controller\Adminhtml\Group * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory * @param \Magento\Framework\Reflection\DataObjectProcessor $dataObjectProcessor - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -59,7 +56,6 @@ public function __construct( * * @param array $customerGroupData * @return void - * @since 2.0.0 */ protected function storeCustomerGroupDataToSession($customerGroupData) { @@ -74,7 +70,6 @@ protected function storeCustomerGroupDataToSession($customerGroupData) * Create or save customer group. * * @return \Magento\Backend\Model\View\Result\Redirect|\Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index.php b/app/code/Magento/Customer/Controller/Adminhtml/Index.php index e35071ad4c129..e3d8c215e1001 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index.php @@ -23,7 +23,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.NumberOfChildren) - * @since 2.0.0 */ abstract class Index extends \Magento\Backend\App\Action { @@ -37,7 +36,6 @@ abstract class Index extends \Magento\Backend\App\Action /** * @var \Magento\Framework\Validator * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_validator; @@ -45,151 +43,127 @@ abstract class Index extends \Magento\Backend\App\Action * Core registry * * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $_coreRegistry = null; /** * @var \Magento\Framework\App\Response\Http\FileFactory - * @since 2.0.0 */ protected $_fileFactory; /** * @var \Magento\Customer\Model\CustomerFactory * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_customerFactory = null; /** * @var \Magento\Customer\Model\AddressFactory * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_addressFactory = null; /** * @var \Magento\Newsletter\Model\SubscriberFactory - * @since 2.0.0 */ protected $_subscriberFactory; /** * @var \Magento\Customer\Model\Metadata\FormFactory - * @since 2.0.0 */ protected $_formFactory; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $_customerRepository; /** * @var \Magento\Customer\Helper\View - * @since 2.0.0 */ protected $_viewHelper; /** * @var \Magento\Framework\Math\Random * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_random; /** * @var ObjectFactory - * @since 2.0.0 */ protected $_objectFactory; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_extensibleDataObjectConverter; /** * @var Mapper - * @since 2.0.0 */ protected $addressMapper; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var AddressRepositoryInterface - * @since 2.0.0 */ protected $addressRepository; /** * @var CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerDataFactory; /** * @var AddressInterfaceFactory - * @since 2.0.0 */ protected $addressDataFactory; /** * @var \Magento\Customer\Model\Customer\Mapper - * @since 2.0.0 */ protected $customerMapper; /** * @var \Magento\Framework\Reflection\DataObjectProcessor * @deprecated 2.2.0 - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Framework\View\LayoutFactory * @deprecated 2.2.0 - * @since 2.0.0 */ protected $layoutFactory; /** * @var \Magento\Framework\View\Result\LayoutFactory - * @since 2.0.0 */ protected $resultLayoutFactory; /** * @var \Magento\Framework\View\Result\PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @var \Magento\Backend\Model\View\Result\ForwardFactory - * @since 2.0.0 */ protected $resultForwardFactory; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -222,7 +196,6 @@ abstract class Index extends \Magento\Backend\App\Action * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -282,7 +255,6 @@ public function __construct( * Customer initialization * * @return string customer id - * @since 2.0.0 */ protected function initCurrentCustomer() { @@ -300,7 +272,6 @@ protected function initCurrentCustomer() * * @param \Magento\Backend\Model\View\Result\Page $resultPage * @return void - * @since 2.0.0 */ protected function prepareDefaultCustomerTitle(\Magento\Backend\Model\View\Result\Page $resultPage) { @@ -314,7 +285,6 @@ protected function prepareDefaultCustomerTitle(\Magento\Backend\Model\View\Resul * @return void * * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _addSessionErrorMessages($messages) { @@ -337,7 +307,6 @@ protected function _addSessionErrorMessages($messages) * @param int[] $customerIds Array of customer Ids to perform the action upon * @return int Number of customers successfully acted upon * @deprecated 2.2.0 - * @since 2.0.0 */ protected function actUponMultipleCustomers(callable $singleAction, $customerIds) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php index 3d1bbab8038e8..ebab2a42a02ec 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php @@ -15,7 +15,6 @@ /** * Class AbstractMassStatus - * @since 2.0.0 */ abstract class AbstractMassAction extends \Magento\Backend\App\Action { @@ -28,19 +27,16 @@ abstract class AbstractMassAction extends \Magento\Backend\App\Action /** * @var string - * @since 2.0.0 */ protected $redirectUrl = '*/*/index'; /** * @var Filter - * @since 2.0.0 */ protected $filter; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -48,7 +44,6 @@ abstract class AbstractMassAction extends \Magento\Backend\App\Action * @param Context $context * @param Filter $filter * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory) { @@ -62,7 +57,6 @@ public function __construct(Context $context, Filter $filter, CollectionFactory * * @return \Magento\Backend\Model\View\Result\Redirect * @throws \Magento\Framework\Exception\LocalizedException|\Exception - * @since 2.0.0 */ public function execute() { @@ -82,7 +76,6 @@ public function execute() * TODO: Technical dept referer url should be implement as a part of Action configuration in in appropriate way * * @return null|string - * @since 2.0.0 */ protected function getComponentRefererUrl() { @@ -94,7 +87,6 @@ protected function getComponentRefererUrl() * * @param AbstractCollection $collection * @return ResponseInterface|ResultInterface - * @since 2.0.0 */ abstract protected function massAction(AbstractCollection $collection); } diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Cart.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Cart.php index 4a415406c3021..632034a4c3924 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Cart.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Cart.php @@ -17,7 +17,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @deprecated 2.2.0 - * @since 2.0.0 */ class Cart extends \Magento\Customer\Controller\Adminhtml\Index { @@ -121,7 +120,6 @@ public function __construct( * Handle and then get cart grid contents * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Carts.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Carts.php index db4a2016d7f9a..4a546bc0c6001 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Carts.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Carts.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Carts * - * @since 2.0.0 */ class Carts extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class Carts extends \Magento\Customer\Controller\Adminhtml\Index * Get shopping carts from all websites for specified client * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Delete.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Delete.php index 7aef6d0228773..4a85b41c1f4cc 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Delete.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Delete.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Delete * - * @since 2.0.0 */ class Delete extends \Magento\Customer\Controller\Adminhtml\Index { @@ -18,7 +17,6 @@ class Delete extends \Magento\Customer\Controller\Adminhtml\Index * Delete customer action * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Edit.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Edit.php index 7581cba8b912b..c2ed714c189f9 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Edit.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Edit.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Edit * - * @since 2.0.0 */ class Edit extends \Magento\Customer\Controller\Adminhtml\Index { @@ -22,7 +21,6 @@ class Edit extends \Magento\Customer\Controller\Adminhtml\Index * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Index.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Index.php index 62a460f89300e..599395f86c6e7 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Index.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Index.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Index * - * @since 2.0.0 */ class Index extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class Index extends \Magento\Customer\Controller\Adminhtml\Index * Customers list action * * @return \Magento\Backend\Model\View\Result\Page|\Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/InlineEdit.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/InlineEdit.php index 6eb416ab7b971..5386303487bef 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/InlineEdit.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/InlineEdit.php @@ -14,7 +14,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class InlineEdit extends \Magento\Backend\App\Action { @@ -27,37 +26,31 @@ class InlineEdit extends \Magento\Backend\App\Action /** * @var \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ private $customer; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Customer\Model\Customer\Mapper - * @since 2.0.0 */ protected $customerMapper; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $logger; @@ -74,7 +67,6 @@ class InlineEdit extends \Magento\Backend\App\Action * @param \Magento\Customer\Model\Customer\Mapper $customerMapper * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper * @param \Psr\Log\LoggerInterface $logger - * @since 2.0.0 */ public function __construct( Action\Context $context, @@ -112,7 +104,6 @@ private function getEmailNotification() /** * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { @@ -152,7 +143,6 @@ public function execute() * @param array $data * @param null $isCustomerData * @return array - * @since 2.0.0 */ protected function getData(array $data, $isCustomerData = null) { @@ -178,7 +168,6 @@ protected function getData(array $data, $isCustomerData = null) * * @param array $data * @return void - * @since 2.0.0 */ protected function updateCustomer(array $data) { @@ -199,7 +188,6 @@ protected function updateCustomer(array $data) * * @param array $data * @return void - * @since 2.0.0 */ protected function updateDefaultBilling(array $data) { @@ -222,7 +210,6 @@ protected function updateDefaultBilling(array $data) * * @param CustomerInterface $customer * @return void - * @since 2.0.0 */ protected function saveCustomer(CustomerInterface $customer) { @@ -245,7 +232,6 @@ protected function saveCustomer(CustomerInterface $customer) * * @param array $data * @return array - * @since 2.0.0 */ protected function processAddressData(array $data) { @@ -261,7 +247,6 @@ protected function processAddressData(array $data) * Get array with errors * * @return array - * @since 2.0.0 */ protected function getErrorMessages() { @@ -276,7 +261,6 @@ protected function getErrorMessages() * Check if errors exists * * @return bool - * @since 2.0.0 */ protected function isErrorExists() { @@ -288,7 +272,6 @@ protected function isErrorExists() * * @param CustomerInterface $customer * @return $this - * @since 2.0.0 */ protected function setCustomer(CustomerInterface $customer) { @@ -300,7 +283,6 @@ protected function setCustomer(CustomerInterface $customer) * Receive customer * * @return CustomerInterface - * @since 2.0.0 */ protected function getCustomer() { @@ -312,7 +294,6 @@ protected function getCustomer() * * @param string $errorText * @return string - * @since 2.0.0 */ protected function getErrorWithCustomerId($errorText) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/LastOrders.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/LastOrders.php index b1703474e1053..d507d2b016c17 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/LastOrders.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/LastOrders.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\LastOrders * - * @since 2.0.0 */ class LastOrders extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class LastOrders extends \Magento\Customer\Controller\Adminhtml\Index * Customer last orders grid for ajax * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassAssignGroup.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassAssignGroup.php index fcaf4eaf41863..762b872b97b6d 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassAssignGroup.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassAssignGroup.php @@ -14,13 +14,11 @@ /** * Class MassAssignGroup - * @since 2.0.0 */ class MassAssignGroup extends AbstractMassAction { /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -29,7 +27,6 @@ class MassAssignGroup extends AbstractMassAction * @param Filter $filter * @param CollectionFactory $collectionFactory * @param CustomerRepositoryInterface $customerRepository - * @since 2.0.0 */ public function __construct( Context $context, @@ -46,7 +43,6 @@ public function __construct( * * @param AbstractCollection $collection * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ protected function massAction(AbstractCollection $collection) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassDelete.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassDelete.php index 309f68a2b3185..453585c881a05 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassDelete.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassDelete.php @@ -14,13 +14,11 @@ /** * Class MassDelete - * @since 2.0.0 */ class MassDelete extends AbstractMassAction { /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -29,7 +27,6 @@ class MassDelete extends AbstractMassAction * @param Filter $filter * @param CollectionFactory $collectionFactory * @param CustomerRepositoryInterface $customerRepository - * @since 2.0.0 */ public function __construct( Context $context, @@ -44,7 +41,6 @@ public function __construct( /** * @param AbstractCollection $collection * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ protected function massAction(AbstractCollection $collection) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassSubscribe.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassSubscribe.php index c48f04b5c6d03..25c56ac60c14b 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassSubscribe.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassSubscribe.php @@ -15,19 +15,16 @@ /** * Class MassSubscribe - * @since 2.0.0 */ class MassSubscribe extends AbstractMassAction { /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var SubscriberFactory - * @since 2.0.0 */ protected $subscriberFactory; @@ -37,7 +34,6 @@ class MassSubscribe extends AbstractMassAction * @param CollectionFactory $collectionFactory * @param CustomerRepositoryInterface $customerRepository * @param SubscriberFactory $subscriberFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -56,7 +52,6 @@ public function __construct( * * @param AbstractCollection $collection * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ protected function massAction(AbstractCollection $collection) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassUnsubscribe.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassUnsubscribe.php index 2f1bd83e73b6e..4b40722ba9ab2 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/MassUnsubscribe.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/MassUnsubscribe.php @@ -15,19 +15,16 @@ /** * Class MassUnsubscribe - * @since 2.0.0 */ class MassUnsubscribe extends AbstractMassAction { /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var SubscriberFactory - * @since 2.0.0 */ protected $subscriberFactory; @@ -37,7 +34,6 @@ class MassUnsubscribe extends AbstractMassAction * @param CollectionFactory $collectionFactory * @param CustomerRepositoryInterface $customerRepository * @param SubscriberFactory $subscriberFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -56,7 +52,6 @@ public function __construct( * * @param AbstractCollection $collection * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ protected function massAction(AbstractCollection $collection) { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/NewAction.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/NewAction.php index 642d9444cb934..33bc50d284861 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/NewAction.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/NewAction.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\NewAction * - * @since 2.0.0 */ class NewAction extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class NewAction extends \Magento\Customer\Controller\Adminhtml\Index * Create new customer action * * @return \Magento\Backend\Model\View\Result\Forward - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Newsletter.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Newsletter.php index dfd82e1c18189..753813d085015 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Newsletter.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Newsletter.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Newsletter * - * @since 2.0.0 */ class Newsletter extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class Newsletter extends \Magento\Customer\Controller\Adminhtml\Index * Customer newsletter grid * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Orders.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Orders.php index d836304d65760..584e4081ffe7a 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Orders.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Orders.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Orders * - * @since 2.0.0 */ class Orders extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class Orders extends \Magento\Customer\Controller\Adminhtml\Index * Customer orders grid * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/ProductReviews.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/ProductReviews.php index 8962e7eefdc15..f9bbf4406b56c 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/ProductReviews.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/ProductReviews.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\ProductReviews * - * @since 2.0.0 */ class ProductReviews extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class ProductReviews extends \Magento\Customer\Controller\Adminhtml\Index * Get customer's product reviews list * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/ResetPassword.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/ResetPassword.php index b16e1229a91d5..323f741173356 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/ResetPassword.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/ResetPassword.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\ResetPassword * - * @since 2.0.0 */ class ResetPassword extends \Magento\Customer\Controller\Adminhtml\Index { @@ -19,7 +18,6 @@ class ResetPassword extends \Magento\Customer\Controller\Adminhtml\Index * Reset password handler * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php index a7779dd55455c..3ca8f5651087f 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Save.php @@ -16,7 +16,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Save * - * @since 2.0.0 */ class Save extends \Magento\Customer\Controller\Adminhtml\Index { @@ -30,7 +29,6 @@ class Save extends \Magento\Customer\Controller\Adminhtml\Index * Reformat customer account data to be compatible with customer service interface * * @return array - * @since 2.0.0 */ protected function _extractCustomerData() { @@ -70,7 +68,6 @@ protected function _extractCustomerData() * @param string[] $additionalAttributes The list of attribute codes to skip filtration for * @param string $scope scope of the request * @return array - * @since 2.0.0 */ protected function _extractData( $formCode, @@ -115,7 +112,6 @@ protected function _extractData( * @param array $addressIdList * @param array $extractedCustomerData * @return array - * @since 2.0.0 */ protected function saveDefaultFlags(array $addressIdList, array & $extractedCustomerData) { @@ -157,7 +153,6 @@ protected function saveDefaultFlags(array $addressIdList, array & $extractedCust * * @param array $extractedCustomerData * @return array - * @since 2.0.0 */ protected function _extractCustomerAddressData(array & $extractedCustomerData) { @@ -182,7 +177,6 @@ protected function _extractCustomerAddressData(array & $extractedCustomerData) * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function execute() { @@ -333,7 +327,7 @@ private function getEmailNotification() * @param string $formCode * @param string $scope * @return Form - * @since 2.2.0 + * @since 2.1.3 */ private function getMetadataForm($entityType, $formCode, $scope) { @@ -370,7 +364,7 @@ private function getMetadataForm($entityType, $formCode, $scope) * Retrieve current customer ID * * @return int - * @since 2.2.0 + * @since 2.1.3 */ private function getCurrentCustomerId() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php index 97d4b10a41be4..34b41a85e9bb2 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Validate * - * @since 2.0.0 */ class Validate extends \Magento\Customer\Controller\Adminhtml\Index { @@ -20,7 +19,6 @@ class Validate extends \Magento\Customer\Controller\Adminhtml\Index * * @param \Magento\Framework\DataObject $response * @return CustomerInterface|null - * @since 2.0.0 */ protected function _validateCustomer($response) { @@ -80,7 +78,6 @@ protected function _validateCustomer($response) * * @param \Magento\Framework\DataObject $response * @return void - * @since 2.0.0 */ protected function _validateCustomerAddress($response) { @@ -114,7 +111,6 @@ protected function _validateCustomerAddress($response) * AJAX customer validation action * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewCart.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewCart.php index 5f3a9a02d36ee..67b819159ccdb 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewCart.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewCart.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\ViewCart * - * @since 2.0.0 */ class ViewCart extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class ViewCart extends \Magento\Customer\Controller\Adminhtml\Index * Get shopping cart to view only * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewWishlist.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewWishlist.php index 47077d3087b2f..652ab38e01062 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewWishlist.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/ViewWishlist.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\ViewWishlist * - * @since 2.0.0 */ class ViewWishlist extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class ViewWishlist extends \Magento\Customer\Controller\Adminhtml\Index * Customer last view wishlist for ajax * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Viewfile.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Viewfile.php index 9b8e0d2adfa0c..711fab9e608bf 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Viewfile.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Viewfile.php @@ -18,19 +18,16 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Viewfile extends \Magento\Customer\Controller\Adminhtml\Index { /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var \Magento\Framework\Url\DecoderInterface - * @since 2.0.0 */ protected $urlDecoder; @@ -64,7 +61,6 @@ class Viewfile extends \Magento\Customer\Controller\Adminhtml\Index * @param \Magento\Framework\Url\DecoderInterface $urlDecoder * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -133,7 +129,6 @@ public function __construct( * @throws NotFoundException * * @SuppressWarnings(PHPMD.ExitExpression) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/Wishlist.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/Wishlist.php index d196eca47acd2..71c74b17a2075 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/Wishlist.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/Wishlist.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Index\Wishlist * - * @since 2.0.0 */ class Wishlist extends \Magento\Customer\Controller\Adminhtml\Index { @@ -16,7 +15,6 @@ class Wishlist extends \Magento\Customer\Controller\Adminhtml\Index * Wishlist Action * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Online/Index.php b/app/code/Magento/Customer/Controller/Adminhtml/Online/Index.php index b39fe2098321a..7e44112856b7d 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Online/Index.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Online/Index.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Online\Index * - * @since 2.0.0 */ class Index extends \Magento\Backend\App\Action { @@ -25,14 +24,12 @@ class Index extends \Magento\Backend\App\Action /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -46,7 +43,6 @@ public function __construct( * Index action * * @return \Magento\Backend\Model\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat.php b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat.php index c9fdf63e1f0a0..87fcfc09ffbb6 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat.php @@ -9,7 +9,6 @@ * VAT validation controller * * @author Magento Core Team - * @since 2.0.0 */ abstract class Validatevat extends \Magento\Backend\App\Action { @@ -17,7 +16,6 @@ abstract class Validatevat extends \Magento\Backend\App\Action * Perform customer VAT ID validation * * @return \Magento\Framework\DataObject - * @since 2.0.0 */ protected function _validate() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/Validate.php b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/Validate.php index fc898dc09aef5..5c1a8a5b6dbc6 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/Validate.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/Validate.php @@ -10,20 +10,17 @@ /** * Class \Magento\Customer\Controller\Adminhtml\System\Config\Validatevat\Validate * - * @since 2.0.0 */ class Validate extends \Magento\Customer\Controller\Adminhtml\System\Config\Validatevat { /** * @var JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -37,7 +34,6 @@ public function __construct( * Check whether vat is valid * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/ValidateAdvanced.php b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/ValidateAdvanced.php index 773e6a6271ec3..7e1801986895c 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/ValidateAdvanced.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat/ValidateAdvanced.php @@ -9,20 +9,17 @@ /** * Class \Magento\Customer\Controller\Adminhtml\System\Config\Validatevat\ValidateAdvanced * - * @since 2.0.0 */ class ValidateAdvanced extends \Magento\Customer\Controller\Adminhtml\System\Config\Validatevat { /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @param \Magento\Backend\App\Action\Context $context * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -36,7 +33,6 @@ public function __construct( * Retrieve validation result as JSON * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist.php b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist.php index e85d8f4c685f8..2e38ba8de25f6 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist.php @@ -9,7 +9,6 @@ /** * Catalog composite product configuration controller - * @since 2.0.0 */ abstract class Wishlist extends \Magento\Backend\App\Action { @@ -24,7 +23,6 @@ abstract class Wishlist extends \Magento\Backend\App\Action * Wishlist we're working with. * * @var \Magento\Wishlist\Model\Wishlist - * @since 2.0.0 */ protected $_wishlist = null; @@ -32,7 +30,6 @@ abstract class Wishlist extends \Magento\Backend\App\Action * Wishlist item we're working with. * * @var \Magento\Wishlist\Model\Wishlist - * @since 2.0.0 */ protected $_wishlistItem = null; @@ -41,7 +38,6 @@ abstract class Wishlist extends \Magento\Backend\App\Action * * @return $this * @throws CoreException - * @since 2.0.0 */ protected function _initData() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Configure.php b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Configure.php index 6ef4705baff28..360704e16c8e3 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Configure.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Configure.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Wishlist\Product\Composite\Wishlist\Configure * - * @since 2.0.0 */ class Configure extends \Magento\Customer\Controller\Adminhtml\Wishlist\Product\Composite\Wishlist { @@ -19,7 +18,6 @@ class Configure extends \Magento\Customer\Controller\Adminhtml\Wishlist\Product\ * Ajax handler to response configuration fieldset of composite product in customer's wishlist. * * @return \Magento\Framework\View\Result\Layout - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Update.php b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Update.php index ec1a8764d0800..04c96f1a48803 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Update.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Wishlist/Product/Composite/Wishlist/Update.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Controller\Adminhtml\Wishlist\Product\Composite\Wishlist\Update * - * @since 2.0.0 */ class Update extends \Magento\Customer\Controller\Adminhtml\Wishlist\Product\Composite\Wishlist { @@ -19,7 +18,6 @@ class Update extends \Magento\Customer\Controller\Adminhtml\Wishlist\Product\Com * IFrame handler for submitted configuration for wishlist item. * * @return \Magento\Backend\Model\View\Result\Redirect - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Ajax/Login.php b/app/code/Magento/Customer/Controller/Ajax/Login.php index 726a7ff272b1e..249fa5bdc43db 100644 --- a/app/code/Magento/Customer/Controller/Ajax/Login.php +++ b/app/code/Magento/Customer/Controller/Ajax/Login.php @@ -20,49 +20,43 @@ * @method \Magento\Framework\App\RequestInterface getRequest() * @method \Magento\Framework\App\Response\Http getResponse() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Login extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Session\Generic - * @since 2.0.0 */ protected $session; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $customerAccountManagement; /** * @var \Magento\Framework\Json\Helper\Data $helper - * @since 2.0.0 */ protected $helper; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var \Magento\Framework\Controller\Result\RawFactory - * @since 2.0.0 */ protected $resultRawFactory; /** * @var AccountRedirect - * @since 2.1.0 + * @since 2.0.11 */ protected $accountRedirect; /** * @var ScopeConfigInterface - * @since 2.1.0 + * @since 2.0.11 */ protected $scopeConfig; @@ -75,7 +69,6 @@ class Login extends \Magento\Framework\App\Action\Action * @param AccountManagementInterface $customerAccountManagement * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -97,9 +90,9 @@ public function __construct( * Get account redirect. * For release backward compatibility. * - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @return AccountRedirect - * @since 2.1.0 + * @since 2.0.11 */ protected function getAccountRedirect() { @@ -112,10 +105,10 @@ protected function getAccountRedirect() /** * Account redirect setter for unit tests. * - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @param AccountRedirect $value * @return void - * @since 2.1.0 + * @since 2.0.11 */ public function setAccountRedirect($value) { @@ -123,9 +116,9 @@ public function setAccountRedirect($value) } /** - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @return ScopeConfigInterface - * @since 2.1.0 + * @since 2.0.11 */ protected function getScopeConfig() { @@ -136,10 +129,10 @@ protected function getScopeConfig() } /** - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @param ScopeConfigInterface $value * @return void - * @since 2.1.0 + * @since 2.0.11 */ public function setScopeConfig($value) { @@ -153,7 +146,6 @@ public function setScopeConfig($value) * * @return \Magento\Framework\Controller\ResultInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Ajax/Logout.php b/app/code/Magento/Customer/Controller/Ajax/Logout.php index 92ed78a9a6f65..0edd41e3632b1 100644 --- a/app/code/Magento/Customer/Controller/Ajax/Logout.php +++ b/app/code/Magento/Customer/Controller/Ajax/Logout.php @@ -12,19 +12,16 @@ * * @method \Magento\Framework\App\RequestInterface getRequest() * @method \Magento\Framework\App\Response\Http getResponse() - * @since 2.0.0 */ class Logout extends \Magento\Framework\App\Action\Action { /** * @var \Magento\Framework\Session\Generic - * @since 2.0.0 */ protected $session; /** * @var \Magento\Framework\Controller\Result\JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; @@ -34,7 +31,6 @@ class Logout extends \Magento\Framework\App\Action\Action * @param \Magento\Framework\App\Action\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Action\Context $context, @@ -50,7 +46,6 @@ public function __construct( * Customer logout action * * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Plugin/Account.php b/app/code/Magento/Customer/Controller/Plugin/Account.php index f5fcd731c941d..5cd3968cf8184 100644 --- a/app/code/Magento/Customer/Controller/Plugin/Account.php +++ b/app/code/Magento/Customer/Controller/Plugin/Account.php @@ -15,26 +15,22 @@ /** * Class \Magento\Customer\Controller\Plugin\Account * - * @since 2.0.0 */ class Account { /** * @var Session - * @since 2.0.0 */ protected $session; /** * @var array - * @since 2.0.0 */ private $allowedActions = []; /** * @param Session $customerSession * @param array $allowedActions List of actions that are allowed for not authorized users - * @since 2.0.0 */ public function __construct( Session $customerSession, diff --git a/app/code/Magento/Customer/Controller/RegistryConstants.php b/app/code/Magento/Customer/Controller/RegistryConstants.php index 444801f5890b3..b56acc634f4c6 100644 --- a/app/code/Magento/Customer/Controller/RegistryConstants.php +++ b/app/code/Magento/Customer/Controller/RegistryConstants.php @@ -8,7 +8,6 @@ /** * Declarations of core registry keys used by the Customer module * - * @since 2.0.0 */ class RegistryConstants { diff --git a/app/code/Magento/Customer/Controller/Review.php b/app/code/Magento/Customer/Controller/Review.php index 5713ca8662b17..2bb7a478ba984 100644 --- a/app/code/Magento/Customer/Controller/Review.php +++ b/app/code/Magento/Customer/Controller/Review.php @@ -11,20 +11,17 @@ /** * Class \Magento\Customer\Controller\Review * - * @since 2.0.0 */ class Review extends \Magento\Framework\App\Action\Action { /** * @var PageFactory - * @since 2.0.0 */ protected $resultPageFactory; /** * @param Context $context * @param PageFactory $resultPageFactory - * @since 2.0.0 */ public function __construct( Context $context, @@ -36,7 +33,6 @@ public function __construct( /** * @return \Magento\Framework\View\Result\Page - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/Controller/Review/Index.php b/app/code/Magento/Customer/Controller/Review/Index.php index 4b427d85c48bd..a4aefac7eba02 100644 --- a/app/code/Magento/Customer/Controller/Review/Index.php +++ b/app/code/Magento/Customer/Controller/Review/Index.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Review\Index * - * @since 2.0.0 */ class Index extends \Magento\Customer\Controller\Review { diff --git a/app/code/Magento/Customer/Controller/Review/View.php b/app/code/Magento/Customer/Controller/Review/View.php index a25dcba0ff288..16802ea9e048d 100644 --- a/app/code/Magento/Customer/Controller/Review/View.php +++ b/app/code/Magento/Customer/Controller/Review/View.php @@ -9,7 +9,6 @@ /** * Class \Magento\Customer\Controller\Review\View * - * @since 2.0.0 */ class View extends \Magento\Customer\Controller\Review { diff --git a/app/code/Magento/Customer/Controller/Section/Load.php b/app/code/Magento/Customer/Controller/Section/Load.php index 724bd65bf859d..ad9ede972610d 100644 --- a/app/code/Magento/Customer/Controller/Section/Load.php +++ b/app/code/Magento/Customer/Controller/Section/Load.php @@ -12,32 +12,28 @@ /** * Customer section controller - * @since 2.0.0 */ class Load extends \Magento\Framework\App\Action\Action { /** * @var JsonFactory - * @since 2.0.0 */ protected $resultJsonFactory; /** * @var Identifier * @deprecated 2.2.0 - * @since 2.0.0 */ protected $sectionIdentifier; /** * @var SectionPoolInterface - * @since 2.0.0 */ protected $sectionPool; /** * @var \Magento\Framework\Escaper - * @since 2.2.0 + * @since 2.1.2 */ private $escaper; @@ -47,7 +43,6 @@ class Load extends \Magento\Framework\App\Action\Action * @param Identifier $sectionIdentifier * @param SectionPoolInterface $sectionPool * @param Escaper $escaper - * @since 2.0.0 */ public function __construct( Context $context, @@ -65,7 +60,6 @@ public function __construct( /** * @return \Magento\Framework\Controller\Result\Json - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/Customer/CustomerData/Customer.php b/app/code/Magento/Customer/CustomerData/Customer.php index 7adb04669f272..0520c00510a7e 100644 --- a/app/code/Magento/Customer/CustomerData/Customer.php +++ b/app/code/Magento/Customer/CustomerData/Customer.php @@ -11,13 +11,11 @@ /** * Customer section - * @since 2.0.0 */ class Customer implements SectionSourceInterface { /** * @var CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; @@ -30,7 +28,6 @@ class Customer implements SectionSourceInterface /** * @param CurrentCustomer $currentCustomer * @param View $customerViewHelper - * @since 2.0.0 */ public function __construct( CurrentCustomer $currentCustomer, @@ -42,7 +39,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getSectionData() { diff --git a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderInterface.php b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderInterface.php index 90878180d4df5..41453d658e2f5 100644 --- a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderInterface.php +++ b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderInterface.php @@ -10,7 +10,6 @@ * Js layout data provider interface * * @api - * @since 2.0.0 */ interface JsLayoutDataProviderInterface { @@ -18,7 +17,6 @@ interface JsLayoutDataProviderInterface * Get data * * @return array - * @since 2.0.0 */ public function getData(); } diff --git a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPool.php b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPool.php index 98ccaa4f1a99e..a2d7462d41c6f 100644 --- a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPool.php +++ b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPool.php @@ -10,7 +10,6 @@ * Js layout data provider pool * * @api - * @since 2.0.0 */ class JsLayoutDataProviderPool implements JsLayoutDataProviderPoolInterface { @@ -18,7 +17,6 @@ class JsLayoutDataProviderPool implements JsLayoutDataProviderPoolInterface * Js layout data providers * * @var JsLayoutDataProviderInterface[] - * @since 2.0.0 */ protected $jsLayoutDataProviders; @@ -26,7 +24,6 @@ class JsLayoutDataProviderPool implements JsLayoutDataProviderPoolInterface * Construct * * @param JsLayoutDataProviderInterface[] $jsLayoutDataProviders - * @since 2.0.0 */ public function __construct( array $jsLayoutDataProviders = [] @@ -36,7 +33,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getData() { diff --git a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPoolInterface.php b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPoolInterface.php index b371dff76fe5d..5c96fa2d3d855 100644 --- a/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPoolInterface.php +++ b/app/code/Magento/Customer/CustomerData/JsLayoutDataProviderPoolInterface.php @@ -8,7 +8,6 @@ /** * Js layout data provider pool interface - * @since 2.0.0 */ interface JsLayoutDataProviderPoolInterface { @@ -16,7 +15,6 @@ interface JsLayoutDataProviderPoolInterface * Get data * * @return array - * @since 2.0.0 */ public function getData(); } diff --git a/app/code/Magento/Customer/CustomerData/SchemaLocator.php b/app/code/Magento/Customer/CustomerData/SchemaLocator.php index 2e1c1617b1f82..47af08b595570 100644 --- a/app/code/Magento/Customer/CustomerData/SchemaLocator.php +++ b/app/code/Magento/Customer/CustomerData/SchemaLocator.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\CustomerData\SchemaLocator * - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -18,13 +17,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ protected $_schema; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) /** * {@inheritdoc} - * @since 2.0.0 */ public function getSchema() { @@ -42,7 +38,6 @@ public function getSchema() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Customer/CustomerData/Section/Identifier.php b/app/code/Magento/Customer/CustomerData/Section/Identifier.php index 6ce9c9668e81e..2a770925d1c37 100644 --- a/app/code/Magento/Customer/CustomerData/Section/Identifier.php +++ b/app/code/Magento/Customer/CustomerData/Section/Identifier.php @@ -7,7 +7,6 @@ /** * Customer section identifier - * @since 2.0.0 */ class Identifier { @@ -19,25 +18,21 @@ class Identifier /** * @var int - * @since 2.0.0 */ protected $markId; /** * @var \Magento\Framework\Stdlib\Cookie\PhpCookieManager - * @since 2.0.0 */ protected $cookieManager; /** * @var \Magento\Framework\Session\Config\ConfigInterface - * @since 2.0.0 */ protected $sessionConfig; /** * @param \Magento\Framework\Stdlib\Cookie\PhpCookieManager $cookieManager - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\Cookie\PhpCookieManager $cookieManager @@ -50,7 +45,6 @@ public function __construct( * * @param bool $forceUpdate * @return int - * @since 2.0.0 */ public function initMark($forceUpdate) { @@ -76,7 +70,6 @@ public function initMark($forceUpdate) * @param null $sectionNames * @param bool $updateIds * @return array - * @since 2.0.0 */ public function markSections(array $sectionsData, $sectionNames = null, $updateIds = false) { diff --git a/app/code/Magento/Customer/CustomerData/SectionConfigConverter.php b/app/code/Magento/Customer/CustomerData/SectionConfigConverter.php index 412aa33d0f3a5..079aabaf84db0 100644 --- a/app/code/Magento/Customer/CustomerData/SectionConfigConverter.php +++ b/app/code/Magento/Customer/CustomerData/SectionConfigConverter.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\CustomerData\SectionConfigConverter * - * @since 2.0.0 */ class SectionConfigConverter implements \Magento\Framework\Config\ConverterInterface { @@ -19,7 +18,6 @@ class SectionConfigConverter implements \Magento\Framework\Config\ConverterInter /** * {@inheritdoc} - * @since 2.0.0 */ public function convert($source) { diff --git a/app/code/Magento/Customer/CustomerData/SectionPool.php b/app/code/Magento/Customer/CustomerData/SectionPool.php index 6ddab696ebc0a..b4e9853b24fb7 100644 --- a/app/code/Magento/Customer/CustomerData/SectionPool.php +++ b/app/code/Magento/Customer/CustomerData/SectionPool.php @@ -12,7 +12,6 @@ * Section pool * * @api - * @since 2.0.0 */ class SectionPool implements SectionPoolInterface { @@ -20,7 +19,6 @@ class SectionPool implements SectionPoolInterface * Object Manager * * @var ObjectManagerInterface - * @since 2.0.0 */ protected $objectManager; @@ -28,13 +26,11 @@ class SectionPool implements SectionPoolInterface * Section map. Key is section name, value is section source object class * * @var array - * @since 2.0.0 */ protected $sectionSourceMap; /** * @var \Magento\Customer\CustomerData\Section\Identifier - * @since 2.0.0 */ protected $identifier; @@ -44,7 +40,6 @@ class SectionPool implements SectionPoolInterface * @param ObjectManagerInterface $objectManager * @param \Magento\Customer\CustomerData\Section\Identifier $identifier * @param array $sectionSourceMap - * @since 2.0.0 */ public function __construct( ObjectManagerInterface $objectManager, @@ -58,7 +53,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getSectionsData(array $sectionNames = null, $updateIds = false) { @@ -73,7 +67,6 @@ public function getSectionsData(array $sectionNames = null, $updateIds = false) * @param array $sectionNames * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function getSectionDataByNames($sectionNames) { @@ -91,7 +84,6 @@ protected function getSectionDataByNames($sectionNames) * Get all section sources * * @return array - * @since 2.0.0 */ protected function getAllSectionData() { @@ -108,7 +100,6 @@ protected function getAllSectionData() * @param string $name * @return SectionSourceInterface * @throws LocalizedException - * @since 2.0.0 */ protected function get($name) { diff --git a/app/code/Magento/Customer/CustomerData/SectionPoolInterface.php b/app/code/Magento/Customer/CustomerData/SectionPoolInterface.php index da086ba3a3e22..c308804fd0f8d 100644 --- a/app/code/Magento/Customer/CustomerData/SectionPoolInterface.php +++ b/app/code/Magento/Customer/CustomerData/SectionPoolInterface.php @@ -7,7 +7,6 @@ /** * Section pool interface - * @since 2.0.0 */ interface SectionPoolInterface { @@ -17,7 +16,6 @@ interface SectionPoolInterface * @param array $sectionNames * @param bool $updateIds * @return array - * @since 2.0.0 */ public function getSectionsData(array $sectionNames = null, $updateIds = false); } diff --git a/app/code/Magento/Customer/CustomerData/SectionSourceInterface.php b/app/code/Magento/Customer/CustomerData/SectionSourceInterface.php index f5eca29cbdb86..f53a4ae4de65b 100644 --- a/app/code/Magento/Customer/CustomerData/SectionSourceInterface.php +++ b/app/code/Magento/Customer/CustomerData/SectionSourceInterface.php @@ -9,7 +9,6 @@ * Section source interface * * @api Use to define data sections in customer data which are transported from backend to frontend local storage - * @since 2.0.0 */ interface SectionSourceInterface { @@ -17,7 +16,6 @@ interface SectionSourceInterface * Get data * * @return array - * @since 2.0.0 */ public function getSectionData(); } diff --git a/app/code/Magento/Customer/Helper/Address.php b/app/code/Magento/Customer/Helper/Address.php index 4d46b96a383da..aec92a9e11015 100644 --- a/app/code/Magento/Customer/Helper/Address.php +++ b/app/code/Magento/Customer/Helper/Address.php @@ -16,7 +16,6 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Address extends \Magento\Framework\App\Helper\AbstractHelper { @@ -44,7 +43,6 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper * Array of Customer Address Attributes * * @var AttributeMetadataInterface[] - * @since 2.0.0 */ protected $_attributes; @@ -52,7 +50,6 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper * Customer address config node per website * * @var array - * @since 2.0.0 */ protected $_config = []; @@ -60,25 +57,21 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper * Customer Number of Lines in a Street Address per website * * @var array - * @since 2.0.0 */ protected $_streetLines = []; /** * @var array - * @since 2.0.0 */ protected $_formatTemplate = []; /** * @var \Magento\Framework\View\Element\BlockFactory - * @since 2.0.0 */ protected $_blockFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -86,19 +79,16 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper * @var CustomerMetadataInterface * * @deprecated 2.2.0 - * @since 2.0.0 */ protected $_customerMetadataService; /** * @var \Magento\Customer\Api\AddressMetadataInterface - * @since 2.0.0 */ protected $_addressMetadataService; /** * @var \Magento\Customer\Model\Address\Config - * @since 2.0.0 */ protected $_addressConfig; @@ -109,7 +99,6 @@ class Address extends \Magento\Framework\App\Helper\AbstractHelper * @param CustomerMetadataInterface $customerMetadataService * @param AddressMetadataInterface $addressMetadataService * @param \Magento\Customer\Model\Address\Config $addressConfig - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -131,7 +120,6 @@ public function __construct( * Addresses url * * @return void - * @since 2.0.0 */ public function getBookUrl() { @@ -139,7 +127,6 @@ public function getBookUrl() /** * @return void - * @since 2.0.0 */ public function getEditUrl() { @@ -147,7 +134,6 @@ public function getEditUrl() /** * @return void - * @since 2.0.0 */ public function getDeleteUrl() { @@ -155,7 +141,6 @@ public function getDeleteUrl() /** * @return void - * @since 2.0.0 */ public function getCreateUrl() { @@ -164,7 +149,6 @@ public function getCreateUrl() /** * @param string $renderer * @return \Magento\Framework\View\Element\BlockInterface - * @since 2.0.0 */ public function getRenderer($renderer) { @@ -181,7 +165,6 @@ public function getRenderer($renderer) * @param string $key * @param \Magento\Store\Model\Store|int|string $store * @return string|null - * @since 2.0.0 */ public function getConfig($key, $store = null) { @@ -202,7 +185,6 @@ public function getConfig($key, $store = null) * * @param \Magento\Store\Model\Store|int|string $store * @return int - * @since 2.0.0 */ public function getStreetLines($store = null) { @@ -223,7 +205,6 @@ public function getStreetLines($store = null) /** * @param string $code * @return Format|string - * @since 2.0.0 */ public function getFormat($code) { @@ -236,7 +217,6 @@ public function getFormat($code) * * @param string $code * @return \Magento\Customer\Block\Address\Renderer\RendererInterface|null - * @since 2.0.0 */ public function getFormatTypeRenderer($code) { @@ -252,7 +232,6 @@ public function getFormatTypeRenderer($code) * * @param string $key * @return bool - * @since 2.0.0 */ public function canShowConfig($key) { @@ -266,7 +245,6 @@ public function canShowConfig($key) * @return string * * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function getAttributeValidationClass($attributeCode) { @@ -300,7 +278,6 @@ public function getAttributeValidationClass($attributeCode) * @param string[] $origStreets * @param int $toCount * @return string[] - * @since 2.0.0 */ public function convertStreetLines($origStreets, $toCount) { @@ -332,7 +309,6 @@ public function convertStreetLines($origStreets, $toCount) * * @param \Magento\Store\Model\Store|string|int $store * @return bool - * @since 2.0.0 */ public function isVatValidationEnabled($store = null) { @@ -347,7 +323,6 @@ public function isVatValidationEnabled($store = null) * Retrieve disable auto group assign default value * * @return bool - * @since 2.0.0 */ public function isDisableAutoGroupAssignDefaultValue() { @@ -362,7 +337,6 @@ public function isDisableAutoGroupAssignDefaultValue() * * @param \Magento\Store\Model\Store|string|int $store * @return bool - * @since 2.0.0 */ public function hasValidateOnEachTransaction($store = null) { @@ -378,7 +352,6 @@ public function hasValidateOnEachTransaction($store = null) * * @param \Magento\Store\Model\Store|string|int|null $store * @return string - * @since 2.0.0 */ public function getTaxCalculationAddressType($store = null) { @@ -393,7 +366,6 @@ public function getTaxCalculationAddressType($store = null) * Check if VAT ID address attribute has to be shown on frontend (on Customer Address management forms) * * @return boolean - * @since 2.0.0 */ public function isVatAttributeVisible() { diff --git a/app/code/Magento/Customer/Helper/Session/CurrentCustomer.php b/app/code/Magento/Customer/Helper/Session/CurrentCustomer.php index 3102877beddc5..e6082de1da4e7 100644 --- a/app/code/Magento/Customer/Helper/Session/CurrentCustomer.php +++ b/app/code/Magento/Customer/Helper/Session/CurrentCustomer.php @@ -15,49 +15,41 @@ /** * Class CurrentCustomer - * @since 2.0.0 */ class CurrentCustomer { /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ protected $layout; /** * @var \Magento\Customer\Api\Data\CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerFactory; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $request; /** * @var \Magento\Framework\Module\Manager - * @since 2.0.0 */ protected $moduleManager; /** * @var \Magento\Framework\App\ViewInterface - * @since 2.0.0 */ protected $view; @@ -69,7 +61,6 @@ class CurrentCustomer * @param RequestInterface $request * @param ModuleManager $moduleManager * @param ViewInterface $view - * @since 2.0.0 */ public function __construct( CustomerSession $customerSession, @@ -93,7 +84,6 @@ public function __construct( * Returns customer Data with customer group only * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ protected function getDepersonalizedCustomer() { @@ -106,7 +96,6 @@ protected function getDepersonalizedCustomer() * Returns customer Data from service * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ protected function getCustomerFromService() { @@ -117,7 +106,6 @@ protected function getCustomerFromService() * Returns current customer according to session and context * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ public function getCustomer() { @@ -136,7 +124,6 @@ public function getCustomer() * Returns customer id from session * * @return int|null - * @since 2.0.0 */ public function getCustomerId() { @@ -148,7 +135,6 @@ public function getCustomerId() * * @param int|null $customerId * @return void - * @since 2.0.0 */ public function setCustomerId($customerId) { diff --git a/app/code/Magento/Customer/Helper/Session/CurrentCustomerAddress.php b/app/code/Magento/Customer/Helper/Session/CurrentCustomerAddress.php index b7515003cb163..603eb90e39864 100644 --- a/app/code/Magento/Customer/Helper/Session/CurrentCustomerAddress.php +++ b/app/code/Magento/Customer/Helper/Session/CurrentCustomerAddress.php @@ -10,26 +10,22 @@ /** * Class CurrentCustomerAddress - * @since 2.0.0 */ class CurrentCustomerAddress { /** * @var \Magento\Customer\Helper\Session\CurrentCustomer - * @since 2.0.0 */ protected $currentCustomer; /** * @var AccountManagementInterface - * @since 2.0.0 */ protected $accountManagement; /** * @param CurrentCustomer $currentCustomer * @param AccountManagementInterface $accountManagement - * @since 2.0.0 */ public function __construct( CurrentCustomer $currentCustomer, @@ -43,7 +39,6 @@ public function __construct( * Returns default billing address form current customer * * @return AddressInterface|null - * @since 2.0.0 */ public function getDefaultBillingAddress() { @@ -54,7 +49,6 @@ public function getDefaultBillingAddress() * Returns default shipping address for current customer * * @return AddressInterface|null - * @since 2.0.0 */ public function getDefaultShippingAddress() { diff --git a/app/code/Magento/Customer/Helper/View.php b/app/code/Magento/Customer/Helper/View.php index 7e6d43e738487..a47930abb6d0e 100644 --- a/app/code/Magento/Customer/Helper/View.php +++ b/app/code/Magento/Customer/Helper/View.php @@ -11,13 +11,11 @@ /** * Customer helper for view. - * @since 2.0.0 */ class View extends \Magento\Framework\App\Helper\AbstractHelper implements CustomerNameGenerationInterface { /** * @var CustomerMetadataInterface - * @since 2.0.0 */ protected $_customerMetadataService; @@ -26,7 +24,6 @@ class View extends \Magento\Framework\App\Helper\AbstractHelper implements Custo * * @param \Magento\Framework\App\Helper\Context $context * @param CustomerMetadataInterface $customerMetadataService - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Helper\Context $context, @@ -38,7 +35,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getCustomerName(CustomerInterface $customerData) { diff --git a/app/code/Magento/Customer/Model/Account/Redirect.php b/app/code/Magento/Customer/Model/Account/Redirect.php index af7adb171e242..35c388a4c6b86 100644 --- a/app/code/Magento/Customer/Model/Account/Redirect.php +++ b/app/code/Magento/Customer/Model/Account/Redirect.php @@ -22,7 +22,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Redirect { @@ -31,38 +30,32 @@ class Redirect /** * @var RequestInterface - * @since 2.0.0 */ protected $request; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var DecoderInterface - * @since 2.0.0 */ protected $urlDecoder; /** * @var CustomerUrl - * @since 2.0.0 */ protected $customerUrl; /** * @deprecated 2.2.0 * @var UrlInterface - * @since 2.0.0 */ protected $url; @@ -74,7 +67,7 @@ class Redirect /** * @var CookieManagerInterface - * @since 2.1.0 + * @since 2.0.11 */ protected $cookieManager; @@ -94,7 +87,6 @@ class Redirect * @param CustomerUrl $customerUrl * @param ResultFactory $resultFactory * @param HostChecker|null $hostChecker - * @since 2.0.0 */ public function __construct( RequestInterface $request, @@ -122,7 +114,6 @@ public function __construct( * Retrieve redirect * * @return ResultRedirect|ResultForward - * @since 2.0.0 */ public function getRedirect() { @@ -147,7 +138,6 @@ public function getRedirect() * Update last customer id, if required * * @return void - * @since 2.0.0 */ protected function updateLastCustomerId() { @@ -165,7 +155,6 @@ protected function updateLastCustomerId() * Prepare redirect URL * * @return void - * @since 2.0.0 */ protected function prepareRedirectUrl() { @@ -206,7 +195,6 @@ protected function prepareRedirectUrl() * Redirect customer to the last page visited after logging in. * * @return void - * @since 2.0.0 */ protected function processLoggedCustomer() { @@ -235,7 +223,6 @@ protected function processLoggedCustomer() * * @param string $url * @return void - * @since 2.0.0 */ private function applyRedirect($url) { @@ -245,9 +232,9 @@ private function applyRedirect($url) /** * Get Cookie manager. For release backward compatibility. * - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @return CookieManagerInterface - * @since 2.1.0 + * @since 2.0.11 */ protected function getCookieManager() { @@ -260,10 +247,10 @@ protected function getCookieManager() /** * Set cookie manager. For unit tests. * - * @deprecated 2.1.0 + * @deprecated 2.0.11 * @param object $value * @return void - * @since 2.1.0 + * @since 2.0.11 */ public function setCookieManager($value) { @@ -274,7 +261,7 @@ public function setCookieManager($value) * Get redirect route from cookie for case of successful login/registration * * @return null|string - * @since 2.1.0 + * @since 2.0.11 */ public function getRedirectCookie() { @@ -286,7 +273,7 @@ public function getRedirectCookie() * * @param string $route * @return void - * @since 2.1.0 + * @since 2.0.11 */ public function setRedirectCookie($route) { @@ -297,7 +284,7 @@ public function setRedirectCookie($route) * Clear cookie with requested route * * @return void - * @since 2.1.0 + * @since 2.0.11 */ public function clearRedirectCookie() { diff --git a/app/code/Magento/Customer/Model/AccountManagement.php b/app/code/Magento/Customer/Model/AccountManagement.php index caf08624022ea..41438b05c827e 100644 --- a/app/code/Magento/Customer/Model/AccountManagement.php +++ b/app/code/Magento/Customer/Model/AccountManagement.php @@ -54,7 +54,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) - * @since 2.0.0 */ class AccountManagement implements AccountManagementInterface { @@ -161,139 +160,116 @@ class AccountManagement implements AccountManagementInterface /** * @var CustomerFactory - * @since 2.0.0 */ private $customerFactory; /** * @var \Magento\Customer\Api\Data\ValidationResultsInterfaceFactory - * @since 2.0.0 */ private $validationResultsDataFactory; /** * @var ManagerInterface - * @since 2.0.0 */ private $eventManager; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; /** * @var Random - * @since 2.0.0 */ private $mathRandom; /** * @var Validator - * @since 2.0.0 */ private $validator; /** * @var AddressRepositoryInterface - * @since 2.0.0 */ private $addressRepository; /** * @var CustomerMetadataInterface - * @since 2.0.0 */ private $customerMetadataService; /** * @var PsrLogger - * @since 2.0.0 */ protected $logger; /** * @var Encryptor - * @since 2.0.0 */ private $encryptor; /** * @var CustomerRegistry - * @since 2.0.0 */ private $customerRegistry; /** * @var ConfigShare - * @since 2.0.0 */ private $configShare; /** * @var StringHelper - * @since 2.0.0 */ protected $stringHelper; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ private $customerRepository; /** * @var ScopeConfigInterface - * @since 2.0.0 */ private $scopeConfig; /** * @var TransportBuilder - * @since 2.0.0 */ private $transportBuilder; /** * @var DataObjectProcessor - * @since 2.0.0 */ protected $dataProcessor; /** * @var \Magento\Framework\Registry - * @since 2.0.0 */ protected $registry; /** * @var CustomerViewHelper - * @since 2.0.0 */ protected $customerViewHelper; /** * @var DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var ObjectFactory - * @since 2.0.0 */ protected $objectFactory; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ protected $extensibleDataObjectConverter; /** * @var CustomerModel - * @since 2.0.0 */ protected $customerModel; @@ -347,7 +323,6 @@ class AccountManagement implements AccountManagementInterface * @param ExtensibleDataObjectConverter $extensibleDataObjectConverter * @param CredentialsValidator|null $credentialsValidator * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( CustomerFactory $customerFactory, @@ -422,7 +397,6 @@ private function getAuthentication() /** * {@inheritdoc} - * @since 2.0.0 */ public function resendConfirmation($email, $websiteId = null, $redirectUrl = '') { @@ -446,7 +420,6 @@ public function resendConfirmation($email, $websiteId = null, $redirectUrl = '') /** * {@inheritdoc} - * @since 2.0.0 */ public function activate($email, $confirmationKey) { @@ -456,7 +429,6 @@ public function activate($email, $confirmationKey) /** * {@inheritdoc} - * @since 2.0.0 */ public function activateById($customerId, $confirmationKey) { @@ -472,7 +444,6 @@ public function activateById($customerId, $confirmationKey) * @return \Magento\Customer\Api\Data\CustomerInterface * @throws \Magento\Framework\Exception\State\InvalidTransitionException * @throws \Magento\Framework\Exception\State\InputMismatchException - * @since 2.0.0 */ private function activateCustomer($customer, $confirmationKey) { @@ -493,7 +464,6 @@ private function activateCustomer($customer, $confirmationKey) /** * {@inheritdoc} - * @since 2.0.0 */ public function authenticate($username, $password) { @@ -529,7 +499,6 @@ public function authenticate($username, $password) /** * {@inheritdoc} - * @since 2.0.0 */ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkToken) { @@ -539,7 +508,6 @@ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkTo /** * {@inheritdoc} - * @since 2.0.0 */ public function initiatePasswordReset($email, $template, $websiteId = null) { @@ -578,7 +546,6 @@ public function initiatePasswordReset($email, $template, $websiteId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function resetPassword($email, $resetToken, $newPassword) { @@ -601,7 +568,6 @@ public function resetPassword($email, $resetToken, $newPassword) * @param string $password * @return void * @throws InputException - * @since 2.0.0 */ protected function checkPasswordStrength($password) { @@ -685,7 +651,6 @@ protected function getMinPasswordLength() /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfirmationStatus($customerId) { @@ -702,7 +667,6 @@ public function getConfirmationStatus($customerId) /** * {@inheritdoc} - * @since 2.0.0 */ public function createAccount(CustomerInterface $customer, $password = null, $redirectUrl = '') { @@ -725,7 +689,6 @@ public function createAccount(CustomerInterface $customer, $password = null, $re * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function createAccountWithPasswordHash(CustomerInterface $customer, $hash, $redirectUrl = '') { @@ -802,7 +765,6 @@ public function createAccountWithPasswordHash(CustomerInterface $customer, $hash /** * {@inheritdoc} - * @since 2.0.0 */ public function getDefaultBillingAddress($customerId) { @@ -812,7 +774,6 @@ public function getDefaultBillingAddress($customerId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getDefaultShippingAddress($customerId) { @@ -826,7 +787,6 @@ public function getDefaultShippingAddress($customerId) * @param CustomerInterface $customer * @param string $redirectUrl * @return void - * @since 2.0.0 */ protected function sendEmailConfirmation(CustomerInterface $customer, $redirectUrl) { @@ -847,7 +807,6 @@ protected function sendEmailConfirmation(CustomerInterface $customer, $redirectU /** * {@inheritdoc} - * @since 2.0.0 */ public function changePassword($email, $currentPassword, $newPassword) { @@ -861,7 +820,6 @@ public function changePassword($email, $currentPassword, $newPassword) /** * {@inheritdoc} - * @since 2.0.0 */ public function changePasswordById($customerId, $currentPassword, $newPassword) { @@ -883,7 +841,6 @@ public function changePasswordById($customerId, $currentPassword, $newPassword) * @throws InputException * @throws InvalidEmailOrPasswordException * @throws UserLockedException - * @since 2.0.0 */ private function changePasswordForCustomer($customer, $currentPassword, $newPassword) { @@ -908,7 +865,6 @@ private function changePasswordForCustomer($customer, $currentPassword, $newPass * * @param string $password * @return string - * @since 2.0.0 */ protected function createPasswordHash($password) { @@ -929,7 +885,6 @@ private function getEavValidator() /** * {@inheritdoc} - * @since 2.0.0 */ public function validate(CustomerInterface $customer) { @@ -957,7 +912,6 @@ public function validate(CustomerInterface $customer) /** * {@inheritdoc} - * @since 2.0.0 */ public function isEmailAvailable($customerEmail, $websiteId = null) { @@ -974,7 +928,6 @@ public function isEmailAvailable($customerEmail, $websiteId = null) /** * {@inheritDoc} - * @since 2.0.0 */ public function isCustomerInStore($customerWebsiteId, $storeId) { @@ -1000,7 +953,6 @@ public function isCustomerInStore($customerWebsiteId, $storeId) * @throws \Magento\Framework\Exception\State\ExpiredException If token is expired * @throws \Magento\Framework\Exception\InputException If token or customer id is invalid * @throws \Magento\Framework\Exception\NoSuchEntityException If customer doesn't exist - * @since 2.0.0 */ private function validateResetPasswordToken($customerId, $resetPasswordLinkToken) { @@ -1035,7 +987,6 @@ private function validateResetPasswordToken($customerId, $resetPasswordLinkToken * @return bool * @throws \Magento\Framework\Exception\NoSuchEntityException If group is not found * @throws LocalizedException - * @since 2.0.0 */ public function isReadonly($customerId) { @@ -1054,7 +1005,6 @@ public function isReadonly($customerId) * @return $this * @throws LocalizedException * @deprecated 2.1.0 - * @since 2.0.0 */ protected function sendNewAccountEmail( $customer, @@ -1094,7 +1044,6 @@ protected function sendNewAccountEmail( * @param CustomerInterface $customer * @return $this * @deprecated 2.1.0 - * @since 2.0.0 */ protected function sendPasswordResetNotificationEmail($customer) { @@ -1108,7 +1057,6 @@ protected function sendPasswordResetNotificationEmail($customer) * @param int|string|null $defaultStoreId * @return int * @deprecated 2.1.0 - * @since 2.0.0 */ protected function getWebsiteStoreId($customer, $defaultStoreId = null) { @@ -1123,7 +1071,6 @@ protected function getWebsiteStoreId($customer, $defaultStoreId = null) /** * @return array * @deprecated 2.1.0 - * @since 2.0.0 */ protected function getTemplateTypes() { @@ -1156,7 +1103,6 @@ protected function getTemplateTypes() * @param string $email * @return $this * @deprecated 2.1.0 - * @since 2.0.0 */ protected function sendEmailTemplate( $customer, @@ -1188,7 +1134,6 @@ protected function sendEmailTemplate( * * @param CustomerInterface $customer * @return bool - * @since 2.0.0 */ protected function isConfirmationRequired($customer) { @@ -1208,7 +1153,6 @@ protected function isConfirmationRequired($customer) * * @param CustomerInterface $customer * @return bool - * @since 2.0.0 */ protected function canSkipConfirmation($customer) { @@ -1233,7 +1177,6 @@ protected function canSkipConfirmation($customer) * @param string $rpToken * @param string $rpTokenCreatedAt * @return bool - * @since 2.0.0 */ public function isResetPasswordLinkTokenExpired($rpToken, $rpTokenCreatedAt) { @@ -1266,7 +1209,6 @@ public function isResetPasswordLinkTokenExpired($rpToken, $rpTokenCreatedAt) * @param string $passwordLinkToken * @return bool * @throws InputException - * @since 2.0.0 */ public function changeResetPasswordLinkToken($customer, $passwordLinkToken) { @@ -1293,7 +1235,6 @@ public function changeResetPasswordLinkToken($customer, $passwordLinkToken) * @param CustomerInterface $customer * @return $this * @deprecated 2.1.0 - * @since 2.0.0 */ public function sendPasswordReminderEmail($customer) { @@ -1321,7 +1262,6 @@ public function sendPasswordReminderEmail($customer) * @param CustomerInterface $customer * @return $this * @deprecated 2.1.0 - * @since 2.0.0 */ public function sendPasswordResetConfirmationEmail($customer) { @@ -1349,7 +1289,6 @@ public function sendPasswordResetConfirmationEmail($customer) * @param CustomerInterface $customer * @param int $addressId * @return AddressInterface|null - * @since 2.0.0 */ protected function getAddressById(CustomerInterface $customer, $addressId) { @@ -1367,7 +1306,6 @@ protected function getAddressById(CustomerInterface $customer, $addressId) * @param CustomerInterface $customer * @return Data\CustomerSecure * @deprecated 2.1.0 - * @since 2.0.0 */ protected function getFullCustomerObject($customer) { @@ -1386,7 +1324,6 @@ protected function getFullCustomerObject($customer) * * @param string $password * @return string - * @since 2.0.0 */ public function getPasswordHash($password) { diff --git a/app/code/Magento/Customer/Model/Address.php b/app/code/Magento/Customer/Model/Address.php index 6dd8391da7e6f..4bbc820e291c0 100644 --- a/app/code/Magento/Customer/Model/Address.php +++ b/app/code/Magento/Customer/Model/Address.php @@ -18,7 +18,6 @@ * @method int getParentId() getParentId() * @method \Magento\Customer\Model\Address setParentId() setParentId(int $parentId) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Address extends \Magento\Customer\Model\Address\AbstractAddress { @@ -26,37 +25,32 @@ class Address extends \Magento\Customer\Model\Address\AbstractAddress * Customer entity * * @var Customer - * @since 2.0.0 */ protected $_customer; /** * @var CustomerFactory - * @since 2.0.0 */ protected $_customerFactory; /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataProcessor; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Customer\Model\Address\CustomAttributeListInterface - * @since 2.1.0 + * @since 2.0.5 */ private $attributeList; @@ -82,7 +76,6 @@ class Address extends \Magento\Customer\Model\Address\AbstractAddress * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -130,7 +123,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -143,7 +135,6 @@ protected function _construct() * @param AddressInterface $address * @return $this * Use Api/RepositoryInterface for the operations in the Data Interfaces. Don't rely on Address Model - * @since 2.0.0 */ public function updateData(AddressInterface $address) { @@ -178,7 +169,6 @@ public function updateData(AddressInterface $address) /** * {@inheritdoc} - * @since 2.0.0 */ public function getDataModel($defaultBillingAddressId = null, $defaultShippingAddressId = null) { @@ -197,7 +187,6 @@ public function getDataModel($defaultBillingAddressId = null, $defaultShippingAd * Retrieve address customer identifier * * @return int - * @since 2.0.0 */ public function getCustomerId() { @@ -209,7 +198,6 @@ public function getCustomerId() * * @param int $id * @return $this - * @since 2.0.0 */ public function setCustomerId($id) { @@ -222,7 +210,6 @@ public function setCustomerId($id) * Retrieve address customer * * @return Customer|false - * @since 2.0.0 */ public function getCustomer() { @@ -240,7 +227,6 @@ public function getCustomer() * * @param Customer $customer * @return $this - * @since 2.0.0 */ public function setCustomer(Customer $customer) { @@ -253,7 +239,6 @@ public function setCustomer(Customer $customer) * Retrieve address entity attributes * * @return Attribute[] - * @since 2.0.0 */ public function getAttributes() { @@ -269,7 +254,6 @@ public function getAttributes() * Get attributes created by default * * @return string[] - * @since 2.0.0 */ public function getDefaultAttributeCodes() { @@ -278,7 +262,6 @@ public function getDefaultAttributeCodes() /** * @return void - * @since 2.0.0 */ public function __clone() { @@ -289,7 +272,6 @@ public function __clone() * Return Entity Type instance * * @return \Magento\Eav\Model\Entity\Type - * @since 2.0.0 */ public function getEntityType() { @@ -300,7 +282,6 @@ public function getEntityType() * Return Region ID * * @return int - * @since 2.0.0 */ public function getRegionId() { @@ -312,7 +293,6 @@ public function getRegionId() * * @param int $regionId * @return $this - * @since 2.0.0 */ public function setRegionId($regionId) { @@ -322,7 +302,6 @@ public function setRegionId($regionId) /** * @return Customer - * @since 2.0.0 */ protected function _createCustomer() { @@ -333,7 +312,6 @@ protected function _createCustomer() * Return Entity Type ID * * @return int - * @since 2.0.0 */ public function getEntityTypeId() { @@ -344,7 +322,6 @@ public function getEntityTypeId() * Processing object after save data * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -359,7 +336,6 @@ public function afterSave() * Init indexing process after customer delete * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -371,7 +347,6 @@ public function afterDeleteCommit() * Init indexing process after customer save * * @return void - * @since 2.0.0 */ public function reindex() { @@ -382,7 +357,7 @@ public function reindex() /** * {@inheritdoc} - * @since 2.1.0 + * @since 2.0.5 */ protected function getCustomAttributesCodes() { @@ -392,8 +367,8 @@ protected function getCustomAttributesCodes() /** * Get new AttributeList dependency for application code. * @return \Magento\Customer\Model\Address\CustomAttributeListInterface - * @deprecated 2.1.0 - * @since 2.1.0 + * @deprecated 2.0.5 + * @since 2.0.5 */ private function getAttributeList() { diff --git a/app/code/Magento/Customer/Model/Address/AbstractAddress.php b/app/code/Magento/Customer/Model/Address/AbstractAddress.php index 0d52b3c7ba2be..212ebddfeec3d 100644 --- a/app/code/Magento/Customer/Model/Address/AbstractAddress.php +++ b/app/code/Magento/Customer/Model/Address/AbstractAddress.php @@ -32,7 +32,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInterface { @@ -47,7 +46,6 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * Prefix of model events * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'customer_address'; @@ -55,7 +53,6 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * Name of event object * * @var string - * @since 2.0.0 */ protected $_eventObject = 'customer_address'; @@ -63,7 +60,6 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * Directory country models * * @var \Magento\Directory\Model\Country[] - * @since 2.0.0 */ protected static $_countryModels = []; @@ -71,7 +67,6 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * Directory region models * * @var \Magento\Directory\Model\Region[] - * @since 2.0.0 */ protected static $_regionModels = []; @@ -79,55 +74,46 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * Directory data * * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $_directoryData = null; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var Config - * @since 2.0.0 */ protected $_addressConfig; /** * @var \Magento\Directory\Model\RegionFactory - * @since 2.0.0 */ protected $_regionFactory; /** * @var \Magento\Directory\Model\CountryFactory - * @since 2.0.0 */ protected $_countryFactory; /** * @var AddressMetadataInterface - * @since 2.0.0 */ protected $metadataService; /** * @var AddressInterfaceFactory - * @since 2.0.0 */ protected $addressDataFactory; /** * @var RegionInterfaceFactory - * @since 2.0.0 */ protected $regionDataFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -149,7 +135,6 @@ class AbstractAddress extends AbstractExtensibleModel implements AddressModelInt * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -194,7 +179,6 @@ public function __construct( * Get full customer name * * @return string - * @since 2.0.0 */ public function getName() { @@ -218,7 +202,6 @@ public function getName() * Retrieve street field of an address * * @return string[] - * @since 2.0.0 */ public function getStreet() { @@ -233,7 +216,6 @@ public function getStreet() * * @param int $number * @return string - * @since 2.0.0 */ public function getStreetLine($number) { @@ -245,7 +227,6 @@ public function getStreetLine($number) * Retrieve text of street lines, concatenated using LF symbol * * @return string - * @since 2.0.0 */ public function getStreetFull() { @@ -258,7 +239,6 @@ public function getStreetFull() * * @param string|string[] $street * @return $this - * @since 2.0.0 */ public function setStreetFull($street) { @@ -270,7 +250,6 @@ public function setStreetFull($street) * * @param string|string[] $street * @return $this - * @since 2.0.0 */ public function setStreet($street) { @@ -284,7 +263,6 @@ public function setStreet($street) * @param array|string $key * @param null $value * @return \Magento\Framework\DataObject - * @since 2.0.0 */ public function setData($key, $value = null) { @@ -300,7 +278,6 @@ public function setData($key, $value = null) * Check that address can have multiline attribute by this code (as street or some custom attribute) * @param string $code * @return bool - * @since 2.0.0 */ protected function isAddressMultilineAttribute($code) { @@ -312,7 +289,6 @@ protected function isAddressMultilineAttribute($code) * * @param array $data * @return array - * @since 2.0.0 */ protected function _implodeArrayField(array $data) { @@ -329,7 +305,6 @@ protected function _implodeArrayField(array $data) * * @param string[]|string $value * @return string - * @since 2.0.0 */ protected function _implodeArrayValues($value) { @@ -353,7 +328,6 @@ protected function _implodeArrayValues($value) * To be used in controllers for views data * * @return $this - * @since 2.0.0 */ public function explodeStreetAddress() { @@ -368,7 +342,6 @@ public function explodeStreetAddress() * Retrieve region name * * @return string - * @since 2.0.0 */ public function getRegion() { @@ -395,7 +368,6 @@ public function getRegion() * Return 2 letter state code if available, otherwise full region name * * @return string - * @since 2.0.0 */ public function getRegionCode() { @@ -418,7 +390,6 @@ public function getRegionCode() /** * @return int - * @since 2.0.0 */ public function getRegionId() { @@ -441,7 +412,6 @@ public function getRegionId() /** * @return int - * @since 2.0.0 */ public function getCountry() { @@ -453,7 +423,6 @@ public function getCountry() * Retrieve country model * * @return \Magento\Directory\Model\Country - * @since 2.0.0 */ public function getCountryModel() { @@ -471,7 +440,6 @@ public function getCountryModel() * * @param int|null $regionId * @return \Magento\Directory\Model\Region - * @since 2.0.0 */ public function getRegionModel($regionId = null) { @@ -499,7 +467,6 @@ public function getRegionModel($regionId = null) * * @param string $type * @return string|null - * @since 2.0.0 */ public function format($type) { @@ -514,7 +481,6 @@ public function format($type) * Retrieve address config object * * @return Config - * @since 2.0.0 */ public function getConfig() { @@ -523,7 +489,6 @@ public function getConfig() /** * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -541,7 +506,6 @@ public function beforeSave() * Use Api/Data/AddressInterface as a result of service operations. Don't rely on the model to provide * the instance of Api/Data/AddressInterface * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function getDataModel($defaultBillingAddressId = null, $defaultShippingAddressId = null) { @@ -600,7 +564,6 @@ public function getDataModel($defaultBillingAddressId = null, $defaultShippingAd * @return bool|array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validate() { @@ -673,7 +636,6 @@ public function validate() /** * @return \Magento\Directory\Model\Region - * @since 2.0.0 */ protected function _createRegionInstance() { @@ -682,7 +644,6 @@ protected function _createRegionInstance() /** * @return \Magento\Directory\Model\Country - * @since 2.0.0 */ protected function _createCountryInstance() { diff --git a/app/code/Magento/Customer/Model/Address/AddressModelInterface.php b/app/code/Magento/Customer/Model/Address/AddressModelInterface.php index 9fcf21858793b..1b2a62591a1f8 100644 --- a/app/code/Magento/Customer/Model/Address/AddressModelInterface.php +++ b/app/code/Magento/Customer/Model/Address/AddressModelInterface.php @@ -10,7 +10,6 @@ * Interface AddressInterface * * @api - * @since 2.0.0 */ interface AddressModelInterface { @@ -19,7 +18,6 @@ interface AddressModelInterface * * @param int $number * @return string - * @since 2.0.0 */ public function getStreetLine($number); @@ -29,7 +27,6 @@ public function getStreetLine($number); * To be used in controllers for views data * * @return $this - * @since 2.0.0 */ public function explodeStreetAddress(); } diff --git a/app/code/Magento/Customer/Model/Address/Config.php b/app/code/Magento/Customer/Model/Address/Config.php index 0bb40acc7a568..e4bd1a54aa380 100644 --- a/app/code/Magento/Customer/Model/Address/Config.php +++ b/app/code/Magento/Customer/Model/Address/Config.php @@ -12,7 +12,6 @@ /** * Customer address configuration - * @since 2.0.0 */ class Config extends ConfigData { @@ -26,7 +25,6 @@ class Config extends ConfigData * Customer address templates per store * * @var array - * @since 2.0.0 */ protected $_types = []; @@ -34,7 +32,6 @@ class Config extends ConfigData * Current store instance * * @var \Magento\Store\Model\Store - * @since 2.0.0 */ protected $_store = null; @@ -42,25 +39,21 @@ class Config extends ConfigData * Default types per store, used for invalid code * * @var array - * @since 2.0.0 */ protected $_defaultTypes = []; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Customer\Helper\Address - * @since 2.0.0 */ protected $_addressHelper; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; @@ -74,7 +67,6 @@ class Config extends ConfigData * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param string|null $cacheId * @param SerializerInterface|null $serializer - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\Address\Config\Reader $reader, @@ -96,7 +88,6 @@ public function __construct( * * @param null|string|bool|int|\Magento\Store\Model\Store $store * @return $this - * @since 2.0.0 */ public function setStore($store) { @@ -108,7 +99,6 @@ public function setStore($store) * Retrieve store * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { @@ -122,7 +112,6 @@ public function getStore() * Retrieve address formats * * @return array - * @since 2.0.0 */ public function getFormats() { @@ -163,7 +152,6 @@ public function getFormats() * Retrieve default address format * * @return DataObject - * @since 2.0.0 */ protected function _getDefaultFormat() { @@ -191,7 +179,6 @@ protected function _getDefaultFormat() * * @param string $typeCode * @return DataObject - * @since 2.0.0 */ public function getFormatByCode($typeCode) { diff --git a/app/code/Magento/Customer/Model/Address/Config/Converter.php b/app/code/Magento/Customer/Model/Address/Config/Converter.php index 0b1693890a7cd..b2dd97d8431aa 100644 --- a/app/code/Magento/Customer/Model/Address/Config/Converter.php +++ b/app/code/Magento/Customer/Model/Address/Config/Converter.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Address\Config\Converter * - * @since 2.0.0 */ class Converter implements \Magento\Framework\Config\ConverterInterface { @@ -19,7 +18,6 @@ class Converter implements \Magento\Framework\Config\ConverterInterface * * @param \DOMDocument $source * @return array - * @since 2.0.0 */ public function convert($source) { diff --git a/app/code/Magento/Customer/Model/Address/Config/Reader.php b/app/code/Magento/Customer/Model/Address/Config/Reader.php index 96ba46a831799..34bdccbf4c1dd 100644 --- a/app/code/Magento/Customer/Model/Address/Config/Reader.php +++ b/app/code/Magento/Customer/Model/Address/Config/Reader.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Address\Config\Reader * - * @since 2.0.0 */ class Reader extends \Magento\Framework\Config\Reader\Filesystem { @@ -19,7 +18,6 @@ class Reader extends \Magento\Framework\Config\Reader\Filesystem * @param Converter $converter * @param SchemaLocator $schemaLocator * @param \Magento\Framework\Config\ValidationStateInterface $validationState - * @since 2.0.0 */ public function __construct( \Magento\Framework\Config\FileResolverInterface $fileResolver, diff --git a/app/code/Magento/Customer/Model/Address/Config/SchemaLocator.php b/app/code/Magento/Customer/Model/Address/Config/SchemaLocator.php index 0f1ab25adca5a..ca33fca032e3f 100644 --- a/app/code/Magento/Customer/Model/Address/Config/SchemaLocator.php +++ b/app/code/Magento/Customer/Model/Address/Config/SchemaLocator.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Model\Address\Config\SchemaLocator * - * @since 2.0.0 */ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface { @@ -20,13 +19,11 @@ class SchemaLocator implements \Magento\Framework\Config\SchemaLocatorInterface * Path to corresponding XSD file with validation rules for merged config * * @var string - * @since 2.0.0 */ private $_schema; /** * @param \Magento\Framework\Module\Dir\Reader $moduleReader - * @since 2.0.0 */ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Framework\Module\Dir\Reader $moduleReader) /** * {@inheritdoc} - * @since 2.0.0 */ public function getSchema() { @@ -44,7 +40,6 @@ public function getSchema() /** * {@inheritdoc} - * @since 2.0.0 */ public function getPerFileSchema() { diff --git a/app/code/Magento/Customer/Model/Address/CustomAttributeList.php b/app/code/Magento/Customer/Model/Address/CustomAttributeList.php index 14c9aa4c4722b..2c9853985770b 100644 --- a/app/code/Magento/Customer/Model/Address/CustomAttributeList.php +++ b/app/code/Magento/Customer/Model/Address/CustomAttributeList.php @@ -8,13 +8,13 @@ /** * Class \Magento\Customer\Model\Address\CustomAttributeList * - * @since 2.1.0 + * @since 2.0.5 */ class CustomAttributeList implements CustomAttributeListInterface { /** * {@inheritdoc} - * @since 2.1.0 + * @since 2.0.5 */ public function getAttributes() { diff --git a/app/code/Magento/Customer/Model/Address/CustomAttributeListInterface.php b/app/code/Magento/Customer/Model/Address/CustomAttributeListInterface.php index 3d90272818267..c1573a48a1b4a 100644 --- a/app/code/Magento/Customer/Model/Address/CustomAttributeListInterface.php +++ b/app/code/Magento/Customer/Model/Address/CustomAttributeListInterface.php @@ -7,7 +7,7 @@ /** * @api - * @since 2.1.0 + * @since 2.0.5 */ interface CustomAttributeListInterface { @@ -15,7 +15,7 @@ interface CustomAttributeListInterface * Retrieve list of customer addresses custom attributes * * @return array - * @since 2.1.0 + * @since 2.0.5 */ public function getAttributes(); } diff --git a/app/code/Magento/Customer/Model/Address/Form.php b/app/code/Magento/Customer/Model/Address/Form.php index 69a8359eef08c..5d298f38bda56 100644 --- a/app/code/Magento/Customer/Model/Address/Form.php +++ b/app/code/Magento/Customer/Model/Address/Form.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Address\Form * - * @since 2.0.0 */ class Form extends \Magento\Customer\Model\Form { @@ -22,7 +21,6 @@ class Form extends \Magento\Customer\Model\Form * Current EAV entity type code * * @var string - * @since 2.0.0 */ protected $_entityTypeCode = 'customer_address'; } diff --git a/app/code/Magento/Customer/Model/Address/Mapper.php b/app/code/Magento/Customer/Model/Address/Mapper.php index a8f1433b7d64b..f1128b5d37def 100644 --- a/app/code/Magento/Customer/Model/Address/Mapper.php +++ b/app/code/Magento/Customer/Model/Address/Mapper.php @@ -13,19 +13,16 @@ /** * Class Mapper converts Address Service Data Object to an array - * @since 2.0.0 */ class Mapper { /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ private $extensibleDataObjectConverter; /** * @param ExtensibleDataObjectConverter $extensibleDataObjectConverter - * @since 2.0.0 */ public function __construct(ExtensibleDataObjectConverter $extensibleDataObjectConverter) { @@ -39,7 +36,6 @@ public function __construct(ExtensibleDataObjectConverter $extensibleDataObjectC * @return array * TODO:: Add concrete type of AddressInterface for $addressDataObject parameter once * all references have been refactored. - * @since 2.0.0 */ public function toFlatArray($addressDataObject) { diff --git a/app/code/Magento/Customer/Model/AddressRegistry.php b/app/code/Magento/Customer/Model/AddressRegistry.php index e6f11a5328359..1fed9d5b6b545 100644 --- a/app/code/Magento/Customer/Model/AddressRegistry.php +++ b/app/code/Magento/Customer/Model/AddressRegistry.php @@ -10,25 +10,21 @@ /** * Registry for Address models - * @since 2.0.0 */ class AddressRegistry { /** * @var Address[] - * @since 2.0.0 */ protected $registry = []; /** * @var AddressFactory - * @since 2.0.0 */ protected $addressFactory; /** * @param AddressFactory $addressFactory - * @since 2.0.0 */ public function __construct(AddressFactory $addressFactory) { @@ -41,7 +37,6 @@ public function __construct(AddressFactory $addressFactory) * @param int $addressId * @return Address * @throws NoSuchEntityException - * @since 2.0.0 */ public function retrieve($addressId) { @@ -62,7 +57,6 @@ public function retrieve($addressId) * * @param int $addressId * @return void - * @since 2.0.0 */ public function remove($addressId) { @@ -74,7 +68,6 @@ public function remove($addressId) * * @param Address $address * @return $this - * @since 2.0.0 */ public function push(Address $address) { diff --git a/app/code/Magento/Customer/Model/App/Action/ContextPlugin.php b/app/code/Magento/Customer/Model/App/Action/ContextPlugin.php index 9b1a560901009..ca371276a5754 100644 --- a/app/code/Magento/Customer/Model/App/Action/ContextPlugin.php +++ b/app/code/Magento/Customer/Model/App/Action/ContextPlugin.php @@ -15,26 +15,22 @@ /** * Class ContextPlugin - * @since 2.0.0 */ class ContextPlugin { /** * @var Session - * @since 2.0.0 */ protected $customerSession; /** * @var HttpContext - * @since 2.0.0 */ protected $httpContext; /** * @param Session $customerSession * @param HttpContext $httpContext - * @since 2.0.0 */ public function __construct(Session $customerSession, HttpContext $httpContext) { diff --git a/app/code/Magento/Customer/Model/Attribute.php b/app/code/Magento/Customer/Model/Attribute.php index 3a48110fb5977..353ac029f340a 100644 --- a/app/code/Magento/Customer/Model/Attribute.php +++ b/app/code/Magento/Customer/Model/Attribute.php @@ -14,7 +14,6 @@ * * @method int getSortOrder() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\Attribute { @@ -27,7 +26,6 @@ class Attribute extends \Magento\Eav\Model\Attribute * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'customer_entity_attribute'; @@ -35,13 +33,11 @@ class Attribute extends \Magento\Eav\Model\Attribute * Prefix of model events object * * @var string - * @since 2.0.0 */ protected $_eventObject = 'attribute'; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -76,7 +72,6 @@ class Attribute extends \Magento\Eav\Model\Attribute * @param array|null $data * @param \Magento\Customer\Model\Metadata\AttributeMetadataCache|null $attributeMetadataCache * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -131,7 +126,6 @@ public function __construct( * Init resource model * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -140,7 +134,6 @@ protected function _construct() /** * @inheritdoc - * @since 2.0.0 */ public function afterSave() { @@ -167,7 +160,6 @@ public function afterDelete() * Init indexing process after customer delete * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -181,7 +173,6 @@ public function afterDeleteCommit() * Init indexing process after customer save * * @return void - * @since 2.0.0 */ public function invalidate() { @@ -194,7 +185,6 @@ public function invalidate() * Check whether attribute is searchable in admin grid and it is allowed * * @return bool - * @since 2.0.0 */ public function canBeSearchableInGrid() { @@ -205,7 +195,6 @@ public function canBeSearchableInGrid() * Check whether attribute is filterable in admin grid and it is allowed * * @return bool - * @since 2.0.0 */ public function canBeFilterableInGrid() { @@ -215,7 +204,7 @@ public function canBeFilterableInGrid() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __sleep() { @@ -228,7 +217,7 @@ public function __sleep() /** * @inheritdoc - * @since 2.1.0 + * @since 2.0.9 */ public function __wakeup() { diff --git a/app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php b/app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php index 49d8dd2ef2290..c62d724178378 100644 --- a/app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php +++ b/app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php @@ -9,7 +9,6 @@ * Boolean customer attribute backend model * * @author Magento Core Team - * @since 2.0.0 */ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -18,7 +17,6 @@ class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBacken * * @param \Magento\Customer\Model\Customer $customer * @return $this - * @since 2.0.0 */ public function beforeSave($customer) { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/AbstractData.php b/app/code/Magento/Customer/Model/Attribute/Data/AbstractData.php index becf31cc09b9d..44f429f050884 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/AbstractData.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/AbstractData.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\AbstractData * - * @since 2.0.0 */ abstract class AbstractData extends \Magento\Eav\Model\Attribute\Data\AbstractData { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Boolean.php b/app/code/Magento/Customer/Model/Attribute/Data/Boolean.php index 78d186164eaa3..86146b974ce43 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Boolean.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Boolean.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Boolean * - * @since 2.0.0 */ class Boolean extends \Magento\Eav\Model\Attribute\Data\Boolean { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Date.php b/app/code/Magento/Customer/Model/Attribute/Data/Date.php index f6d3a347d3c21..7734f8ea21d7e 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Date.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Date.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Date * - * @since 2.0.0 */ class Date extends \Magento\Eav\Model\Attribute\Data\Date { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/File.php b/app/code/Magento/Customer/Model/Attribute/Data/File.php index e5982a8414ca9..40797961ba9a6 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/File.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/File.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\File * - * @since 2.0.0 */ class File extends \Magento\Eav\Model\Attribute\Data\File { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Hidden.php b/app/code/Magento/Customer/Model/Attribute/Data/Hidden.php index 12d7bb253afc4..ce0cfda881b44 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Hidden.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Hidden.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Hidden * - * @since 2.0.0 */ class Hidden extends \Magento\Eav\Model\Attribute\Data\Hidden { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Image.php b/app/code/Magento/Customer/Model/Attribute/Data/Image.php index 64904bb156fa9..83bed44c11b73 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Image.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Image.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Image * - * @since 2.0.0 */ class Image extends \Magento\Eav\Model\Attribute\Data\Image { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Multiline.php b/app/code/Magento/Customer/Model/Attribute/Data/Multiline.php index b358e49208369..384fc316858cd 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Multiline.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Multiline.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Multiline * - * @since 2.0.0 */ class Multiline extends \Magento\Eav\Model\Attribute\Data\Multiline { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Multiselect.php b/app/code/Magento/Customer/Model/Attribute/Data/Multiselect.php index 60b594ba69a32..2e3bf1ca32a95 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Multiselect.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Multiselect.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Multiselect * - * @since 2.0.0 */ class Multiselect extends \Magento\Eav\Model\Attribute\Data\Multiselect { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Postcode.php b/app/code/Magento/Customer/Model/Attribute/Data/Postcode.php index 59af21139557b..380b8a4d3446f 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Postcode.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Postcode.php @@ -15,13 +15,11 @@ /** * Customer Address Postal/Zip Code Attribute Data Model * This Data Model Has to Be Set Up in additional EAV attribute table - * @since 2.0.0 */ class Postcode extends \Magento\Eav\Model\Attribute\Data\AbstractData { /** * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $directoryHelper; @@ -30,7 +28,6 @@ class Postcode extends \Magento\Eav\Model\Attribute\Data\AbstractData * @param PsrLogger $logger * @param ResolverInterface $localeResolver * @param DirectoryHelper $directoryHelper - * @since 2.0.0 */ public function __construct( MagentoTimezone $localeDate, @@ -48,7 +45,6 @@ public function __construct( * * @param array|string $value * @return array|bool - * @since 2.0.0 */ public function validateValue($value) { @@ -75,7 +71,6 @@ public function validateValue($value) * * @param RequestInterface $request * @return array|string - * @since 2.0.0 */ public function extractValue(RequestInterface $request) { @@ -88,7 +83,6 @@ public function extractValue(RequestInterface $request) * * @param array|string $value * @return $this - * @since 2.0.0 */ public function compactValue($value) { @@ -103,7 +97,6 @@ public function compactValue($value) * * @param array|string $value * @return $this - * @since 2.0.0 */ public function restoreValue($value) { @@ -116,7 +109,6 @@ public function restoreValue($value) * @param string $format * @return string|array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function outputValue($format = AttributeDataFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Select.php b/app/code/Magento/Customer/Model/Attribute/Data/Select.php index 8eeb90a6ad446..26d42ca7d0ca0 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Select.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Select.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Select * - * @since 2.0.0 */ class Select extends \Magento\Eav\Model\Attribute\Data\Select { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Text.php b/app/code/Magento/Customer/Model/Attribute/Data/Text.php index 8cec496424852..1753b32ad84c3 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Text.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Text.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Text * - * @since 2.0.0 */ class Text extends \Magento\Eav\Model\Attribute\Data\Text { diff --git a/app/code/Magento/Customer/Model/Attribute/Data/Textarea.php b/app/code/Magento/Customer/Model/Attribute/Data/Textarea.php index 09994d70d2665..ffc4adb1db792 100644 --- a/app/code/Magento/Customer/Model/Attribute/Data/Textarea.php +++ b/app/code/Magento/Customer/Model/Attribute/Data/Textarea.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Attribute\Data\Textarea * - * @since 2.0.0 */ class Textarea extends \Magento\Eav\Model\Attribute\Data\Textarea { diff --git a/app/code/Magento/Customer/Model/AttributeMetadataConverter.php b/app/code/Magento/Customer/Model/AttributeMetadataConverter.php index 6740ba0758f6c..44d104659e069 100644 --- a/app/code/Magento/Customer/Model/AttributeMetadataConverter.php +++ b/app/code/Magento/Customer/Model/AttributeMetadataConverter.php @@ -12,31 +12,26 @@ /** * Converter for AttributeMetadata - * @since 2.0.0 */ class AttributeMetadataConverter { /** * @var OptionInterfaceFactory - * @since 2.0.0 */ private $optionFactory; /** * @var ValidationRuleInterfaceFactory - * @since 2.0.0 */ private $validationRuleFactory; /** * @var AttributeMetadataInterfaceFactory - * @since 2.0.0 */ private $attributeMetadataFactory; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -47,7 +42,6 @@ class AttributeMetadataConverter * @param ValidationRuleInterfaceFactory $validationRuleFactory * @param AttributeMetadataInterfaceFactory $attributeMetadataFactory * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( OptionInterfaceFactory $optionFactory, @@ -66,7 +60,6 @@ public function __construct( * * @param \Magento\Customer\Model\Attribute $attribute * @return \Magento\Customer\Api\Data\AttributeMetadataInterface - * @since 2.0.0 */ public function createMetadataAttribute($attribute) { diff --git a/app/code/Magento/Customer/Model/AttributeMetadataDataProvider.php b/app/code/Magento/Customer/Model/AttributeMetadataDataProvider.php index b4ff74bb0cdf6..a5c052ee67a58 100644 --- a/app/code/Magento/Customer/Model/AttributeMetadataDataProvider.php +++ b/app/code/Magento/Customer/Model/AttributeMetadataDataProvider.php @@ -10,25 +10,21 @@ /** * Attribute Metadata data provider class - * @since 2.0.0 */ class AttributeMetadataDataProvider { /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ private $eavConfig; /** * @var \Magento\Customer\Model\ResourceModel\Form\Attribute\CollectionFactory - * @since 2.0.0 */ private $attrFormCollectionFactory; /** * @var \Magento\Store\Model\StoreManager - * @since 2.0.0 */ private $storeManager; @@ -38,7 +34,6 @@ class AttributeMetadataDataProvider * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Customer\Model\ResourceModel\Form\Attribute\CollectionFactory $attrFormCollectionFactory * @param \Magento\Store\Model\StoreManager $storeManager - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Config $eavConfig, @@ -56,7 +51,6 @@ public function __construct( * @param string $entityType * @param string $attributeCode * @return false|AbstractAttribute - * @since 2.0.0 */ public function getAttribute($entityType, $attributeCode) { @@ -70,7 +64,6 @@ public function getAttribute($entityType, $attributeCode) * @param int $attributeSetId * @param string|null $storeId * @return array Attribute codes - * @since 2.0.0 */ public function getAllAttributeCodes($entityType, $attributeSetId = 0, $storeId = null) { @@ -92,7 +85,6 @@ public function getAllAttributeCodes($entityType, $attributeSetId = 0, $storeId * @param string $entityType * @param string $formCode * @return \Magento\Customer\Model\ResourceModel\Form\Attribute\Collection - * @since 2.0.0 */ public function loadAttributesCollection($entityType, $formCode) { diff --git a/app/code/Magento/Customer/Model/Authentication.php b/app/code/Magento/Customer/Model/Authentication.php index 9526567d5b438..1065bed92092d 100644 --- a/app/code/Magento/Customer/Model/Authentication.php +++ b/app/code/Magento/Customer/Model/Authentication.php @@ -64,7 +64,7 @@ class Authentication implements AuthenticationInterface /** * @var CustomerAuthUpdate - * @since 2.2.0 + * @since 2.1.1 */ private $customerAuthUpdate; @@ -195,8 +195,8 @@ public function authenticate($customerId, $password) * Get customer authentication update model * * @return \Magento\Customer\Model\CustomerAuthUpdate - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.1 + * @since 2.1.1 */ private function getCustomerAuthUpdate() { diff --git a/app/code/Magento/Customer/Model/Authorization/CustomerSessionUserContext.php b/app/code/Magento/Customer/Model/Authorization/CustomerSessionUserContext.php index d3ecec5fc8e03..c74060f2562ba 100644 --- a/app/code/Magento/Customer/Model/Authorization/CustomerSessionUserContext.php +++ b/app/code/Magento/Customer/Model/Authorization/CustomerSessionUserContext.php @@ -11,13 +11,11 @@ /** * Session-based customer user context - * @since 2.0.0 */ class CustomerSessionUserContext implements UserContextInterface { /** * @var CustomerSession - * @since 2.0.0 */ protected $_customerSession; @@ -25,7 +23,6 @@ class CustomerSessionUserContext implements UserContextInterface * Initialize dependencies. * * @param CustomerSession $customerSession - * @since 2.0.0 */ public function __construct( CustomerSession $customerSession @@ -35,7 +32,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getUserId() { @@ -44,7 +40,6 @@ public function getUserId() /** * {@inheritdoc} - * @since 2.0.0 */ public function getUserType() { diff --git a/app/code/Magento/Customer/Model/Backend/Customer.php b/app/code/Magento/Customer/Model/Backend/Customer.php index 2409f5af1b237..816b8d73914b1 100644 --- a/app/code/Magento/Customer/Model/Backend/Customer.php +++ b/app/code/Magento/Customer/Model/Backend/Customer.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Model\Backend\Customer * - * @since 2.0.0 */ class Customer extends \Magento\Customer\Model\Customer { @@ -16,7 +15,6 @@ class Customer extends \Magento\Customer\Model\Customer * Get store id * * @return int - * @since 2.0.0 */ public function getStoreId() { diff --git a/app/code/Magento/Customer/Model/Cart/ConfigPlugin.php b/app/code/Magento/Customer/Model/Cart/ConfigPlugin.php index 13dd498bfb020..94952c277f4cd 100644 --- a/app/code/Magento/Customer/Model/Cart/ConfigPlugin.php +++ b/app/code/Magento/Customer/Model/Cart/ConfigPlugin.php @@ -10,19 +10,16 @@ /** * Class \Magento\Customer\Model\Cart\ConfigPlugin * - * @since 2.0.0 */ class ConfigPlugin { /** * @var ConfigProvider - * @since 2.0.0 */ protected $configProvider; /** * @param ConfigProvider $configProvider - * @since 2.0.0 */ public function __construct( ConfigProvider $configProvider @@ -36,7 +33,6 @@ public function __construct( * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function afterGetConfig(\Magento\Checkout\Block\Cart\Sidebar $subject, array $result) { diff --git a/app/code/Magento/Customer/Model/Checkout/ConfigProvider.php b/app/code/Magento/Customer/Model/Checkout/ConfigProvider.php index 8ed4ac0948fd7..e68df76f3cbc0 100644 --- a/app/code/Magento/Customer/Model/Checkout/ConfigProvider.php +++ b/app/code/Magento/Customer/Model/Checkout/ConfigProvider.php @@ -16,25 +16,21 @@ /** * Class \Magento\Customer\Model\Checkout\ConfigProvider * - * @since 2.0.0 */ class ConfigProvider implements ConfigProviderInterface { /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; @@ -42,7 +38,6 @@ class ConfigProvider implements ConfigProviderInterface * @param UrlInterface $urlBuilder * @param StoreManagerInterface $storeManager * @param ScopeConfigInterface $scopeConfig - * @since 2.0.0 */ public function __construct( UrlInterface $urlBuilder, @@ -56,7 +51,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getConfig() { @@ -72,7 +66,6 @@ public function getConfig() * * @return string * @codeCoverageIgnore - * @since 2.0.0 */ protected function isAutocompleteEnabled() { @@ -86,7 +79,6 @@ protected function isAutocompleteEnabled() * Returns URL to login controller action * * @return string - * @since 2.0.0 */ protected function getLoginUrl() { @@ -97,7 +89,6 @@ protected function getLoginUrl() * Whether redirect to login page is required * * @return bool - * @since 2.0.0 */ protected function isRedirectRequired() { diff --git a/app/code/Magento/Customer/Model/Config/Backend/Address/Street.php b/app/code/Magento/Customer/Model/Config/Backend/Address/Street.php index fe958b605bd13..fc0fa3ebc073d 100644 --- a/app/code/Magento/Customer/Model/Config/Backend/Address/Street.php +++ b/app/code/Magento/Customer/Model/Config/Backend/Address/Street.php @@ -11,19 +11,16 @@ * Line count config model for customer address street attribute * * @method string getWebsiteCode() - * @since 2.0.0 */ class Street extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -37,7 +34,6 @@ class Street extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Actions after save * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -87,7 +82,6 @@ public function afterSave() * Processing object after delete data * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDelete() { diff --git a/app/code/Magento/Customer/Model/Config/Backend/CreateAccount/DisableAutoGroupAssignDefault.php b/app/code/Magento/Customer/Model/Config/Backend/CreateAccount/DisableAutoGroupAssignDefault.php index f843fe24f7b74..a1ca482be5f75 100644 --- a/app/code/Magento/Customer/Model/Config/Backend/CreateAccount/DisableAutoGroupAssignDefault.php +++ b/app/code/Magento/Customer/Model/Config/Backend/CreateAccount/DisableAutoGroupAssignDefault.php @@ -8,13 +8,11 @@ /** * Class \Magento\Customer\Model\Config\Backend\CreateAccount\DisableAutoGroupAssignDefault * - * @since 2.0.0 */ class DisableAutoGroupAssignDefault extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; @@ -27,7 +25,6 @@ class DisableAutoGroupAssignDefault extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -47,7 +44,6 @@ public function __construct( * Save EAV default value after save * * @return $this - * @since 2.0.0 */ public function afterSave() { diff --git a/app/code/Magento/Customer/Model/Config/Backend/Password/Link/Expirationperiod.php b/app/code/Magento/Customer/Model/Config/Backend/Password/Link/Expirationperiod.php index 409e74cffe598..eb816fdd8362a 100644 --- a/app/code/Magento/Customer/Model/Config/Backend/Password/Link/Expirationperiod.php +++ b/app/code/Magento/Customer/Model/Config/Backend/Password/Link/Expirationperiod.php @@ -9,7 +9,6 @@ * Customer Reset Password Link Expiration period backend model * * @author Magento Core Team - * @since 2.0.0 */ class Expirationperiod extends \Magento\Framework\App\Config\Value { @@ -17,7 +16,6 @@ class Expirationperiod extends \Magento\Framework\App\Config\Value * Validate expiration period value before saving * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Customer/Model/Config/Backend/Show/Address.php b/app/code/Magento/Customer/Model/Config/Backend/Show/Address.php index 556983985f2a1..e461643a23beb 100644 --- a/app/code/Magento/Customer/Model/Config/Backend/Show/Address.php +++ b/app/code/Magento/Customer/Model/Config/Backend/Show/Address.php @@ -11,7 +11,6 @@ * Customer Show Address Model * * @author Magento Core Team - * @since 2.0.0 */ class Address extends Customer { @@ -19,7 +18,6 @@ class Address extends Customer * Retrieve attribute objects * * @return AbstractAttribute[] - * @since 2.0.0 */ protected function _getAttributeObjects() { diff --git a/app/code/Magento/Customer/Model/Config/Backend/Show/Customer.php b/app/code/Magento/Customer/Model/Config/Backend/Show/Customer.php index 35fa30c5bcd5a..102a78d5ea3d2 100644 --- a/app/code/Magento/Customer/Model/Config/Backend/Show/Customer.php +++ b/app/code/Magento/Customer/Model/Config/Backend/Show/Customer.php @@ -11,19 +11,16 @@ * Customer Show Customer Model * * @author Magento Core Team - * @since 2.0.0 */ class Customer extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -37,7 +34,6 @@ class Customer extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Retrieve attribute code * * @return string - * @since 2.0.0 */ protected function _getAttributeCode() { @@ -70,7 +65,6 @@ protected function _getAttributeCode() * Retrieve attribute objects * * @return AbstractAttribute[] - * @since 2.0.0 */ protected function _getAttributeObjects() { @@ -81,7 +75,6 @@ protected function _getAttributeObjects() * Actions after save * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -126,7 +119,6 @@ public function afterSave() * Processing object after delete data * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDelete() { diff --git a/app/code/Magento/Customer/Model/Config/Share.php b/app/code/Magento/Customer/Model/Config/Share.php index b26477e4ccf22..e5dda28afa095 100644 --- a/app/code/Magento/Customer/Model/Config/Share.php +++ b/app/code/Magento/Customer/Model/Config/Share.php @@ -9,7 +9,6 @@ * Customer sharing config model * * @author Magento Core Team - * @since 2.0.0 */ class Share extends \Magento\Framework\App\Config\Value implements \Magento\Framework\Option\ArrayInterface { @@ -29,13 +28,11 @@ class Share extends \Magento\Framework\App\Config\Value implements \Magento\Fram /** * @var \Magento\Customer\Model\ResourceModel\Customer - * @since 2.0.0 */ protected $_customerResource; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; @@ -51,7 +48,6 @@ class Share extends \Magento\Framework\App\Config\Value implements \Magento\Fram * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -73,7 +69,6 @@ public function __construct( * Check whether current customers sharing scope is global * * @return bool - * @since 2.0.0 */ public function isGlobalScope() { @@ -84,7 +79,6 @@ public function isGlobalScope() * Check whether current customers sharing scope is website * * @return bool - * @since 2.0.0 */ public function isWebsiteScope() { @@ -98,7 +92,6 @@ public function isWebsiteScope() * Get possible sharing configuration options * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -110,7 +103,6 @@ public function toOptionArray() * * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave() { @@ -134,7 +126,6 @@ public function beforeSave() * * @param int $websiteId the ID to use if website scope is on * @return int[] - * @since 2.0.0 */ public function getSharedWebsiteIds($websiteId) { diff --git a/app/code/Magento/Customer/Model/Config/Source/Address/Type.php b/app/code/Magento/Customer/Model/Config/Source/Address/Type.php index 6bf396f33206e..359c9298c804a 100644 --- a/app/code/Magento/Customer/Model/Config/Source/Address/Type.php +++ b/app/code/Magento/Customer/Model/Config/Source/Address/Type.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Config\Source\Address\Type * - * @since 2.0.0 */ class Type implements \Magento\Framework\Option\ArrayInterface { @@ -22,7 +21,6 @@ class Type implements \Magento\Framework\Option\ArrayInterface * Retrieve possible customer address types * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Customer/Model/Config/Source/Group.php b/app/code/Magento/Customer/Model/Config/Source/Group.php index 751f263dc9f00..0efd97b527de6 100644 --- a/app/code/Magento/Customer/Model/Config/Source/Group.php +++ b/app/code/Magento/Customer/Model/Config/Source/Group.php @@ -12,27 +12,23 @@ /** * Class \Magento\Customer\Model\Config\Source\Group * - * @since 2.0.0 */ class Group implements \Magento\Framework\Option\ArrayInterface { /** * @var array - * @since 2.0.0 */ protected $_options; /** * @deprecated 2.2.0 * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @deprecated 2.2.0 * @var \Magento\Framework\Convert\DataObject - * @since 2.0.0 */ protected $_converter; @@ -46,7 +42,6 @@ class Group implements \Magento\Framework\Option\ArrayInterface * @param GroupManagementInterface $groupManagement * @param \Magento\Framework\Convert\DataObject $converter * @param GroupSourceLoggedInOnlyInterface $groupSourceForLoggedInCustomers - * @since 2.0.0 */ public function __construct( GroupManagementInterface $groupManagement, @@ -61,7 +56,6 @@ public function __construct( /** * @inheritdoc - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Customer/Model/Config/Source/Group/Multiselect.php b/app/code/Magento/Customer/Model/Config/Source/Group/Multiselect.php index 3e348554bbdb2..2e3b2c5b920ef 100644 --- a/app/code/Magento/Customer/Model/Config/Source/Group/Multiselect.php +++ b/app/code/Magento/Customer/Model/Config/Source/Group/Multiselect.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Model\Config\Source\Group\Multiselect * - * @since 2.0.0 */ class Multiselect implements \Magento\Framework\Option\ArrayInterface { @@ -20,21 +19,18 @@ class Multiselect implements \Magento\Framework\Option\ArrayInterface * Customer groups options array * * @var null|array - * @since 2.0.0 */ protected $_options; /** * @deprecated 2.2.0 * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @deprecated 2.2.0 * @var \Magento\Framework\Convert\DataObject - * @since 2.0.0 */ protected $_converter; @@ -48,7 +44,6 @@ class Multiselect implements \Magento\Framework\Option\ArrayInterface * @param GroupManagementInterface $groupManagement * @param \Magento\Framework\Convert\DataObject $converter * @param GroupSourceLoggedInOnlyInterface|null $groupSourceLoggedInOnly - * @since 2.0.0 */ public function __construct( GroupManagementInterface $groupManagement, @@ -65,7 +60,6 @@ public function __construct( * Retrieve customer groups as array * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Customer/Model/Context.php b/app/code/Magento/Customer/Model/Context.php index 8dcdd8d02d5ab..0a8abfa62fbaf 100644 --- a/app/code/Magento/Customer/Model/Context.php +++ b/app/code/Magento/Customer/Model/Context.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Model\Context * - * @since 2.0.0 */ class Context { diff --git a/app/code/Magento/Customer/Model/Customer.php b/app/code/Magento/Customer/Model/Customer.php index ccdf3f92b3a5b..c0991233327bb 100644 --- a/app/code/Magento/Customer/Model/Customer.php +++ b/app/code/Magento/Customer/Model/Customer.php @@ -40,7 +40,6 @@ * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Customer extends \Magento\Framework\Model\AbstractModel { @@ -84,7 +83,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Model event prefix * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'customer'; @@ -92,7 +90,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Name of the event object * * @var string - * @since 2.0.0 */ protected $_eventObject = 'customer'; @@ -100,7 +97,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * List of errors * * @var array - * @since 2.0.0 */ protected $_errors = []; @@ -108,7 +104,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Assoc array of customer attributes * * @var array - * @since 2.0.0 */ protected $_attributes; @@ -116,7 +111,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Customer addresses collection * * @var \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ protected $_addressesCollection; @@ -124,7 +118,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Is model deletable * * @var boolean - * @since 2.0.0 */ protected $_isDeleteable = true; @@ -132,103 +125,86 @@ class Customer extends \Magento\Framework\Model\AbstractModel * Is model readonly * * @var boolean - * @since 2.0.0 */ protected $_isReadonly = false; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_config; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var Share - * @since 2.0.0 */ protected $_configShare; /** * @var AddressFactory - * @since 2.0.0 */ protected $_addressFactory; /** * @var CollectionFactory - * @since 2.0.0 */ protected $_addressesFactory; /** * @var \Magento\Framework\Mail\Template\TransportBuilder - * @since 2.0.0 */ protected $_transportBuilder; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $_groupRepository; /** * @var \Magento\Framework\Encryption\EncryptorInterface - * @since 2.0.0 */ protected $_encryptor; /** * @var \Magento\Framework\Math\Random - * @since 2.0.0 */ protected $mathRandom; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerDataFactory; /** * @var DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var \Magento\Customer\Api\CustomerMetadataInterface - * @since 2.0.0 */ protected $metadataService; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -255,7 +231,6 @@ class Customer extends \Magento\Framework\Model\AbstractModel * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -307,7 +282,6 @@ public function __construct( * Initialize customer model * * @return void - * @since 2.0.0 */ public function _construct() { @@ -318,7 +292,6 @@ public function _construct() * Retrieve customer model with customer data * * @return \Magento\Customer\Api\Data\CustomerInterface - * @since 2.0.0 */ public function getDataModel() { @@ -344,7 +317,6 @@ public function getDataModel() * * @param \Magento\Customer\Api\Data\CustomerInterface $customer * @return $this - * @since 2.0.0 */ public function updateData($customer) { @@ -386,7 +358,6 @@ public function updateData($customer) * Retrieve customer sharing configuration model * * @return Share - * @since 2.0.0 */ public function getSharingConfig() { @@ -401,7 +372,6 @@ public function getSharingConfig() * @return bool * @throws \Magento\Framework\Exception\LocalizedException * Use \Magento\Customer\Api\AccountManagementInterface::authenticate - * @since 2.0.0 */ public function authenticate($login, $password) { @@ -429,7 +399,6 @@ public function authenticate($login, $password) * * @param string $customerEmail * @return $this - * @since 2.0.0 */ public function loadByEmail($customerEmail) { @@ -442,7 +411,6 @@ public function loadByEmail($customerEmail) * * @param string $newPassword * @return $this - * @since 2.0.0 */ public function changePassword($newPassword) { @@ -454,7 +422,6 @@ public function changePassword($newPassword) * Get full customer name * * @return string - * @since 2.0.0 */ public function getName() { @@ -479,7 +446,6 @@ public function getName() * * @param Address $address * @return $this - * @since 2.0.0 */ public function addAddress(Address $address) { @@ -492,7 +458,6 @@ public function addAddress(Address $address) * * @param int $addressId * @return Address - * @since 2.0.0 */ public function getAddressById($addressId) { @@ -504,7 +469,6 @@ public function getAddressById($addressId) * * @param int $addressId * @return Address - * @since 2.0.0 */ public function getAddressItemById($addressId) { @@ -515,7 +479,6 @@ public function getAddressItemById($addressId) * Retrieve not loaded address collection * * @return \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ public function getAddressCollection() { @@ -526,7 +489,6 @@ public function getAddressCollection() * Customer addresses collection * * @return \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ public function getAddressesCollection() { @@ -548,7 +510,6 @@ public function getAddressesCollection() * Retrieve customer address array * * @return \Magento\Framework\DataObject[] - * @since 2.0.0 */ public function getAddresses() { @@ -559,7 +520,6 @@ public function getAddresses() * Retrieve all customer attributes * * @return Attribute[] - * @since 2.0.0 */ public function getAttributes() { @@ -574,7 +534,6 @@ public function getAttributes() * * @param string $attributeCode * @return \Magento\Customer\Model\ResourceModel\Attribute | null - * @since 2.0.0 */ public function getAttribute($attributeCode) { @@ -590,7 +549,6 @@ public function getAttribute($attributeCode) * * @param string $password * @return $this - * @since 2.0.0 */ public function setPassword($password) { @@ -605,7 +563,6 @@ public function setPassword($password) * @param string $password * @param bool|int|string $salt * @return string - * @since 2.0.0 */ public function hashPassword($password, $salt = true) { @@ -617,7 +574,6 @@ public function hashPassword($password, $salt = true) * * @param string $password * @return boolean - * @since 2.0.0 */ public function validatePassword($password) { @@ -633,7 +589,6 @@ public function validatePassword($password) * * @param string $password * @return string - * @since 2.0.0 */ public function encryptPassword($password) { @@ -645,7 +600,6 @@ public function encryptPassword($password) * * @param string $password * @return string - * @since 2.0.0 */ public function decryptPassword($password) { @@ -657,7 +611,6 @@ public function decryptPassword($password) * * @param string $attributeCode address type attribute code * @return Address|false - * @since 2.0.0 */ public function getPrimaryAddress($attributeCode) { @@ -670,7 +623,6 @@ public function getPrimaryAddress($attributeCode) * Get customer default billing address * * @return Address - * @since 2.0.0 */ public function getPrimaryBillingAddress() { @@ -681,7 +633,6 @@ public function getPrimaryBillingAddress() * Get customer default billing address * * @return Address - * @since 2.0.0 */ public function getDefaultBillingAddress() { @@ -692,7 +643,6 @@ public function getDefaultBillingAddress() * Get default customer shipping address * * @return Address - * @since 2.0.0 */ public function getPrimaryShippingAddress() { @@ -703,7 +653,6 @@ public function getPrimaryShippingAddress() * Get default customer shipping address * * @return Address - * @since 2.0.0 */ public function getDefaultShippingAddress() { @@ -714,7 +663,6 @@ public function getDefaultShippingAddress() * Retrieve ids of default addresses * * @return array - * @since 2.0.0 */ public function getPrimaryAddressIds() { @@ -732,7 +680,6 @@ public function getPrimaryAddressIds() * Retrieve all customer default addresses * * @return Address[] - * @since 2.0.0 */ public function getPrimaryAddresses() { @@ -759,7 +706,6 @@ public function getPrimaryAddresses() * Retrieve not default addresses * * @return Address[] - * @since 2.0.0 */ public function getAdditionalAddresses() { @@ -778,7 +724,6 @@ public function getAdditionalAddresses() * * @param Address $address * @return boolean - * @since 2.0.0 */ public function isAddressPrimary(Address $address) { @@ -796,7 +741,6 @@ public function isAddressPrimary(Address $address) * @param string $storeId * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeId = '0') { @@ -826,7 +770,6 @@ public function sendNewAccountEmail($type = 'registered', $backUrl = '', $storeI * Check if accounts confirmation is required in config * * @return bool - * @since 2.0.0 */ public function isConfirmationRequired() { @@ -847,7 +790,6 @@ public function isConfirmationRequired() * Generate random confirmation key * * @return string - * @since 2.0.0 */ public function getRandomConfirmationKey() { @@ -858,7 +800,6 @@ public function getRandomConfirmationKey() * Send email with new customer password * * @return $this - * @since 2.0.0 */ public function sendPasswordReminderEmail() { @@ -880,7 +821,6 @@ public function sendPasswordReminderEmail() * @param array $templateParams * @param int|null $storeId * @return $this - * @since 2.0.0 */ protected function _sendEmailTemplate($template, $sender, $templateParams = [], $storeId = null) { @@ -906,7 +846,6 @@ protected function _sendEmailTemplate($template, $sender, $templateParams = [], * Send email with reset password confirmation link * * @return $this - * @since 2.0.0 */ public function sendPasswordResetConfirmationEmail() { @@ -929,7 +868,6 @@ public function sendPasswordResetConfirmationEmail() * Retrieve customer group identifier * * @return int - * @since 2.0.0 */ public function getGroupId() { @@ -949,7 +887,6 @@ public function getGroupId() * Retrieve customer tax class identifier * * @return int - * @since 2.0.0 */ public function getTaxClassId() { @@ -964,7 +901,6 @@ public function getTaxClassId() * Retrieve store where customer was created * * @return \Magento\Store\Model\Store - * @since 2.0.0 */ public function getStore() { @@ -975,7 +911,6 @@ public function getStore() * Retrieve shared store ids * * @return array - * @since 2.0.0 */ public function getSharedStoreIds() { @@ -999,7 +934,6 @@ public function getSharedStoreIds() * Retrieve shared website ids * * @return int[] - * @since 2.0.0 */ public function getSharedWebsiteIds() { @@ -1023,7 +957,6 @@ public function getSharedWebsiteIds() * * @param \Magento\Store\Model\Store $store * @return $this - * @since 2.0.0 */ public function setStore(\Magento\Store\Model\Store $store) { @@ -1037,7 +970,6 @@ public function setStore(\Magento\Store\Model\Store $store) * * @deprecated 2.1.0 * @return bool - * @since 2.0.0 */ public function validate() { @@ -1048,7 +980,6 @@ public function validate() * Unset subscription * * @return $this - * @since 2.0.0 */ public function unsetSubscription() { @@ -1062,7 +993,6 @@ public function unsetSubscription() * Clean all addresses * * @return void - * @since 2.0.0 */ public function cleanAllAddresses() { @@ -1074,7 +1004,6 @@ public function cleanAllAddresses() * * @param mixed $error * @return $this - * @since 2.0.0 */ public function addError($error) { @@ -1086,7 +1015,6 @@ public function addError($error) * Retrieve errors * * @return array - * @since 2.0.0 */ public function getErrors() { @@ -1097,7 +1025,6 @@ public function getErrors() * Reset errors array * * @return $this - * @since 2.0.0 */ public function resetErrors() { @@ -1109,7 +1036,6 @@ public function resetErrors() * Prepare customer for delete * * @return $this - * @since 2.0.0 */ public function beforeDelete() { @@ -1121,7 +1047,6 @@ public function beforeDelete() * Processing object after save data * * @return $this - * @since 2.0.0 */ public function afterSave() { @@ -1136,7 +1061,6 @@ public function afterSave() * Init indexing process after customer delete * * @return \Magento\Framework\Model\AbstractModel - * @since 2.0.0 */ public function afterDeleteCommit() { @@ -1148,7 +1072,6 @@ public function afterDeleteCommit() * Init indexing process after customer save * * @return void - * @since 2.0.0 */ public function reindex() { @@ -1161,7 +1084,6 @@ public function reindex() * Get customer created at date timestamp * * @return int|null - * @since 2.0.0 */ public function getCreatedAtTimestamp() { @@ -1176,7 +1098,6 @@ public function getCreatedAtTimestamp() * Reset all model data * * @return $this - * @since 2.0.0 */ public function reset() { @@ -1191,7 +1112,6 @@ public function reset() * Checks model is deletable * * @return boolean - * @since 2.0.0 */ public function isDeleteable() { @@ -1203,7 +1123,6 @@ public function isDeleteable() * * @param boolean $value * @return $this - * @since 2.0.0 */ public function setIsDeleteable($value) { @@ -1215,7 +1134,6 @@ public function setIsDeleteable($value) * Checks model is readonly * * @return boolean - * @since 2.0.0 */ public function isReadonly() { @@ -1227,7 +1145,6 @@ public function isReadonly() * * @param boolean $value * @return $this - * @since 2.0.0 */ public function setIsReadonly($value) { @@ -1239,7 +1156,6 @@ public function setIsReadonly($value) * Check whether confirmation may be skipped when registering using certain email address * * @return bool - * @since 2.0.0 */ protected function canSkipConfirmation() { @@ -1262,7 +1178,6 @@ protected function canSkipConfirmation() * Clone current object * * @return void - * @since 2.0.0 */ public function __clone() { @@ -1279,7 +1194,6 @@ public function __clone() * Return Entity Type instance * * @return \Magento\Eav\Model\Entity\Type - * @since 2.0.0 */ public function getEntityType() { @@ -1292,7 +1206,6 @@ public function getEntityType() * @param int|string|null $defaultStoreId * * @return int - * @since 2.0.0 */ protected function _getWebsiteStoreId($defaultStoreId = null) { @@ -1312,7 +1225,6 @@ protected function _getWebsiteStoreId($defaultStoreId = null) * @param string $passwordLinkToken * @return $this * @throws \Magento\Framework\Exception\AuthenticationException - * @since 2.0.0 */ public function changeResetPasswordLinkToken($passwordLinkToken) { @@ -1329,7 +1241,6 @@ public function changeResetPasswordLinkToken($passwordLinkToken) * Check if current reset password link token is expired * * @return boolean - * @since 2.0.0 */ public function isResetPasswordLinkTokenExpired() { @@ -1360,7 +1271,6 @@ public function isResetPasswordLinkTokenExpired() * Retrieve customer reset password link expiration period in days * * @return int - * @since 2.0.0 */ public function getResetPasswordLinkExpirationPeriod() { @@ -1372,7 +1282,6 @@ public function getResetPasswordLinkExpirationPeriod() /** * @return Address - * @since 2.0.0 */ protected function _createAddressInstance() { @@ -1381,7 +1290,6 @@ protected function _createAddressInstance() /** * @return \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ protected function _createAddressCollection() { @@ -1390,7 +1298,6 @@ protected function _createAddressCollection() /** * @return array - * @since 2.0.0 */ protected function getTemplateTypes() { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Billing.php b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Billing.php index 5f12428f095b8..8aefd506194fc 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Billing.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Billing.php @@ -9,14 +9,12 @@ * Customer default billing address backend * * @author Magento Core Team - * @since 2.0.0 */ class Billing extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @param \Magento\Framework\DataObject $object * @return void - * @since 2.0.0 */ public function beforeSave($object) { @@ -29,7 +27,6 @@ public function beforeSave($object) /** * @param \Magento\Framework\DataObject $object * @return void - * @since 2.0.0 */ public function afterSave($object) { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Password.php b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Password.php index 6c506970162f4..a7542540a211c 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Password.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Password.php @@ -10,7 +10,6 @@ /** * @deprecated 2.2.0 * Customer password attribute backend - * @since 2.0.0 */ class Password extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { @@ -23,13 +22,11 @@ class Password extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBacke * Magento string lib * * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $string; /** * @param \Magento\Framework\Stdlib\StringUtils $string - * @since 2.0.0 */ public function __construct(\Magento\Framework\Stdlib\StringUtils $string) { @@ -44,7 +41,6 @@ public function __construct(\Magento\Framework\Stdlib\StringUtils $string) * @param \Magento\Framework\DataObject $object * @return void * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function beforeSave($object) { @@ -70,7 +66,6 @@ public function beforeSave($object) * @deprecated 2.2.0 * @param \Magento\Framework\DataObject $object * @return bool - * @since 2.0.0 */ public function validate($object) { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Shipping.php b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Shipping.php index 0684b9b882a3e..5fcb5189c0740 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Shipping.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Shipping.php @@ -9,14 +9,12 @@ * Customer default shipping address backend * * @author Magento Core Team - * @since 2.0.0 */ class Shipping extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @param \Magento\Framework\DataObject $object * @return void - * @since 2.0.0 */ public function beforeSave($object) { @@ -29,7 +27,6 @@ public function beforeSave($object) /** * @param \Magento\Framework\DataObject $object * @return void - * @since 2.0.0 */ public function afterSave($object) { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Store.php b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Store.php index 0f085299cb93d..34374e1bfbf60 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Store.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Store.php @@ -9,19 +9,16 @@ * Store attribute backend * * @author Magento Core Team - * @since 2.0.0 */ class Store extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Website.php b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Website.php index 20b8b26834902..94152b054d688 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Website.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Website.php @@ -9,19 +9,16 @@ * Website attribute backend * * @author Magento Core Team - * @since 2.0.0 */ class Website extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $_storeManager; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Store\Model\StoreManagerInterface $storeMan * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Group.php b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Group.php index 10bcf1fe85cf5..e70fc30d7a528 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Group.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Group.php @@ -11,19 +11,16 @@ * Customer group attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Group extends \Magento\Eav\Model\Entity\Attribute\Source\Table implements GroupSourceLoggedInOnlyInterface { /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @var \Magento\Framework\Convert\DataObject - * @since 2.0.0 */ protected $_converter; @@ -32,7 +29,6 @@ class Group extends \Magento\Eav\Model\Entity\Attribute\Source\Table implements * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory $attrOptionFactory * @param GroupManagementInterface $groupManagement * @param \Magento\Framework\Convert\DataObject $converter - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -47,7 +43,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getAllOptions() { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Store.php b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Store.php index 53fa816f0d227..1845ba36d46c1 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Store.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Store.php @@ -9,19 +9,16 @@ * Customer store attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Store extends \Magento\Eav\Model\Entity\Attribute\Source\Table { /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_store; /** * @var \Magento\Store\Model\ResourceModel\Store\CollectionFactory - * @since 2.0.0 */ protected $_storesFactory; @@ -30,7 +27,6 @@ class Store extends \Magento\Eav\Model\Entity\Attribute\Source\Table * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory $attrOptionFactory * @param \Magento\Store\Model\System\Store $store * @param \Magento\Store\Model\ResourceModel\Store\CollectionFactory $storesFactory - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -45,7 +41,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -65,7 +60,6 @@ public function getAllOptions() /** * @param string $value * @return array|string - * @since 2.0.0 */ public function getOptionText($value) { @@ -102,7 +96,6 @@ public function getOptionText($value) /** * @return \Magento\Store\Model\ResourceModel\Store\Collection - * @since 2.0.0 */ protected function _createStoresCollection() { diff --git a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Website.php b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Website.php index ff722081ba15c..d670ed73db654 100644 --- a/app/code/Magento/Customer/Model/Customer/Attribute/Source/Website.php +++ b/app/code/Magento/Customer/Model/Customer/Attribute/Source/Website.php @@ -9,13 +9,11 @@ * Customer website attribute source * * @author Magento Core Team - * @since 2.0.0 */ class Website extends \Magento\Eav\Model\Entity\Attribute\Source\Table { /** * @var \Magento\Store\Model\System\Store - * @since 2.0.0 */ protected $_store; @@ -23,7 +21,6 @@ class Website extends \Magento\Eav\Model\Entity\Attribute\Source\Table * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory $attrOptionFactory * @param \Magento\Store\Model\System\Store $store - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -36,7 +33,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -50,7 +46,6 @@ public function getAllOptions() /** * @param int|string $value * @return string|false - * @since 2.0.0 */ public function getOptionText($value) { diff --git a/app/code/Magento/Customer/Model/Customer/DataProvider.php b/app/code/Magento/Customer/Model/Customer/DataProvider.php index 201221ee4dbb9..7cb797a4292f4 100644 --- a/app/code/Magento/Customer/Model/Customer/DataProvider.php +++ b/app/code/Magento/Customer/Model/Customer/DataProvider.php @@ -33,7 +33,6 @@ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider { @@ -44,25 +43,21 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider /** * @var Collection - * @since 2.0.0 */ protected $collection; /** * @var Config - * @since 2.0.0 */ protected $eavConfig; /** * @var FilterPool - * @since 2.0.0 */ protected $filterPool; /** * @var array - * @since 2.0.0 */ protected $loadedData; @@ -74,14 +69,13 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider /** * @var \Magento\Customer\Model\Config\Share - * @since 2.2.0 + * @since 2.1.3 */ private $shareConfig; /** * EAV attribute properties to fetch from meta storage * @var array - * @since 2.0.0 */ protected $metaProperties = [ 'dataType' => 'frontend_input', @@ -98,7 +92,6 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * Form element mapping * * @var array - * @since 2.0.0 */ protected $formElement = [ 'text' => 'input', @@ -108,7 +101,6 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider /** * @var EavValidationRules - * @since 2.0.0 */ protected $eavValidationRules; @@ -120,7 +112,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider /** * @var FileProcessorFactory - * @since 2.2.0 + * @since 2.1.3 */ private $fileProcessorFactory; @@ -128,7 +120,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * File types allowed for file_uploader UI component * * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $fileUploaderTypes = [ 'image', @@ -163,7 +155,6 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider * @param array $data * @param bool $allowToShowHiddenAttributes * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( $name, @@ -201,7 +192,7 @@ public function __construct( * * @return SessionManagerInterface * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @since 2.1.0 */ protected function getSession() @@ -218,7 +209,6 @@ protected function getSession() * Get data * * @return array - * @since 2.0.0 */ public function getData() { @@ -264,7 +254,7 @@ public function getData() * @param Customer|Address $entity * @param array $entityData * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function overrideFileUploaderData($entity, array &$entityData) { @@ -289,7 +279,7 @@ private function overrideFileUploaderData($entity, array &$entityData) * @param array $customerData * @return array * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.2.0 + * @since 2.1.3 */ private function getFileUploaderData( Type $entityType, @@ -333,7 +323,6 @@ private function getFileUploaderData( * @param Type $entityType * @return array * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function getAttributesMeta(Type $entityType) { @@ -442,9 +431,9 @@ private function getCountryWithWebsiteSource() /** * Retrieve Customer Config Share * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return \Magento\Customer\Model\Config\Share - * @since 2.2.0 + * @since 2.1.3 */ private function getShareConfig() { @@ -460,7 +449,7 @@ private function getShareConfig() * * @param array $meta * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function processWebsiteMeta(&$meta) { @@ -485,7 +474,7 @@ private function processWebsiteMeta(&$meta) * @param AbstractAttribute $attribute * @param array $config * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function overrideFileUploaderMetadata( Type $entityType, @@ -537,7 +526,7 @@ private function overrideFileUploaderMetadata( * @param string $name * @param mixed $default * @return mixed - * @since 2.2.0 + * @since 2.1.3 */ private function getMetadataValue($config, $name, $default = null) { @@ -550,7 +539,7 @@ private function getMetadataValue($config, $name, $default = null) * * @param string $entityTypeCode * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getFileUploadUrl($entityTypeCode) { @@ -597,7 +586,6 @@ private function processFrontendInput(AttributeInterface $attribute, array &$met * @param array $addresses * @param array $customer * @return void - * @since 2.0.0 */ protected function prepareAddressData($addressId, array &$addresses, array $customer) { @@ -621,8 +609,8 @@ protected function prepareAddressData($addressId, array &$addresses, array $cust * * @return FileProcessorFactory * - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ private function getFileProcessorFactory() { diff --git a/app/code/Magento/Customer/Model/Customer/Mapper.php b/app/code/Magento/Customer/Model/Customer/Mapper.php index aaf48d74b2f64..6512e6ca897d3 100644 --- a/app/code/Magento/Customer/Model/Customer/Mapper.php +++ b/app/code/Magento/Customer/Model/Customer/Mapper.php @@ -14,19 +14,16 @@ /** * Class Mapper converts Address Service Data Object to an array - * @since 2.0.0 */ class Mapper { /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ private $extensibleDataObjectConverter; /** * @param ExtensibleDataObjectConverter $extensibleDataObjectConverter - * @since 2.0.0 */ public function __construct(ExtensibleDataObjectConverter $extensibleDataObjectConverter) { @@ -38,7 +35,6 @@ public function __construct(ExtensibleDataObjectConverter $extensibleDataObjectC * * @param CustomerInterface $customer * @return array - * @since 2.0.0 */ public function toFlatArray(CustomerInterface $customer) { diff --git a/app/code/Magento/Customer/Model/CustomerAuthUpdate.php b/app/code/Magento/Customer/Model/CustomerAuthUpdate.php index 7f44ac442233e..29b14494bc250 100644 --- a/app/code/Magento/Customer/Model/CustomerAuthUpdate.php +++ b/app/code/Magento/Customer/Model/CustomerAuthUpdate.php @@ -8,26 +8,26 @@ /** * Customer Authentication update model. - * @since 2.2.0 + * @since 2.1.1 */ class CustomerAuthUpdate { /** * @var \Magento\Customer\Model\CustomerRegistry - * @since 2.2.0 + * @since 2.1.1 */ protected $customerRegistry; /** * @var \Magento\Customer\Model\ResourceModel\Customer - * @since 2.2.0 + * @since 2.1.1 */ protected $customerResourceModel; /** * @param \Magento\Customer\Model\CustomerRegistry $customerRegistry * @param \Magento\Customer\Model\ResourceModel\Customer $customerResourceModel - * @since 2.2.0 + * @since 2.1.1 */ public function __construct( \Magento\Customer\Model\CustomerRegistry $customerRegistry, @@ -42,7 +42,7 @@ public function __construct( * * @param int $customerId * @return $this - * @since 2.2.0 + * @since 2.1.1 */ public function saveAuth($customerId) { diff --git a/app/code/Magento/Customer/Model/CustomerExtractor.php b/app/code/Magento/Customer/Model/CustomerExtractor.php index d1a21cfa9f300..32565c869b9b6 100644 --- a/app/code/Magento/Customer/Model/CustomerExtractor.php +++ b/app/code/Magento/Customer/Model/CustomerExtractor.php @@ -14,37 +14,31 @@ /** * Class \Magento\Customer\Model\CustomerExtractor * - * @since 2.0.0 */ class CustomerExtractor { /** * @var \Magento\Customer\Model\Metadata\FormFactory - * @since 2.0.0 */ protected $formFactory; /** * @var \Magento\Customer\Api\Data\CustomerInterfaceFactory - * @since 2.0.0 */ protected $customerFactory; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $customerGroupManagement; /** * @var \Magento\Framework\Api\DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; @@ -54,7 +48,6 @@ class CustomerExtractor * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param GroupManagementInterface $customerGroupManagement * @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\Metadata\FormFactory $formFactory, @@ -75,7 +68,6 @@ public function __construct( * @param RequestInterface $request * @param array $attributeValues * @return CustomerInterface - * @since 2.0.0 */ public function extract( $formCode, diff --git a/app/code/Magento/Customer/Model/CustomerManagement.php b/app/code/Magento/Customer/Model/CustomerManagement.php index d41253a82724f..d6ff1e696ef0d 100644 --- a/app/code/Magento/Customer/Model/CustomerManagement.php +++ b/app/code/Magento/Customer/Model/CustomerManagement.php @@ -11,19 +11,16 @@ /** * Class \Magento\Customer\Model\CustomerManagement * - * @since 2.0.0 */ class CustomerManagement implements CustomerManagementInterface { /** * @var CollectionFactory - * @since 2.0.0 */ protected $customersFactory; /** * @param CollectionFactory $customersFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $customersFactory) { @@ -32,7 +29,6 @@ public function __construct(CollectionFactory $customersFactory) /** * {@inheritdoc} - * @since 2.0.0 */ public function getCount() { diff --git a/app/code/Magento/Customer/Model/CustomerRegistry.php b/app/code/Magento/Customer/Model/CustomerRegistry.php index 2d9d754e5540e..b89cce8957487 100644 --- a/app/code/Magento/Customer/Model/CustomerRegistry.php +++ b/app/code/Magento/Customer/Model/CustomerRegistry.php @@ -13,7 +13,6 @@ /** * Registry for \Magento\Customer\Model\Customer - * @since 2.0.0 */ class CustomerRegistry { @@ -21,37 +20,31 @@ class CustomerRegistry /** * @var CustomerFactory - * @since 2.0.0 */ private $customerFactory; /** * @var CustomerSecureFactory - * @since 2.0.0 */ private $customerSecureFactory; /** * @var array - * @since 2.0.0 */ private $customerRegistryById = []; /** * @var array - * @since 2.0.0 */ private $customerRegistryByEmail = []; /** * @var array - * @since 2.0.0 */ private $customerSecureRegistryById = []; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ private $storeManager; @@ -61,7 +54,6 @@ class CustomerRegistry * @param CustomerFactory $customerFactory * @param CustomerSecureFactory $customerSecureFactory * @param StoreManagerInterface $storeManager - * @since 2.0.0 */ public function __construct( CustomerFactory $customerFactory, @@ -79,7 +71,6 @@ public function __construct( * @param string $customerId * @return Customer * @throws NoSuchEntityException - * @since 2.0.0 */ public function retrieve($customerId) { @@ -106,7 +97,6 @@ public function retrieve($customerId) * @param string|null $websiteId Optional website ID, if not set, will use the current websiteId * @return Customer * @throws NoSuchEntityException - * @since 2.0.0 */ public function retrieveByEmail($customerEmail, $websiteId = null) { @@ -152,7 +142,6 @@ public function retrieveByEmail($customerEmail, $websiteId = null) * @param int $customerId * @return CustomerSecure * @throws NoSuchEntityException - * @since 2.0.0 */ public function retrieveSecureData($customerId) { @@ -180,7 +169,6 @@ public function retrieveSecureData($customerId) * * @param int $customerId * @return void - * @since 2.0.0 */ public function remove($customerId) { @@ -200,7 +188,6 @@ public function remove($customerId) * @param string $customerEmail Customers email address * @param string|null $websiteId Optional website ID, if not set, will use the current websiteId * @return void - * @since 2.0.0 */ public function removeByEmail($customerEmail, $websiteId = null) { @@ -223,7 +210,6 @@ public function removeByEmail($customerEmail, $websiteId = null) * @param string $customerEmail * @param string $websiteId * @return string - * @since 2.0.0 */ protected function getEmailKey($customerEmail, $websiteId) { @@ -235,7 +221,6 @@ protected function getEmailKey($customerEmail, $websiteId) * * @param Customer $customer * @return $this - * @since 2.0.0 */ public function push(Customer $customer) { diff --git a/app/code/Magento/Customer/Model/Data/Address.php b/app/code/Magento/Customer/Model/Data/Address.php index 99b1652e39fee..6c0eb1991c3bd 100644 --- a/app/code/Magento/Customer/Model/Data/Address.php +++ b/app/code/Magento/Customer/Model/Data/Address.php @@ -15,14 +15,12 @@ * * * @api - * @since 2.0.0 */ class Address extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Customer\Api\Data\AddressInterface { /** * @var \Magento\Customer\Api\AddressMetadataInterface - * @since 2.0.0 */ protected $metadataService; @@ -31,7 +29,6 @@ class Address extends \Magento\Framework\Api\AbstractExtensibleObject implements * @param AttributeValueFactory $attributeValueFactory * @param \Magento\Customer\Api\AddressMetadataInterface $metadataService * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, @@ -45,7 +42,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function getCustomAttributesCodes() { @@ -59,7 +55,6 @@ protected function getCustomAttributesCodes() * Get id * * @return int|null - * @since 2.0.0 */ public function getId() { @@ -70,7 +65,6 @@ public function getId() * Get region * * @return \Magento\Customer\Api\Data\RegionInterface|null - * @since 2.0.0 */ public function getRegion() { @@ -81,7 +75,6 @@ public function getRegion() * Get region ID * * @return int - * @since 2.0.0 */ public function getRegionId() { @@ -92,7 +85,6 @@ public function getRegionId() * Get country id * * @return string|null - * @since 2.0.0 */ public function getCountryId() { @@ -103,7 +95,6 @@ public function getCountryId() * Get street * * @return string[]|null - * @since 2.0.0 */ public function getStreet() { @@ -114,7 +105,6 @@ public function getStreet() * Get company * * @return string|null - * @since 2.0.0 */ public function getCompany() { @@ -125,7 +115,6 @@ public function getCompany() * Get telephone number * * @return string|null - * @since 2.0.0 */ public function getTelephone() { @@ -136,7 +125,6 @@ public function getTelephone() * Get fax number * * @return string|null - * @since 2.0.0 */ public function getFax() { @@ -147,7 +135,6 @@ public function getFax() * Get postcode * * @return string|null - * @since 2.0.0 */ public function getPostcode() { @@ -158,7 +145,6 @@ public function getPostcode() * Get city name * * @return string|null - * @since 2.0.0 */ public function getCity() { @@ -169,7 +155,6 @@ public function getCity() * Get first name * * @return string|null - * @since 2.0.0 */ public function getFirstname() { @@ -180,7 +165,6 @@ public function getFirstname() * Get last name * * @return string|null - * @since 2.0.0 */ public function getLastname() { @@ -191,7 +175,6 @@ public function getLastname() * Get middle name * * @return string|null - * @since 2.0.0 */ public function getMiddlename() { @@ -202,7 +185,6 @@ public function getMiddlename() * Get prefix * * @return string|null - * @since 2.0.0 */ public function getPrefix() { @@ -213,7 +195,6 @@ public function getPrefix() * Get suffix * * @return string|null - * @since 2.0.0 */ public function getSuffix() { @@ -224,7 +205,6 @@ public function getSuffix() * Get Vat id * * @return string|null - * @since 2.0.0 */ public function getVatId() { @@ -235,7 +215,6 @@ public function getVatId() * Get customer id * * @return string|null - * @since 2.0.0 */ public function getCustomerId() { @@ -246,7 +225,6 @@ public function getCustomerId() * Get if this address is default shipping address. * * @return bool|null - * @since 2.0.0 */ public function isDefaultShipping() { @@ -257,7 +235,6 @@ public function isDefaultShipping() * Get if this address is default billing address * * @return bool|null - * @since 2.0.0 */ public function isDefaultBilling() { @@ -269,7 +246,6 @@ public function isDefaultBilling() * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id) { @@ -281,7 +257,6 @@ public function setId($id) * * @param int $customerId * @return $this - * @since 2.0.0 */ public function setCustomerId($customerId) { @@ -293,7 +268,6 @@ public function setCustomerId($customerId) * * @param \Magento\Customer\Api\Data\RegionInterface $region * @return $this - * @since 2.0.0 */ public function setRegion(RegionInterface $region = null) { @@ -305,7 +279,6 @@ public function setRegion(RegionInterface $region = null) * * @param int $regionId * @return $this - * @since 2.0.0 */ public function setRegionId($regionId) { @@ -317,7 +290,6 @@ public function setRegionId($regionId) * * @param string $countryId * @return $this - * @since 2.0.0 */ public function setCountryId($countryId) { @@ -329,7 +301,6 @@ public function setCountryId($countryId) * * @param string[] $street * @return $this - * @since 2.0.0 */ public function setStreet(array $street) { @@ -341,7 +312,6 @@ public function setStreet(array $street) * * @param string $company * @return $this - * @since 2.0.0 */ public function setCompany($company) { @@ -353,7 +323,6 @@ public function setCompany($company) * * @param string $telephone * @return $this - * @since 2.0.0 */ public function setTelephone($telephone) { @@ -365,7 +334,6 @@ public function setTelephone($telephone) * * @param string $fax * @return $this - * @since 2.0.0 */ public function setFax($fax) { @@ -377,7 +345,6 @@ public function setFax($fax) * * @param string $postcode * @return $this - * @since 2.0.0 */ public function setPostcode($postcode) { @@ -389,7 +356,6 @@ public function setPostcode($postcode) * * @param string $city * @return $this - * @since 2.0.0 */ public function setCity($city) { @@ -401,7 +367,6 @@ public function setCity($city) * * @param string $firstName * @return $this - * @since 2.0.0 */ public function setFirstname($firstName) { @@ -413,7 +378,6 @@ public function setFirstname($firstName) * * @param string $lastName * @return $this - * @since 2.0.0 */ public function setLastname($lastName) { @@ -425,7 +389,6 @@ public function setLastname($lastName) * * @param string $middleName * @return $this - * @since 2.0.0 */ public function setMiddlename($middleName) { @@ -437,7 +400,6 @@ public function setMiddlename($middleName) * * @param string $prefix * @return $this - * @since 2.0.0 */ public function setPrefix($prefix) { @@ -449,7 +411,6 @@ public function setPrefix($prefix) * * @param string $suffix * @return $this - * @since 2.0.0 */ public function setSuffix($suffix) { @@ -461,7 +422,6 @@ public function setSuffix($suffix) * * @param string $vatId * @return $this - * @since 2.0.0 */ public function setVatId($vatId) { @@ -473,7 +433,6 @@ public function setVatId($vatId) * * @param bool $isDefaultShipping * @return $this - * @since 2.0.0 */ public function setIsDefaultShipping($isDefaultShipping) { @@ -485,7 +444,6 @@ public function setIsDefaultShipping($isDefaultShipping) * * @param bool $isDefaultBilling * @return $this - * @since 2.0.0 */ public function setIsDefaultBilling($isDefaultBilling) { @@ -496,7 +454,6 @@ public function setIsDefaultBilling($isDefaultBilling) * {@inheritdoc} * * @return \Magento\Customer\Api\Data\AddressExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -508,7 +465,6 @@ public function getExtensionAttributes() * * @param \Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\AddressExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Customer/Model/Data/AttributeMetadata.php b/app/code/Magento/Customer/Model/Data/AttributeMetadata.php index f0e88a3772c79..d262d0c933327 100644 --- a/app/code/Magento/Customer/Model/Data/AttributeMetadata.php +++ b/app/code/Magento/Customer/Model/Data/AttributeMetadata.php @@ -10,7 +10,6 @@ /** * Customer attribute metadata class. - * @since 2.0.0 */ class AttributeMetadata extends \Magento\Framework\Api\AbstractSimpleObject implements \Magento\Customer\Api\Data\AttributeMetadataInterface, @@ -18,7 +17,6 @@ class AttributeMetadata extends \Magento\Framework\Api\AbstractSimpleObject impl { /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributeCode() { @@ -27,7 +25,6 @@ public function getAttributeCode() /** * {@inheritdoc} - * @since 2.0.0 */ public function getFrontendInput() { @@ -36,7 +33,6 @@ public function getFrontendInput() /** * {@inheritdoc} - * @since 2.0.0 */ public function getInputFilter() { @@ -45,7 +41,6 @@ public function getInputFilter() /** * {@inheritdoc} - * @since 2.0.0 */ public function getStoreLabel() { @@ -54,7 +49,6 @@ public function getStoreLabel() /** * {@inheritdoc} - * @since 2.0.0 */ public function getValidationRules() { @@ -63,7 +57,6 @@ public function getValidationRules() /** * {@inheritdoc} - * @since 2.0.0 */ public function getMultilineCount() { @@ -72,7 +65,6 @@ public function getMultilineCount() /** * {@inheritdoc} - * @since 2.0.0 */ public function isVisible() { @@ -81,7 +73,6 @@ public function isVisible() /** * {@inheritdoc} - * @since 2.0.0 */ public function isRequired() { @@ -90,7 +81,6 @@ public function isRequired() /** * {@inheritdoc} - * @since 2.0.0 */ public function getDataModel() { @@ -99,7 +89,6 @@ public function getDataModel() /** * {@inheritdoc} - * @since 2.0.0 */ public function getOptions() { @@ -108,7 +97,6 @@ public function getOptions() /** * {@inheritdoc} - * @since 2.0.0 */ public function getFrontendClass() { @@ -117,7 +105,6 @@ public function getFrontendClass() /** * {@inheritdoc} - * @since 2.0.0 */ public function isUserDefined() { @@ -126,7 +113,6 @@ public function isUserDefined() /** * {@inheritdoc} - * @since 2.0.0 */ public function getSortOrder() { @@ -135,7 +121,6 @@ public function getSortOrder() /** * {@inheritdoc} - * @since 2.0.0 */ public function getFrontendLabel() { @@ -144,7 +129,6 @@ public function getFrontendLabel() /** * {@inheritdoc} - * @since 2.0.0 */ public function getNote() { @@ -153,7 +137,6 @@ public function getNote() /** * {@inheritdoc} - * @since 2.0.0 */ public function isSystem() { @@ -162,7 +145,6 @@ public function isSystem() /** * {@inheritdoc} - * @since 2.0.0 */ public function getBackendType() { @@ -174,7 +156,6 @@ public function getBackendType() * * @param string $attributeCode * @return $this - * @since 2.0.0 */ public function setAttributeCode($attributeCode) { @@ -186,7 +167,6 @@ public function setAttributeCode($attributeCode) * * @param string $frontendInput * @return $this - * @since 2.0.0 */ public function setFrontendInput($frontendInput) { @@ -198,7 +178,6 @@ public function setFrontendInput($frontendInput) * * @param string $inputFilter * @return $this - * @since 2.0.0 */ public function setInputFilter($inputFilter) { @@ -210,7 +189,6 @@ public function setInputFilter($inputFilter) * * @param string $storeLabel * @return $this - * @since 2.0.0 */ public function setStoreLabel($storeLabel) { @@ -222,7 +200,6 @@ public function setStoreLabel($storeLabel) * * @param \Magento\Customer\Api\Data\ValidationRuleInterface[] $validationRules * @return $this - * @since 2.0.0 */ public function setValidationRules(array $validationRules) { @@ -234,7 +211,6 @@ public function setValidationRules(array $validationRules) * * @param int $multilineCount * @return $this - * @since 2.0.0 */ public function setMultilineCount($multilineCount) { @@ -246,7 +222,6 @@ public function setMultilineCount($multilineCount) * * @param bool $isVisible * @return $this - * @since 2.0.0 */ public function setIsVisible($isVisible) { @@ -258,7 +233,6 @@ public function setIsVisible($isVisible) * * @param bool $isRequired * @return $this - * @since 2.0.0 */ public function setIsRequired($isRequired) { @@ -270,7 +244,6 @@ public function setIsRequired($isRequired) * * @param string $dataModel * @return $this - * @since 2.0.0 */ public function setDataModel($dataModel) { @@ -282,7 +255,6 @@ public function setDataModel($dataModel) * * @param \Magento\Customer\Api\Data\OptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null) { @@ -294,7 +266,6 @@ public function setOptions(array $options = null) * * @param string $frontendClass * @return $this - * @since 2.0.0 */ public function setFrontendClass($frontendClass) { @@ -306,7 +277,6 @@ public function setFrontendClass($frontendClass) * * @param bool $isUserDefined * @return $this - * @since 2.0.0 */ public function setIsUserDefined($isUserDefined) { @@ -318,7 +288,6 @@ public function setIsUserDefined($isUserDefined) * * @param int $sortOrder * @return $this - * @since 2.0.0 */ public function setSortOrder($sortOrder) { @@ -330,7 +299,6 @@ public function setSortOrder($sortOrder) * * @param string $frontendLabel * @return $this - * @since 2.0.0 */ public function setFrontendLabel($frontendLabel) { @@ -342,7 +310,6 @@ public function setFrontendLabel($frontendLabel) * * @param string $note * @return $this - * @since 2.0.0 */ public function setNote($note) { @@ -354,7 +321,6 @@ public function setNote($note) * * @param bool $isSystem * @return $this - * @since 2.0.0 */ public function setIsSystem($isSystem) { @@ -366,7 +332,6 @@ public function setIsSystem($isSystem) * * @param string $backendType * @return $this - * @since 2.0.0 */ public function setBackendType($backendType) { @@ -375,7 +340,6 @@ public function setBackendType($backendType) /** * @inheritDoc - * @since 2.0.0 */ public function getIsUsedInGrid() { @@ -384,7 +348,6 @@ public function getIsUsedInGrid() /** * @inheritDoc - * @since 2.0.0 */ public function getIsVisibleInGrid() { @@ -393,7 +356,6 @@ public function getIsVisibleInGrid() /** * @inheritDoc - * @since 2.0.0 */ public function getIsFilterableInGrid() { @@ -402,7 +364,6 @@ public function getIsFilterableInGrid() /** * @inheritDoc - * @since 2.0.0 */ public function getIsSearchableInGrid() { @@ -411,7 +372,6 @@ public function getIsSearchableInGrid() /** * @inheritDoc - * @since 2.0.0 */ public function setIsUsedInGrid($isUsedInGrid) { @@ -420,7 +380,6 @@ public function setIsUsedInGrid($isUsedInGrid) /** * @inheritDoc - * @since 2.0.0 */ public function setIsVisibleInGrid($isVisibleInGrid) { @@ -429,7 +388,6 @@ public function setIsVisibleInGrid($isVisibleInGrid) /** * @inheritDoc - * @since 2.0.0 */ public function setIsFilterableInGrid($isFilterableInGrid) { @@ -438,7 +396,6 @@ public function setIsFilterableInGrid($isFilterableInGrid) /** * @inheritDoc - * @since 2.0.0 */ public function setIsSearchableInGrid($isSearchableInGrid) { diff --git a/app/code/Magento/Customer/Model/Data/Customer.php b/app/code/Magento/Customer/Model/Data/Customer.php index 98e25293028a8..7a135904f6663 100644 --- a/app/code/Magento/Customer/Model/Data/Customer.php +++ b/app/code/Magento/Customer/Model/Data/Customer.php @@ -11,14 +11,12 @@ /** * Class Customer * @SuppressWarnings(PHPMD.ExcessivePublicCount) - * @since 2.0.0 */ class Customer extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Customer\Api\Data\CustomerInterface { /** * @var \Magento\Customer\Api\CustomerMetadataInterface - * @since 2.0.0 */ protected $metadataService; @@ -29,7 +27,6 @@ class Customer extends \Magento\Framework\Api\AbstractExtensibleObject implement * @param AttributeValueFactory $attributeValueFactory * @param \Magento\Customer\Api\CustomerMetadataInterface $metadataService * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, @@ -43,7 +40,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function getCustomAttributesCodes() { @@ -55,7 +51,6 @@ protected function getCustomAttributesCodes() /** * @return string|null - * @since 2.0.0 */ public function getDefaultBilling() { @@ -66,7 +61,6 @@ public function getDefaultBilling() * Get default shipping address id * * @return string|null - * @since 2.0.0 */ public function getDefaultShipping() { @@ -77,7 +71,6 @@ public function getDefaultShipping() * Get confirmation * * @return string|null - * @since 2.0.0 */ public function getConfirmation() { @@ -88,7 +81,6 @@ public function getConfirmation() * Get created at time * * @return string|null - * @since 2.0.0 */ public function getCreatedAt() { @@ -99,7 +91,6 @@ public function getCreatedAt() * Get created in area * * @return string|null - * @since 2.0.0 */ public function getCreatedIn() { @@ -110,7 +101,6 @@ public function getCreatedIn() * Get updated at time * * @return string|null - * @since 2.0.0 */ public function getUpdatedAt() { @@ -121,7 +111,6 @@ public function getUpdatedAt() * Get date of birth * * @return string|null - * @since 2.0.0 */ public function getDob() { @@ -132,7 +121,6 @@ public function getDob() * Get email address * * @return string - * @since 2.0.0 */ public function getEmail() { @@ -143,7 +131,6 @@ public function getEmail() * Get first name * * @return string - * @since 2.0.0 */ public function getFirstname() { @@ -154,7 +141,6 @@ public function getFirstname() * Get gender * * @return string|null - * @since 2.0.0 */ public function getGender() { @@ -165,7 +151,6 @@ public function getGender() * Get group id * * @return string|null - * @since 2.0.0 */ public function getGroupId() { @@ -176,7 +161,6 @@ public function getGroupId() * Get customer id * * @return int|null - * @since 2.0.0 */ public function getId() { @@ -187,7 +171,6 @@ public function getId() * Get last name * * @return string - * @since 2.0.0 */ public function getLastname() { @@ -198,7 +181,6 @@ public function getLastname() * Get middle name * * @return string|null - * @since 2.0.0 */ public function getMiddlename() { @@ -209,7 +191,6 @@ public function getMiddlename() * Get prefix * * @return string|null - * @since 2.0.0 */ public function getPrefix() { @@ -220,7 +201,6 @@ public function getPrefix() * Get store id * * @return int|null - * @since 2.0.0 */ public function getStoreId() { @@ -231,7 +211,6 @@ public function getStoreId() * Get suffix * * @return string|null - * @since 2.0.0 */ public function getSuffix() { @@ -242,7 +221,6 @@ public function getSuffix() * Get tax Vat. * * @return string|null - * @since 2.0.0 */ public function getTaxvat() { @@ -253,7 +231,6 @@ public function getTaxvat() * Get website id * * @return int|null - * @since 2.0.0 */ public function getWebsiteId() { @@ -264,7 +241,6 @@ public function getWebsiteId() * Get addresses * * @return \Magento\Customer\Api\Data\AddressInterface[]|null - * @since 2.0.0 */ public function getAddresses() { @@ -275,7 +251,6 @@ public function getAddresses() * Get disable auto group change flag. * * @return int|null - * @since 2.0.0 */ public function getDisableAutoGroupChange() { @@ -287,7 +262,6 @@ public function getDisableAutoGroupChange() * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id) { @@ -299,7 +273,6 @@ public function setId($id) * * @param int $groupId * @return $this - * @since 2.0.0 */ public function setGroupId($groupId) { @@ -311,7 +284,6 @@ public function setGroupId($groupId) * * @param string $defaultBilling * @return $this - * @since 2.0.0 */ public function setDefaultBilling($defaultBilling) { @@ -323,7 +295,6 @@ public function setDefaultBilling($defaultBilling) * * @param string $defaultShipping * @return $this - * @since 2.0.0 */ public function setDefaultShipping($defaultShipping) { @@ -335,7 +306,6 @@ public function setDefaultShipping($defaultShipping) * * @param string $confirmation * @return $this - * @since 2.0.0 */ public function setConfirmation($confirmation) { @@ -347,7 +317,6 @@ public function setConfirmation($confirmation) * * @param string $createdAt * @return $this - * @since 2.0.0 */ public function setCreatedAt($createdAt) { @@ -359,7 +328,6 @@ public function setCreatedAt($createdAt) * * @param string $updatedAt * @return $this - * @since 2.0.0 */ public function setUpdatedAt($updatedAt) { @@ -371,7 +339,6 @@ public function setUpdatedAt($updatedAt) * * @param string $createdIn * @return $this - * @since 2.0.0 */ public function setCreatedIn($createdIn) { @@ -383,7 +350,6 @@ public function setCreatedIn($createdIn) * * @param string $dob * @return $this - * @since 2.0.0 */ public function setDob($dob) { @@ -395,7 +361,6 @@ public function setDob($dob) * * @param string $email * @return $this - * @since 2.0.0 */ public function setEmail($email) { @@ -407,7 +372,6 @@ public function setEmail($email) * * @param string $firstname * @return $this - * @since 2.0.0 */ public function setFirstname($firstname) { @@ -419,7 +383,6 @@ public function setFirstname($firstname) * * @param string $lastname * @return string - * @since 2.0.0 */ public function setLastname($lastname) { @@ -431,7 +394,6 @@ public function setLastname($lastname) * * @param string $middlename * @return $this - * @since 2.0.0 */ public function setMiddlename($middlename) { @@ -443,7 +405,6 @@ public function setMiddlename($middlename) * * @param string $prefix * @return $this - * @since 2.0.0 */ public function setPrefix($prefix) { @@ -455,7 +416,6 @@ public function setPrefix($prefix) * * @param string $suffix * @return $this - * @since 2.0.0 */ public function setSuffix($suffix) { @@ -467,7 +427,6 @@ public function setSuffix($suffix) * * @param string $gender * @return $this - * @since 2.0.0 */ public function setGender($gender) { @@ -479,7 +438,6 @@ public function setGender($gender) * * @param int $storeId * @return $this - * @since 2.0.0 */ public function setStoreId($storeId) { @@ -491,7 +449,6 @@ public function setStoreId($storeId) * * @param string $taxvat * @return $this - * @since 2.0.0 */ public function setTaxvat($taxvat) { @@ -503,7 +460,6 @@ public function setTaxvat($taxvat) * * @param int $websiteId * @return $this - * @since 2.0.0 */ public function setWebsiteId($websiteId) { @@ -515,7 +471,6 @@ public function setWebsiteId($websiteId) * * @param \Magento\Customer\Api\Data\AddressInterface[] $addresses * @return $this - * @since 2.0.0 */ public function setAddresses(array $addresses = null) { @@ -527,7 +482,6 @@ public function setAddresses(array $addresses = null) * * @param int $disableAutoGroupChange * @return $this - * @since 2.0.0 */ public function setDisableAutoGroupChange($disableAutoGroupChange) { @@ -538,7 +492,6 @@ public function setDisableAutoGroupChange($disableAutoGroupChange) * {@inheritdoc} * * @return \Magento\Customer\Api\Data\CustomerExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -550,7 +503,6 @@ public function getExtensionAttributes() * * @param \Magento\Customer\Api\Data\CustomerExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\CustomerExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Customer/Model/Data/CustomerSecure.php b/app/code/Magento/Customer/Model/Data/CustomerSecure.php index b8b6a8e003a12..173533e8da4d5 100644 --- a/app/code/Magento/Customer/Model/Data/CustomerSecure.php +++ b/app/code/Magento/Customer/Model/Data/CustomerSecure.php @@ -17,7 +17,6 @@ * @method setRpTokenCreatedAt(string $rpTokenCreatedAt) * @method setPasswordHash(string $hashedPassword) * @method setDeleteable(bool $deleteable) - * @since 2.0.0 */ class CustomerSecure extends \Magento\Framework\DataObject { diff --git a/app/code/Magento/Customer/Model/Data/Group.php b/app/code/Magento/Customer/Model/Data/Group.php index 3a136acefd558..73eb74ba1b770 100644 --- a/app/code/Magento/Customer/Model/Data/Group.php +++ b/app/code/Magento/Customer/Model/Data/Group.php @@ -8,7 +8,6 @@ /** * Customer Group data model. - * @since 2.0.0 */ class Group extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Customer\Api\Data\GroupInterface @@ -17,7 +16,6 @@ class Group extends \Magento\Framework\Api\AbstractExtensibleObject implements * Get ID * * @return int - * @since 2.0.0 */ public function getId() { @@ -28,7 +26,6 @@ public function getId() * Get code * * @return string - * @since 2.0.0 */ public function getCode() { @@ -39,7 +36,6 @@ public function getCode() * Get tax class ID * * @return int - * @since 2.0.0 */ public function getTaxClassId() { @@ -50,7 +46,6 @@ public function getTaxClassId() * Get tax class name * * @return string - * @since 2.0.0 */ public function getTaxClassName() { @@ -62,7 +57,6 @@ public function getTaxClassName() * * @param int $id * @return $this - * @since 2.0.0 */ public function setId($id) { @@ -74,7 +68,6 @@ public function setId($id) * * @param string $code * @return $this - * @since 2.0.0 */ public function setCode($code) { @@ -86,7 +79,6 @@ public function setCode($code) * * @param int $taxClassId * @return $this - * @since 2.0.0 */ public function setTaxClassId($taxClassId) { @@ -98,7 +90,6 @@ public function setTaxClassId($taxClassId) * * @param string $taxClassName * @return string|null - * @since 2.0.0 */ public function setTaxClassName($taxClassName) { @@ -109,7 +100,6 @@ public function setTaxClassName($taxClassName) * {@inheritdoc} * * @return \Magento\Customer\Api\Data\GroupExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -121,7 +111,6 @@ public function getExtensionAttributes() * * @param \Magento\Customer\Api\Data\GroupExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\GroupExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Customer/Model/Data/Option.php b/app/code/Magento/Customer/Model/Data/Option.php index fdd5e8e99389b..03d59557129d5 100644 --- a/app/code/Magento/Customer/Model/Data/Option.php +++ b/app/code/Magento/Customer/Model/Data/Option.php @@ -10,7 +10,6 @@ /** * Class Option - * @since 2.0.0 */ class Option extends \Magento\Framework\Api\AbstractSimpleObject implements \Magento\Customer\Api\Data\OptionInterface @@ -19,7 +18,6 @@ class Option extends \Magento\Framework\Api\AbstractSimpleObject implements * Get option label * * @return string - * @since 2.0.0 */ public function getLabel() { @@ -30,7 +28,6 @@ public function getLabel() * Get option value * * @return string|null - * @since 2.0.0 */ public function getValue() { @@ -41,7 +38,6 @@ public function getValue() * Get nested options * * @return \Magento\Customer\Api\Data\OptionInterface[]|null - * @since 2.0.0 */ public function getOptions() { @@ -53,7 +49,6 @@ public function getOptions() * * @param string $label * @return $this - * @since 2.0.0 */ public function setLabel($label) { @@ -65,7 +60,6 @@ public function setLabel($label) * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value) { @@ -77,7 +71,6 @@ public function setValue($value) * * @param \Magento\Customer\Api\Data\OptionInterface[] $options * @return $this - * @since 2.0.0 */ public function setOptions(array $options = null) { diff --git a/app/code/Magento/Customer/Model/Data/Region.php b/app/code/Magento/Customer/Model/Data/Region.php index 0a778ba47297c..54cbcc13e1a2f 100644 --- a/app/code/Magento/Customer/Model/Data/Region.php +++ b/app/code/Magento/Customer/Model/Data/Region.php @@ -8,7 +8,6 @@ /** * Data Model implementing Address Region interface * - * @since 2.0.0 */ class Region extends \Magento\Framework\Api\AbstractExtensibleObject implements \Magento\Customer\Api\Data\RegionInterface @@ -17,7 +16,6 @@ class Region extends \Magento\Framework\Api\AbstractExtensibleObject implements * Get region code * * @return string - * @since 2.0.0 */ public function getRegionCode() { @@ -28,7 +26,6 @@ public function getRegionCode() * Get region * * @return string - * @since 2.0.0 */ public function getRegion() { @@ -39,7 +36,6 @@ public function getRegion() * Get region id * * @return int - * @since 2.0.0 */ public function getRegionId() { @@ -51,7 +47,6 @@ public function getRegionId() * * @param string $regionCode * @return $this - * @since 2.0.0 */ public function setRegionCode($regionCode) { @@ -63,7 +58,6 @@ public function setRegionCode($regionCode) * * @param string $region * @return $this - * @since 2.0.0 */ public function setRegion($region) { @@ -75,7 +69,6 @@ public function setRegion($region) * * @param int $regionId * @return $this - * @since 2.0.0 */ public function setRegionId($regionId) { @@ -86,7 +79,6 @@ public function setRegionId($regionId) * {@inheritdoc} * * @return \Magento\Customer\Api\Data\RegionExtensionInterface|null - * @since 2.0.0 */ public function getExtensionAttributes() { @@ -98,7 +90,6 @@ public function getExtensionAttributes() * * @param \Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes * @return $this - * @since 2.0.0 */ public function setExtensionAttributes(\Magento\Customer\Api\Data\RegionExtensionInterface $extensionAttributes) { diff --git a/app/code/Magento/Customer/Model/Data/ValidationResults.php b/app/code/Magento/Customer/Model/Data/ValidationResults.php index afeb17fafa961..4a9d9a7344e1a 100644 --- a/app/code/Magento/Customer/Model/Data/ValidationResults.php +++ b/app/code/Magento/Customer/Model/Data/ValidationResults.php @@ -9,14 +9,12 @@ /** * Validation results data model. - * @since 2.0.0 */ class ValidationResults extends \Magento\Framework\Api\AbstractSimpleObject implements \Magento\Customer\Api\Data\ValidationResultsInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function isValid() { @@ -25,7 +23,6 @@ public function isValid() /** * {@inheritdoc} - * @since 2.0.0 */ public function getMessages() { @@ -37,7 +34,6 @@ public function getMessages() * * @param bool $isValid * @return $this - * @since 2.0.0 */ public function setIsValid($isValid) { @@ -49,7 +45,6 @@ public function setIsValid($isValid) * * @param string[] $messages * @return string[] - * @since 2.0.0 */ public function setMessages(array $messages) { diff --git a/app/code/Magento/Customer/Model/Data/ValidationRule.php b/app/code/Magento/Customer/Model/Data/ValidationRule.php index 787b4ea8c44f9..c141477bed657 100644 --- a/app/code/Magento/Customer/Model/Data/ValidationRule.php +++ b/app/code/Magento/Customer/Model/Data/ValidationRule.php @@ -10,14 +10,12 @@ /** * Class \Magento\Customer\Model\Data\ValidationRule * - * @since 2.0.0 */ class ValidationRule extends \Magento\Framework\Api\AbstractSimpleObject implements \Magento\Customer\Api\Data\ValidationRuleInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function getName() { @@ -26,7 +24,6 @@ public function getName() /** * {@inheritdoc} - * @since 2.0.0 */ public function getValue() { @@ -38,7 +35,6 @@ public function getValue() * * @param string $name * @return $this - * @since 2.0.0 */ public function setName($name) { @@ -50,7 +46,6 @@ public function setName($name) * * @param string $value * @return $this - * @since 2.0.0 */ public function setValue($value) { diff --git a/app/code/Magento/Customer/Model/FileProcessor.php b/app/code/Magento/Customer/Model/FileProcessor.php index 450dcfcfcdd18..6346ec4874c08 100644 --- a/app/code/Magento/Customer/Model/FileProcessor.php +++ b/app/code/Magento/Customer/Model/FileProcessor.php @@ -8,7 +8,7 @@ /** * Class \Magento\Customer\Model\FileProcessor * - * @since 2.2.0 + * @since 2.1.3 */ class FileProcessor { @@ -19,43 +19,43 @@ class FileProcessor /** * @var \Magento\Framework\Filesystem\Directory\WriteInterface - * @since 2.2.0 + * @since 2.1.3 */ private $mediaDirectory; /** * @var \Magento\MediaStorage\Model\File\UploaderFactory - * @since 2.2.0 + * @since 2.1.3 */ private $uploaderFactory; /** * @var \Magento\Framework\UrlInterface - * @since 2.2.0 + * @since 2.1.3 */ private $urlBuilder; /** * @var \Magento\Framework\Url\EncoderInterface - * @since 2.2.0 + * @since 2.1.3 */ private $urlEncoder; /** * @var string - * @since 2.2.0 + * @since 2.1.3 */ private $entityTypeCode; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $allowedExtensions = []; /** * @var \Magento\Framework\File\Mime - * @since 2.2.0 + * @since 2.1.3 */ private $mime; @@ -67,7 +67,7 @@ class FileProcessor * @param string $entityTypeCode * @param \Magento\Framework\File\Mime $mime * @param array $allowedExtensions - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( \Magento\Framework\Filesystem $filesystem, @@ -92,7 +92,7 @@ public function __construct( * * @param string $fileName * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function getBase64EncodedData($fileName) { @@ -109,7 +109,7 @@ public function getBase64EncodedData($fileName) * * @param string $fileName * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getStat($fileName) { @@ -124,7 +124,7 @@ public function getStat($fileName) * * @param string $fileName * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function getMimeType($fileName) { @@ -140,7 +140,7 @@ public function getMimeType($fileName) * * @param string $fileName * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function isExist($fileName) { @@ -156,7 +156,7 @@ public function isExist($fileName) * @param string $filePath * @param string $type * @return string - * @since 2.2.0 + * @since 2.1.3 */ public function getViewUrl($filePath, $type) { @@ -184,7 +184,7 @@ public function getViewUrl($filePath, $type) * @param string $fileId * @return \string[] * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 + * @since 2.1.3 */ public function saveTemporaryFile($fileId) { @@ -215,7 +215,7 @@ public function saveTemporaryFile($fileId) * @param string $fileName * @return string * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.2.0 + * @since 2.1.3 */ public function moveTemporaryFile($fileName) { @@ -260,7 +260,7 @@ public function moveTemporaryFile($fileName) * * @param string $fileName * @return bool - * @since 2.2.0 + * @since 2.1.3 */ public function removeUploadedFile($fileName) { diff --git a/app/code/Magento/Customer/Model/FileUploader.php b/app/code/Magento/Customer/Model/FileUploader.php index 6887cb1e753f8..e59ceba4b2ada 100644 --- a/app/code/Magento/Customer/Model/FileUploader.php +++ b/app/code/Magento/Customer/Model/FileUploader.php @@ -15,49 +15,49 @@ /** * Class \Magento\Customer\Model\FileUploader * - * @since 2.2.0 + * @since 2.1.3 */ class FileUploader { /** * @var CustomerMetadataInterface - * @since 2.2.0 + * @since 2.1.3 */ private $customerMetadataService; /** * @var AddressMetadataInterface - * @since 2.2.0 + * @since 2.1.3 */ private $addressMetadataService; /** * @var ElementFactory - * @since 2.2.0 + * @since 2.1.3 */ private $elementFactory; /** * @var FileProcessorFactory - * @since 2.2.0 + * @since 2.1.3 */ private $fileProcessorFactory; /** * @var AttributeMetadataInterface - * @since 2.2.0 + * @since 2.1.3 */ private $attributeMetadata; /** * @var string - * @since 2.2.0 + * @since 2.1.3 */ private $entityTypeCode; /** * @var string - * @since 2.2.0 + * @since 2.1.3 */ private $scope; @@ -69,7 +69,7 @@ class FileUploader * @param AttributeMetadataInterface $attributeMetadata * @param string $entityTypeCode * @param string $scope - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( CustomerMetadataInterface $customerMetadataService, @@ -93,7 +93,7 @@ public function __construct( * Validate uploaded file * * @return array|bool - * @since 2.2.0 + * @since 2.1.3 */ public function validate() { @@ -112,7 +112,7 @@ public function validate() * * @return \string[] * @throws LocalizedException - * @since 2.2.0 + * @since 2.1.3 */ public function upload() { @@ -139,7 +139,7 @@ public function upload() * Get attribute code * * @return string - * @since 2.2.0 + * @since 2.1.3 */ private function getAttributeCode() { @@ -150,7 +150,7 @@ private function getAttributeCode() * Retrieve data from global $_FILES array * * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function getData() { @@ -168,7 +168,7 @@ private function getData() * Get allowed extensions * * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function getAllowedExtensions() { diff --git a/app/code/Magento/Customer/Model/Form.php b/app/code/Magento/Customer/Model/Form.php index a5733149245fb..90713a9ce1c53 100644 --- a/app/code/Magento/Customer/Model/Form.php +++ b/app/code/Magento/Customer/Model/Form.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\Form * - * @since 2.0.0 */ class Form extends \Magento\Eav\Model\Form { @@ -27,7 +26,6 @@ class Form extends \Magento\Eav\Model\Form * Current module pathname * * @var string - * @since 2.0.0 */ protected $_moduleName = 'Magento_Customer'; @@ -35,7 +33,6 @@ class Form extends \Magento\Eav\Model\Form * Current EAV entity type code * * @var string - * @since 2.0.0 */ protected $_entityTypeCode = 'customer'; @@ -44,7 +41,6 @@ class Form extends \Magento\Eav\Model\Form * exclude 'created_at' * * @return \Magento\Customer\Model\ResourceModel\Form\Attribute\Collection - * @since 2.0.0 */ protected function _getFormAttributeCollection() { diff --git a/app/code/Magento/Customer/Model/Group.php b/app/code/Magento/Customer/Model/Group.php index 0b282230da232..74f773fd02853 100644 --- a/app/code/Magento/Customer/Model/Group.php +++ b/app/code/Magento/Customer/Model/Group.php @@ -15,7 +15,6 @@ * @method \Magento\Customer\Model\Group setCustomerGroupCode(string $value) * @method \Magento\Customer\Model\Group setTaxClassId(int $value) * @method Group setTaxClassName(string $value) - * @since 2.0.0 */ class Group extends \Magento\Framework\Model\AbstractModel { @@ -31,7 +30,6 @@ class Group extends \Magento\Framework\Model\AbstractModel * Prefix of model events names * * @var string - * @since 2.0.0 */ protected $_eventPrefix = 'customer_group'; @@ -41,25 +39,21 @@ class Group extends \Magento\Framework\Model\AbstractModel * In observe method you can use $observer->getEvent()->getObject() in this case * * @var string - * @since 2.0.0 */ protected $_eventObject = 'object'; /** * @var \Magento\Store\Model\StoresConfig - * @since 2.0.0 */ protected $_storesConfig; /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var \Magento\Tax\Model\ClassModelFactory - * @since 2.0.0 */ protected $classModelFactory; @@ -75,7 +69,6 @@ class Group extends \Magento\Framework\Model\AbstractModel * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -101,7 +94,6 @@ public function __construct( /** * @return void - * @since 2.0.0 */ protected function _construct() { @@ -113,7 +105,6 @@ protected function _construct() * * @param string $value * @return $this - * @since 2.0.0 */ public function setCode($value) { @@ -124,7 +115,6 @@ public function setCode($value) * Alias for getCustomerGroupCode * * @return string - * @since 2.0.0 */ public function getCode() { @@ -135,7 +125,6 @@ public function getCode() * Get tax class name * * @return string - * @since 2.0.0 */ public function getTaxClassName() { @@ -154,7 +143,6 @@ public function getTaxClassName() * Determine if this group is used as the create account default group * * @return bool - * @since 2.0.0 */ public function usesAsDefault() { @@ -171,7 +159,6 @@ public function usesAsDefault() * Prepare data before save * * @return $this - * @since 2.0.0 */ public function beforeSave() { @@ -183,7 +170,6 @@ public function beforeSave() * Prepare customer group data * * @return $this - * @since 2.0.0 */ protected function _prepareData() { diff --git a/app/code/Magento/Customer/Model/GroupManagement.php b/app/code/Magento/Customer/Model/GroupManagement.php index 622ade201decf..47d7d7ad1ac41 100644 --- a/app/code/Magento/Customer/Model/GroupManagement.php +++ b/app/code/Magento/Customer/Model/GroupManagement.php @@ -19,7 +19,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class GroupManagement implements \Magento\Customer\Api\GroupManagementInterface { @@ -33,43 +32,36 @@ class GroupManagement implements \Magento\Customer\Api\GroupManagementInterface /** * @var StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var GroupFactory - * @since 2.0.0 */ protected $groupFactory; /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var GroupInterfaceFactory - * @since 2.0.0 */ protected $groupDataFactory; /** * @var SearchCriteriaBuilder - * @since 2.0.0 */ protected $searchCriteriaBuilder; /** * @var FilterBuilder - * @since 2.0.0 */ protected $filterBuilder; @@ -81,7 +73,6 @@ class GroupManagement implements \Magento\Customer\Api\GroupManagementInterface * @param GroupInterfaceFactory $groupDataFactory * @param SearchCriteriaBuilder $searchCriteriaBuilder * @param FilterBuilder $filterBuilder - * @since 2.0.0 */ public function __construct( StoreManagerInterface $storeManager, @@ -103,7 +94,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function isReadonly($groupId) { @@ -118,7 +108,6 @@ public function isReadonly($groupId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getDefaultGroup($storeId = null) { @@ -145,7 +134,6 @@ public function getDefaultGroup($storeId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function getNotLoggedInGroup() { @@ -154,7 +142,6 @@ public function getNotLoggedInGroup() /** * {@inheritdoc} - * @since 2.0.0 */ public function getLoggedInGroups() { @@ -177,7 +164,6 @@ public function getLoggedInGroups() /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllCustomersGroup() { diff --git a/app/code/Magento/Customer/Model/GroupRegistry.php b/app/code/Magento/Customer/Model/GroupRegistry.php index d96685f61503b..adf902b31b109 100644 --- a/app/code/Magento/Customer/Model/GroupRegistry.php +++ b/app/code/Magento/Customer/Model/GroupRegistry.php @@ -11,25 +11,21 @@ /** * Registry for Customer Group models - * @since 2.0.0 */ class GroupRegistry { /** * @var array - * @since 2.0.0 */ protected $registry = []; /** * @var GroupFactory - * @since 2.0.0 */ protected $groupFactory; /** * @param GroupFactory $groupFactory - * @since 2.0.0 */ public function __construct(GroupFactory $groupFactory) { @@ -42,7 +38,6 @@ public function __construct(GroupFactory $groupFactory) * @param int $groupId * @return Group * @throws NoSuchEntityException - * @since 2.0.0 */ public function retrieve($groupId) { @@ -63,7 +58,6 @@ public function retrieve($groupId) * * @param int $groupId * @return void - * @since 2.0.0 */ public function remove($groupId) { diff --git a/app/code/Magento/Customer/Model/Indexer/Address/AttributeProvider.php b/app/code/Magento/Customer/Model/Indexer/Address/AttributeProvider.php index 134aa32542de1..4c9c1336911ce 100644 --- a/app/code/Magento/Customer/Model/Indexer/Address/AttributeProvider.php +++ b/app/code/Magento/Customer/Model/Indexer/Address/AttributeProvider.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Model\Indexer\Address\AttributeProvider * - * @since 2.0.0 */ class AttributeProvider extends \Magento\Customer\Model\Indexer\AttributeProvider { @@ -23,7 +22,6 @@ class AttributeProvider extends \Magento\Customer\Model\Indexer\AttributeProvide /** * @param Config $eavConfig - * @since 2.0.0 */ public function __construct( Config $eavConfig diff --git a/app/code/Magento/Customer/Model/Indexer/Attribute/Filter.php b/app/code/Magento/Customer/Model/Indexer/Attribute/Filter.php index 881210f2a614b..5ca2f02538fd2 100644 --- a/app/code/Magento/Customer/Model/Indexer/Attribute/Filter.php +++ b/app/code/Magento/Customer/Model/Indexer/Attribute/Filter.php @@ -14,25 +14,21 @@ /** * Class \Magento\Customer\Model\Indexer\Attribute\Filter * - * @since 2.0.0 */ class Filter { /** * @var resource - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Framework\Indexer\ScopeResolver\FlatScopeResolver - * @since 2.0.0 */ protected $flatScopeResolver; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -40,7 +36,6 @@ class Filter * @param ResourceConnection $resource * @param FlatScopeResolver $flatScopeResolver * @param IndexerRegistry $indexerRegistry - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -55,7 +50,6 @@ public function __construct( /** * @param array $attributes * @return array - * @since 2.0.0 */ public function filter(array $attributes) { diff --git a/app/code/Magento/Customer/Model/Indexer/AttributeProvider.php b/app/code/Magento/Customer/Model/Indexer/AttributeProvider.php index c5f59cfbe971a..5ef86fb0aaa5e 100644 --- a/app/code/Magento/Customer/Model/Indexer/AttributeProvider.php +++ b/app/code/Magento/Customer/Model/Indexer/AttributeProvider.php @@ -13,7 +13,6 @@ /** * Class \Magento\Customer\Model\Indexer\AttributeProvider * - * @since 2.0.0 */ class AttributeProvider implements FieldsetInterface { @@ -24,19 +23,16 @@ class AttributeProvider implements FieldsetInterface /** * @var Attribute[] - * @since 2.0.0 */ protected $attributes; /** * @var Config - * @since 2.0.0 */ protected $eavConfig; /** * @param Config $eavConfig - * @since 2.0.0 */ public function __construct( Config $eavConfig @@ -49,7 +45,6 @@ public function __construct( * * @param array $data * @return array - * @since 2.0.0 */ public function addDynamicData(array $data) { @@ -62,7 +57,6 @@ public function addDynamicData(array $data) * Retrieve all attributes * * @return Attribute[] - * @since 2.0.0 */ private function getAttributes() { @@ -89,7 +83,6 @@ private function getAttributes() * @param Attribute[] $attributes * @param array $fieldset * @return array - * @since 2.0.0 */ protected function convert(array $attributes, array $fieldset) { @@ -125,7 +118,6 @@ protected function convert(array $attributes, array $fieldset) * * @param Attribute $attribute * @return string - * @since 2.0.0 */ protected function getType(Attribute $attribute) { @@ -146,7 +138,6 @@ protected function getType(Attribute $attribute) * @param array $dataFields * @param array $searchableFields * @return array - * @since 2.0.0 */ protected function merge(array $dataFields, array $searchableFields) { diff --git a/app/code/Magento/Customer/Model/Layout/DepersonalizePlugin.php b/app/code/Magento/Customer/Model/Layout/DepersonalizePlugin.php index 30955e23655a7..2bb9934933839 100644 --- a/app/code/Magento/Customer/Model/Layout/DepersonalizePlugin.php +++ b/app/code/Magento/Customer/Model/Layout/DepersonalizePlugin.php @@ -11,49 +11,41 @@ /** * Class DepersonalizePlugin - * @since 2.0.0 */ class DepersonalizePlugin { /** * @var DepersonalizeChecker - * @since 2.0.0 */ protected $depersonalizeChecker; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $session; /** * @var \Magento\Customer\Model\Session - * @since 2.0.0 */ protected $customerSession; /** * @var \Magento\Customer\Model\CustomerFactory - * @since 2.0.0 */ protected $customerFactory; /** * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $visitor; /** * @var int - * @since 2.0.0 */ protected $customerGroupId; /** * @var string - * @since 2.0.0 */ protected $formKey; @@ -63,7 +55,6 @@ class DepersonalizePlugin * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Customer\Model\CustomerFactory $customerFactory * @param \Magento\Customer\Model\Visitor $visitor - * @since 2.0.0 */ public function __construct( DepersonalizeChecker $depersonalizeChecker, @@ -84,7 +75,6 @@ public function __construct( * * @param \Magento\Framework\View\LayoutInterface $subject * @return array - * @since 2.0.0 */ public function beforeGenerateXml(\Magento\Framework\View\LayoutInterface $subject) { @@ -101,7 +91,6 @@ public function beforeGenerateXml(\Magento\Framework\View\LayoutInterface $subje * @param \Magento\Framework\View\LayoutInterface $subject * @param \Magento\Framework\View\LayoutInterface $result * @return \Magento\Framework\View\LayoutInterface - * @since 2.0.0 */ public function afterGenerateXml(\Magento\Framework\View\LayoutInterface $subject, $result) { diff --git a/app/code/Magento/Customer/Model/Log.php b/app/code/Magento/Customer/Model/Log.php index e988d6580c434..054a58d24ae0b 100644 --- a/app/code/Magento/Customer/Model/Log.php +++ b/app/code/Magento/Customer/Model/Log.php @@ -9,7 +9,6 @@ * Customer log model. * * Contains customer log data. - * @since 2.0.0 */ class Log { @@ -17,7 +16,6 @@ class Log * Customer ID. * * @var int - * @since 2.0.0 */ protected $customerId; @@ -25,7 +23,6 @@ class Log * Date and time of customer's last login. * * @var string - * @since 2.0.0 */ protected $lastLoginAt; @@ -33,7 +30,6 @@ class Log * Date and time of customer's last logout. * * @var string - * @since 2.0.0 */ protected $lastVisitAt; @@ -41,7 +37,6 @@ class Log * Date and time of customer's last visit. * * @var string - * @since 2.0.0 */ protected $lastLogoutAt; @@ -50,7 +45,6 @@ class Log * @param string $lastLoginAt * @param string $lastVisitAt * @param string $lastLogoutAt - * @since 2.0.0 */ public function __construct($customerId = null, $lastLoginAt = null, $lastVisitAt = null, $lastLogoutAt = null) { @@ -64,7 +58,6 @@ public function __construct($customerId = null, $lastLoginAt = null, $lastVisitA * Retrieve customer id * * @return int - * @since 2.0.0 */ public function getCustomerId() { @@ -75,7 +68,6 @@ public function getCustomerId() * Retrieve last login date as string * * @return string - * @since 2.0.0 */ public function getLastLoginAt() { @@ -86,7 +78,6 @@ public function getLastLoginAt() * Retrieve last visit date as string * * @return string - * @since 2.0.0 */ public function getLastVisitAt() { @@ -97,7 +88,6 @@ public function getLastVisitAt() * Retrieve last logout date as string * * @return string - * @since 2.0.0 */ public function getLastLogoutAt() { diff --git a/app/code/Magento/Customer/Model/Logger.php b/app/code/Magento/Customer/Model/Logger.php index f3dfdd2e1454d..0b7241f9048d0 100644 --- a/app/code/Magento/Customer/Model/Logger.php +++ b/app/code/Magento/Customer/Model/Logger.php @@ -11,7 +11,6 @@ * Customer log data logger. * * Saves and retrieves customer log data. - * @since 2.0.0 */ class Logger { @@ -19,20 +18,17 @@ class Logger * Resource instance. * * @var Resource - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Customer\Model\LogFactory - * @since 2.0.0 */ protected $logFactory; /** * @param ResourceConnection $resource * @param \Magento\Customer\Model\LogFactory $logFactory - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -49,7 +45,6 @@ public function __construct( * @param array $data * @return $this * @throws \InvalidArgumentException - * @since 2.0.0 */ public function log($customerId, array $data) { @@ -76,7 +71,6 @@ public function log($customerId, array $data) * * @param int $customerId * @return Log - * @since 2.0.0 */ public function get($customerId = null) { @@ -97,7 +91,6 @@ public function get($customerId = null) * * @param int $customerId * @return array - * @since 2.0.0 */ protected function loadLogData($customerId) { diff --git a/app/code/Magento/Customer/Model/Metadata/AddressCachedMetadata.php b/app/code/Magento/Customer/Model/Metadata/AddressCachedMetadata.php index cf8858b21c2bf..4b31600744869 100644 --- a/app/code/Magento/Customer/Model/Metadata/AddressCachedMetadata.php +++ b/app/code/Magento/Customer/Model/Metadata/AddressCachedMetadata.php @@ -9,13 +9,12 @@ /** * Cached customer address attribute metadata - * @since 2.0.0 */ class AddressCachedMetadata extends CachedMetadata implements AddressMetadataInterface { /** * @var string - * @since 2.1.0 + * @since 2.0.9 */ protected $entityType = 'customer_address'; @@ -24,7 +23,6 @@ class AddressCachedMetadata extends CachedMetadata implements AddressMetadataInt * * @param AddressMetadata $metadata * @param AttributeMetadataCache|null $attributeMetadataCache - * @since 2.0.0 */ public function __construct( AddressMetadata $metadata, diff --git a/app/code/Magento/Customer/Model/Metadata/AddressMetadata.php b/app/code/Magento/Customer/Model/Metadata/AddressMetadata.php index 7819459374cd8..d18cf0a0a4e7e 100644 --- a/app/code/Magento/Customer/Model/Metadata/AddressMetadata.php +++ b/app/code/Magento/Customer/Model/Metadata/AddressMetadata.php @@ -15,32 +15,27 @@ /** * Service to fetch customer address related custom attributes - * @since 2.0.0 */ class AddressMetadata implements AddressMetadataInterface { /** * @var array - * @since 2.0.0 */ private $addressDataObjectMethods; /** * @var AttributeMetadataConverter - * @since 2.0.0 */ private $attributeMetadataConverter; /** * @var AttributeMetadataDataProvider - * @since 2.0.0 */ private $attributeMetadataDataProvider; /** * @param AttributeMetadataConverter $attributeMetadataConverter * @param AttributeMetadataDataProvider $attributeMetadataDataProvider - * @since 2.0.0 */ public function __construct( AttributeMetadataConverter $attributeMetadataConverter, @@ -52,7 +47,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributes($formCode) { @@ -73,7 +67,6 @@ public function getAttributes($formCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributeMetadata($attributeCode) { @@ -100,7 +93,6 @@ public function getAttributeMetadata($attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllAttributesMetadata() { @@ -125,7 +117,6 @@ public function getAllAttributesMetadata() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataObjectClassName = AddressMetadataInterface::DATA_INTERFACE_NAME) { diff --git a/app/code/Magento/Customer/Model/Metadata/AddressMetadataManagement.php b/app/code/Magento/Customer/Model/Metadata/AddressMetadataManagement.php index 98877fc299cb4..b393996bcdb51 100644 --- a/app/code/Magento/Customer/Model/Metadata/AddressMetadataManagement.php +++ b/app/code/Magento/Customer/Model/Metadata/AddressMetadataManagement.php @@ -10,19 +10,16 @@ /** * Service to manage customer address related custom attributes - * @since 2.0.0 */ class AddressMetadataManagement implements AddressMetadataManagementInterface { /** * @var AttributeResolver - * @since 2.0.0 */ protected $attributeResolver; /** * @param AttributeResolver $attributeResolver - * @since 2.0.0 */ public function __construct( AttributeResolver $attributeResolver @@ -32,7 +29,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute) { @@ -42,7 +38,6 @@ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute) /** * {@inheritdoc} - * @since 2.0.0 */ public function canBeFilterableInGrid(AttributeMetadataInterface $attribute) { diff --git a/app/code/Magento/Customer/Model/Metadata/AttributeResolver.php b/app/code/Magento/Customer/Model/Metadata/AttributeResolver.php index adde058f880d8..62d4f2860d9a4 100644 --- a/app/code/Magento/Customer/Model/Metadata/AttributeResolver.php +++ b/app/code/Magento/Customer/Model/Metadata/AttributeResolver.php @@ -13,19 +13,16 @@ /** * Class \Magento\Customer\Model\Metadata\AttributeResolver * - * @since 2.0.0 */ class AttributeResolver { /** * @var AttributeMetadataDataProvider - * @since 2.0.0 */ protected $attributeMetadataDataProvider; /** * @param AttributeMetadataDataProvider $attributeMetadataDataProvider - * @since 2.0.0 */ public function __construct( AttributeMetadataDataProvider $attributeMetadataDataProvider @@ -40,7 +37,6 @@ public function __construct( * @param AttributeMetadataInterface $attribute * @return Attribute * @throws NoSuchEntityException - * @since 2.0.0 */ public function getModelByAttribute($entityType, AttributeMetadataInterface $attribute) { diff --git a/app/code/Magento/Customer/Model/Metadata/CachedMetadata.php b/app/code/Magento/Customer/Model/Metadata/CachedMetadata.php index 993e55f495f53..905798173dca5 100644 --- a/app/code/Magento/Customer/Model/Metadata/CachedMetadata.php +++ b/app/code/Magento/Customer/Model/Metadata/CachedMetadata.php @@ -10,7 +10,6 @@ /** * Cached attribute metadata service - * @since 2.0.0 */ class CachedMetadata implements MetadataInterface { @@ -18,7 +17,7 @@ class CachedMetadata implements MetadataInterface /** * @var string - * @since 2.1.0 + * @since 2.0.9 */ protected $entityType = 'none'; @@ -30,7 +29,6 @@ class CachedMetadata implements MetadataInterface /** * @var MetadataInterface - * @since 2.0.0 */ protected $metadata; @@ -39,7 +37,6 @@ class CachedMetadata implements MetadataInterface * * @param MetadataInterface $metadata * @param AttributeMetadataCache|null $attributeMetadataCache - * @since 2.0.0 */ public function __construct( MetadataInterface $metadata, @@ -52,7 +49,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributes($formCode) { @@ -67,7 +63,6 @@ public function getAttributes($formCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributeMetadata($attributeCode) { @@ -82,7 +77,6 @@ public function getAttributeMetadata($attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllAttributesMetadata() { @@ -97,7 +91,6 @@ public function getAllAttributesMetadata() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataObjectClassName = null) { diff --git a/app/code/Magento/Customer/Model/Metadata/CustomerCachedMetadata.php b/app/code/Magento/Customer/Model/Metadata/CustomerCachedMetadata.php index 43eece24a96e7..23fbeb653e6ad 100644 --- a/app/code/Magento/Customer/Model/Metadata/CustomerCachedMetadata.php +++ b/app/code/Magento/Customer/Model/Metadata/CustomerCachedMetadata.php @@ -9,13 +9,12 @@ /** * Cached customer attribute metadata service - * @since 2.0.0 */ class CustomerCachedMetadata extends CachedMetadata implements CustomerMetadataInterface { /** * @var string - * @since 2.1.0 + * @since 2.0.9 */ protected $entityType = 'customer'; @@ -24,7 +23,6 @@ class CustomerCachedMetadata extends CachedMetadata implements CustomerMetadataI * * @param CustomerMetadata $metadata * @param AttributeMetadataCache|null $attributeMetadataCache - * @since 2.0.0 */ public function __construct( CustomerMetadata $metadata, diff --git a/app/code/Magento/Customer/Model/Metadata/CustomerMetadata.php b/app/code/Magento/Customer/Model/Metadata/CustomerMetadata.php index c28dd4999aac3..7ed806e657e82 100644 --- a/app/code/Magento/Customer/Model/Metadata/CustomerMetadata.php +++ b/app/code/Magento/Customer/Model/Metadata/CustomerMetadata.php @@ -15,32 +15,27 @@ /** * Service to fetch customer related custom attributes - * @since 2.0.0 */ class CustomerMetadata implements CustomerMetadataInterface { /** * @var array - * @since 2.0.0 */ private $customerDataObjectMethods; /** * @var AttributeMetadataConverter - * @since 2.0.0 */ private $attributeMetadataConverter; /** * @var AttributeMetadataDataProvider - * @since 2.0.0 */ private $attributeMetadataDataProvider; /** * @param AttributeMetadataConverter $attributeMetadataConverter * @param AttributeMetadataDataProvider $attributeMetadataDataProvider - * @since 2.0.0 */ public function __construct( AttributeMetadataConverter $attributeMetadataConverter, @@ -52,7 +47,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributes($formCode) { @@ -74,7 +68,6 @@ public function getAttributes($formCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAttributeMetadata($attributeCode) { @@ -100,7 +93,6 @@ public function getAttributeMetadata($attributeCode) /** * {@inheritdoc} - * @since 2.0.0 */ public function getAllAttributesMetadata() { @@ -125,7 +117,6 @@ public function getAllAttributesMetadata() /** * {@inheritdoc} - * @since 2.0.0 */ public function getCustomAttributesMetadata($dataObjectClassName = self::DATA_INTERFACE_NAME) { diff --git a/app/code/Magento/Customer/Model/Metadata/CustomerMetadataManagement.php b/app/code/Magento/Customer/Model/Metadata/CustomerMetadataManagement.php index cc1cb55d16124..4b7c3ad4c7061 100644 --- a/app/code/Magento/Customer/Model/Metadata/CustomerMetadataManagement.php +++ b/app/code/Magento/Customer/Model/Metadata/CustomerMetadataManagement.php @@ -10,19 +10,16 @@ /** * Service to manage customer related custom attributes - * @since 2.0.0 */ class CustomerMetadataManagement implements CustomerMetadataManagementInterface { /** * @var AttributeResolver - * @since 2.0.0 */ protected $attributeResolver; /** * @param AttributeResolver $attributeResolver - * @since 2.0.0 */ public function __construct( AttributeResolver $attributeResolver @@ -32,7 +29,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute) { @@ -42,7 +38,6 @@ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute) /** * {@inheritdoc} - * @since 2.0.0 */ public function canBeFilterableInGrid(AttributeMetadataInterface $attribute) { diff --git a/app/code/Magento/Customer/Model/Metadata/ElementFactory.php b/app/code/Magento/Customer/Model/Metadata/ElementFactory.php index 88faf175dd92d..1e8bc56923b4e 100644 --- a/app/code/Magento/Customer/Model/Metadata/ElementFactory.php +++ b/app/code/Magento/Customer/Model/Metadata/ElementFactory.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Model\Metadata\ElementFactory * - * @since 2.0.0 */ class ElementFactory { @@ -25,22 +24,17 @@ class ElementFactory // available only for multiply attributes - /** - * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 - */ + // available only for multiply attributes protected $_objectManager; /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $_string; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager * @param \Magento\Framework\Stdlib\StringUtils $string - * @since 2.0.0 */ public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, @@ -58,7 +52,6 @@ public function __construct( * @param string $entityTypeCode * @param bool $isAjax * @return \Magento\Customer\Model\Metadata\Form\AbstractData - * @since 2.0.0 */ public function create( \Magento\Customer\Api\Data\AttributeMetadataInterface $attribute, diff --git a/app/code/Magento/Customer/Model/Metadata/Form.php b/app/code/Magento/Customer/Model/Metadata/Form.php index a93662c7991d7..59fd92b24e010 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form.php +++ b/app/code/Magento/Customer/Model/Metadata/Form.php @@ -10,7 +10,6 @@ /** * @api - * @since 2.0.0 */ class Form { @@ -23,51 +22,41 @@ class Form /**#@-*/ - /** - * @var CustomerMetadataInterface - * @since 2.0.0 - */ + /**#@-*/ protected $_customerMetadataService; /** * @var AddressMetadataInterface - * @since 2.0.0 */ protected $_addressMetadataService; /** * @var ElementFactory - * @since 2.0.0 */ protected $_elementFactory; /** * @var string - * @since 2.0.0 */ protected $_entityType; /** * @var string - * @since 2.0.0 */ protected $_formCode; /** * @var bool - * @since 2.0.0 */ protected $_ignoreInvisible = true; /** * @var array - * @since 2.0.0 */ protected $_filterAttributes = []; /** * @var bool - * @since 2.0.0 */ protected $_isAjax = false; @@ -75,37 +64,31 @@ class Form * Attribute values * * @var array - * @since 2.0.0 */ protected $_attributeValues = []; /** * @var \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ protected $_httpRequest; /** * @var \Magento\Framework\Module\Dir\Reader - * @since 2.0.0 */ protected $_modulesReader; /** * @var \Magento\Framework\Validator\ConfigFactory - * @since 2.0.0 */ protected $_validatorConfigFactory; /** * @var \Magento\Framework\Validator - * @since 2.0.0 */ protected $_validator; /** * @var \Magento\Customer\Api\Data\AttributeMetadataInterface[] - * @since 2.0.0 */ protected $_attributes; @@ -124,7 +107,6 @@ class Form * @param bool $isAjax * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( CustomerMetadataInterface $customerMetadataService, @@ -159,7 +141,6 @@ public function __construct( * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] * @throws \LogicException For undefined entity type - * @since 2.0.0 */ public function getAttributes() { @@ -180,7 +161,6 @@ public function getAttributes() * * @param string $attributeCode * @return \Magento\Customer\Api\Data\AttributeMetadataInterface|false - * @since 2.0.0 */ public function getAttribute($attributeCode) { @@ -195,7 +175,6 @@ public function getAttribute($attributeCode) * Retrieve user defined attributes * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] - * @since 2.0.0 */ public function getUserAttributes() { @@ -212,7 +191,6 @@ public function getUserAttributes() * Retrieve system required attributes * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] - * @since 2.0.0 */ public function getSystemAttributes() { @@ -229,7 +207,6 @@ public function getSystemAttributes() * Retrieve filtered attributes * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface[] - * @since 2.0.0 */ public function getAllowedAttributes() { @@ -253,7 +230,6 @@ public function getAllowedAttributes() * @param string $scope the request scope * @param boolean $scopeOnly search value only in scope or search value in global too * @return array - * @since 2.0.0 */ public function extractData(\Magento\Framework\App\RequestInterface $request, $scope = null, $scopeOnly = true) { @@ -272,7 +248,6 @@ public function extractData(\Magento\Framework\App\RequestInterface $request, $s * * @param array $data * @return array attribute values - * @since 2.0.0 */ public function compactData(array $data) { @@ -294,7 +269,6 @@ public function compactData(array $data) * * @param array $data * @return array - * @since 2.0.0 */ public function restoreData(array $data) { @@ -315,7 +289,6 @@ public function restoreData(array $data) * * @param \Magento\Customer\Api\Data\AttributeMetadataInterface $attribute * @return \Magento\Eav\Model\Attribute\Data\AbstractData - * @since 2.0.0 */ protected function _getAttributeDataModel($attribute) { @@ -335,7 +308,6 @@ protected function _getAttributeDataModel($attribute) * * @param array $data * @return \Magento\Framework\App\RequestInterface - * @since 2.0.0 */ public function prepareRequest(array $data) { @@ -350,7 +322,6 @@ public function prepareRequest(array $data) * * @param array $data * @return \Magento\Framework\Validator - * @since 2.0.0 */ protected function _getValidator(array $data) { @@ -384,7 +355,6 @@ protected function _getValidator(array $data) * * @param array $data * @return boolean|array - * @since 2.0.0 */ public function validateData(array $data) { @@ -404,7 +374,6 @@ public function validateData(array $data) * * @param string $format * @return array - * @since 2.0.0 */ public function outputData($format = \Magento\Eav\Model\AttributeDataFactory::OUTPUT_FORMAT_TEXT) { @@ -421,7 +390,6 @@ public function outputData($format = \Magento\Eav\Model\AttributeDataFactory::OU * * @param bool $ignoreInvisible * @return void - * @since 2.0.0 */ public function setInvisibleIgnored($ignoreInvisible) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/AbstractData.php b/app/code/Magento/Customer/Model/Metadata/Form/AbstractData.php index 47d48477ae25e..f28cce0ea2ae1 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/AbstractData.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/AbstractData.php @@ -15,7 +15,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractData { @@ -23,7 +22,6 @@ abstract class AbstractData * Request Scope name * * @var string - * @since 2.0.0 */ protected $_requestScope; @@ -31,7 +29,6 @@ abstract class AbstractData * Scope visibility flag * * @var boolean - * @since 2.0.0 */ protected $_requestScopeOnly = true; @@ -39,7 +36,6 @@ abstract class AbstractData * Is AJAX request flag * * @var boolean - * @since 2.0.0 */ protected $_isAjax = false; @@ -48,7 +44,6 @@ abstract class AbstractData * Needed for depends attributes * * @var array - * @since 2.0.0 */ protected $_extractedData = []; @@ -56,43 +51,36 @@ abstract class AbstractData * Date filter format * * @var string - * @since 2.0.0 */ protected $_dateFilterFormat; /** * @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface - * @since 2.0.0 */ protected $_localeDate; /** * @var \Magento\Framework\Locale\ResolverInterface - * @since 2.0.0 */ protected $_localeResolver; /** * @var \Psr\Log\LoggerInterface - * @since 2.0.0 */ protected $_logger; /** * @var \Magento\Customer\Api\Data\AttributeMetadataInterface - * @since 2.0.0 */ protected $_attribute; /** * @var string|int|bool - * @since 2.0.0 */ protected $_value; /** * @var string - * @since 2.0.0 */ protected $_entityTypeCode; @@ -104,7 +92,6 @@ abstract class AbstractData * @param string|int|bool $value * @param string $entityTypeCode * @param bool $isAjax - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -129,7 +116,6 @@ public function __construct( * * @return \Magento\Customer\Api\Data\AttributeMetadataInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getAttribute() { @@ -144,7 +130,6 @@ public function getAttribute() * * @param string $scope * @return $this - * @since 2.0.0 */ public function setRequestScope($scope) { @@ -158,7 +143,6 @@ public function setRequestScope($scope) * * @param boolean $flag * @return $this - * @since 2.0.0 */ public function setRequestScopeOnly($flag) { @@ -171,7 +155,6 @@ public function setRequestScopeOnly($flag) * * @param array $data * @return $this - * @since 2.0.0 */ public function setExtractedData(array $data) { @@ -184,7 +167,6 @@ public function setExtractedData(array $data) * * @param string $index * @return array|null - * @since 2.0.0 */ public function getExtractedData($index = null) { @@ -202,7 +184,6 @@ public function getExtractedData($index = null) * * @param string $value * @return string|bool - * @since 2.0.0 */ protected function _applyInputFilter($value) { @@ -222,7 +203,6 @@ protected function _applyInputFilter($value) * Return Data Form Input/Output Filter * * @return \Magento\Framework\Data\Form\Filter\FilterInterface|false - * @since 2.0.0 */ protected function _getFormFilter() { @@ -244,7 +224,6 @@ protected function _getFormFilter() * * @param string|null|false $format * @return $this|string - * @since 2.0.0 */ protected function _dateFilterFormat($format = null) { @@ -269,7 +248,6 @@ protected function _dateFilterFormat($format = null) * * @param string $value * @return string - * @since 2.0.0 */ protected function _applyOutputFilter($value) { @@ -288,7 +266,6 @@ protected function _applyOutputFilter($value) * @return array|true * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ protected function _validateInputRule($value) { @@ -466,7 +443,6 @@ protected function _validateInputRule($value) * * @return boolean * @SuppressWarnings(PHPMD.BooleanGetMethodName) - * @since 2.0.0 */ public function getIsAjaxRequest() { @@ -478,7 +454,6 @@ public function getIsAjaxRequest() * * @param \Magento\Framework\App\RequestInterface $request * @return mixed - * @since 2.0.0 */ protected function _getRequestValue(\Magento\Framework\App\RequestInterface $request) { @@ -518,7 +493,6 @@ protected function _getRequestValue(\Magento\Framework\App\RequestInterface $req * * @param \Magento\Framework\App\RequestInterface $request * @return array|string - * @since 2.0.0 */ abstract public function extractValue(\Magento\Framework\App\RequestInterface $request); @@ -528,7 +502,6 @@ abstract public function extractValue(\Magento\Framework\App\RequestInterface $r * @param array|string|null $value * @return array|bool * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ abstract public function validateValue($value); @@ -537,7 +510,6 @@ abstract public function validateValue($value); * * @param array|string $value * @return array|string|bool - * @since 2.0.0 */ abstract public function compactValue($value); @@ -546,7 +518,6 @@ abstract public function compactValue($value); * * @param array|string $value * @return array|string|bool - * @since 2.0.0 */ abstract public function restoreValue($value); @@ -555,7 +526,6 @@ abstract public function restoreValue($value); * * @param string $format * @return string|array - * @since 2.0.0 */ abstract public function outputValue( $format = \Magento\Customer\Model\Metadata\ElementFactory::OUTPUT_FORMAT_TEXT diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Boolean.php b/app/code/Magento/Customer/Model/Metadata/Form/Boolean.php index 457d640986142..4a06bdfecb8c1 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Boolean.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Boolean.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Boolean * - * @since 2.0.0 */ class Boolean extends Select { @@ -19,7 +18,6 @@ class Boolean extends Select * * @param int $value * @return string - * @since 2.0.0 */ protected function _getOptionText($value) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Date.php b/app/code/Magento/Customer/Model/Metadata/Form/Date.php index daf25a1827cb5..82adaf68fdda4 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Date.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Date.php @@ -12,13 +12,11 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Date * - * @since 2.0.0 */ class Date extends AbstractData { /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(\Magento\Framework\App\RequestInterface $request) { @@ -30,7 +28,6 @@ public function extractValue(\Magento\Framework\App\RequestInterface $request) * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validateValue($value) { @@ -103,7 +100,6 @@ public function validateValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -118,7 +114,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -127,7 +122,6 @@ public function restoreValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = \Magento\Customer\Model\Metadata\ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/File.php b/app/code/Magento/Customer/Model/Metadata/Form/File.php index 8f832bd60ea42..b2ea3e871c577 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/File.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/File.php @@ -16,7 +16,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class File extends AbstractData { @@ -24,7 +23,6 @@ class File extends AbstractData * Validator for check not protected extensions * * @var \Magento\MediaStorage\Model\File\Validator\NotProtectedExtension - * @since 2.0.0 */ protected $_validatorNotProtectedExtensions; @@ -32,38 +30,34 @@ class File extends AbstractData * Core data * * @var \Magento\Framework\Url\EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; /** * @var \Magento\MediaStorage\Model\File\Validator\NotProtectedExtension - * @since 2.0.0 */ protected $_fileValidator; /** * @var Filesystem - * @since 2.0.0 */ protected $_fileSystem; /** * @var UploaderFactory - * @since 2.0.0 */ private $uploaderFactory; /** * @var FileProcessor - * @since 2.2.0 + * @since 2.1.3 */ protected $fileProcessor; /** * @var FileProcessorFactory * @deprecated 2.2.0 - * @since 2.2.0 + * @since 2.1.3 */ protected $fileProcessorFactory; @@ -83,7 +77,6 @@ class File extends AbstractData * @param UploaderFactory $uploaderFactory * @param \Magento\Customer\Model\FileProcessorFactory|null $fileProcessorFactory * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -112,7 +105,6 @@ public function __construct( /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function extractValue(\Magento\Framework\App\RequestInterface $request) { @@ -175,7 +167,6 @@ public function extractValue(\Magento\Framework\App\RequestInterface $request) * * @param array $value * @return string[] - * @since 2.0.0 */ protected function _validateByRules($value) { @@ -226,7 +217,6 @@ protected function _validateByRules($value) * * @param string $filename * @return bool - * @since 2.0.0 */ protected function _isUploadedFile($filename) { @@ -247,7 +237,6 @@ protected function _isUploadedFile($filename) * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validateValue($value) { @@ -289,7 +278,6 @@ public function validateValue($value) * {@inheritdoc} * * @return ImageContentInterface|array|string|null - * @since 2.0.0 */ public function compactValue($value) { @@ -320,7 +308,7 @@ public function compactValue($value) * * @param array $value * @return string|null - * @since 2.2.0 + * @since 2.1.3 */ protected function processUiComponentValue(array $value) { @@ -333,7 +321,7 @@ protected function processUiComponentValue(array $value) * * @param string $value * @return bool|int|string - * @since 2.2.0 + * @since 2.1.3 */ protected function processInputFieldValue($value) { @@ -375,7 +363,6 @@ protected function processInputFieldValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -384,7 +371,6 @@ public function restoreValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = \Magento\Customer\Model\Metadata\ElementFactory::OUTPUT_FORMAT_TEXT) { @@ -404,8 +390,8 @@ public function outputValue($format = \Magento\Customer\Model\Metadata\ElementFa * Get file processor * * @return FileProcessor - * @deprecated 2.2.0 - * @since 2.2.0 + * @deprecated 2.1.3 + * @since 2.1.3 */ protected function getFileProcessor() { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Hidden.php b/app/code/Magento/Customer/Model/Metadata/Form/Hidden.php index 806f1c2ca1036..45bac07c0a623 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Hidden.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Hidden.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Hidden * - * @since 2.0.0 */ class Hidden extends Text { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Image.php b/app/code/Magento/Customer/Model/Metadata/Form/Image.php index b6481a6ff0c2f..4d5c7d1802d84 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Image.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Image.php @@ -17,13 +17,12 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Image extends File { /** * @var ImageContentInterfaceFactory - * @since 2.2.0 + * @since 2.1.3 */ private $imageContentFactory; @@ -87,7 +86,6 @@ public function __construct( * @return string[] * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _validateByRules($value) { @@ -154,7 +152,7 @@ protected function _validateByRules($value) * * @param array $value * @return bool|int|ImageContentInterface|string - * @since 2.2.0 + * @since 2.1.3 */ protected function processUiComponentValue(array $value) { @@ -176,7 +174,7 @@ protected function processUiComponentValue(array $value) * * @param array $value * @return string - * @since 2.2.0 + * @since 2.1.3 */ protected function processCustomerAddressValue(array $value) { @@ -189,7 +187,7 @@ protected function processCustomerAddressValue(array $value) * * @param array $value * @return bool|int|ImageContentInterface|string - * @since 2.2.0 + * @since 2.1.3 */ protected function processCustomerValue(array $value) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Multiline.php b/app/code/Magento/Customer/Model/Metadata/Form/Multiline.php index 8e5966dbf12ea..27f3381e4e813 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Multiline.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Multiline.php @@ -10,13 +10,11 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Multiline * - * @since 2.0.0 */ class Multiline extends Text { /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(\Magento\Framework\App\RequestInterface $request) { @@ -32,7 +30,6 @@ public function extractValue(\Magento\Framework\App\RequestInterface $request) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function validateValue($value) { @@ -78,7 +75,6 @@ public function validateValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -90,7 +86,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -99,7 +94,6 @@ public function restoreValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = \Magento\Customer\Model\Metadata\ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Multiselect.php b/app/code/Magento/Customer/Model/Metadata/Form/Multiselect.php index 777781cc7c9ae..cf38c6c85df69 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Multiselect.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Multiselect.php @@ -13,13 +13,11 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Multiselect * - * @since 2.0.0 */ class Multiselect extends Select { /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(RequestInterface $request) { @@ -32,7 +30,6 @@ public function extractValue(RequestInterface $request) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -48,7 +45,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Postcode.php b/app/code/Magento/Customer/Model/Metadata/Form/Postcode.php index f4efbd22d323b..6f751558d29c9 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Postcode.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Postcode.php @@ -14,13 +14,11 @@ /** * Customer Address Postal/Zip Code Attribute Data Model - * @since 2.0.0 */ class Postcode extends AbstractData { /** * @var DirectoryHelper - * @since 2.0.0 */ protected $directoryHelper; @@ -33,7 +31,6 @@ class Postcode extends AbstractData * @param string $entityTypeCode * @param bool $isAjax * @param DirectoryHelper $directoryHelper - * @since 2.0.0 */ public function __construct( MagentoTimezone $localeDate, @@ -63,7 +60,6 @@ public function __construct( * * @param array|null|string $value * @return array|bool - * @since 2.0.0 */ public function validateValue($value) { @@ -87,7 +83,6 @@ public function validateValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(\Magento\Framework\App\RequestInterface $request) { @@ -96,7 +91,6 @@ public function extractValue(\Magento\Framework\App\RequestInterface $request) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -105,7 +99,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -114,7 +107,6 @@ public function restoreValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Select.php b/app/code/Magento/Customer/Model/Metadata/Form/Select.php index fb366e2aaba46..6813199a24823 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Select.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Select.php @@ -13,13 +13,11 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Select * - * @since 2.0.0 */ class Select extends AbstractData { /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(RequestInterface $request) { @@ -28,7 +26,6 @@ public function extractValue(RequestInterface $request) /** * {@inheritdoc} - * @since 2.0.0 */ public function validateValue($value) { @@ -58,7 +55,6 @@ public function validateValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -67,7 +63,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -79,7 +74,6 @@ public function restoreValue($value) * * @param string|int $value * @return string - * @since 2.0.0 */ protected function _getOptionText($value) { @@ -96,7 +90,6 @@ protected function _getOptionText($value) * * @param string $format * @return string - * @since 2.0.0 */ public function outputValue($format = ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Text.php b/app/code/Magento/Customer/Model/Metadata/Form/Text.php index 8dfb6d34e6cb6..9ddef5d563664 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Text.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Text.php @@ -12,13 +12,11 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Text * - * @since 2.0.0 */ class Text extends AbstractData { /** * @var \Magento\Framework\Stdlib\StringUtils - * @since 2.0.0 */ protected $_string; @@ -31,7 +29,6 @@ class Text extends AbstractData * @param string $entityTypeCode * @param bool $isAjax * @param \Magento\Framework\Stdlib\StringUtils $stringHelper - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, @@ -49,7 +46,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function extractValue(\Magento\Framework\App\RequestInterface $request) { @@ -60,7 +56,6 @@ public function extractValue(\Magento\Framework\App\RequestInterface $request) * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function validateValue($value) { @@ -115,7 +110,6 @@ public function validateValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function compactValue($value) { @@ -124,7 +118,6 @@ public function compactValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function restoreValue($value) { @@ -133,7 +126,6 @@ public function restoreValue($value) /** * {@inheritdoc} - * @since 2.0.0 */ public function outputValue($format = \Magento\Customer\Model\Metadata\ElementFactory::OUTPUT_FORMAT_TEXT) { diff --git a/app/code/Magento/Customer/Model/Metadata/Form/Textarea.php b/app/code/Magento/Customer/Model/Metadata/Form/Textarea.php index 3eeaf5ccade29..90a56f818229f 100644 --- a/app/code/Magento/Customer/Model/Metadata/Form/Textarea.php +++ b/app/code/Magento/Customer/Model/Metadata/Form/Textarea.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Metadata\Form\Textarea * - * @since 2.0.0 */ class Textarea extends Text { diff --git a/app/code/Magento/Customer/Model/Metadata/FormFactory.php b/app/code/Magento/Customer/Model/Metadata/FormFactory.php index 35c2c5cb2e92f..9e552a16623e7 100644 --- a/app/code/Magento/Customer/Model/Metadata/FormFactory.php +++ b/app/code/Magento/Customer/Model/Metadata/FormFactory.php @@ -10,19 +10,16 @@ /** * Class \Magento\Customer\Model\Metadata\FormFactory * - * @since 2.0.0 */ class FormFactory { /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ protected $_objectManager; /** * @param \Magento\Framework\ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager) { @@ -39,7 +36,6 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan * @param bool $ignoreInvisible * @param array $filterAttributes * @return \Magento\Customer\Model\Metadata\Form - * @since 2.0.0 */ public function create( $entityType, diff --git a/app/code/Magento/Customer/Model/Metadata/Validator.php b/app/code/Magento/Customer/Model/Metadata/Validator.php index 557fc18d84cef..06ad344162c61 100644 --- a/app/code/Magento/Customer/Model/Metadata/Validator.php +++ b/app/code/Magento/Customer/Model/Metadata/Validator.php @@ -9,25 +9,21 @@ /** * Class \Magento\Customer\Model\Metadata\Validator * - * @since 2.0.0 */ class Validator extends \Magento\Eav\Model\Validator\Attribute\Data { /** * @var string - * @since 2.0.0 */ protected $_entityType; /** * @var array - * @since 2.0.0 */ protected $_entityData; /** * @param ElementFactory $attrDataFactory - * @since 2.0.0 */ public function __construct(ElementFactory $attrDataFactory) { @@ -39,7 +35,6 @@ public function __construct(ElementFactory $attrDataFactory) * * @param \Magento\Framework\DataObject|array $entityData Data set from the Model attributes * @return bool - * @since 2.0.0 */ public function isValid($entityData) { @@ -56,7 +51,6 @@ public function isValid($entityData) * @param \Magento\Customer\Api\Data\AttributeMetadataInterface[] $attributes * @param string $entityType * @return bool - * @since 2.0.0 */ public function validateData(array $data, array $attributes, $entityType) { @@ -86,7 +80,6 @@ public function validateData(array $data, array $attributes, $entityType) * * @param string $entityType * @return void - * @since 2.0.0 */ public function setEntityType($entityType) { diff --git a/app/code/Magento/Customer/Model/Observer/Grid.php b/app/code/Magento/Customer/Model/Observer/Grid.php index 2116ebefd7e91..214a245f8a7e1 100644 --- a/app/code/Magento/Customer/Model/Observer/Grid.php +++ b/app/code/Magento/Customer/Model/Observer/Grid.php @@ -9,19 +9,16 @@ /** * @deprecated 2.1.0 - * @since 2.0.0 */ class Grid { /** * @var CustomerGrid - * @since 2.0.0 */ protected $customerGrid; /** * @param CustomerGrid $grid - * @since 2.0.0 */ public function __construct( CustomerGrid $grid @@ -33,7 +30,6 @@ public function __construct( * @return void * * @deprecated 2.1.0 - * @since 2.0.0 */ public function syncCustomerGrid() { diff --git a/app/code/Magento/Customer/Model/Options.php b/app/code/Magento/Customer/Model/Options.php index 68eb4c8997432..6cfecbdb325a4 100644 --- a/app/code/Magento/Customer/Model/Options.php +++ b/app/code/Magento/Customer/Model/Options.php @@ -11,7 +11,6 @@ /** * Class \Magento\Customer\Model\Options * - * @since 2.0.0 */ class Options { @@ -19,20 +18,17 @@ class Options * Customer address * * @var AddressHelper - * @since 2.0.0 */ protected $addressHelper; /** * @var Escaper - * @since 2.0.0 */ protected $escaper; /** * @param AddressHelper $addressHelper * @param Escaper $escaper - * @since 2.0.0 */ public function __construct( AddressHelper $addressHelper, @@ -47,7 +43,6 @@ public function __construct( * * @param null $store * @return array|bool - * @since 2.0.0 */ public function getNamePrefixOptions($store = null) { @@ -59,7 +54,6 @@ public function getNamePrefixOptions($store = null) * * @param null $store * @return array|bool - * @since 2.0.0 */ public function getNameSuffixOptions($store = null) { @@ -71,7 +65,6 @@ public function getNameSuffixOptions($store = null) * * @param string $options * @return array|bool - * @since 2.0.0 */ protected function _prepareNamePrefixSuffixOptions($options) { diff --git a/app/code/Magento/Customer/Model/Plugin/AllowedCountries.php b/app/code/Magento/Customer/Model/Plugin/AllowedCountries.php index 036f4a47ce63e..5c6e7e9688f53 100644 --- a/app/code/Magento/Customer/Model/Plugin/AllowedCountries.php +++ b/app/code/Magento/Customer/Model/Plugin/AllowedCountries.php @@ -13,26 +13,26 @@ /** * Class AllowedCountries - * @since 2.2.0 + * @since 2.1.3 */ class AllowedCountries { /** * @var \Magento\Customer\Model\Config\Share - * @since 2.2.0 + * @since 2.1.3 */ private $shareConfig; /** * @var StoreManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeManager; /** * @param Share $share * @param StoreManagerInterface $storeManager - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Share $share, @@ -50,7 +50,7 @@ public function __construct( * @param string $scope * @return array * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ public function beforeGetAllowedCountries( \Magento\Directory\Model\AllowedCountries $subject, diff --git a/app/code/Magento/Customer/Model/Plugin/CustomerAuthorization.php b/app/code/Magento/Customer/Model/Plugin/CustomerAuthorization.php index bde173158c3a5..9eb9ffb806c9f 100644 --- a/app/code/Magento/Customer/Model/Plugin/CustomerAuthorization.php +++ b/app/code/Magento/Customer/Model/Plugin/CustomerAuthorization.php @@ -13,13 +13,11 @@ * Plugin around \Magento\Framework\Authorization::isAllowed * * Plugin to allow customer users to access resources with self permission - * @since 2.0.0 */ class CustomerAuthorization { /** * @var UserContextInterface - * @since 2.0.0 */ protected $userContext; @@ -27,7 +25,6 @@ class CustomerAuthorization * Inject dependencies. * * @param UserContextInterface $userContext - * @since 2.0.0 */ public function __construct(UserContextInterface $userContext) { @@ -45,7 +42,6 @@ public function __construct(UserContextInterface $userContext) * @return bool true If resource permission is self, to allow * customer access without further checks in parent method * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function aroundIsAllowed( \Magento\Framework\Authorization $subject, diff --git a/app/code/Magento/Customer/Model/Registration.php b/app/code/Magento/Customer/Model/Registration.php index d0d51cd4fc4a6..effede4dc7c73 100644 --- a/app/code/Magento/Customer/Model/Registration.php +++ b/app/code/Magento/Customer/Model/Registration.php @@ -7,7 +7,6 @@ /** * @api - * @since 2.0.0 */ class Registration { @@ -15,7 +14,6 @@ class Registration * Check whether customers registration is allowed * * @return bool - * @since 2.0.0 */ public function isAllowed() { diff --git a/app/code/Magento/Customer/Model/Renderer/Region.php b/app/code/Magento/Customer/Model/Renderer/Region.php index f73871987c41b..5c7fcd38d6c52 100644 --- a/app/code/Magento/Customer/Model/Renderer/Region.php +++ b/app/code/Magento/Customer/Model/Renderer/Region.php @@ -11,7 +11,6 @@ * Region field renderer * * @author Magento Core Team - * @since 2.0.0 */ class Region implements \Magento\Framework\Data\Form\Element\Renderer\RendererInterface { @@ -24,7 +23,6 @@ class Region implements \Magento\Framework\Data\Form\Element\Renderer\RendererIn * ) * * @var array - * @since 2.0.0 */ protected static $_regionCollections; @@ -32,13 +30,11 @@ class Region implements \Magento\Framework\Data\Form\Element\Renderer\RendererIn * Adminhtml data * * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $_escaper = null; /** * @var \Magento\Directory\Model\CountryFactory - * @since 2.0.0 */ protected $_countryFactory; @@ -46,7 +42,6 @@ class Region implements \Magento\Framework\Data\Form\Element\Renderer\RendererIn * @param \Magento\Directory\Model\CountryFactory $countryFactory * @param \Magento\Directory\Helper\Data $directoryHelper * @param \Magento\Framework\Escaper $escaper - * @since 2.0.0 */ public function __construct( \Magento\Directory\Model\CountryFactory $countryFactory, @@ -63,7 +58,6 @@ public function __construct( * @return string * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function render(AbstractElement $element) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address.php b/app/code/Magento/Customer/Model/ResourceModel/Address.php index e1457b057bffc..fa6410e526f2d 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address.php @@ -16,19 +16,16 @@ * Class Address * @package Magento\Customer\Model\ResourceModel * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Address extends \Magento\Eav\Model\Entity\VersionControl\AbstractEntity { /** * @var \Magento\Framework\Validator\Factory - * @since 2.0.0 */ protected $_validatorFactory; /** * @var \Magento\Customer\Api\CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; @@ -39,7 +36,6 @@ class Address extends \Magento\Eav\Model\Entity\VersionControl\AbstractEntity * @param \Magento\Framework\Validator\Factory $validatorFactory * @param \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Context $context, @@ -58,7 +54,6 @@ public function __construct( * Resource initialization. * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -70,7 +65,6 @@ protected function _construct() * * @throws \Magento\Framework\Exception\LocalizedException * @return \Magento\Eav\Model\Entity\Type - * @since 2.0.0 */ public function getEntityType() { @@ -85,7 +79,6 @@ public function getEntityType() * * @param \Magento\Framework\DataObject $address * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\DataObject $address) { @@ -102,7 +95,6 @@ protected function _beforeSave(\Magento\Framework\DataObject $address) * @param \Magento\Framework\DataObject $address * @return void * @throws \Magento\Framework\Validator\Exception When validation failed - * @since 2.0.0 */ protected function _validate($address) { @@ -119,7 +111,6 @@ protected function _validate($address) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete($object) { @@ -151,7 +142,6 @@ private function getCustomerRegistry() /** * @param \Magento\Customer\Model\Address $address * @return $this - * @since 2.0.0 */ protected function _afterDelete(\Magento\Framework\DataObject $address) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Backend/Region.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Backend/Region.php index 9f80833977184..6b30e518a3bbf 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Backend/Region.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Backend/Region.php @@ -9,19 +9,16 @@ * Address region attribute backend * * @author Magento Core Team - * @since 2.0.0 */ class Region extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend { /** * @var \Magento\Directory\Model\RegionFactory - * @since 2.0.0 */ protected $_regionFactory; /** * @param \Magento\Directory\Model\RegionFactory $regionFactory - * @since 2.0.0 */ public function __construct(\Magento\Directory\Model\RegionFactory $regionFactory) { @@ -33,7 +30,6 @@ public function __construct(\Magento\Directory\Model\RegionFactory $regionFactor * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function beforeSave($object) { @@ -50,7 +46,6 @@ public function beforeSave($object) /** * @return \Magento\Directory\Model\Region - * @since 2.0.0 */ protected function _createRegionInstance() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Collection.php index fe51773dcb85f..8479190612eaf 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Collection.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\ResourceModel\Address\Attribute\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Customer\Model\ResourceModel\Attribute\Collection { @@ -22,7 +21,6 @@ class Collection extends \Magento\Customer\Model\ResourceModel\Attribute\Collect * Default attribute entity type code * * @var string - * @since 2.0.0 */ protected $_entityTypeCode = 'customer_address'; } diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Country.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Country.php index b7079dedf79fb..24e7385cf42ee 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Country.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Country.php @@ -17,13 +17,11 @@ /** * Class Country. * @package Magento\Customer\Model\ResourceModel\Address\Attribute\Source - * @since 2.0.0 */ class Country extends \Magento\Eav\Model\Entity\Attribute\Source\Table { /** * @var \Magento\Directory\Model\ResourceModel\Country\CollectionFactory - * @since 2.0.0 */ protected $_countriesFactory; @@ -37,7 +35,6 @@ class Country extends \Magento\Eav\Model\Entity\Attribute\Source\Table * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory $attrOptionFactory * @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $countriesFactory - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -52,7 +49,6 @@ public function __construct( * Retrieve all options * * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -66,7 +62,6 @@ public function getAllOptions() /** * @return \Magento\Directory\Model\ResourceModel\Country\Collection - * @since 2.0.0 */ protected function _createCountriesCollection() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/CountryWithWebsites.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/CountryWithWebsites.php index d72ecfe01c5de..45c5bd49b954b 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/CountryWithWebsites.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/CountryWithWebsites.php @@ -18,37 +18,37 @@ /** * Class \Magento\Customer\Model\ResourceModel\Address\Attribute\Source\CountryWithWebsites * - * @since 2.2.0 + * @since 2.1.3 */ class CountryWithWebsites extends \Magento\Eav\Model\Entity\Attribute\Source\Table { /** * @var \Magento\Directory\Model\ResourceModel\Country\CollectionFactory - * @since 2.2.0 + * @since 2.1.3 */ private $countriesFactory; /** * @var \Magento\Directory\Model\AllowedCountries - * @since 2.2.0 + * @since 2.1.3 */ private $allowedCountriesReader; /** * @var array - * @since 2.2.0 + * @since 2.1.3 */ private $options; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeManager; /** * @var Share - * @since 2.2.0 + * @since 2.1.3 */ private $shareConfig; @@ -60,7 +60,7 @@ class CountryWithWebsites extends \Magento\Eav\Model\Entity\Attribute\Source\Tab * @param AllowedCountries $allowedCountriesReader * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param Share $shareConfig - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -81,7 +81,7 @@ public function __construct( * Retrieve all options * * @return array - * @since 2.2.0 + * @since 2.1.3 */ public function getAllOptions() { @@ -121,7 +121,7 @@ public function getAllOptions() * Create Countries Collection with all countries * * @return \Magento\Directory\Model\ResourceModel\Country\Collection - * @since 2.2.0 + * @since 2.1.3 */ private function createCountriesCollection() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Region.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Region.php index 42203e3f1c7cb..18f96b76a7a4b 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Region.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Attribute/Source/Region.php @@ -14,13 +14,11 @@ /** * Class \Magento\Customer\Model\ResourceModel\Address\Attribute\Source\Region * - * @since 2.0.0 */ class Region extends \Magento\Eav\Model\Entity\Attribute\Source\Table { /** * @var \Magento\Directory\Model\ResourceModel\Region\CollectionFactory - * @since 2.0.0 */ protected $_regionsFactory; @@ -28,7 +26,6 @@ class Region extends \Magento\Eav\Model\Entity\Attribute\Source\Table * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory * @param \Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory $attrOptionFactory * @param \Magento\Directory\Model\ResourceModel\Region\CollectionFactory $regionsFactory - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory, @@ -43,7 +40,6 @@ public function __construct( * Retrieve all region options * * @return array - * @since 2.0.0 */ public function getAllOptions() { @@ -55,7 +51,6 @@ public function getAllOptions() /** * @return \Magento\Directory\Model\ResourceModel\Region\Collection - * @since 2.0.0 */ protected function _createRegionsCollection() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php index 1631d43d12a7f..47ac6d60652d6 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Collection.php @@ -10,7 +10,6 @@ * * @api * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\AbstractCollection { @@ -18,7 +17,6 @@ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\Abs * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -30,7 +28,6 @@ protected function _construct() * * @param \Magento\Customer\Model\Customer|array $customer * @return $this - * @since 2.0.0 */ public function setCustomerFilter($customer) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Address/Relation.php b/app/code/Magento/Customer/Model/ResourceModel/Address/Relation.php index 7815584c4adcb..d473a4dc01891 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Address/Relation.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Address/Relation.php @@ -11,19 +11,16 @@ /** * Class represents save operations for customer address relations - * @since 2.0.0 */ class Relation implements RelationInterface { /** * @var \Magento\Customer\Model\CustomerFactory - * @since 2.0.0 */ protected $customerFactory; /** * @param \Magento\Customer\Model\CustomerFactory $customerFactory - * @since 2.0.0 */ public function __construct(\Magento\Customer\Model\CustomerFactory $customerFactory) { @@ -35,7 +32,6 @@ public function __construct(\Magento\Customer\Model\CustomerFactory $customerFac * * @param \Magento\Framework\Model\AbstractModel $object * @return void - * @since 2.0.0 */ public function processRelation(\Magento\Framework\Model\AbstractModel $object) { @@ -69,7 +65,6 @@ public function processRelation(\Magento\Framework\Model\AbstractModel $object) * * @param \Magento\Framework\Model\AbstractModel $object * @return bool - * @since 2.0.0 */ protected function isAddressDefault(\Magento\Framework\Model\AbstractModel $object) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php b/app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php index bd499f8166d0c..7e9b2b74ef051 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php +++ b/app/code/Magento/Customer/Model/ResourceModel/AddressRepository.php @@ -17,7 +17,6 @@ /** * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AddressRepository implements \Magento\Customer\Api\AddressRepositoryInterface { @@ -25,49 +24,41 @@ class AddressRepository implements \Magento\Customer\Api\AddressRepositoryInterf * Directory data * * @var \Magento\Directory\Helper\Data - * @since 2.0.0 */ protected $directoryData; /** * @var \Magento\Customer\Model\AddressFactory - * @since 2.0.0 */ protected $addressFactory; /** * @var \Magento\Customer\Model\AddressRegistry - * @since 2.0.0 */ protected $addressRegistry; /** * @var \Magento\Customer\Model\CustomerRegistry - * @since 2.0.0 */ protected $customerRegistry; /** * @var \Magento\Customer\Model\ResourceModel\Address - * @since 2.0.0 */ protected $addressResourceModel; /** * @var \Magento\Customer\Api\Data\AddressSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $addressSearchResultsFactory; /** * @var \Magento\Customer\Model\ResourceModel\Address\CollectionFactory - * @since 2.0.0 */ protected $addressCollectionFactory; /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; @@ -87,7 +78,6 @@ class AddressRepository implements \Magento\Customer\Api\AddressRepositoryInterf * @param \Magento\Customer\Model\ResourceModel\Address\CollectionFactory $addressCollectionFactory * @param \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $extensionAttributesJoinProcessor * @param CollectionProcessorInterface $collectionProcessor - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\AddressFactory $addressFactory, @@ -117,7 +107,6 @@ public function __construct( * @param \Magento\Customer\Api\Data\AddressInterface $address * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\AddressInterface $address) { @@ -173,7 +162,6 @@ private function updateAddressCollection(CustomerModel $customer, CustomerAddres * @param int $addressId * @return \Magento\Customer\Api\Data\AddressInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getById($addressId) { @@ -187,7 +175,6 @@ public function getById($addressId) * @param SearchCriteriaInterface $searchCriteria * @return \Magento\Customer\Api\Data\AddressSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function getList(SearchCriteriaInterface $searchCriteria) { @@ -223,7 +210,6 @@ public function getList(SearchCriteriaInterface $searchCriteria) * @param Collection $collection * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function addFilterGroupToCollection(FilterGroup $filterGroup, Collection $collection) { @@ -245,7 +231,6 @@ protected function addFilterGroupToCollection(FilterGroup $filterGroup, Collecti * @param \Magento\Customer\Api\Data\AddressInterface $address * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(\Magento\Customer\Api\Data\AddressInterface $address) { @@ -265,7 +250,6 @@ public function delete(\Magento\Customer\Api\Data\AddressInterface $address) * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($addressId) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Attribute.php b/app/code/Magento/Customer/Model/ResourceModel/Attribute.php index d5b17f87f5a3d..856b4898015cd 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Attribute.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Attribute.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\ResourceModel\Attribute * - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\ResourceModel\Attribute { @@ -25,7 +24,6 @@ class Attribute extends \Magento\Eav\Model\ResourceModel\Attribute * If realization doesn't demand this functionality, let this function just return null * * @return string|null - * @since 2.0.0 */ protected function _getEavWebsiteTable() { @@ -38,7 +36,6 @@ protected function _getEavWebsiteTable() * Get table, where dependency between form name and attribute ids is stored * * @return string|null - * @since 2.0.0 */ protected function _getFormAttributeTable() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Attribute/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Attribute/Collection.php index 27fee881b0dbe..a9af8a0f7814b 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Attribute/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Attribute/Collection.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Model\ResourceModel\Attribute\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\ResourceModel\Attribute\Collection { @@ -22,7 +21,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Attribute\Collection * Default attribute entity type code * * @var string - * @since 2.0.0 */ protected $_entityTypeCode = 'customer'; @@ -30,7 +28,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Attribute\Collection * Default attribute entity type code * * @return string - * @since 2.0.0 */ protected function _getEntityTypeCode() { @@ -44,7 +41,6 @@ protected function _getEntityTypeCode() * If realization doesn't demand this functionality, let this function just return null * * @return string|null - * @since 2.0.0 */ protected function _getEavWebsiteTable() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Customer.php b/app/code/Magento/Customer/Model/ResourceModel/Customer.php index 8e3a41f3a7b4a..a61fb1b6f9aa6 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Customer.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Customer.php @@ -15,13 +15,11 @@ * * @api * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Customer extends \Magento\Eav\Model\Entity\VersionControl\AbstractEntity { /** * @var \Magento\Framework\Validator\Factory - * @since 2.0.0 */ protected $_validatorFactory; @@ -29,19 +27,16 @@ class Customer extends \Magento\Eav\Model\Entity\VersionControl\AbstractEntity * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $_scopeConfig; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; @@ -60,7 +55,6 @@ class Customer extends \Magento\Eav\Model\Entity\VersionControl\AbstractEntity * @param \Magento\Framework\Stdlib\DateTime $dateTime * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Eav\Model\Entity\Context $context, @@ -85,7 +79,6 @@ public function __construct( * Retrieve customer entity default attributes * * @return string[] - * @since 2.0.0 */ protected function _getDefaultAttributes() { @@ -106,7 +99,6 @@ protected function _getDefaultAttributes() * @throws \Magento\Framework\Exception\LocalizedException * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\DataObject $customer) { @@ -169,7 +161,6 @@ protected function _beforeSave(\Magento\Framework\DataObject $customer) * @param \Magento\Customer\Model\Customer $customer * @return void * @throws \Magento\Framework\Validator\Exception - * @since 2.0.0 */ protected function _validate($customer) { @@ -203,7 +194,6 @@ private function getNotificationStorage() * * @param \Magento\Framework\DataObject $customer * @return $this - * @since 2.0.0 */ protected function _afterSave(\Magento\Framework\DataObject $customer) { @@ -220,7 +210,6 @@ protected function _afterSave(\Magento\Framework\DataObject $customer) * @param \Magento\Framework\DataObject $object * @param string|int $rowId * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ protected function _getLoadRowSelect($object, $rowId) { @@ -239,7 +228,6 @@ protected function _getLoadRowSelect($object, $rowId) * @param string $email * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function loadByEmail(\Magento\Customer\Model\Customer $customer, $email) { @@ -278,7 +266,6 @@ public function loadByEmail(\Magento\Customer\Model\Customer $customer, $email) * @param \Magento\Customer\Model\Customer $customer * @param string $newPassword * @return $this - * @since 2.0.0 */ public function changePassword(\Magento\Customer\Model\Customer $customer, $newPassword) { @@ -290,7 +277,6 @@ public function changePassword(\Magento\Customer\Model\Customer $customer, $newP * Check whether there are email duplicates of customers in global scope * * @return bool - * @since 2.0.0 */ public function findEmailDuplicates() { @@ -317,7 +303,6 @@ public function findEmailDuplicates() * * @param int $customerId * @return bool - * @since 2.0.0 */ public function checkCustomerId($customerId) { @@ -344,7 +329,6 @@ public function checkCustomerId($customerId) * * @param int $customerId * @return int - * @since 2.0.0 */ public function getWebsiteId($customerId) { @@ -365,7 +349,6 @@ public function getWebsiteId($customerId) * * @param \Magento\Framework\DataObject $object * @return $this - * @since 2.0.0 */ public function setNewIncrementId(\Magento\Framework\DataObject $object) { @@ -387,7 +370,6 @@ public function setNewIncrementId(\Magento\Framework\DataObject $object) * @param \Magento\Customer\Model\Customer $customer * @param string $passwordLinkToken * @return $this - * @since 2.0.0 */ public function changeResetPasswordLinkToken(\Magento\Customer\Model\Customer $customer, $passwordLinkToken) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Customer/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Customer/Collection.php index 4dcf523b642d6..af8980a129d3e 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Customer/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Customer/Collection.php @@ -10,7 +10,6 @@ * * @author Magento Core Team * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\AbstractCollection { @@ -21,13 +20,11 @@ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\Abs /** * @var \Magento\Framework\DataObject\Copy\Config - * @since 2.0.0 */ protected $_fieldsetConfig; /** * @var string - * @since 2.0.0 */ protected $_modelName; @@ -47,7 +44,6 @@ class Collection extends \Magento\Eav\Model\Entity\Collection\VersionControl\Abs * @param string $modelName * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Data\Collection\EntityFactory $entityFactory, @@ -85,7 +81,6 @@ public function __construct( * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -96,7 +91,6 @@ protected function _construct() * Group result by customer email * * @return $this - * @since 2.0.0 */ public function groupByEmail() { @@ -116,7 +110,6 @@ public function groupByEmail() * Add Name to select * * @return $this - * @since 2.0.0 */ public function addNameToSelect() { @@ -166,7 +159,6 @@ public function addNameToSelect() * Get SQL for get record count * * @return \Magento\Framework\DB\Select - * @since 2.0.0 */ public function getSelectCountSql() { @@ -182,7 +174,6 @@ public function getSelectCountSql() * @param int $limit * @param int $offset * @return \Magento\Eav\Model\Entity\Collection\AbstractCollection - * @since 2.0.0 */ protected function _getAllIdsSelect($limit = null, $offset = null) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Customer/Grid.php b/app/code/Magento/Customer/Model/ResourceModel/Customer/Grid.php index 3ec6cda4585ca..d87d41af1b3c9 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Customer/Grid.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Customer/Grid.php @@ -12,25 +12,21 @@ /** * @deprecated 2.1.0 - * @since 2.0.0 */ class Grid { /** * @var resource - * @since 2.0.0 */ protected $resource; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Framework\Indexer\ScopeResolver\FlatScopeResolver - * @since 2.0.0 */ protected $flatScopeResolver; @@ -38,7 +34,6 @@ class Grid * @param ResourceConnection $resource * @param IndexerRegistry $indexerRegistry * @param FlatScopeResolver $flatScopeResolver - * @since 2.0.0 */ public function __construct( ResourceConnection $resource, @@ -56,7 +51,6 @@ public function __construct( * @return void * * @deprecated 2.1.0 - * @since 2.0.0 */ public function syncCustomerGrid() { @@ -73,7 +67,6 @@ public function syncCustomerGrid() * @return array * * @deprecated 2.1.0 - * @since 2.0.0 */ protected function getCustomerIdsForReindex() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Customer/Relation.php b/app/code/Magento/Customer/Model/ResourceModel/Customer/Relation.php index 6cb61eb4511fb..e55c5d443c9d1 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Customer/Relation.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Customer/Relation.php @@ -8,7 +8,6 @@ /** * Class Relation - * @since 2.0.0 */ class Relation implements \Magento\Framework\Model\ResourceModel\Db\VersionControl\RelationInterface { @@ -18,7 +17,6 @@ class Relation implements \Magento\Framework\Model\ResourceModel\Db\VersionContr * @param \Magento\Framework\Model\AbstractModel $customer * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function processRelation(\Magento\Framework\Model\AbstractModel $customer) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php b/app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php index f73bd689e6800..41d663a0f8aff 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php +++ b/app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php @@ -15,85 +15,71 @@ /** * Customer repository. * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CustomerRepository implements \Magento\Customer\Api\CustomerRepositoryInterface { /** * @var \Magento\Customer\Model\CustomerFactory - * @since 2.0.0 */ protected $customerFactory; /** * @var \Magento\Customer\Model\Data\CustomerSecureFactory - * @since 2.0.0 */ protected $customerSecureFactory; /** * @var \Magento\Customer\Model\CustomerRegistry - * @since 2.0.0 */ protected $customerRegistry; /** * @var \Magento\Customer\Model\ResourceModel\AddressRepository - * @since 2.0.0 */ protected $addressRepository; /** * @var \Magento\Customer\Model\ResourceModel\Customer - * @since 2.0.0 */ protected $customerResourceModel; /** * @var \Magento\Customer\Api\CustomerMetadataInterface - * @since 2.0.0 */ protected $customerMetadata; /** * @var \Magento\Customer\Api\Data\CustomerSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $searchResultsFactory; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $eventManager; /** * @var \Magento\Store\Model\StoreManagerInterface - * @since 2.0.0 */ protected $storeManager; /** * @var \Magento\Framework\Api\ExtensibleDataObjectConverter - * @since 2.0.0 */ protected $extensibleDataObjectConverter; /** * @var DataObjectHelper - * @since 2.0.0 */ protected $dataObjectHelper; /** * @var ImageProcessorInterface - * @since 2.0.0 */ protected $imageProcessor; /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; @@ -119,7 +105,6 @@ class CustomerRepository implements \Magento\Customer\Api\CustomerRepositoryInte * @param \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $extensionAttributesJoinProcessor * @param CollectionProcessorInterface $collectionProcessor * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\CustomerFactory $customerFactory, @@ -157,7 +142,6 @@ public function __construct( * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\CustomerInterface $customer, $passwordHash = null) { @@ -291,7 +275,6 @@ private function populateCustomerWithSecureData($customerModel, $passwordHash = /** * {@inheritdoc} - * @since 2.0.0 */ public function get($email, $websiteId = null) { @@ -301,7 +284,6 @@ public function get($email, $websiteId = null) /** * {@inheritdoc} - * @since 2.0.0 */ public function getById($customerId) { @@ -311,7 +293,6 @@ public function getById($customerId) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(SearchCriteriaInterface $searchCriteria) { @@ -352,7 +333,6 @@ public function getList(SearchCriteriaInterface $searchCriteria) /** * {@inheritdoc} - * @since 2.0.0 */ public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer) { @@ -361,7 +341,6 @@ public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer) /** * {@inheritdoc} - * @since 2.0.0 */ public function deleteById($customerId) { @@ -379,7 +358,6 @@ public function deleteById($customerId) * @param \Magento\Customer\Model\ResourceModel\Customer\Collection $collection * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function addFilterGroupToCollection( \Magento\Framework\Api\Search\FilterGroup $filterGroup, diff --git a/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute.php b/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute.php index b01f5d4d61362..5623e8e6ddf23 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute.php @@ -9,7 +9,6 @@ * Customer Form Attribute Resource Model * * @author Magento Core Team - * @since 2.0.0 */ class Attribute extends \Magento\Eav\Model\ResourceModel\Form\Attribute { @@ -17,7 +16,6 @@ class Attribute extends \Magento\Eav\Model\ResourceModel\Form\Attribute * Initialize connection and define main table * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute/Collection.php index abcde1a5a0e52..f51f8cd85db4f 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Form/Attribute/Collection.php @@ -9,7 +9,6 @@ * Customer Form Attribute Resource Collection * * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Eav\Model\ResourceModel\Form\Attribute\Collection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Form\Attribute\Collect * Current module pathname * * @var string - * @since 2.0.0 */ protected $_moduleName = 'Magento_Customer'; @@ -25,7 +23,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Form\Attribute\Collect * Current EAV entity type code * * @var string - * @since 2.0.0 */ protected $_entityTypeCode = 'customer'; @@ -33,7 +30,6 @@ class Collection extends \Magento\Eav\Model\ResourceModel\Form\Attribute\Collect * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -48,7 +44,6 @@ protected function _construct() * If realization doesn't demand this functionality, let this function just return null * * @return string|null - * @since 2.0.0 */ protected function _getEavWebsiteTable() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php index 90f5595502b21..9f8386e060f09 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Grid/Collection.php @@ -15,7 +15,7 @@ /** * Class \Magento\Customer\Model\ResourceModel\Grid\Collection * - * @since 2.1.0 + * @since 2.0.11 */ class Collection extends \Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Group.php b/app/code/Magento/Customer/Model/ResourceModel/Group.php index c96ac70c484b0..593a70de78c5c 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Group.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Group.php @@ -12,7 +12,6 @@ * Customer group resource model * * @author Magento Core Team - * @since 2.0.0 */ class Group extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\AbstractDb { @@ -20,13 +19,11 @@ class Group extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\Abs * Group Management * * @var \Magento\Customer\Api\GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @var \Magento\Customer\Model\ResourceModel\Customer\CollectionFactory - * @since 2.0.0 */ protected $_customersFactory; @@ -37,7 +34,6 @@ class Group extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\Abs * @param \Magento\Customer\Api\GroupManagementInterface $groupManagement * @param Customer\CollectionFactory $customersFactory * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -56,7 +52,6 @@ public function __construct( * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -67,7 +62,6 @@ protected function _construct() * Initialize unique fields * * @return $this - * @since 2.0.0 */ protected function _initUniqueFields() { @@ -82,7 +76,6 @@ protected function _initUniqueFields() * @param \Magento\Framework\Model\AbstractModel $group * @return $this * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ protected function _beforeDelete(\Magento\Framework\Model\AbstractModel $group) { @@ -99,7 +92,6 @@ protected function _beforeDelete(\Magento\Framework\Model\AbstractModel $group) * * @param \Magento\Framework\Model\AbstractModel $group * @return $this - * @since 2.0.0 */ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $group) { @@ -119,7 +111,6 @@ protected function _afterDelete(\Magento\Framework\Model\AbstractModel $group) /** * @return \Magento\Customer\Model\ResourceModel\Customer\Collection - * @since 2.0.0 */ protected function _createCustomersCollection() { @@ -131,7 +122,6 @@ protected function _createCustomersCollection() * * @param \Magento\Framework\Model\AbstractModel $group * @return $this - * @since 2.0.0 */ protected function _beforeSave(\Magento\Framework\Model\AbstractModel $group) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Group/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Group/Collection.php index 75b523125d2bd..48710c46a5f1d 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Group/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Group/Collection.php @@ -9,7 +9,6 @@ * Customer group collection * * @author Magento Core Team - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -17,7 +16,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -29,7 +27,6 @@ protected function _construct() * * @param array $indexes * @return $this - * @since 2.0.0 */ public function setIgnoreIdFilter($indexes) { @@ -43,7 +40,6 @@ public function setIgnoreIdFilter($indexes) * Set real groups filter * * @return $this - * @since 2.0.0 */ public function setRealGroupsFilter() { @@ -54,7 +50,6 @@ public function setRealGroupsFilter() * Add tax class * * @return $this - * @since 2.0.0 */ public function addTaxClass() { @@ -69,7 +64,6 @@ public function addTaxClass() * Retrieve option array * * @return array - * @since 2.0.0 */ public function toOptionArray() { @@ -80,7 +74,6 @@ public function toOptionArray() * Retrieve option hash * * @return array - * @since 2.0.0 */ public function toOptionHash() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/Collection.php index 152061c78e59b..05c25dc3e0add 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/Collection.php @@ -10,14 +10,12 @@ /** * Class \Magento\Customer\Model\ResourceModel\Group\Grid\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Customer\Model\ResourceModel\Group\Collection { /** * Resource initialization * @return $this - * @since 2.0.0 */ protected function _initSelect() { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/ServiceCollection.php b/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/ServiceCollection.php index 3279230e315bc..c0afd353fa7a7 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/ServiceCollection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Group/Grid/ServiceCollection.php @@ -19,19 +19,16 @@ /** * Customer group collection backed by services - * @since 2.0.0 */ class ServiceCollection extends AbstractServiceCollection { /** * @var GroupRepositoryInterface - * @since 2.0.0 */ protected $groupRepository; /** * @var SimpleDataObjectConverter - * @since 2.0.0 */ protected $simpleDataObjectConverter; @@ -42,7 +39,6 @@ class ServiceCollection extends AbstractServiceCollection * @param SortOrderBuilder $sortOrderBuilder * @param GroupRepositoryInterface $groupRepository * @param SimpleDataObjectConverter $simpleDataObjectConverter - * @since 2.0.0 */ public function __construct( EntityFactory $entityFactory, @@ -64,7 +60,6 @@ public function __construct( * @param bool $logQuery * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function loadData($printQuery = false, $logQuery = false) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/GroupRepository.php b/app/code/Magento/Customer/Model/ResourceModel/GroupRepository.php index 9e21dff2db96e..b3dcbdae887e7 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/GroupRepository.php +++ b/app/code/Magento/Customer/Model/ResourceModel/GroupRepository.php @@ -22,7 +22,6 @@ * Customer group CRUD class * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class GroupRepository implements \Magento\Customer\Api\GroupRepositoryInterface { @@ -33,49 +32,41 @@ class GroupRepository implements \Magento\Customer\Api\GroupRepositoryInterface /** * @var \Magento\Customer\Model\GroupRegistry - * @since 2.0.0 */ protected $groupRegistry; /** * @var \Magento\Customer\Model\GroupFactory - * @since 2.0.0 */ protected $groupFactory; /** * @var \Magento\Customer\Api\Data\GroupInterfaceFactory - * @since 2.0.0 */ protected $groupDataFactory; /** * @var \Magento\Customer\Model\ResourceModel\Group - * @since 2.0.0 */ protected $groupResourceModel; /** * @var \Magento\Framework\Reflection\DataObjectProcessor - * @since 2.0.0 */ protected $dataObjectProcessor; /** * @var \Magento\Customer\Api\Data\GroupSearchResultsInterfaceFactory - * @since 2.0.0 */ protected $searchResultsFactory; /** * @var \Magento\Tax\Api\TaxClassRepositoryInterface - * @since 2.0.0 */ private $taxClassRepository; /** * @var \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface - * @since 2.0.0 */ protected $extensionAttributesJoinProcessor; @@ -95,7 +86,6 @@ class GroupRepository implements \Magento\Customer\Api\GroupRepositoryInterface * @param \Magento\Tax\Api\TaxClassRepositoryInterface $taxClassRepositoryInterface * @param \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $extensionAttributesJoinProcessor * @param CollectionProcessorInterface $collectionProcessor - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\GroupRegistry $groupRegistry, @@ -121,7 +111,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function save(\Magento\Customer\Api\Data\GroupInterface $group) { @@ -173,7 +162,6 @@ public function save(\Magento\Customer\Api\Data\GroupInterface $group) /** * {@inheritdoc} - * @since 2.0.0 */ public function getById($id) { @@ -188,7 +176,6 @@ public function getById($id) /** * {@inheritdoc} - * @since 2.0.0 */ public function getList(SearchCriteriaInterface $searchCriteria) { @@ -234,7 +221,6 @@ public function getList(SearchCriteriaInterface $searchCriteria) * @param Collection $collection * @return void * @throws \Magento\Framework\Exception\InputException - * @since 2.0.0 */ protected function addFilterGroupToCollection(FilterGroup $filterGroup, Collection $collection) { @@ -256,7 +242,6 @@ protected function addFilterGroupToCollection(FilterGroup $filterGroup, Collecti * @deprecated 2.2.0 * @param string $field a field name that should be translated to a DB column name. * @return string - * @since 2.0.0 */ protected function translateField($field) { @@ -279,7 +264,6 @@ protected function translateField($field) * @return bool true on success * @throws \Magento\Framework\Exception\StateException If customer group cannot be deleted * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function delete(GroupInterface $group) { @@ -294,7 +278,6 @@ public function delete(GroupInterface $group) * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\StateException If customer group cannot be deleted * @throws \Magento\Framework\Exception\LocalizedException - * @since 2.0.0 */ public function deleteById($id) { @@ -318,7 +301,6 @@ public function deleteById($id) * * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ private function _validate($group) { @@ -339,7 +321,6 @@ private function _validate($group) * @param \Magento\Customer\Api\Data\GroupInterface $group The original group parameters * @return void * @throws InputException Thrown if the tax class model is invalid - * @since 2.0.0 */ protected function _verifyTaxClassModel($taxClassId, $group) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php index d67fb3fcac147..0262bf30dc827 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php @@ -17,7 +17,6 @@ * Flat customer online grid collection * * @author Magento Core Team - * @since 2.0.0 */ class Collection extends SearchResult { @@ -28,13 +27,11 @@ class Collection extends SearchResult /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $date; /** * @var Visitor - * @since 2.0.0 */ protected $visitorModel; @@ -47,7 +44,6 @@ class Collection extends SearchResult * @param string $resourceModel * @param Visitor $visitorModel * @param \Magento\Framework\Stdlib\DateTime\DateTime $date - * @since 2.0.0 */ public function __construct( EntityFactory $entityFactory, @@ -68,7 +64,6 @@ public function __construct( * Init collection select * * @return $this - * @since 2.0.0 */ protected function _initSelect() { @@ -98,7 +93,6 @@ protected function _initSelect() * @param string|array $field * @param string|int|array|null $condition * @return \Magento\Cms\Model\ResourceModel\Block\Collection - * @since 2.0.0 */ public function addFieldToFilter($field, $condition = null) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Setup/PropertyMapper.php b/app/code/Magento/Customer/Model/ResourceModel/Setup/PropertyMapper.php index 8958763c9b5f9..6820babdac3f0 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Setup/PropertyMapper.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Setup/PropertyMapper.php @@ -12,7 +12,6 @@ /** * Class \Magento\Customer\Model\ResourceModel\Setup\PropertyMapper * - * @since 2.0.0 */ class PropertyMapper extends PropertyMapperAbstract { @@ -24,7 +23,6 @@ class PropertyMapper extends PropertyMapperAbstract * @return array * * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function map(array $input, $entityTypeId) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Visitor.php b/app/code/Magento/Customer/Model/ResourceModel/Visitor.php index d00417716f846..c3a82307ba465 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Visitor.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Visitor.php @@ -9,19 +9,16 @@ /** * Class Visitor * @package Magento\Customer\Model\ResourceModel - * @since 2.0.0 */ class Visitor extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { /** * @var \Magento\Framework\Stdlib\DateTime\DateTime - * @since 2.0.0 */ protected $date; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; @@ -30,7 +27,6 @@ class Visitor extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb * @param \Magento\Framework\Stdlib\DateTime\DateTime $date * @param \Magento\Framework\Stdlib\DateTime $dateTime * @param string $connectionName - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -47,7 +43,6 @@ public function __construct( * Define main table * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -59,7 +54,6 @@ protected function _construct() * * @param \Magento\Framework\Model\AbstractModel $visitor * @return array - * @since 2.0.0 */ protected function _prepareDataForSave(\Magento\Framework\Model\AbstractModel $visitor) { @@ -75,7 +69,6 @@ protected function _prepareDataForSave(\Magento\Framework\Model\AbstractModel $v * * @param \Magento\Customer\Model\Visitor $object * @return $this - * @since 2.0.0 */ public function clean(\Magento\Customer\Model\Visitor $object) { diff --git a/app/code/Magento/Customer/Model/ResourceModel/Visitor/Collection.php b/app/code/Magento/Customer/Model/ResourceModel/Visitor/Collection.php index 04722472611f2..e7230cf45b17f 100644 --- a/app/code/Magento/Customer/Model/ResourceModel/Visitor/Collection.php +++ b/app/code/Magento/Customer/Model/ResourceModel/Visitor/Collection.php @@ -8,7 +8,6 @@ /** * Class \Magento\Customer\Model\ResourceModel\Visitor\Collection * - * @since 2.0.0 */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { @@ -16,7 +15,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab * Resource initialization * * @return void - * @since 2.0.0 */ protected function _construct() { diff --git a/app/code/Magento/Customer/Model/Session.php b/app/code/Magento/Customer/Model/Session.php index 319dde2432bee..b8a02c4d1f19a 100644 --- a/app/code/Magento/Customer/Model/Session.php +++ b/app/code/Magento/Customer/Model/Session.php @@ -17,7 +17,6 @@ * @api * @method string getNoReferer() * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Session extends \Magento\Framework\Session\SessionManager { @@ -25,13 +24,11 @@ class Session extends \Magento\Framework\Session\SessionManager * Customer object * * @var CustomerData - * @since 2.0.0 */ protected $_customer; /** * @var ResourceCustomer - * @since 2.0.0 */ protected $_customerResource; @@ -39,7 +36,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Customer model * * @var Customer - * @since 2.0.0 */ protected $_customerModel; @@ -47,7 +43,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Flag with customer id validations result * * @var bool|null - * @since 2.0.0 */ protected $_isCustomerIdChecked = null; @@ -55,7 +50,6 @@ class Session extends \Magento\Framework\Session\SessionManager * Customer URL * * @var \Magento\Customer\Model\Url - * @since 2.0.0 */ protected $_customerUrl; @@ -63,61 +57,51 @@ class Session extends \Magento\Framework\Session\SessionManager * Core url * * @var \Magento\Framework\Url\Helper\Data|null - * @since 2.0.0 */ protected $_coreUrl = null; /** * @var Share - * @since 2.0.0 */ protected $_configShare; /** * @var \Magento\Framework\Session\Generic - * @since 2.0.0 */ protected $_session; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ protected $customerRepository; /** * @var CustomerFactory - * @since 2.0.0 */ protected $_customerFactory; /** * @var \Magento\Framework\UrlFactory - * @since 2.0.0 */ protected $_urlFactory; /** * @var \Magento\Framework\Event\ManagerInterface - * @since 2.0.0 */ protected $_eventManager; /** * @var \Magento\Framework\App\Http\Context - * @since 2.0.0 */ protected $_httpContext; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $groupManagement; /** * @var \Magento\Framework\App\Response\Http - * @since 2.0.0 */ protected $response; @@ -145,7 +129,6 @@ class Session extends \Magento\Framework\Session\SessionManager * @param \Magento\Framework\App\Response\Http $response * @throws \Magento\Framework\Exception\SessionException * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Request\Http $request, @@ -200,7 +183,6 @@ public function __construct( * Retrieve customer sharing configuration model * * @return Share - * @since 2.0.0 */ public function getCustomerConfigShare() { @@ -212,7 +194,6 @@ public function getCustomerConfigShare() * * @param CustomerData $customer * @return $this - * @since 2.0.0 */ public function setCustomerData(CustomerData $customer) { @@ -234,7 +215,6 @@ public function setCustomerData(CustomerData $customer) * Retrieve customer model object * * @return CustomerData - * @since 2.0.0 */ public function getCustomerData() { @@ -249,7 +229,6 @@ public function getCustomerData() * Returns Customer data object with the customer information * * @return CustomerData - * @since 2.0.0 */ public function getCustomerDataObject() { @@ -262,7 +241,6 @@ public function getCustomerDataObject() * * @param CustomerData $customerData * @return $this - * @since 2.0.0 */ public function setCustomerDataObject(CustomerData $customerData) { @@ -277,7 +255,6 @@ public function setCustomerDataObject(CustomerData $customerData) * @param Customer $customerModel * @return $this * use setCustomerId() instead - * @since 2.0.0 */ public function setCustomer(Customer $customerModel) { @@ -306,7 +283,6 @@ public function setCustomer(Customer $customerModel) * * @return Customer * use getCustomerId() instead - * @since 2.0.0 */ public function getCustomer() { @@ -322,7 +298,6 @@ public function getCustomer() * * @param int|null $id * @return $this - * @since 2.0.0 */ public function setCustomerId($id) { @@ -335,7 +310,6 @@ public function setCustomerId($id) * * @api * @return int|null - * @since 2.0.0 */ public function getCustomerId() { @@ -349,7 +323,6 @@ public function getCustomerId() * Retrieve customer id from current session * * @return int|null - * @since 2.0.0 */ public function getId() { @@ -361,7 +334,6 @@ public function getId() * * @param int|null $customerId * @return $this - * @since 2.0.0 */ public function setId($customerId) { @@ -373,7 +345,6 @@ public function setId($customerId) * * @param int|null $id * @return $this - * @since 2.0.0 */ public function setCustomerGroupId($id) { @@ -386,7 +357,6 @@ public function setCustomerGroupId($id) * If customer is not logged in system, 'not logged in' group id will be returned * * @return int - * @since 2.0.0 */ public function getCustomerGroupId() { @@ -406,7 +376,6 @@ public function getCustomerGroupId() * * @api * @return bool - * @since 2.0.0 */ public function isLoggedIn() { @@ -420,7 +389,6 @@ public function isLoggedIn() * * @param int $customerId * @return bool - * @since 2.0.0 */ public function checkCustomerId($customerId) { @@ -440,7 +408,6 @@ public function checkCustomerId($customerId) /** * @param Customer $customer * @return $this - * @since 2.0.0 */ public function setCustomerAsLoggedIn($customer) { @@ -454,7 +421,6 @@ public function setCustomerAsLoggedIn($customer) /** * @param CustomerData $customer * @return $this - * @since 2.0.0 */ public function setCustomerDataAsLoggedIn($customer) { @@ -476,7 +442,6 @@ public function setCustomerDataAsLoggedIn($customer) * @api * @param int $customerId * @return bool - * @since 2.0.0 */ public function loginById($customerId) { @@ -494,7 +459,6 @@ public function loginById($customerId) * * @api * @return $this - * @since 2.0.0 */ public function logout() { @@ -511,7 +475,6 @@ public function logout() * * @param bool|null $loginUrl * @return bool - * @since 2.0.0 */ public function authenticate($loginUrl = null) { @@ -544,7 +507,6 @@ public function authenticate($loginUrl = null) * @param string $key * @param string $url * @return $this - * @since 2.0.0 */ protected function _setAuthUrl($key, $url) { @@ -558,7 +520,6 @@ protected function _setAuthUrl($key, $url) * Logout without dispatching event * * @return $this - * @since 2.0.0 */ protected function _logout() { @@ -575,7 +536,6 @@ protected function _logout() * * @param string $url * @return $this - * @since 2.0.0 */ public function setBeforeAuthUrl($url) { @@ -587,7 +547,6 @@ public function setBeforeAuthUrl($url) * * @param string $url * @return $this - * @since 2.0.0 */ public function setAfterAuthUrl($url) { @@ -598,7 +557,6 @@ public function setAfterAuthUrl($url) * Reset core session hosts after reseting session ID * * @return $this - * @since 2.0.0 */ public function regenerateId() { @@ -609,7 +567,6 @@ public function regenerateId() /** * @return \Magento\Framework\UrlInterface - * @since 2.0.0 */ protected function _createUrl() { diff --git a/app/code/Magento/Customer/Model/Session/Storage.php b/app/code/Magento/Customer/Model/Session/Storage.php index 1a803b71046e3..d7c6134ee95f3 100644 --- a/app/code/Magento/Customer/Model/Session/Storage.php +++ b/app/code/Magento/Customer/Model/Session/Storage.php @@ -10,7 +10,6 @@ /** * Class \Magento\Customer\Model\Session\Storage * - * @since 2.0.0 */ class Storage extends \Magento\Framework\Session\Storage { @@ -19,7 +18,6 @@ class Storage extends \Magento\Framework\Session\Storage * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param string $namespace * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\Config\Share $configShare, diff --git a/app/code/Magento/Customer/Model/Url.php b/app/code/Magento/Customer/Model/Url.php index b8abce9c03b31..8d50b1fd29bbf 100644 --- a/app/code/Magento/Customer/Model/Url.php +++ b/app/code/Magento/Customer/Model/Url.php @@ -13,7 +13,6 @@ /** * Customer url model - * @since 2.0.0 */ class Url { @@ -34,31 +33,26 @@ class Url /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; /** * @var RequestInterface - * @since 2.0.0 */ protected $request; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var Session - * @since 2.0.0 */ protected $customerSession; /** * @var EncoderInterface - * @since 2.0.0 */ protected $urlEncoder; @@ -82,7 +76,6 @@ class Url * @param EncoderInterface $urlEncoder * @param \Magento\Framework\Url\DecoderInterface|null $urlDecoder * @param \Magento\Framework\Url\HostChecker|null $hostChecker - * @since 2.0.0 */ public function __construct( Session $customerSession, @@ -108,7 +101,6 @@ public function __construct( * Retrieve customer login url * * @return string - * @since 2.0.0 */ public function getLoginUrl() { @@ -119,7 +111,6 @@ public function getLoginUrl() * Retrieve parameters of customer login url * * @return array - * @since 2.0.0 */ public function getLoginUrlParams() { @@ -147,7 +138,6 @@ public function getLoginUrlParams() * Retrieve customer login POST URL * * @return string - * @since 2.0.0 */ public function getLoginPostUrl() { @@ -165,7 +155,6 @@ public function getLoginPostUrl() * Retrieve customer logout url * * @return string - * @since 2.0.0 */ public function getLogoutUrl() { @@ -176,7 +165,6 @@ public function getLogoutUrl() * Retrieve customer dashboard url * * @return string - * @since 2.0.0 */ public function getDashboardUrl() { @@ -187,7 +175,6 @@ public function getDashboardUrl() * Retrieve customer account page url * * @return string - * @since 2.0.0 */ public function getAccountUrl() { @@ -198,7 +185,6 @@ public function getAccountUrl() * Retrieve customer register form url * * @return string - * @since 2.0.0 */ public function getRegisterUrl() { @@ -209,7 +195,6 @@ public function getRegisterUrl() * Retrieve customer register form post url * * @return string - * @since 2.0.0 */ public function getRegisterPostUrl() { @@ -220,7 +205,6 @@ public function getRegisterPostUrl() * Retrieve customer account edit form url * * @return string - * @since 2.0.0 */ public function getEditUrl() { @@ -231,7 +215,6 @@ public function getEditUrl() * Retrieve customer edit POST URL * * @return string - * @since 2.0.0 */ public function getEditPostUrl() { @@ -242,7 +225,6 @@ public function getEditPostUrl() * Retrieve url of forgot password page * * @return string - * @since 2.0.0 */ public function getForgotPasswordUrl() { @@ -254,7 +236,6 @@ public function getForgotPasswordUrl() * * @param string $email * @return string - * @since 2.0.0 */ public function getEmailConfirmationUrl($email = null) { diff --git a/app/code/Magento/Customer/Model/Vat.php b/app/code/Magento/Customer/Model/Vat.php index 89e2e3fc2eb56..9822e2ad1b80e 100644 --- a/app/code/Magento/Customer/Model/Vat.php +++ b/app/code/Magento/Customer/Model/Vat.php @@ -15,7 +15,6 @@ /** * Customer VAT model - * @since 2.0.0 */ class Vat { @@ -59,20 +58,17 @@ class Vat /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var PsrLogger - * @since 2.0.0 */ protected $logger; /** * @param ScopeConfigInterface $scopeConfig * @param PsrLogger $logger - * @since 2.0.0 */ public function __construct( ScopeConfigInterface $scopeConfig, @@ -87,7 +83,6 @@ public function __construct( * * @param Store|string|int|null $store * @return string - * @since 2.0.0 */ public function getMerchantCountryCode($store = null) { @@ -103,7 +98,6 @@ public function getMerchantCountryCode($store = null) * * @param Store|string|int|null $store * @return string - * @since 2.0.0 */ public function getMerchantVatNumber($store = null) { @@ -121,7 +115,6 @@ public function getMerchantVatNumber($store = null) * @param DataObject $vatValidationResult * @param \Magento\Store\Model\Store|string|int $store * @return null|int - * @since 2.0.0 */ public function getCustomerGroupIdBasedOnVatNumber($customerCountryCode, $vatValidationResult, $store = null) { @@ -165,7 +158,6 @@ public function getCustomerGroupIdBasedOnVatNumber($customerCountryCode, $vatVal * @param string $requesterVatNumber * * @return DataObject - * @since 2.0.0 */ public function checkVatNumber($countryCode, $vatNumber, $requesterCountryCode = '', $requesterVatNumber = '') { @@ -223,7 +215,6 @@ public function checkVatNumber($countryCode, $vatNumber, $requesterCountryCode = * * @param boolean $trace * @return \SoapClient - * @since 2.0.0 */ protected function createVatNumberValidationSoapClient($trace = false) { @@ -241,7 +232,6 @@ protected function createVatNumberValidationSoapClient($trace = false) * @return boolean * * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function canCheckVatNumber($countryCode, $vatNumber, $requesterCountryCode, $requesterVatNumber) { @@ -265,7 +255,6 @@ public function canCheckVatNumber($countryCode, $vatNumber, $requesterCountryCod * @param DataObject $vatValidationResult * @param Store|string|int|null $store * @return null|string - * @since 2.0.0 */ public function getCustomerVatClass($customerCountryCode, $vatValidationResult, $store = null) { @@ -298,7 +287,6 @@ public function getCustomerVatClass($customerCountryCode, $vatValidationResult, * @param string $countryCode * @param null|int $storeId * @return bool - * @since 2.0.0 */ public function isCountryInEU($countryCode, $storeId = null) { diff --git a/app/code/Magento/Customer/Model/Visitor.php b/app/code/Magento/Customer/Model/Visitor.php index 0ecbd57b0ef9e..b4bad240bc825 100644 --- a/app/code/Magento/Customer/Model/Visitor.php +++ b/app/code/Magento/Customer/Model/Visitor.php @@ -12,7 +12,6 @@ * Class Visitor * @package Magento\Customer\Model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Visitor extends \Magento\Framework\Model\AbstractModel { @@ -26,25 +25,21 @@ class Visitor extends \Magento\Framework\Model\AbstractModel /** * @var string[] - * @since 2.0.0 */ protected $ignoredUserAgents; /** * @var \Magento\Framework\Session\SessionManagerInterface - * @since 2.0.0 */ protected $session; /** * @var \Magento\Framework\HTTP\Header - * @since 2.0.0 */ protected $httpHeader; /** * @var bool - * @since 2.0.0 */ protected $skipRequestLogging = false; @@ -52,7 +47,6 @@ class Visitor extends \Magento\Framework\Model\AbstractModel * Ignored Modules * * @var array - * @since 2.0.0 */ protected $ignores; @@ -60,19 +54,16 @@ class Visitor extends \Magento\Framework\Model\AbstractModel * Core store config * * @var \Magento\Framework\App\Config\ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; /** * @var \Magento\Framework\Indexer\IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; @@ -91,7 +82,6 @@ class Visitor extends \Magento\Framework\Model\AbstractModel * @param array $data * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -121,7 +111,6 @@ public function __construct( * Object initialization * * @return void - * @since 2.0.0 */ protected function _construct() { @@ -139,7 +128,6 @@ protected function _construct() * * @param bool $skipRequestLogging * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function setSkipRequestLogging($skipRequestLogging) { @@ -154,7 +142,6 @@ public function setSkipRequestLogging($skipRequestLogging) * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function initByRequest($observer) { @@ -184,7 +171,6 @@ public function initByRequest($observer) * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function saveByRequest($observer) { @@ -207,7 +193,6 @@ public function saveByRequest($observer) * * @param \Magento\Framework\Event\Observer $observer * @return bool - * @since 2.0.0 */ public function isModuleIgnored($observer) { @@ -227,7 +212,6 @@ public function isModuleIgnored($observer) * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function bindCustomerLogin($observer) { @@ -248,7 +232,6 @@ public function bindCustomerLogin($observer) * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.0.0 */ public function bindCustomerLogout($observer) { @@ -263,7 +246,6 @@ public function bindCustomerLogout($observer) * * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function bindQuoteCreate($observer) { @@ -281,7 +263,6 @@ public function bindQuoteCreate($observer) * Destroy binding of checkout quote * @param \Magento\Framework\Event\Observer $observer * @return \Magento\Customer\Model\Visitor - * @since 2.0.0 */ public function bindQuoteDestroy($observer) { @@ -296,7 +277,6 @@ public function bindQuoteDestroy($observer) * Return clean time in seconds for visitor's outdated records * * @return string - * @since 2.0.0 */ public function getCleanTime() { @@ -310,7 +290,6 @@ public function getCleanTime() * Clean visitor's outdated records * * @return $this - * @since 2.0.0 */ public function clean() { @@ -322,7 +301,6 @@ public function clean() * Retrieve Online Interval (in minutes) * * @return int Minutes Interval - * @since 2.0.0 */ public function getOnlineInterval() { diff --git a/app/code/Magento/Customer/Observer/AfterAddressSaveObserver.php b/app/code/Magento/Customer/Observer/AfterAddressSaveObserver.php index 7d7b4e312d555..06a4c4ae70924 100644 --- a/app/code/Magento/Customer/Observer/AfterAddressSaveObserver.php +++ b/app/code/Magento/Customer/Observer/AfterAddressSaveObserver.php @@ -25,7 +25,6 @@ /** * Customer Observer Model * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class AfterAddressSaveObserver implements ObserverInterface { @@ -36,49 +35,41 @@ class AfterAddressSaveObserver implements ObserverInterface /** * @var HelperAddress - * @since 2.0.0 */ protected $_customerAddress; /** * @var Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @var Vat - * @since 2.0.0 */ protected $_customerVat; /** * @var GroupManagementInterface - * @since 2.0.0 */ protected $_groupManagement; /** * @var AppState - * @since 2.0.0 */ protected $appState; /** * @var ScopeConfigInterface - * @since 2.0.0 */ protected $scopeConfig; /** * @var ManagerInterface - * @since 2.0.0 */ protected $messageManager; /** * @var Escaper - * @since 2.0.0 */ protected $escaper; @@ -98,7 +89,6 @@ class AfterAddressSaveObserver implements ObserverInterface * @param Escaper $escaper * @param AppState $appState * @param CustomerSession $customerSession - * @since 2.0.0 */ public function __construct( Vat $customerVat, @@ -128,7 +118,6 @@ public function __construct( * @param \Magento\Framework\Event\Observer $observer * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { @@ -195,7 +184,6 @@ public function execute(\Magento\Framework\Event\Observer $observer) * * @param Address $address * @return bool - * @since 2.0.0 */ protected function _canProcessAddress($address) { @@ -221,7 +209,6 @@ protected function _canProcessAddress($address) * * @param Address $address * @return bool - * @since 2.0.0 */ protected function _isDefaultBilling($address) { @@ -235,7 +222,6 @@ protected function _isDefaultBilling($address) * * @param Address $address * @return bool - * @since 2.0.0 */ protected function _isDefaultShipping($address) { @@ -250,7 +236,6 @@ protected function _isDefaultShipping($address) * @param Address $customerAddress * @param DataObject $validationResult * @return $this - * @since 2.0.0 */ protected function addValidMessage($customerAddress, $validationResult) { @@ -281,7 +266,6 @@ protected function addValidMessage($customerAddress, $validationResult) * * @param Address $customerAddress * @return $this - * @since 2.0.0 */ protected function addInvalidMessage($customerAddress) { @@ -307,7 +291,6 @@ protected function addInvalidMessage($customerAddress) * * @param Address $customerAddress * @return $this - * @since 2.0.0 */ protected function addErrorMessage($customerAddress) { diff --git a/app/code/Magento/Customer/Observer/BeforeAddressSaveObserver.php b/app/code/Magento/Customer/Observer/BeforeAddressSaveObserver.php index 3ba8d3507d836..a24b27543a5cc 100644 --- a/app/code/Magento/Customer/Observer/BeforeAddressSaveObserver.php +++ b/app/code/Magento/Customer/Observer/BeforeAddressSaveObserver.php @@ -14,7 +14,6 @@ /** * Customer Observer Model - * @since 2.0.0 */ class BeforeAddressSaveObserver implements ObserverInterface { @@ -25,20 +24,17 @@ class BeforeAddressSaveObserver implements ObserverInterface /** * @var HelperAddress - * @since 2.0.0 */ protected $_customerAddress; /** * @var Registry - * @since 2.0.0 */ protected $_coreRegistry; /** * @param HelperAddress $customerAddress * @param Registry $coreRegistry - * @since 2.0.0 */ public function __construct( HelperAddress $customerAddress, @@ -53,7 +49,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/LogLastLoginAtObserver.php b/app/code/Magento/Customer/Observer/LogLastLoginAtObserver.php index 7a45a367d8d9a..0228921a1c280 100644 --- a/app/code/Magento/Customer/Observer/LogLastLoginAtObserver.php +++ b/app/code/Magento/Customer/Observer/LogLastLoginAtObserver.php @@ -12,7 +12,6 @@ /** * Customer log observer. - * @since 2.0.0 */ class LogLastLoginAtObserver implements ObserverInterface { @@ -20,13 +19,11 @@ class LogLastLoginAtObserver implements ObserverInterface * Logger of customer's log data. * * @var Logger - * @since 2.0.0 */ protected $logger; /** * @param Logger $logger - * @since 2.0.0 */ public function __construct(Logger $logger) { @@ -38,7 +35,6 @@ public function __construct(Logger $logger) * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/LogLastLogoutAtObserver.php b/app/code/Magento/Customer/Observer/LogLastLogoutAtObserver.php index 5c7c2d278206d..535128e6a4b0a 100644 --- a/app/code/Magento/Customer/Observer/LogLastLogoutAtObserver.php +++ b/app/code/Magento/Customer/Observer/LogLastLogoutAtObserver.php @@ -12,7 +12,6 @@ /** * Customer log observer. - * @since 2.0.0 */ class LogLastLogoutAtObserver implements ObserverInterface { @@ -20,13 +19,11 @@ class LogLastLogoutAtObserver implements ObserverInterface * Logger of customer's log data. * * @var Logger - * @since 2.0.0 */ protected $logger; /** * @param Logger $logger - * @since 2.0.0 */ public function __construct(Logger $logger) { @@ -38,7 +35,6 @@ public function __construct(Logger $logger) * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/UpgradeCustomerPasswordObserver.php b/app/code/Magento/Customer/Observer/UpgradeCustomerPasswordObserver.php index d18753b872100..2a2ed5a38f566 100644 --- a/app/code/Magento/Customer/Observer/UpgradeCustomerPasswordObserver.php +++ b/app/code/Magento/Customer/Observer/UpgradeCustomerPasswordObserver.php @@ -14,7 +14,6 @@ /** * Class \Magento\Customer\Observer\UpgradeCustomerPasswordObserver * - * @since 2.0.0 */ class UpgradeCustomerPasswordObserver implements ObserverInterface { @@ -22,19 +21,16 @@ class UpgradeCustomerPasswordObserver implements ObserverInterface * Encryption model * * @var EncryptorInterface - * @since 2.0.0 */ protected $encryptor; /** * @var CustomerRegistry - * @since 2.0.0 */ private $customerRegistry; /** * @var CustomerRepositoryInterface - * @since 2.0.0 */ private $customerRepository; @@ -42,7 +38,6 @@ class UpgradeCustomerPasswordObserver implements ObserverInterface * @param EncryptorInterface $encryptor * @param CustomerRegistry $customerRegistry * @param CustomerRepositoryInterface $customerRepository - * @since 2.0.0 */ public function __construct( EncryptorInterface $encryptor, @@ -59,7 +54,6 @@ public function __construct( * * @param \Magento\Framework\Event\Observer $observer * @return void - * @since 2.0.0 */ public function execute(\Magento\Framework\Event\Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/AbstractVisitorObserver.php b/app/code/Magento/Customer/Observer/Visitor/AbstractVisitorObserver.php index 6372f6ee6cccd..e405d586ffcfe 100644 --- a/app/code/Magento/Customer/Observer/Visitor/AbstractVisitorObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/AbstractVisitorObserver.php @@ -12,13 +12,11 @@ /** * Abstract Visitor Observer - * @since 2.0.0 */ abstract class AbstractVisitorObserver implements ObserverInterface { /** * @var \Magento\Customer\Model\Visitor - * @since 2.0.0 */ protected $visitor; @@ -26,7 +24,6 @@ abstract class AbstractVisitorObserver implements ObserverInterface * Constructor * * @param Visitor $visitor - * @since 2.0.0 */ public function __construct(Visitor $visitor) { diff --git a/app/code/Magento/Customer/Observer/Visitor/BindCustomerLoginObserver.php b/app/code/Magento/Customer/Observer/Visitor/BindCustomerLoginObserver.php index 9b542befb5eea..8d344b3d6ae0d 100644 --- a/app/code/Magento/Customer/Observer/Visitor/BindCustomerLoginObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/BindCustomerLoginObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class BindCustomerLoginObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class BindCustomerLoginObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/BindCustomerLogoutObserver.php b/app/code/Magento/Customer/Observer/Visitor/BindCustomerLogoutObserver.php index fbd2717af625a..2a60e41701fca 100644 --- a/app/code/Magento/Customer/Observer/Visitor/BindCustomerLogoutObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/BindCustomerLogoutObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class BindCustomerLogoutObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class BindCustomerLogoutObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/BindQuoteCreateObserver.php b/app/code/Magento/Customer/Observer/Visitor/BindQuoteCreateObserver.php index 352f74533716c..bbffea1da6f0e 100644 --- a/app/code/Magento/Customer/Observer/Visitor/BindQuoteCreateObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/BindQuoteCreateObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class BindQuoteCreateObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class BindQuoteCreateObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/BindQuoteDestroyObserver.php b/app/code/Magento/Customer/Observer/Visitor/BindQuoteDestroyObserver.php index f9d267d09632e..410895efa766d 100644 --- a/app/code/Magento/Customer/Observer/Visitor/BindQuoteDestroyObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/BindQuoteDestroyObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class BindQuoteDestroyObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class BindQuoteDestroyObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/InitByRequestObserver.php b/app/code/Magento/Customer/Observer/Visitor/InitByRequestObserver.php index 5c3ebda92854f..165c411a46336 100644 --- a/app/code/Magento/Customer/Observer/Visitor/InitByRequestObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/InitByRequestObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class InitByRequestObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class InitByRequestObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Observer/Visitor/SaveByRequestObserver.php b/app/code/Magento/Customer/Observer/Visitor/SaveByRequestObserver.php index 1af476856c8cf..1516ed38a90c1 100644 --- a/app/code/Magento/Customer/Observer/Visitor/SaveByRequestObserver.php +++ b/app/code/Magento/Customer/Observer/Visitor/SaveByRequestObserver.php @@ -10,7 +10,6 @@ /** * Visitor Observer - * @since 2.0.0 */ class SaveByRequestObserver extends AbstractVisitorObserver { @@ -19,7 +18,6 @@ class SaveByRequestObserver extends AbstractVisitorObserver * * @param Observer $observer * @return void - * @since 2.0.0 */ public function execute(Observer $observer) { diff --git a/app/code/Magento/Customer/Setup/CustomerSetup.php b/app/code/Magento/Customer/Setup/CustomerSetup.php index b33c9f2261465..b1f07e4872fd8 100644 --- a/app/code/Magento/Customer/Setup/CustomerSetup.php +++ b/app/code/Magento/Customer/Setup/CustomerSetup.php @@ -17,7 +17,6 @@ /** * @codeCoverageIgnore * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CustomerSetup extends EavSetup { @@ -25,7 +24,6 @@ class CustomerSetup extends EavSetup * EAV configuration * * @var Config - * @since 2.0.0 */ protected $eavConfig; @@ -37,7 +35,6 @@ class CustomerSetup extends EavSetup * @param CacheInterface $cache * @param CollectionFactory $attrGroupCollectionFactory * @param Config $eavConfig - * @since 2.0.0 */ public function __construct( ModuleDataSetupInterface $setup, @@ -56,7 +53,6 @@ public function __construct( * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ public function installCustomerForms() { @@ -126,7 +122,6 @@ public function installCustomerForms() * * @return array * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function getDefaultEntities() { @@ -489,7 +484,6 @@ public function getDefaultEntities() * Gets EAV configuration * * @return Config - * @since 2.0.0 */ public function getEavConfig() { diff --git a/app/code/Magento/Customer/Setup/InstallData.php b/app/code/Magento/Customer/Setup/InstallData.php index d6d408a16cd6f..0bc4b19db9d1c 100644 --- a/app/code/Magento/Customer/Setup/InstallData.php +++ b/app/code/Magento/Customer/Setup/InstallData.php @@ -13,7 +13,6 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallData implements InstallDataInterface { @@ -21,7 +20,6 @@ class InstallData implements InstallDataInterface * Customer setup factory * * @var CustomerSetupFactory - * @since 2.0.0 */ private $customerSetupFactory; @@ -29,7 +27,6 @@ class InstallData implements InstallDataInterface * Init * * @param CustomerSetupFactory $customerSetupFactory - * @since 2.0.0 */ public function __construct(CustomerSetupFactory $customerSetupFactory) { @@ -39,7 +36,6 @@ public function __construct(CustomerSetupFactory $customerSetupFactory) /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Customer/Setup/InstallSchema.php b/app/code/Magento/Customer/Setup/InstallSchema.php index 68e3c0f091d73..64257ea992be5 100644 --- a/app/code/Magento/Customer/Setup/InstallSchema.php +++ b/app/code/Magento/Customer/Setup/InstallSchema.php @@ -12,14 +12,12 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class InstallSchema implements InstallSchemaInterface { /** * {@inheritdoc} * @SuppressWarnings(PHPMD.ExcessiveMethodLength) - * @since 2.0.0 */ public function install(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Customer/Setup/UpgradeData.php b/app/code/Magento/Customer/Setup/UpgradeData.php index 94881db36254c..277597f18571b 100644 --- a/app/code/Magento/Customer/Setup/UpgradeData.php +++ b/app/code/Magento/Customer/Setup/UpgradeData.php @@ -23,7 +23,6 @@ /** * @codeCoverageIgnore * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class UpgradeData implements UpgradeDataInterface { @@ -31,31 +30,28 @@ class UpgradeData implements UpgradeDataInterface * Customer setup factory * * @var CustomerSetupFactory - * @since 2.0.0 */ protected $customerSetupFactory; /** * @var AllowedCountries - * @since 2.2.0 + * @since 2.1.3 */ private $allowedCountriesReader; /** * @var IndexerRegistry - * @since 2.0.0 */ protected $indexerRegistry; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $eavConfig; /** * @var StoreManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private $storeManager; @@ -70,7 +66,6 @@ class UpgradeData implements UpgradeDataInterface * @param IndexerRegistry $indexerRegistry * @param \Magento\Eav\Model\Config $eavConfig * @param FieldDataConverterFactory|null $fieldDataConverterFactory - * @since 2.0.0 */ public function __construct( CustomerSetupFactory $customerSetupFactory, @@ -91,7 +86,6 @@ public function __construct( * {@inheritdoc} * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { @@ -177,9 +171,9 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface /** * Retrieve Store Manager * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return StoreManagerInterface - * @since 2.2.0 + * @since 2.1.3 */ private function getStoreManager() { @@ -193,9 +187,9 @@ private function getStoreManager() /** * Retrieve Allowed Countries Reader * - * @deprecated 2.2.0 + * @deprecated 2.1.3 * @return AllowedCountries - * @since 2.2.0 + * @since 2.1.3 */ private function getAllowedCountriesReader() { @@ -213,7 +207,7 @@ private function getAllowedCountriesReader() * @param array $newCountries * @param string $identifier * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function mergeAllowedCountries(array $countries, array $newCountries, $identifier) { @@ -233,7 +227,7 @@ private function mergeAllowedCountries(array $countries, array $newCountries, $i * @param string $scope * @param int $scopeCode * @return array - * @since 2.2.0 + * @since 2.1.3 */ private function getAllowedCountries($scope, $scopeCode) { @@ -246,7 +240,7 @@ private function getAllowedCountries($scope, $scopeCode) * * @param SetupInterface $setup * @return void - * @since 2.2.0 + * @since 2.1.3 */ private function migrateStoresAllowedCountriesToWebsite(SetupInterface $setup) { @@ -299,7 +293,6 @@ private function migrateStoresAllowedCountriesToWebsite(SetupInterface $setup) * @param array $entityAttributes * @param CustomerSetup $customerSetup * @return void - * @since 2.0.0 */ protected function upgradeAttributes(array $entityAttributes, CustomerSetup $customerSetup) { @@ -317,7 +310,6 @@ protected function upgradeAttributes(array $entityAttributes, CustomerSetup $cus /** * @param ModuleDataSetupInterface $setup * @return void - * @since 2.0.0 */ private function upgradeHash($setup) { diff --git a/app/code/Magento/Customer/Setup/UpgradeSchema.php b/app/code/Magento/Customer/Setup/UpgradeSchema.php index d69a8afcc91d4..1108e3887b7d7 100755 --- a/app/code/Magento/Customer/Setup/UpgradeSchema.php +++ b/app/code/Magento/Customer/Setup/UpgradeSchema.php @@ -12,13 +12,11 @@ /** * @codeCoverageIgnore - * @since 2.0.0 */ class UpgradeSchema implements UpgradeSchemaInterface { /** * {@inheritdoc} - * @since 2.0.0 */ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context) { diff --git a/app/code/Magento/Customer/Ui/Component/ColumnFactory.php b/app/code/Magento/Customer/Ui/Component/ColumnFactory.php index 4bd416c24866a..7e90dd65bc8ab 100644 --- a/app/code/Magento/Customer/Ui/Component/ColumnFactory.php +++ b/app/code/Magento/Customer/Ui/Component/ColumnFactory.php @@ -12,25 +12,21 @@ /** * Class \Magento\Customer\Ui\Component\ColumnFactory * - * @since 2.0.0 */ class ColumnFactory { /** * @var \Magento\Framework\View\Element\UiComponentFactory - * @since 2.0.0 */ protected $componentFactory; /** * @var \Magento\Customer\Ui\Component\Listing\Column\InlineEditUpdater - * @since 2.0.0 */ protected $inlineEditUpdater; /** * @var array - * @since 2.0.0 */ protected $jsComponentMap = [ 'text' => 'Magento_Ui/js/grid/columns/column', @@ -40,7 +36,6 @@ class ColumnFactory /** * @var array - * @since 2.0.0 */ protected $dataTypeMap = [ 'default' => 'text', @@ -54,7 +49,6 @@ class ColumnFactory /** * @param \Magento\Framework\View\Element\UiComponentFactory $componentFactory * @param InlineEditUpdater $inlineEditor - * @since 2.0.0 */ public function __construct( \Magento\Framework\View\Element\UiComponentFactory $componentFactory, @@ -70,7 +64,6 @@ public function __construct( * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context * @param array $config * @return \Magento\Ui\Component\Listing\Columns\ColumnInterface - * @since 2.0.0 */ public function create(array $attributeData, $columnName, $context, array $config = []) { @@ -114,7 +107,6 @@ public function create(array $attributeData, $columnName, $context, array $confi /** * @param string $dataType * @return string - * @since 2.0.0 */ protected function getJsComponent($dataType) { @@ -124,7 +116,6 @@ protected function getJsComponent($dataType) /** * @param string $frontendType * @return string - * @since 2.0.0 */ protected function getDataType($frontendType) { diff --git a/app/code/Magento/Customer/Ui/Component/DataProvider.php b/app/code/Magento/Customer/Ui/Component/DataProvider.php index 914fe1dd304e4..622399725090c 100644 --- a/app/code/Magento/Customer/Ui/Component/DataProvider.php +++ b/app/code/Magento/Customer/Ui/Component/DataProvider.php @@ -15,13 +15,11 @@ /** * Class \Magento\Customer\Ui\Component\DataProvider * - * @since 2.0.0 */ class DataProvider extends \Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider { /** * @var AttributeRepository - * @since 2.0.0 */ private $attributeRepository; @@ -37,7 +35,6 @@ class DataProvider extends \Magento\Framework\View\Element\UiComponent\DataProvi * @param array $meta * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( $name, @@ -67,7 +64,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ public function getData() { diff --git a/app/code/Magento/Customer/Ui/Component/FilterFactory.php b/app/code/Magento/Customer/Ui/Component/FilterFactory.php index 15e100cc2c98e..a386fea04a8a4 100644 --- a/app/code/Magento/Customer/Ui/Component/FilterFactory.php +++ b/app/code/Magento/Customer/Ui/Component/FilterFactory.php @@ -10,19 +10,16 @@ /** * Class \Magento\Customer\Ui\Component\FilterFactory * - * @since 2.0.0 */ class FilterFactory { /** * @var \Magento\Framework\View\Element\UiComponentFactory - * @since 2.0.0 */ protected $componentFactory; /** * @var array - * @since 2.0.0 */ protected $filterMap = [ 'default' => 'filterInput', @@ -34,7 +31,6 @@ class FilterFactory /** * @param \Magento\Framework\View\Element\UiComponentFactory $componentFactory - * @since 2.0.0 */ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $componentFactory) { @@ -45,7 +41,6 @@ public function __construct(\Magento\Framework\View\Element\UiComponentFactory $ * @param array $attributeData * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context * @return \Magento\Ui\Component\Listing\Columns\ColumnInterface - * @since 2.0.0 */ public function create(array $attributeData, $context) { @@ -74,7 +69,6 @@ public function create(array $attributeData, $context) /** * @param string $frontendInput * @return string - * @since 2.0.0 */ protected function getFilterType($frontendInput) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php b/app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php index 4261d39bba68c..ae7137fa67a1c 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php @@ -16,7 +16,6 @@ /** * Class \Magento\Customer\Ui\Component\Listing\AttributeRepository * - * @since 2.0.0 */ class AttributeRepository { @@ -24,37 +23,31 @@ class AttributeRepository /** * @var array - * @since 2.0.0 */ protected $attributes; /** * @var \Magento\Customer\Api\CustomerMetadataInterface - * @since 2.0.0 */ protected $customerMetadata; /** * @var \Magento\Customer\Api\AddressMetadataInterface - * @since 2.0.0 */ protected $addressMetadata; /** * @var \Magento\Customer\Api\CustomerMetadataManagementInterface - * @since 2.0.0 */ protected $customerMetadataManagement; /** * @var \Magento\Customer\Api\AddressMetadataManagementInterface - * @since 2.0.0 */ protected $addressMetadataManagement; /** * @var \Magento\Customer\Model\Indexer\Attribute\Filter - * @since 2.0.0 */ protected $attributeFilter; @@ -64,7 +57,6 @@ class AttributeRepository * @param CustomerMetadataInterface $customerMetadata * @param AddressMetadataInterface $addressMetadata * @param Filter $attributeFiltering - * @since 2.0.0 */ public function __construct( CustomerMetadataManagementInterface $customerMetadataManagement, @@ -82,7 +74,6 @@ public function __construct( /** * @return array - * @since 2.0.0 */ public function getList() { @@ -110,7 +101,6 @@ public function getList() * @param string $entityTypeCode * @param MetadataManagementInterface $management * @return array - * @since 2.0.0 */ protected function getListForEntity(array $metadata, $entityTypeCode, MetadataManagementInterface $management) { @@ -145,7 +135,6 @@ protected function getListForEntity(array $metadata, $entityTypeCode, MetadataMa * * @param array $options * @return array - * @since 2.0.0 */ protected function getOptionArray(array $options) { @@ -159,7 +148,6 @@ protected function getOptionArray(array $options) /** * @param string $code * @return [] - * @since 2.0.0 */ public function getMetadataByCode($code) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/Actions.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/Actions.php index 04f7fb88591a1..b7cf8e8c95899 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/Actions.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/Actions.php @@ -14,13 +14,11 @@ * Class ProductActions * * @api - * @since 2.0.0 */ class Actions extends Column { /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -30,7 +28,6 @@ class Actions extends Column * @param UrlInterface $urlBuilder * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -48,7 +45,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/AttributeColumn.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/AttributeColumn.php index 1f2bbf98388c5..d0b9f5d901036 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/AttributeColumn.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/AttributeColumn.php @@ -14,13 +14,11 @@ /** * Class \Magento\Customer\Ui\Component\Listing\Column\AttributeColumn * - * @since 2.0.0 */ class AttributeColumn extends Column { /** * @var \Magento\Customer\Ui\Component\Listing\AttributeRepository - * @since 2.0.0 */ protected $attributeRepository; @@ -30,7 +28,6 @@ class AttributeColumn extends Column * @param AttributeRepository $attributeRepository * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -48,7 +45,6 @@ public function __construct( * * @param array $dataSource * @return array - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/Group/Options.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/Group/Options.php index 85280579b9f25..f521a95e1e616 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/Group/Options.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/Group/Options.php @@ -10,19 +10,16 @@ /** * Class Options - * @since 2.0.0 */ class Options implements OptionSourceInterface { /** * @var array - * @since 2.0.0 */ protected $options; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -30,7 +27,6 @@ class Options implements OptionSourceInterface * Constructor * * @param CollectionFactory $collectionFactory - * @since 2.0.0 */ public function __construct(CollectionFactory $collectionFactory) { @@ -41,7 +37,6 @@ public function __construct(CollectionFactory $collectionFactory) * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/InlineEditUpdater.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/InlineEditUpdater.php index 983efd36904ca..41e10713f1610 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/InlineEditUpdater.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/InlineEditUpdater.php @@ -10,13 +10,11 @@ /** * Class \Magento\Customer\Ui\Component\Listing\Column\InlineEditUpdater * - * @since 2.0.0 */ class InlineEditUpdater { /** * @var \Magento\Customer\Ui\Component\Listing\Column\ValidationRules - * @since 2.0.0 */ protected $validationRules; @@ -24,7 +22,6 @@ class InlineEditUpdater * List of frontend inputs that should be editable in grid * * @var array - * @since 2.0.0 */ protected $editableFields = [ 'text', @@ -35,7 +32,6 @@ class InlineEditUpdater /** * @param ValidationRules $validationRules - * @since 2.0.0 */ public function __construct( ValidationRules $validationRules @@ -51,7 +47,6 @@ public function __construct( * @param array $validationRules * @param bool|false $isRequired * @return UiComponentInterface - * @since 2.0.0 */ public function applyEditing( UiComponentInterface $column, diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type.php index 8623e23071b8d..9af6159651d8d 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type.php @@ -10,7 +10,6 @@ /** * Class Type - * @since 2.0.0 */ class Type extends Column { @@ -19,7 +18,6 @@ class Type extends Column * * @param array $dataSource * @return void - * @since 2.0.0 */ public function prepareDataSource(array $dataSource) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type/Options.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type/Options.php index 13a11d4435bb5..2bba26167ad72 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type/Options.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/Online/Type/Options.php @@ -9,13 +9,11 @@ /** * Class Options - * @since 2.0.0 */ class Options implements OptionSourceInterface { /** * @var array - * @since 2.0.0 */ protected $options; @@ -23,7 +21,6 @@ class Options implements OptionSourceInterface * Get options * * @return array - * @since 2.0.0 */ public function toOptionArray() { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Column/ValidationRules.php b/app/code/Magento/Customer/Ui/Component/Listing/Column/ValidationRules.php index 5a13c6491787f..4b67e9a56eee7 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Column/ValidationRules.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Column/ValidationRules.php @@ -10,13 +10,11 @@ /** * Class \Magento\Customer\Ui\Component\Listing\Column\ValidationRules * - * @since 2.0.0 */ class ValidationRules { /** * @var array - * @since 2.0.0 */ protected $inputValidationMap = [ 'alpha' => 'validate-alpha', @@ -32,7 +30,6 @@ class ValidationRules * @param boolean $isRequired * @param array $validationRules * @return array - * @since 2.0.0 */ public function getValidationRules($isRequired, $validationRules) { @@ -62,7 +59,6 @@ public function getValidationRules($isRequired, $validationRules) * * @param ValidationRuleInterface $rule * @return string - * @since 2.0.0 */ protected function getValidationClass(ValidationRuleInterface $rule) { @@ -77,7 +73,6 @@ protected function getValidationClass(ValidationRuleInterface $rule) * * @param ValidationRuleInterface $rule * @return bool|string - * @since 2.0.0 */ protected function getRuleValue(ValidationRuleInterface $rule) { diff --git a/app/code/Magento/Customer/Ui/Component/Listing/Columns.php b/app/code/Magento/Customer/Ui/Component/Listing/Columns.php index 08416339975cc..54d4dbfafffa7 100644 --- a/app/code/Magento/Customer/Ui/Component/Listing/Columns.php +++ b/app/code/Magento/Customer/Ui/Component/Listing/Columns.php @@ -15,31 +15,26 @@ /** * Class \Magento\Customer\Ui\Component\Listing\Columns * - * @since 2.0.0 */ class Columns extends \Magento\Ui\Component\Listing\Columns { /** * @var int - * @since 2.0.0 */ protected $columnSortOrder; /** * @var \Magento\Customer\Ui\Component\Listing\AttributeRepository - * @since 2.0.0 */ protected $attributeRepository; /** * @var \Magento\Customer\Ui\Component\Listing\Column\InlineEditUpdater - * @since 2.0.0 */ protected $inlineEditUpdater; /** * @var array - * @since 2.0.0 */ protected $filterMap = [ 'default' => 'text', @@ -56,7 +51,6 @@ class Columns extends \Magento\Ui\Component\Listing\Columns * @param InlineEditUpdater $inlineEditor * @param array $components * @param array $data - * @since 2.0.0 */ public function __construct( ContextInterface $context, @@ -74,7 +68,6 @@ public function __construct( /** * @return int - * @since 2.0.0 */ protected function getDefaultSortOrder() { @@ -92,7 +85,6 @@ protected function getDefaultSortOrder() * Update actions column sort order * * @return void - * @since 2.0.0 */ protected function updateActionColumnSortOrder() { @@ -107,7 +99,6 @@ protected function updateActionColumnSortOrder() /** * {@inheritdoc} - * @since 2.0.0 */ public function prepare() { @@ -129,7 +120,6 @@ public function prepare() * @param array $attributeData * @param string $columnName * @return void - * @since 2.0.0 */ public function addColumn(array $attributeData, $columnName) { @@ -146,7 +136,6 @@ public function addColumn(array $attributeData, $columnName) * @param array $attributeData * @param string $newAttributeCode * @return void - * @since 2.0.0 */ public function updateColumn(array $attributeData, $newAttributeCode) { @@ -195,7 +184,6 @@ public function updateColumn(array $attributeData, $newAttributeCode) * @param UiComponentInterface $component * @param array $attributeData * @return void - * @since 2.0.0 */ public function addOptions(UiComponentInterface $component, array $attributeData) { @@ -213,7 +201,6 @@ public function addOptions(UiComponentInterface $component, array $attributeData * * @param string $frontendInput * @return string - * @since 2.0.0 */ protected function getFilterType($frontendInput) { diff --git a/app/code/Magento/Customer/Ui/Component/MassAction/Group/Options.php b/app/code/Magento/Customer/Ui/Component/MassAction/Group/Options.php index fc13893467ad6..ad2af528a89c5 100644 --- a/app/code/Magento/Customer/Ui/Component/MassAction/Group/Options.php +++ b/app/code/Magento/Customer/Ui/Component/MassAction/Group/Options.php @@ -12,19 +12,16 @@ /** * Class Options - * @since 2.0.0 */ class Options implements JsonSerializable { /** * @var array - * @since 2.0.0 */ protected $options; /** * @var CollectionFactory - * @since 2.0.0 */ protected $collectionFactory; @@ -32,13 +29,11 @@ class Options implements JsonSerializable * Additional options params * * @var array - * @since 2.0.0 */ protected $data; /** * @var UrlInterface - * @since 2.0.0 */ protected $urlBuilder; @@ -46,7 +41,6 @@ class Options implements JsonSerializable * Base URL for subactions * * @var string - * @since 2.0.0 */ protected $urlPath; @@ -54,7 +48,6 @@ class Options implements JsonSerializable * Param name for subactions * * @var string - * @since 2.0.0 */ protected $paramName; @@ -62,7 +55,6 @@ class Options implements JsonSerializable * Additional params for subactions * * @var array - * @since 2.0.0 */ protected $additionalData = []; @@ -72,7 +64,6 @@ class Options implements JsonSerializable * @param CollectionFactory $collectionFactory * @param UrlInterface $urlBuilder * @param array $data - * @since 2.0.0 */ public function __construct( CollectionFactory $collectionFactory, @@ -88,7 +79,6 @@ public function __construct( * Get action options * * @return array - * @since 2.0.0 */ public function jsonSerialize() { @@ -124,7 +114,6 @@ public function jsonSerialize() * Prepare addition data for subactions * * @return void - * @since 2.0.0 */ protected function prepareData() { diff --git a/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportCsv.php b/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportCsv.php index a36cd2a8cd179..0af48d12d2f0c 100644 --- a/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportCsv.php +++ b/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportCsv.php @@ -10,13 +10,11 @@ /** * Class Index - * @since 2.0.0 */ class ExportCsv extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\App\Response\Http\FileFactory - * @since 2.0.0 */ protected $_fileFactory; @@ -25,7 +23,6 @@ class ExportCsv extends \Magento\Backend\App\Action * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -39,7 +36,6 @@ public function __construct( * Export customer grid to CSV format * * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportXml.php b/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportXml.php index 103fe6582ec3b..f24453ee4d293 100644 --- a/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportXml.php +++ b/app/code/Magento/CustomerImportExport/Controller/Adminhtml/Index/ExportXml.php @@ -10,13 +10,11 @@ /** * Class Index - * @since 2.0.0 */ class ExportXml extends \Magento\Backend\App\Action { /** * @var \Magento\Framework\App\Response\Http\FileFactory - * @since 2.0.0 */ protected $_fileFactory; @@ -25,7 +23,6 @@ class ExportXml extends \Magento\Backend\App\Action * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Backend\App\Action\Context $context, @@ -39,7 +36,6 @@ public function __construct( * Export customer grid to XML format * * @return \Magento\Framework\App\ResponseInterface - * @since 2.0.0 */ public function execute() { diff --git a/app/code/Magento/CustomerImportExport/Model/Export/Address.php b/app/code/Magento/CustomerImportExport/Model/Export/Address.php index 08aed9f4693c7..ab1c84d3233b4 100644 --- a/app/code/Magento/CustomerImportExport/Model/Export/Address.php +++ b/app/code/Magento/CustomerImportExport/Model/Export/Address.php @@ -11,7 +11,6 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav { @@ -52,19 +51,13 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav /**#@-*/ - /** - * Permanent entity columns - * - * @var string[] - * @since 2.0.0 - */ + /**#@-*/ protected $_permanentAttributes = [self::COLUMN_WEBSITE, self::COLUMN_EMAIL, self::COLUMN_ADDRESS_ID]; /** * Default addresses column names to appropriate customer attribute code * * @var array - * @since 2.0.0 */ protected static $_defaultAddressAttributeMapping = [ self::COLUMN_NAME_DEFAULT_BILLING => 'default_billing', @@ -75,7 +68,6 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Customers whose addresses are exported * * @var \Magento\Customer\Model\ResourceModel\Customer\Collection - * @since 2.0.0 */ protected $_customerCollection; @@ -83,7 +75,6 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Customer addresses collection * * @var \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ protected $_addressCollection; @@ -91,7 +82,6 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Customers whose address are exported * * @var Customer - * @since 2.0.0 */ protected $_customerEntity; @@ -108,7 +98,6 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * ) * * @var array - * @since 2.0.0 */ protected $_customers = []; @@ -124,7 +113,6 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * @param \Magento\Customer\Model\ResourceModel\Address\CollectionFactory $addressColFactory * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -168,7 +156,6 @@ public function __construct( * Initialize existent customers data * * @return $this - * @since 2.0.0 */ protected function _initCustomers() { @@ -192,7 +179,6 @@ protected function _initCustomers() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getHeaderColumns() { @@ -207,7 +193,6 @@ protected function _getHeaderColumns() * Get customers collection * * @return \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ protected function _getEntityCollection() { @@ -218,7 +203,6 @@ protected function _getEntityCollection() * Export process * * @return string - * @since 2.0.0 */ public function export() { @@ -239,7 +223,6 @@ public function export() * * @param \Magento\Customer\Model\Address $item * @return void - * @since 2.0.0 */ public function exportItem($item) { @@ -268,7 +251,6 @@ public function exportItem($item) * * @param array $parameters * @return $this - * @since 2.0.0 */ public function setParameters(array $parameters) { @@ -283,7 +265,6 @@ public function setParameters(array $parameters) * EAV entity type code getter. * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { diff --git a/app/code/Magento/CustomerImportExport/Model/Export/Customer.php b/app/code/Magento/CustomerImportExport/Model/Export/Customer.php index c767018ccec6d..f4864c140ce17 100644 --- a/app/code/Magento/CustomerImportExport/Model/Export/Customer.php +++ b/app/code/Magento/CustomerImportExport/Model/Export/Customer.php @@ -11,7 +11,6 @@ * @api * * @method \Magento\Customer\Model\ResourceModel\Attribute\Collection getAttributeCollection() getAttributeCollection() - * @since 2.0.0 */ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav { @@ -43,12 +42,7 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav /**#@-*/ - /** - * Overridden attributes parameters. - * - * @var array - * @since 2.0.0 - */ + /**#@-*/ protected $_attributeOverrides = [ 'created_at' => ['backend_type' => 'datetime'], 'reward_update_notification' => ['source_model' => \Magento\Eav\Model\Entity\Attribute\Source\Boolean::class], @@ -59,7 +53,6 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Array of attributes codes which are disabled for export * * @var string[] - * @since 2.0.0 */ protected $_disabledAttributes = ['default_billing', 'default_shipping']; @@ -67,7 +60,6 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Attributes with index (not label) value. * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = ['group_id', 'website_id', 'store_id']; @@ -75,7 +67,6 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Permanent entity columns. * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [self::COLUMN_EMAIL, self::COLUMN_WEBSITE, self::COLUMN_STORE]; @@ -83,7 +74,6 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * Customers whose data is exported * * @var \Magento\Customer\Model\ResourceModel\Customer\Collection - * @since 2.0.0 */ protected $_customerCollection; @@ -96,7 +86,6 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav * @param \Magento\Eav\Model\Config $eavConfig * @param \Magento\Customer\Model\ResourceModel\Customer\CollectionFactory $customerColFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, @@ -129,7 +118,6 @@ public function __construct( * Export process. * * @return string - * @since 2.0.0 */ public function export() { @@ -147,7 +135,6 @@ public function export() * Get customers collection * * @return \Magento\Customer\Model\ResourceModel\Customer\Collection - * @since 2.0.0 */ protected function _getEntityCollection() { @@ -156,7 +143,6 @@ protected function _getEntityCollection() /** * {@inheritdoc} - * @since 2.0.0 */ protected function _getHeaderColumns() { @@ -169,7 +155,6 @@ protected function _getHeaderColumns() * * @param \Magento\Customer\Model\Customer $item * @return void - * @since 2.0.0 */ public function exportItem($item) { @@ -185,7 +170,6 @@ public function exportItem($item) * * @param \Magento\Framework\Data\Collection $collection * @return \Magento\Framework\Data\Collection - * @since 2.0.0 */ public function filterAttributeCollection(\Magento\Framework\Data\Collection $collection) { @@ -207,7 +191,6 @@ public function filterAttributeCollection(\Magento\Framework\Data\Collection $co * EAV entity type code getter. * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -218,7 +201,6 @@ public function getEntityTypeCode() * Retrieve list of overridden attributes * * @return array - * @since 2.0.0 */ public function getOverriddenAttributes() { diff --git a/app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php b/app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php index c6b4b7539dc5f..eef52b1d88d4d 100644 --- a/app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php +++ b/app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php @@ -14,7 +14,6 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ abstract class AbstractCustomer extends \Magento\ImportExport\Model\Import\Entity\AbstractEav { @@ -51,14 +50,7 @@ abstract class AbstractCustomer extends \Magento\ImportExport\Model\Import\Entit /**#@-*/ - /** - * Array of attribute codes which will be ignored in validation and import procedures. - * For example, when entity attribute has own validation and import procedures - * or just to deny this attribute processing. - * - * @var string[] - * @since 2.0.0 - */ + /**#@-*/ protected $_ignoredAttributes = ['website_id', 'store_id', self::COLUMN_DEFAULT_BILLING, self::COLUMN_DEFAULT_SHIPPING]; @@ -66,13 +58,11 @@ abstract class AbstractCustomer extends \Magento\ImportExport\Model\Import\Entit * Customer collection wrapper * * @var Storage - * @since 2.0.0 */ protected $_customerStorage; /** * @var \Magento\CustomerImportExport\Model\ResourceModel\Import\Customer\StorageFactory - * @since 2.0.0 */ protected $_storageFactory; @@ -80,13 +70,11 @@ abstract class AbstractCustomer extends \Magento\ImportExport\Model\Import\Entit * If we should check column names * * @var bool - * @since 2.0.0 */ protected $needColumnCheck = true; /** * {@inheritdoc} - * @since 2.0.0 */ protected $masterAttributeCode = '_email'; @@ -103,7 +91,6 @@ abstract class AbstractCustomer extends \Magento\ImportExport\Model\Import\Entit * @param \Magento\CustomerImportExport\Model\ResourceModel\Import\Customer\StorageFactory $storageFactory * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -150,7 +137,6 @@ public function __construct( * * @param array $data * @return $this - * @since 2.0.0 */ protected function _initCustomers(array $data) { @@ -172,7 +158,6 @@ protected function _initCustomers(array $data) * @param string $email * @param string $websiteCode * @return bool|int - * @since 2.0.0 */ protected function _getCustomerId($email, $websiteCode) { @@ -191,7 +176,6 @@ protected function _getCustomerId($email, $websiteCode) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ public function validateRow(array $rowData, $rowNumber) { @@ -216,7 +200,6 @@ public function validateRow(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return null - * @since 2.0.0 */ abstract protected function _validateRowForUpdate(array $rowData, $rowNumber); @@ -226,7 +209,6 @@ abstract protected function _validateRowForUpdate(array $rowData, $rowNumber); * @param array $rowData * @param int $rowNumber * @return null - * @since 2.0.0 */ abstract protected function _validateRowForDelete(array $rowData, $rowNumber); @@ -236,7 +218,6 @@ abstract protected function _validateRowForDelete(array $rowData, $rowNumber); * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _checkUniqueKey(array $rowData, $rowNumber) { @@ -261,7 +242,6 @@ protected function _checkUniqueKey(array $rowData, $rowNumber) * Get customer storage * * @return Storage - * @since 2.0.0 */ public function getCustomerStorage() { diff --git a/app/code/Magento/CustomerImportExport/Model/Import/Address.php b/app/code/Magento/CustomerImportExport/Model/Import/Address.php index 7def55135a332..e8f4007548041 100644 --- a/app/code/Magento/CustomerImportExport/Model/Import/Address.php +++ b/app/code/Magento/CustomerImportExport/Model/Import/Address.php @@ -13,7 +13,6 @@ * * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Address extends AbstractCustomer { @@ -69,12 +68,7 @@ class Address extends AbstractCustomer /**#@-*/ - /** - * Default addresses column names to appropriate customer attribute code - * - * @var array - * @since 2.0.0 - */ + /**#@-*/ protected static $_defaultAddressAttributeMapping = [ self::COLUMN_DEFAULT_BILLING => 'default_billing', self::COLUMN_DEFAULT_SHIPPING => 'default_shipping', @@ -84,7 +78,6 @@ class Address extends AbstractCustomer * Permanent entity columns * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [self::COLUMN_WEBSITE, self::COLUMN_EMAIL, self::COLUMN_ADDRESS_ID]; @@ -99,7 +92,6 @@ class Address extends AbstractCustomer * ) * * @var array - * @since 2.0.0 */ protected $_addresses = []; @@ -107,7 +99,6 @@ class Address extends AbstractCustomer * Attributes with index (not label) value * * @var string[] - * @since 2.0.0 */ protected $_indexValueAttributes = [self::COLUMN_COUNTRY_ID]; @@ -115,7 +106,6 @@ class Address extends AbstractCustomer * Customer entity DB table name * * @var string - * @since 2.0.0 */ protected $_entityTable; @@ -134,7 +124,6 @@ class Address extends AbstractCustomer * ) * * @var array - * @since 2.0.0 */ protected $_countryRegions = []; @@ -142,7 +131,6 @@ class Address extends AbstractCustomer * Region ID to region default name pairs * * @var array - * @since 2.0.0 */ protected $_regions = []; @@ -150,7 +138,6 @@ class Address extends AbstractCustomer * Column names that holds values with particular meaning * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = [ self::COLUMN_ACTION, @@ -165,7 +152,6 @@ class Address extends AbstractCustomer * Customer entity * * @var \Magento\Customer\Model\Customer - * @since 2.0.0 */ protected $_customerEntity; @@ -173,7 +159,6 @@ class Address extends AbstractCustomer * Entity ID incremented value * * @var int - * @since 2.0.0 */ protected $_nextEntityId; @@ -181,7 +166,6 @@ class Address extends AbstractCustomer * Array of region parameters * * @var array - * @since 2.0.0 */ protected $_regionParameters; @@ -189,7 +173,6 @@ class Address extends AbstractCustomer * Address attributes collection * * @var \Magento\Customer\Model\ResourceModel\Address\Attribute\Collection - * @since 2.0.0 */ protected $_attributeCollection; @@ -197,7 +180,6 @@ class Address extends AbstractCustomer * Collection of existent addresses * * @var \Magento\Customer\Model\ResourceModel\Address\Collection - * @since 2.0.0 */ protected $_addressCollection; @@ -205,37 +187,31 @@ class Address extends AbstractCustomer * Store imported row primary keys * * @var array - * @since 2.0.0 */ protected $_importedRowPks = []; /** * @var \Magento\ImportExport\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * @var \Magento\Customer\Model\CustomerFactory - * @since 2.0.0 */ protected $_customerFactory; /** * @var \Magento\Eav\Model\Config - * @since 2.0.0 */ protected $_eavConfig; /** * @var \Magento\Customer\Model\AddressFactory - * @since 2.0.0 */ protected $_addressFactory; /** * @var \Magento\Framework\Stdlib\DateTime - * @since 2.0.0 */ protected $dateTime; @@ -243,7 +219,6 @@ class Address extends AbstractCustomer * Customer attributes * * @var string[] - * @since 2.0.0 */ protected $_customerAttributes = []; @@ -251,7 +226,6 @@ class Address extends AbstractCustomer * Valid column names * * @array - * @since 2.0.0 */ protected $validColumnNames = [ "region_id", "vat_is_valid", "vat_request_date", "vat_request_id", "vat_request_success" @@ -285,7 +259,6 @@ class Address extends AbstractCustomer * * @SuppressWarnings(PHPMD.NPathComplexity) * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -363,7 +336,6 @@ public function __construct( * Customer entity getter * * @return \Magento\Customer\Model\Customer - * @since 2.0.0 */ protected function _getCustomerEntity() { @@ -377,7 +349,6 @@ protected function _getCustomerEntity() * Get next address entity ID * * @return int - * @since 2.0.0 */ protected function _getNextEntityId() { @@ -394,7 +365,6 @@ protected function _getNextEntityId() * Initialize existent addresses data * * @return $this - * @since 2.0.0 */ protected function _initAddresses() { @@ -416,7 +386,6 @@ protected function _initAddresses() * Initialize country regions hash for clever recognition * * @return $this - * @since 2.0.0 */ protected function _initCountryRegions() { @@ -438,7 +407,6 @@ protected function _initCountryRegions() * @abstract * @return boolean * @SuppressWarnings(PHPMD.CyclomaticComplexity) - * @since 2.0.0 */ protected function _importData() { @@ -496,7 +464,6 @@ protected function _importData() * @param array $newAttributes * @param array $attributes * @return array - * @since 2.0.0 */ protected function _mergeEntityAttributes(array $newAttributes, array $attributes) { @@ -517,7 +484,6 @@ protected function _mergeEntityAttributes(array $newAttributes, array $attribute * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _prepareDataForUpdate(array $rowData) { @@ -623,7 +589,6 @@ protected function _prepareDataForUpdate(array $rowData) * @param array $addRows Rows for insert * @param array $updateRows Rows for update * @return $this - * @since 2.0.0 */ protected function _saveAddressEntities(array $addRows, array $updateRows) { @@ -645,7 +610,6 @@ protected function _saveAddressEntities(array $addRows, array $updateRows) * * @param array $attributesData * @return $this - * @since 2.0.0 */ protected function _saveAddressAttributes(array $attributesData) { @@ -671,7 +635,6 @@ protected function _saveAddressAttributes(array $attributesData) * @param array $defaults * @return $this * @SuppressWarnings(PHPMD.UnusedLocalVariable) - * @since 2.0.0 */ protected function _saveCustomerDefaults(array $defaults) { @@ -692,7 +655,6 @@ protected function _saveCustomerDefaults(array $defaults) * * @param array $entityRowIds Row IDs for delete * @return $this - * @since 2.0.0 */ protected function _deleteAddressEntities(array $entityRowIds) { @@ -707,7 +669,6 @@ protected function _deleteAddressEntities(array $entityRowIds) * * @abstract * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -719,7 +680,6 @@ public function getEntityTypeCode() * * @static * @return array - * @since 2.0.0 */ public static function getDefaultAddressAttributeMapping() { @@ -731,7 +691,6 @@ public static function getDefaultAddressAttributeMapping() * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _isOptionalAddressEmpty(array $rowData) { @@ -761,7 +720,6 @@ protected function _isOptionalAddressEmpty(array $rowData) * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _validateRowForUpdate(array $rowData, $rowNumber) { @@ -839,7 +797,6 @@ protected function _validateRowForUpdate(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return void - * @since 2.0.0 */ protected function _validateRowForDelete(array $rowData, $rowNumber) { @@ -867,7 +824,6 @@ protected function _validateRowForDelete(array $rowData, $rowNumber) * @param int $customerId * @param int $addressId * @return bool - * @since 2.0.0 */ protected function _checkRowDuplicate($customerId, $addressId) { @@ -888,7 +844,6 @@ protected function _checkRowDuplicate($customerId, $addressId) * * @param array $customerAttributes * @return $this - * @since 2.0.0 */ public function setCustomerAttributes($customerAttributes) { diff --git a/app/code/Magento/CustomerImportExport/Model/Import/Customer.php b/app/code/Magento/CustomerImportExport/Model/Import/Customer.php index de9f8cf9d6b48..99cb1fcfbfcd6 100644 --- a/app/code/Magento/CustomerImportExport/Model/Import/Customer.php +++ b/app/code/Magento/CustomerImportExport/Model/Import/Customer.php @@ -14,7 +14,6 @@ * @api * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Customer extends AbstractCustomer { @@ -77,7 +76,6 @@ class Customer extends AbstractCustomer * Customers information from import file * * @var array - * @since 2.0.0 */ protected $_newCustomers = []; @@ -87,7 +85,6 @@ class Customer extends AbstractCustomer * or just to deny this attribute processing. * * @var string[] - * @since 2.0.0 */ protected $_ignoredAttributes = ['website_id', 'store_id']; @@ -95,7 +92,6 @@ class Customer extends AbstractCustomer * Customer entity DB table name. * * @var string - * @since 2.0.0 */ protected $_entityTable; @@ -103,7 +99,6 @@ class Customer extends AbstractCustomer * Customer model * * @var \Magento\Customer\Model\Customer - * @since 2.0.0 */ protected $_customerModel; @@ -111,7 +106,6 @@ class Customer extends AbstractCustomer * Id of next customer entity row * * @var int - * @since 2.0.0 */ protected $_nextEntityId; @@ -119,19 +113,16 @@ class Customer extends AbstractCustomer * Address attributes collection * * @var \Magento\Customer\Model\ResourceModel\Attribute\Collection - * @since 2.0.0 */ protected $_attributeCollection; /** * @var \Magento\ImportExport\Model\ResourceModel\Helper - * @since 2.0.0 */ protected $_resourceHelper; /** * {@inheritdoc} - * @since 2.0.0 */ protected $masterAttributeCode = 'email'; @@ -139,7 +130,6 @@ class Customer extends AbstractCustomer * Valid column names * * @array - * @since 2.0.0 */ protected $validColumnNames = [ self::COLUMN_DEFAULT_BILLING, @@ -149,7 +139,6 @@ class Customer extends AbstractCustomer /** * Customer fields in file - * @since 2.0.0 */ protected $customerFields = [ CustomerInterface::GROUP_ID, @@ -189,7 +178,6 @@ class Customer extends AbstractCustomer * @param \Magento\Customer\Model\CustomerFactory $customerFactory * @param array $data * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -269,7 +257,6 @@ public function __construct( * @param array $entitiesToCreate Rows for insert * @param array $entitiesToUpdate Rows for update * @return $this - * @since 2.0.0 */ protected function _saveCustomerEntities(array $entitiesToCreate, array $entitiesToUpdate) { @@ -293,7 +280,6 @@ protected function _saveCustomerEntities(array $entitiesToCreate, array $entitie * * @param array $attributesData * @return $this - * @since 2.0.0 */ protected function _saveCustomerAttributes(array $attributesData) { @@ -319,7 +305,6 @@ protected function _saveCustomerAttributes(array $attributesData) * * @param array $entitiesToDelete customers id list * @return $this - * @since 2.0.0 */ protected function _deleteCustomerEntities(array $entitiesToDelete) { @@ -333,7 +318,6 @@ protected function _deleteCustomerEntities(array $entitiesToDelete) * Retrieve next customer entity id * * @return int - * @since 2.0.0 */ protected function _getNextEntityId() { @@ -350,7 +334,6 @@ protected function _getNextEntityId() * @return array * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _prepareDataForUpdate(array $rowData) { @@ -445,7 +428,6 @@ protected function _prepareDataForUpdate(array $rowData) * @return bool * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _importData() { @@ -506,7 +488,6 @@ protected function _importData() * EAV entity type code getter * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -521,7 +502,6 @@ public function getEntityTypeCode() * @return void * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) - * @since 2.0.0 */ protected function _validateRowForUpdate(array $rowData, $rowNumber) { @@ -568,7 +548,6 @@ protected function _validateRowForUpdate(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return void - * @since 2.0.0 */ protected function _validateRowForDelete(array $rowData, $rowNumber) { @@ -583,7 +562,6 @@ protected function _validateRowForDelete(array $rowData, $rowNumber) * Entity table name getter * * @return string - * @since 2.0.0 */ public function getEntityTable() { @@ -592,7 +570,6 @@ public function getEntityTable() /** * @inheritDoc - * @since 2.0.0 */ public function getValidColumnNames() { diff --git a/app/code/Magento/CustomerImportExport/Model/Import/CustomerComposite.php b/app/code/Magento/CustomerImportExport/Model/Import/CustomerComposite.php index d9d7d89289716..c10ba026fd624 100644 --- a/app/code/Magento/CustomerImportExport/Model/Import/CustomerComposite.php +++ b/app/code/Magento/CustomerImportExport/Model/Import/CustomerComposite.php @@ -11,7 +11,6 @@ * Import entity customer combined model * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntity { @@ -54,13 +53,11 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit /** * @var \Magento\CustomerImportExport\Model\Import\Customer - * @since 2.0.0 */ protected $_customerEntity; /** * @var \Magento\CustomerImportExport\Model\Import\Address - * @since 2.0.0 */ protected $_addressEntity; @@ -68,7 +65,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Column names that holds values with particular meaning * * @var string[] - * @since 2.0.0 */ protected $_specialAttributes = [ Customer::COLUMN_WEBSITE, @@ -81,7 +77,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Permanent entity columns * * @var string[] - * @since 2.0.0 */ protected $_permanentAttributes = [ Customer::COLUMN_EMAIL, @@ -92,7 +87,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Customer attributes * * @var string[] - * @since 2.0.0 */ protected $_customerAttributes = []; @@ -100,7 +94,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Address attributes * * @var string[] - * @since 2.0.0 */ protected $_addressAttributes = []; @@ -108,7 +101,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Website code of current customer row * * @var string - * @since 2.0.0 */ protected $_currentWebsiteCode; @@ -116,7 +108,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Email of current customer * * @var string - * @since 2.0.0 */ protected $_currentEmail; @@ -124,7 +115,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Next customer entity ID * * @var int - * @since 2.0.0 */ protected $_nextCustomerId; @@ -132,7 +122,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * DB data source models * * @var \Magento\ImportExport\Model\ResourceModel\Import\Data[] - * @since 2.0.0 */ protected $_dataSourceModels; @@ -140,7 +129,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * If we should check column names * * @var bool - * @since 2.0.0 */ protected $needColumnCheck = true; @@ -148,7 +136,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * Valid column names * * @array - * @since 2.0.0 */ protected $validColumnNames = [ Customer::COLUMN_DEFAULT_BILLING, @@ -158,7 +145,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit /** * {@inheritdoc} - * @since 2.0.0 */ protected $masterAttributeCode = 'email'; @@ -176,7 +162,6 @@ class CustomerComposite extends \Magento\ImportExport\Model\Import\AbstractEntit * @throws \Magento\Framework\Exception\LocalizedException * * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * @since 2.0.0 */ public function __construct( \Magento\Framework\Stdlib\StringUtils $string, @@ -251,7 +236,6 @@ public function __construct( * Collect customer attributes * * @return $this - * @since 2.0.0 */ protected function _initCustomerAttributes() { @@ -267,7 +251,6 @@ protected function _initCustomerAttributes() * Collect address attributes * * @return $this - * @since 2.0.0 */ protected function _initAddressAttributes() { @@ -283,7 +266,6 @@ protected function _initAddressAttributes() * Import data rows * * @return bool - * @since 2.0.0 */ protected function _importData() { @@ -299,7 +281,6 @@ protected function _importData() * Imported entity type code getter * * @return string - * @since 2.0.0 */ public function getEntityTypeCode() { @@ -312,7 +293,6 @@ public function getEntityTypeCode() * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ public function validateRow(array $rowData, $rowNumber) { @@ -361,7 +341,6 @@ public function validateRow(array $rowData, $rowNumber) * @param array $rowData * @param int $rowNumber * @return bool - * @since 2.0.0 */ protected function _validateAddressRow(array $rowData, $rowNumber) { @@ -388,7 +367,6 @@ protected function _validateAddressRow(array $rowData, $rowNumber) * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _prepareAddressRowData(array $rowData) { @@ -417,7 +395,6 @@ protected function _prepareAddressRowData(array $rowData) * * @param array $rowData * @return int - * @since 2.0.0 */ protected function _getRowScope(array $rowData) { @@ -434,7 +411,6 @@ protected function _getRowScope(array $rowData) * * @param array $parameters * @return $this - * @since 2.0.0 */ public function setParameters(array $parameters) { @@ -455,7 +431,6 @@ public function setParameters(array $parameters) * * @param \Magento\ImportExport\Model\Import\AbstractSource $source * @return \Magento\ImportExport\Model\Import\AbstractEntity - * @since 2.0.0 */ public function setSource(\Magento\ImportExport\Model\Import\AbstractSource $source) { @@ -469,7 +444,6 @@ public function setSource(\Magento\ImportExport\Model\Import\AbstractSource $sou * Returns number of checked entities * * @return int - * @since 2.0.0 */ public function getProcessedEntitiesCount() { @@ -482,7 +456,6 @@ public function getProcessedEntitiesCount() * * @param string $attributeCode * @return bool - * @since 2.0.0 */ public function isAttributeParticular($attributeCode) { @@ -498,7 +471,6 @@ public function isAttributeParticular($attributeCode) * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _prepareRowForDb(array $rowData) { @@ -513,7 +485,6 @@ protected function _prepareRowForDb(array $rowData) /** * @inheritDoc - * @since 2.0.0 */ public function getValidColumnNames() { diff --git a/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php b/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php index 5ef2ff47db247..ed82fd5a0db90 100644 --- a/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php +++ b/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/Customer/Storage.php @@ -8,7 +8,6 @@ /** * Class \Magento\CustomerImportExport\Model\ResourceModel\Import\Customer\Storage * - * @since 2.0.0 */ class Storage { @@ -16,7 +15,6 @@ class Storage * Flag to not load collection more than one time * * @var bool - * @since 2.0.0 */ protected $_isCollectionLoaded = false; @@ -24,7 +22,6 @@ class Storage * Customer collection * * @var \Magento\Customer\Model\ResourceModel\Customer\Collection - * @since 2.0.0 */ protected $_customerCollection; @@ -39,7 +36,6 @@ class Storage * ) * * @var array - * @since 2.0.0 */ protected $_customerIds = []; @@ -47,7 +43,6 @@ class Storage * Number of items to fetch from db in one query * * @var int - * @since 2.0.0 */ protected $_pageSize; @@ -55,7 +50,6 @@ class Storage * Collection by pages iterator * * @var \Magento\ImportExport\Model\ResourceModel\CollectionByPagesIterator - * @since 2.0.0 */ protected $_byPagesIterator; @@ -63,7 +57,6 @@ class Storage * @param \Magento\Customer\Model\ResourceModel\Customer\CollectionFactory $collectionFactory * @param \Magento\ImportExport\Model\ResourceModel\CollectionByPagesIteratorFactory $colIteratorFactory * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Customer\Model\ResourceModel\Customer\CollectionFactory $collectionFactory, @@ -83,7 +76,6 @@ public function __construct( * Load needed data from customer collection * * @return void - * @since 2.0.0 */ public function load() { @@ -108,7 +100,6 @@ public function load() * * @param \Magento\Framework\DataObject|\Magento\Customer\Model\Customer $customer * @return $this - * @since 2.0.0 */ public function addCustomer(\Magento\Framework\DataObject $customer) { @@ -127,7 +118,6 @@ public function addCustomer(\Magento\Framework\DataObject $customer) * @param string $email * @param int $websiteId * @return bool|int - * @since 2.0.0 */ public function getCustomerId($email, $websiteId) { diff --git a/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/CustomerComposite/Data.php b/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/CustomerComposite/Data.php index ce6d12bf03037..62845a9bbe301 100644 --- a/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/CustomerComposite/Data.php +++ b/app/code/Magento/CustomerImportExport/Model/ResourceModel/Import/CustomerComposite/Data.php @@ -10,7 +10,6 @@ /** * Class \Magento\CustomerImportExport\Model\ResourceModel\Import\CustomerComposite\Data * - * @since 2.0.0 */ class Data extends \Magento\ImportExport\Model\ResourceModel\Import\Data { @@ -18,7 +17,6 @@ class Data extends \Magento\ImportExport\Model\ResourceModel\Import\Data * Entity type * * @var string - * @since 2.0.0 */ protected $_entityType = CustomerComposite::COMPONENT_ENTITY_CUSTOMER; @@ -26,7 +24,6 @@ class Data extends \Magento\ImportExport\Model\ResourceModel\Import\Data * Customer attributes * * @var array - * @since 2.0.0 */ protected $_customerAttributes = []; @@ -37,7 +34,6 @@ class Data extends \Magento\ImportExport\Model\ResourceModel\Import\Data * @param \Magento\Framework\Json\Helper\Data $coreHelper * @param string $connectionName * @param array $arguments - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\ResourceModel\Db\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Get next bunch of validated rows. * * @return array|null - * @since 2.0.0 */ public function getNextBunch() { @@ -84,7 +79,6 @@ public function getNextBunch() * * @param array $rowData * @return array|null - * @since 2.0.0 */ protected function _prepareRow(array $rowData) { @@ -105,7 +99,6 @@ protected function _prepareRow(array $rowData) * * @param array $rowData * @return array - * @since 2.0.0 */ protected function _prepareAddressRowData(array $rowData) { diff --git a/app/code/Magento/Deploy/Console/Command/App/ApplicationDumpCommand.php b/app/code/Magento/Deploy/Console/Command/App/ApplicationDumpCommand.php index 80115afef5602..1ab3c648dc80b 100644 --- a/app/code/Magento/Deploy/Console/Command/App/ApplicationDumpCommand.php +++ b/app/code/Magento/Deploy/Console/Command/App/ApplicationDumpCommand.php @@ -17,19 +17,19 @@ /** * Command for dump application state - * @since 2.2.0 + * @since 2.1.3 */ class ApplicationDumpCommand extends Command { /** * @var Writer - * @since 2.2.0 + * @since 2.1.3 */ private $writer; /** * @var ConfigSourceInterface[] - * @since 2.2.0 + * @since 2.1.3 */ private $sources; @@ -45,7 +45,7 @@ class ApplicationDumpCommand extends Command * @param Writer $writer * @param array $sources * @param Hash $configHash - * @since 2.2.0 + * @since 2.1.3 */ public function __construct( Writer $writer, @@ -60,7 +60,7 @@ public function __construct( /** * @inheritdoc - * @since 2.2.0 + * @since 2.1.3 */ protected function configure() { @@ -76,7 +76,7 @@ protected function configure() * @param OutputInterface $output * @return boolean * @SuppressWarnings(PHPMD.UnusedFormalParameter) - * @since 2.2.0 + * @since 2.1.3 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Deploy/Console/Command/SetModeCommand.php b/app/code/Magento/Deploy/Console/Command/SetModeCommand.php index 4b5209e260c4d..c4485656fb884 100644 --- a/app/code/Magento/Deploy/Console/Command/SetModeCommand.php +++ b/app/code/Magento/Deploy/Console/Command/SetModeCommand.php @@ -17,7 +17,6 @@ /** * Command to set application mode - * @since 2.0.0 */ class SetModeCommand extends Command { @@ -35,7 +34,6 @@ class SetModeCommand extends Command * Object manager factory * * @var ObjectManagerInterface - * @since 2.0.0 */ private $objectManager; @@ -43,7 +41,6 @@ class SetModeCommand extends Command * Inject dependencies * * @param ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(ObjectManagerInterface $objectManager) { @@ -53,7 +50,6 @@ public function __construct(ObjectManagerInterface $objectManager) /** * @inheritdoc - * @since 2.0.0 */ protected function configure() { @@ -80,7 +76,6 @@ protected function configure() /** * @inheritdoc - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Deploy/Console/Command/ShowModeCommand.php b/app/code/Magento/Deploy/Console/Command/ShowModeCommand.php index 2a7dcecb0e65c..b28051e603f6c 100644 --- a/app/code/Magento/Deploy/Console/Command/ShowModeCommand.php +++ b/app/code/Magento/Deploy/Console/Command/ShowModeCommand.php @@ -14,7 +14,6 @@ /** * Command to show application mode - * @since 2.0.0 */ class ShowModeCommand extends Command { @@ -22,7 +21,6 @@ class ShowModeCommand extends Command * Object manager factory * * @var ObjectManagerInterface - * @since 2.0.0 */ private $objectManager; @@ -30,7 +28,6 @@ class ShowModeCommand extends Command * Inject dependencies * * @param ObjectManagerInterface $objectManager - * @since 2.0.0 */ public function __construct(ObjectManagerInterface $objectManager) { @@ -40,7 +37,6 @@ public function __construct(ObjectManagerInterface $objectManager) /** * @inheritdoc - * @since 2.0.0 */ protected function configure() { @@ -52,7 +48,6 @@ protected function configure() /** * @inheritdoc - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Deploy/Model/Filesystem.php b/app/code/Magento/Deploy/Model/Filesystem.php index 7c8600b80519b..705196d75925d 100644 --- a/app/code/Magento/Deploy/Model/Filesystem.php +++ b/app/code/Magento/Deploy/Model/Filesystem.php @@ -18,7 +18,6 @@ * Сlear generated/code, generated/metadata/, var/view_preprocessed and pub/static directories * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) - * @since 2.0.0 */ class Filesystem { @@ -53,55 +52,46 @@ class Filesystem /** * @var \Magento\Framework\App\DeploymentConfig\Writer - * @since 2.0.0 */ private $writer; /** * @var \Magento\Framework\App\DeploymentConfig\Reader - * @since 2.0.0 */ private $reader; /** * @var \Magento\Framework\ObjectManagerInterface - * @since 2.0.0 */ private $objectManager; /** * @var \Magento\Framework\Filesystem - * @since 2.0.0 */ private $filesystem; /** * @var \Magento\Framework\App\Filesystem\DirectoryList - * @since 2.0.0 */ private $directoryList; /** * @var \Magento\Framework\Filesystem\Driver\File - * @since 2.0.0 */ private $driverFile; /** * @var \Magento\Store\Model\Config\StoreView - * @since 2.0.0 */ private $storeView; /** * @var \Magento\Framework\ShellInterface - * @since 2.0.0 */ private $shell; /** * @var string - * @since 2.0.0 */ private $functionCallPath; @@ -120,7 +110,6 @@ class Filesystem * @param \Magento\Framework\Filesystem\Driver\File $driverFile * @param \Magento\Store\Model\Config\StoreView $storeView * @param \Magento\Framework\ShellInterface $shell - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\DeploymentConfig\Writer $writer, @@ -149,7 +138,6 @@ public function __construct( * * @param OutputInterface $output * @return void - * @since 2.0.0 */ public function regenerateStatic( OutputInterface $output @@ -176,7 +164,6 @@ public function regenerateStatic( * @param OutputInterface $output * @return void * @throws \Exception - * @since 2.0.0 */ protected function deployStaticContent( OutputInterface $output @@ -253,7 +240,6 @@ private function getUserCollection() * @param OutputInterface $output * @return void * @throws LocalizedException - * @since 2.0.0 */ protected function compile(OutputInterface $output) { @@ -288,7 +274,6 @@ protected function compile(OutputInterface $output) * * @param array $directoryCodeList * @return void - * @since 2.0.0 */ public function cleanupFilesystem($directoryCodeList) { @@ -325,14 +310,13 @@ public function cleanupFilesystem($directoryCodeList) * @param int $dirPermissions * @param int $filePermissions * @return void - * @deprecated 2.1.0 As magento2 doesn't control indirectly + * @deprecated 2.0.6 As magento2 doesn't control indirectly * the access permissions to the files and directories anymore. * Access permissions to the files and directories are set during deploy Magento 2, directly after * uploading code of Magento. Also it is possible to specify the value * of inverse mask for setting access permissions to files and directories generated by Magento. * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html - * @since 2.0.0 */ protected function changePermissions($directoryCodeList, $dirPermissions, $filePermissions) { @@ -351,14 +335,13 @@ protected function changePermissions($directoryCodeList, $dirPermissions, $fileP * Change permissions on static resources * * @return void - * @deprecated 2.1.0 As magento2 doesn't control indirectly the access permissions to the files + * @deprecated 2.0.6 As magento2 doesn't control indirectly the access permissions to the files * and directories anymore. * Access permissions to the files and directories are set during deploy Magento 2, directly after * uploading code of Magento. Also it is possible to specify the value * of inverse mask for setting access permissions to files and directories generated by Magento. * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html - * @since 2.0.0 */ public function lockStaticResources() { diff --git a/app/code/Magento/Deploy/Model/Mode.php b/app/code/Magento/Deploy/Model/Mode.php index 30e002de3a17a..75de873f71e44 100644 --- a/app/code/Magento/Deploy/Model/Mode.php +++ b/app/code/Magento/Deploy/Model/Mode.php @@ -21,37 +21,31 @@ * * @SuppressWarnings("PMD.CouplingBetweenObjects") * @SuppressWarnings("PMD.ExcessiveParameterList") - * @since 2.0.0 */ class Mode { /** * @var InputInterface - * @since 2.0.0 */ private $input; /** * @var OutputInterface - * @since 2.0.0 */ protected $output; /** * @var Writer - * @since 2.0.0 */ private $writer; /** * @var Reader - * @since 2.0.0 */ private $reader; /** * @var Filesystem - * @since 2.0.0 */ private $filesystem; @@ -62,7 +56,6 @@ class Mode * @param Reader $reader * @param MaintenanceMode $maintenanceMode * @param Filesystem $filesystem - * @since 2.0.0 */ public function __construct( InputInterface $input, @@ -85,7 +78,6 @@ public function __construct( * * @throws LocalizedException * @return void - * @since 2.0.0 */ public function enableProductionMode() { @@ -108,7 +100,6 @@ public function enableProductionMode() * Only lock static resource locations and set store mode, without handling static content * * @return void - * @since 2.0.0 */ public function enableProductionModeMinimal() { @@ -119,7 +110,6 @@ public function enableProductionModeMinimal() * Enable Developer mode * * @return void - * @since 2.0.0 */ public function enableDeveloperMode() { @@ -140,7 +130,6 @@ public function enableDeveloperMode() * * @return string * @throws \Exception - * @since 2.0.0 */ public function getMode() { @@ -153,7 +142,6 @@ public function getMode() * * @param string $mode * @return void - * @since 2.0.0 */ protected function setStoreMode($mode) { @@ -170,7 +158,6 @@ protected function setStoreMode($mode) * * @param OutputInterface $output * @return void - * @since 2.0.0 */ protected function enableMaintenanceMode(OutputInterface $output) { @@ -183,7 +170,6 @@ protected function enableMaintenanceMode(OutputInterface $output) * * @param OutputInterface $output * @return void - * @since 2.0.0 */ protected function disableMaintenanceMode(OutputInterface $output) { diff --git a/app/code/Magento/Developer/Console/Command/DevTestsRunCommand.php b/app/code/Magento/Developer/Console/Command/DevTestsRunCommand.php index c3c9d20afda28..f26f0d5e79325 100644 --- a/app/code/Magento/Developer/Console/Command/DevTestsRunCommand.php +++ b/app/code/Magento/Developer/Console/Command/DevTestsRunCommand.php @@ -14,7 +14,6 @@ * Class DevTestsRunCommand * * Runs tests (unit, static, integration, etc.) - * @since 2.0.0 */ class DevTestsRunCommand extends Command { @@ -32,7 +31,6 @@ class DevTestsRunCommand extends Command * Maps types (from user input) to phpunit test names * * @var array - * @since 2.0.0 */ private $types; @@ -40,13 +38,11 @@ class DevTestsRunCommand extends Command * Maps phpunit test names to directory and target name * * @var array - * @since 2.0.0 */ private $commands; /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -70,7 +66,6 @@ protected function configure() * @param InputInterface $input * @param OutputInterface $output * @return int Non zero if invalid type, 0 otherwise - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -118,7 +113,6 @@ protected function execute(InputInterface $input, OutputInterface $output) * Fills in arrays that link test types to php unit tests and directories. * * @return void - * @since 2.0.0 */ private function setupTestInfo() { diff --git a/app/code/Magento/Developer/Console/Command/SourceThemeDeployCommand.php b/app/code/Magento/Developer/Console/Command/SourceThemeDeployCommand.php index c7c6ecf726abd..25519e5c83054 100644 --- a/app/code/Magento/Developer/Console/Command/SourceThemeDeployCommand.php +++ b/app/code/Magento/Developer/Console/Command/SourceThemeDeployCommand.php @@ -19,7 +19,6 @@ * Class SourceThemeDeployCommand * * Collects and publishes source files for theme - * @since 2.0.0 */ class SourceThemeDeployCommand extends Command { @@ -50,19 +49,16 @@ class SourceThemeDeployCommand extends Command /** * @var Locale - * @since 2.0.0 */ private $validator; /** * @var Publisher - * @since 2.0.0 */ private $assetPublisher; /** * @var Repository - * @since 2.0.0 */ private $assetRepository; @@ -72,7 +68,6 @@ class SourceThemeDeployCommand extends Command * @param Locale $validator * @param Publisher $assetPublisher * @param Repository $assetRepository - * @since 2.0.0 */ public function __construct( Locale $validator, @@ -87,7 +82,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -137,7 +131,6 @@ protected function configure() /** * {@inheritdoc} * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Developer/Console/Command/XmlCatalogGenerateCommand.php b/app/code/Magento/Developer/Console/Command/XmlCatalogGenerateCommand.php index 62fcbc00fc9c4..dd305d3ddd292 100644 --- a/app/code/Magento/Developer/Console/Command/XmlCatalogGenerateCommand.php +++ b/app/code/Magento/Developer/Console/Command/XmlCatalogGenerateCommand.php @@ -19,7 +19,6 @@ * @SuppressWarnings(PMD.CouplingBetweenObjects) * * @api - * @since 2.0.0 */ class XmlCatalogGenerateCommand extends Command { @@ -35,13 +34,11 @@ class XmlCatalogGenerateCommand extends Command /** * @var \Magento\Framework\App\Utility\Files - * @since 2.0.0 */ private $filesUtility; /** * @var \Magento\Framework\Config\Dom\UrnResolver - * @since 2.0.0 */ private $urnResolver; @@ -55,7 +52,6 @@ class XmlCatalogGenerateCommand extends Command * Supported formats * * @var \Magento\Developer\Model\XmlCatalog\Format\FormatInterface[] - * @since 2.0.0 */ private $formats; @@ -64,7 +60,6 @@ class XmlCatalogGenerateCommand extends Command * @param \Magento\Framework\Config\Dom\UrnResolver $urnResolver * @param \Magento\Framework\Filesystem\Directory\ReadFactory $readFactory * @param \Magento\Developer\Model\XmlCatalog\Format\FormatInterface[] $formats - * @since 2.0.0 */ public function __construct( \Magento\Framework\App\Utility\Files $filesUtility, @@ -81,7 +76,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -111,7 +105,6 @@ protected function configure() * * @param OutputInterface $output * @return array - * @since 2.0.0 */ private function getUrnDictionary(OutputInterface $output) { @@ -148,7 +141,6 @@ private function getUrnDictionary(OutputInterface $output) /** * {@inheritdoc} * @throws \InvalidArgumentException - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -168,7 +160,6 @@ protected function execute(InputInterface $input, OutputInterface $output) * * @param string $format * @return \Magento\Developer\Model\XmlCatalog\Format\FormatInterface|false - * @since 2.0.0 */ private function getFormatters($format) { @@ -183,7 +174,6 @@ private function getFormatters($format) * Get registered formatter aliases * * @return string[] - * @since 2.0.0 */ public function getSupportedFormats() { diff --git a/app/code/Magento/Developer/Console/Command/XmlConverterCommand.php b/app/code/Magento/Developer/Console/Command/XmlConverterCommand.php index b653fff844334..16d3449530247 100644 --- a/app/code/Magento/Developer/Console/Command/XmlConverterCommand.php +++ b/app/code/Magento/Developer/Console/Command/XmlConverterCommand.php @@ -18,7 +18,6 @@ /** * Class XmlConverterCommand * Converts XML file using XSL style sheets - * @since 2.0.0 */ class XmlConverterCommand extends Command { @@ -39,19 +38,16 @@ class XmlConverterCommand extends Command /** * @var Formatter - * @since 2.0.0 */ private $formatter; /** * @var DomDocumentFactory - * @since 2.0.0 */ private $domFactory; /** * @var XsltProcessorFactory - * @since 2.0.0 */ private $xsltProcessorFactory; @@ -61,7 +57,6 @@ class XmlConverterCommand extends Command * @param Formatter $formatter * @param DomDocumentFactory $domFactory * @param XsltProcessorFactory $xsltProcessorFactory - * @since 2.0.0 */ public function __construct( Formatter $formatter, @@ -77,7 +72,6 @@ public function __construct( /** * {@inheritdoc} - * @since 2.0.0 */ protected function configure() { @@ -108,7 +102,6 @@ protected function configure() /** * {@inheritdoc} - * @since 2.0.0 */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/app/code/Magento/Developer/Helper/Data.php b/app/code/Magento/Developer/Helper/Data.php index 4cd27b9ff4fee..77166be709cbd 100644 --- a/app/code/Magento/Developer/Helper/Data.php +++ b/app/code/Magento/Developer/Helper/Data.php @@ -9,7 +9,6 @@ * Developer config data helper * * @api - * @since 2.0.0 */ class Data extends \Magento\Framework\App\Helper\AbstractHelper { @@ -23,7 +22,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper * * @param string|null $storeId * @return bool - * @since 2.0.0 */ public function isDevAllowed($storeId = null) { diff --git a/app/code/Magento/Developer/Model/Config/Backend/AllowedIps.php b/app/code/Magento/Developer/Model/Config/Backend/AllowedIps.php index d70a3f51c644c..e11ff0c760153 100644 --- a/app/code/Magento/Developer/Model/Config/Backend/AllowedIps.php +++ b/app/code/Magento/Developer/Model/Config/Backend/AllowedIps.php @@ -7,13 +7,11 @@ /** * Backend model for validating ip addresses entered in Developer Client Restrictions - * @since 2.0.0 */ class AllowedIps extends \Magento\Framework\App\Config\Value { /** * @var \Magento\Framework\Message\ManagerInterface - * @since 2.0.0 */ private $messageManager; @@ -21,7 +19,6 @@ class AllowedIps extends \Magento\Framework\App\Config\Value * Escaper * * @var \Magento\Framework\Escaper - * @since 2.0.0 */ protected $escaper; @@ -37,7 +34,6 @@ class AllowedIps extends \Magento\Framework\App\Config\Value * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection * @param array $data - * @since 2.0.0 */ public function __construct( \Magento\Framework\Model\Context $context, @@ -59,7 +55,6 @@ public function __construct( * Validate ip addresses before save * * @return $this - * @since 2.0.0 */ public function beforeSave() { diff --git a/app/code/Magento/Developer/Model/Config/Source/WorkflowType.php b/app/code/Magento/Developer/Model/Config/Source/WorkflowType.php index 21094bf8f13c6..74bdcf9e127be 100644 --- a/app/code/Magento/Developer/Model/Config/Source/WorkflowType.php +++ b/app/code/Magento/Developer/Model/Config/Source/WorkflowType.php @@ -11,7 +11,6 @@ * Class WorkflowType * * @api - * @since 2.0.0 */ class WorkflowType implements ArrayInterface { @@ -34,7 +33,6 @@ class WorkflowType implements ArrayInterface * Return list of Workflow types * * @return array Format: array(array('value' => '', 'label' => '