Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove forbidden @author tag #37005

Open
wants to merge 11 commits into
base: 2.4-develop
Choose a base branch
from
1 change: 0 additions & 1 deletion app/code/Magento/Multishipping/Block/Checkout/Shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* Mustishipping checkout shipping
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Shipping extends \Magento\Sales\Block\Items\AbstractItems
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Multishipping/Block/Checkout/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Multishipping checkout state
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Multishipping\Block\Checkout;

Expand All @@ -33,6 +31,8 @@ public function __construct(
}

/**
* Retrieve available checkout steps
*
* @return array
*/
public function getSteps()
Expand Down
8 changes: 6 additions & 2 deletions app/code/Magento/Multishipping/Block/Checkout/Success.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Multishipping checkout success information
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Multishipping\Block\Checkout;

Expand All @@ -32,6 +30,8 @@ public function __construct(
}

/**
* Get Order Ids
*
* @return array|bool|string
*/
public function getOrderIds()
Expand All @@ -44,6 +44,8 @@ public function getOrderIds()
}

/**
* Get order Url
*
* @param int $orderId
* @return string
*/
Expand All @@ -53,6 +55,8 @@ public function getViewOrderUrl($orderId)
}

/**
* Get continue Url
*
* @return string
*/
public function getContinueUrl()
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Multishipping/Helper/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Multi Shipping urls helper
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Multishipping\Helper;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
/**
* Multishipping checkout state model
*
* @author Magento Core Team <core@magentocommerce.com>
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
*/
class State extends \Magento\Framework\DataObject
{
const STEP_SELECT_ADDRESSES = 'multishipping_addresses';
public const STEP_SELECT_ADDRESSES = 'multishipping_addresses';

const STEP_SHIPPING = 'multishipping_shipping';
public const STEP_SHIPPING = 'multishipping_shipping';

const STEP_BILLING = 'multishipping_billing';
public const STEP_BILLING = 'multishipping_billing';

const STEP_OVERVIEW = 'multishipping_overview';
public const STEP_OVERVIEW = 'multishipping_overview';

const STEP_SUCCESS = 'multishipping_success';
public const STEP_SUCCESS = 'multishipping_success';

const STEP_RESULTS = 'multishipping_results';
public const STEP_RESULTS = 'multishipping_results';

/**
* Allow steps array
Expand Down Expand Up @@ -107,6 +107,8 @@ public function getActiveStep()
}

/**
* Setup Checkout step
*
* @param string $step
* @return $this
*/
Expand Down Expand Up @@ -171,34 +173,41 @@ public function unsCompleteStep($step)
return $this;
}

// phpcs:disable
/**
*
* @return bool
*/
public function canSelectAddresses()
{
return false;
}

/**
* @return bool
*/
public function canInputShipping()
{
return false;
}

/**
* @return bool
*/
public function canSeeOverview()
{
return false;
}

/**
* @return bool
*/
public function canSuccess()
{
return false;
}

// phpcs:enable
/**
* Retrieve checkout session
*
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Newsletter/Block/Adminhtml/Problem.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* Newsletter problem block template.
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Problem extends \Magento\Backend\Block\Template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribers grid filter checkbox
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Problem\Grid\Filter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribers grid checkbox item renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Problem\Grid\Renderer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* Newsletter queue edit form
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Form extends \Magento\Backend\Block\Widget\Form\Generic
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter queue grid block action item renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Queue\Grid\Renderer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Admin form widget
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Queue\Preview;

Expand Down
4 changes: 1 addition & 3 deletions app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscriber grid block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml;

Expand All @@ -25,7 +23,7 @@
class Subscriber extends Template
{
/**
* Queue collection
* Queue collection property
*
* @var Collection
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribers grid block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Subscriber;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribers grid filter checkbox
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Subscriber\Grid\Filter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribers grid checkbox item renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Subscriber\Grid\Renderer;

Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Newsletter/Block/Adminhtml/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter templates page content block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml;

Expand All @@ -19,6 +17,8 @@ class Template extends \Magento\Backend\Block\Template
protected $_template = 'Magento_Newsletter::template/list.phtml';

/**
* Prepare the layout
*
* @return $this
*/
protected function _prepareLayout()
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter Template Edit Block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter Template Edit Form Block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template\Edit;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Newsletter/Block/Adminhtml/Template/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter templates grid block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter templates grid block action item renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template\Grid\Renderer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@

/**
* Newsletter templates grid block sender item renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template\Grid\Renderer;

/**
* Class Sender
* Class Newsletter Grid Renderer Sender
*/
class Sender extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer
{
Expand All @@ -34,7 +32,7 @@ public function render(\Magento\Framework\DataObject $row)
if ($str == '') {
$str .= '---';
}

return $str;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Admin form widget
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block\Adminhtml\Template\Preview;

Expand Down
5 changes: 1 addition & 4 deletions app/code/Magento/Newsletter/Block/Subscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter subscribe block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Block;

Expand All @@ -18,8 +16,7 @@
class Subscribe extends \Magento\Framework\View\Element\Template
{
/**
* Retrieve form action url and set "secure" param to avoid confirm
* message when we submit form from secure page to unsecure
* Get form action url & set secure param to avoid confirm message when we submit form from secure page to unsecure
*
* @return string
*/
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Newsletter/Controller/Adminhtml/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Newsletter queue controller
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Controller\Adminhtml;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/
/**
* Manage Newsletter Template Controller
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Newsletter\Controller\Adminhtml;

Expand All @@ -17,5 +15,5 @@ abstract class Template extends \Magento\Backend\App\Action
*
* @see _isAllowed()
*/
const ADMIN_RESOURCE = 'Magento_Newsletter::template';
public const ADMIN_RESOURCE = 'Magento_Newsletter::template';
}
4 changes: 1 addition & 3 deletions app/code/Magento/Newsletter/Model/Problem.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* @method string getProblemErrorText()
* @method \Magento\Newsletter\Model\Problem setProblemErrorText(string $value)
*
* @author Magento Core Team <core@magentocommerce.com>
*
* @api
* @since 100.0.2
*/
Expand All @@ -32,7 +30,7 @@ class Problem extends \Magento\Framework\Model\AbstractModel
protected $_subscriber = null;

/**
* Subscriber factory
* Subscriber factory variable
*
* @var \Magento\Newsletter\Model\SubscriberFactory
*/
Expand Down
Loading