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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
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 <core@magentocommerce.com>
119
*/
1210
namespace Magento\Customer\Block\Adminhtml\System\Config;
1311

0 commit comments

Comments
 (0)