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 from Magento_Customer (part 1) #36999

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/code/Magento/Customer/Block/Address/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* Customer address book block
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Book extends \Magento\Framework\View\Element\Template
Expand Down Expand Up @@ -167,6 +166,7 @@ public function getAdditionalAddresses()
try {
$addresses = $this->addressesGrid->getAdditionalAddresses();
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
return false;
}
return empty($addresses) ? false : $addresses;
}
Expand Down Expand Up @@ -198,6 +198,7 @@ public function getCustomer()
try {
$customer = $this->currentCustomer->getCustomer();
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
return null;
}
return $customer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* Address renderer interface
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
*/
interface RendererInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
* See COPYING.txt for license details.
*/

namespace Magento\Customer\Block\Adminhtml\Form\Element;

/**
* Customer Widget Form Boolean Element Block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Block\Adminhtml\Form\Element;

class Boolean extends \Magento\Framework\Data\Form\Element\Select
{
/**
* Prepare default SELECT values
*
* @return void
*/
protected function _construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Customer Widget Form File Element Block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class File extends \Magento\Framework\Data\Form\Element\AbstractElement
{
Expand All @@ -18,8 +16,6 @@ class File extends \Magento\Framework\Data\Form\Element\AbstractElement
protected $_assetRepo;

/**
* Adminhtml data
*
* @var \Magento\Backend\Helper\Data
*/
protected $_adminhtmlData = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Widget Form Image File Element Block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Block\Adminhtml\Form\Element;

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

/**
* Country customer grid column filter
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select
{
Expand All @@ -34,6 +32,8 @@ public function __construct(
}

/**
* Return options
*
* @return array
*/
protected function _getOptions()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

/**
* Adminhtml customers wishlist grid item action renderer for few action controls in one cell
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Multiaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Action
{
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Block/Adminhtml/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

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

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

/**
* VAT ID element renderer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Adminhtml VAT ID validation block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Block\Adminhtml\System\Config;

Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Customer/Block/Form/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Customer login form block
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Login extends \Magento\Framework\View\Element\Template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* VAT validation controller
*
* @author Magento Core Team <core@magentocommerce.com>
*/
abstract class Validatevat extends \Magento\Backend\App\Action
{
Expand All @@ -17,7 +15,7 @@ abstract class Validatevat extends \Magento\Backend\App\Action
*
* @see _isAllowed()
*/
const ADMIN_RESOURCE = 'Magento_Customer::manage';
public const ADMIN_RESOURCE = 'Magento_Customer::manage';

/**
* Perform customer VAT ID validation
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Address/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Address Form Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Address;

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

/**
* Boolean customer attribute backend model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute Abstract Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Attribute/Data/Boolean.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute Boolean Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Attribute/Data/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute Date Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Attribute/Data/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute File Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Attribute/Data/Hidden.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute Hidden text Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Customer/Model/Attribute/Data/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Customer Attribute Image File Data Model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Model\Attribute\Data;

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

/**
* Customer group collection
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

/**
* Flat customer online grid collection
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Collection extends SearchResult
{
Expand Down