Skip to content

Commit 6e7d436

Browse files
committed
Merge remote-tracking branch 'git-36981/no-author/customer-01' into bluetooth_delivery
2 parents fcd7697 + 36ad44e commit 6e7d436

File tree

22 files changed

+8
-46
lines changed

22 files changed

+8
-46
lines changed

app/code/Magento/Customer/Block/Address/Book.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* Customer address book block
1414
*
1515
* @api
16-
* @author Magento Core Team <[email protected]>
1716
* @since 100.0.2
1817
*/
1918
class Book extends \Magento\Framework\View\Element\Template
@@ -167,6 +166,7 @@ public function getAdditionalAddresses()
167166
try {
168167
$addresses = $this->addressesGrid->getAdditionalAddresses();
169168
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
169+
return false;
170170
}
171171
return empty($addresses) ? false : $addresses;
172172
}
@@ -198,6 +198,7 @@ public function getCustomer()
198198
try {
199199
$customer = $this->currentCustomer->getCustomer();
200200
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
201+
return null;
201202
}
202203
return $customer;
203204
}

app/code/Magento/Customer/Block/Address/Renderer/RendererInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Address renderer interface
1313
*
1414
* @api
15-
* @author Magento Core Team <[email protected]>
1615
*/
1716
interface RendererInterface
1817
{

app/code/Magento/Customer/Block/Adminhtml/Form/Element/Boolean.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Customer\Block\Adminhtml\Form\Element;
8+
79
/**
810
* Customer Widget Form Boolean Element Block
9-
*
10-
* @author Magento Core Team <[email protected]>
1111
*/
12-
namespace Magento\Customer\Block\Adminhtml\Form\Element;
13-
1412
class Boolean extends \Magento\Framework\Data\Form\Element\Select
1513
{
1614
/**
1715
* Prepare default SELECT values
16+
*
1817
* @return void
1918
*/
2019
protected function _construct()

app/code/Magento/Customer/Block/Adminhtml/Form/Element/File.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
/**
99
* Customer Widget Form File Element Block
10-
*
11-
* @author Magento Core Team <[email protected]>
1210
*/
1311
class File extends \Magento\Framework\Data\Form\Element\AbstractElement
1412
{
@@ -18,8 +16,6 @@ class File extends \Magento\Framework\Data\Form\Element\AbstractElement
1816
protected $_assetRepo;
1917

2018
/**
21-
* Adminhtml data
22-
*
2319
* @var \Magento\Backend\Helper\Data
2420
*/
2521
protected $_adminhtmlData = null;

app/code/Magento/Customer/Block/Adminhtml/Form/Element/Image.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Widget Form Image File Element Block
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Block\Adminhtml\Form\Element;
1311

app/code/Magento/Customer/Block/Adminhtml/Grid/Filter/Country.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
/**
99
* Country customer grid column filter
10-
*
11-
* @author Magento Core Team <[email protected]>
1210
*/
1311
class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select
1412
{
@@ -34,6 +32,8 @@ public function __construct(
3432
}
3533

3634
/**
35+
* Return options
36+
*
3737
* @return array
3838
*/
3939
protected function _getOptions()

app/code/Magento/Customer/Block/Adminhtml/Grid/Renderer/Multiaction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
/**
1313
* Adminhtml customers wishlist grid item action renderer for few action controls in one cell
14-
*
15-
* @author Magento Core Team <[email protected]>
1614
*/
1715
class Multiaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Action
1816
{

app/code/Magento/Customer/Block/Adminhtml/Group.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Adminhtml customers group page content block
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Block\Adminhtml;
1311

app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
/**
1313
* VAT ID element renderer
14-
*
15-
* @author Magento Core Team <[email protected]>
1614
*/
1715
class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element
1816
{

app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Adminhtml VAT ID validation block
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Block\Adminhtml\System\Config;
1311

app/code/Magento/Customer/Block/Form/Login.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* Customer login form block
1010
*
1111
* @api
12-
* @author Magento Core Team <[email protected]>
1312
* @since 100.0.2
1413
*/
1514
class Login extends \Magento\Framework\View\Element\Template

app/code/Magento/Customer/Controller/Adminhtml/System/Config/Validatevat.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
/**
99
* VAT validation controller
10-
*
11-
* @author Magento Core Team <[email protected]>
1210
*/
1311
abstract class Validatevat extends \Magento\Backend\App\Action
1412
{
@@ -17,7 +15,7 @@ abstract class Validatevat extends \Magento\Backend\App\Action
1715
*
1816
* @see _isAllowed()
1917
*/
20-
const ADMIN_RESOURCE = 'Magento_Customer::manage';
18+
public const ADMIN_RESOURCE = 'Magento_Customer::manage';
2119

2220
/**
2321
* Perform customer VAT ID validation

app/code/Magento/Customer/Model/Address/Form.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Address Form Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Address;
1311

app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
/**
99
* Boolean customer attribute backend model
10-
*
11-
* @author Magento Core Team <[email protected]>
1210
*/
1311
class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
1412
{

app/code/Magento/Customer/Model/Attribute/Data/AbstractData.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute Abstract Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/Attribute/Data/Boolean.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute Boolean Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/Attribute/Data/Date.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute Date Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/Attribute/Data/File.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute File Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/Attribute/Data/Hidden.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute Hidden text Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/Attribute/Data/Image.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Customer Attribute Image File Data Model
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Customer\Model\Attribute\Data;
1311

app/code/Magento/Customer/Model/ResourceModel/Group/Collection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
/**
99
* Customer group collection
10-
*
11-
* @author Magento Core Team <[email protected]>
1210
*/
1311
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1412
{

app/code/Magento/Customer/Model/ResourceModel/Online/Grid/Collection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
/**
1818
* Flat customer online grid collection
19-
*
20-
* @author Magento Core Team <[email protected]>
2119
*/
2220
class Collection extends SearchResult
2321
{

0 commit comments

Comments
 (0)