Skip to content

Commit 272d829

Browse files
author
Aliaksei Yakimovich2
committed
MAGETWO-88965: Magento\Test\Legacy\LayoutTest is failing for B2B
- Implemetation moved from constructor;
1 parent e8191f1 commit 272d829

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Multistore.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Backend\Block\Widget\Grid\Column;
79

810
/**
@@ -17,15 +19,10 @@ class Multistore extends \Magento\Backend\Block\Widget\Grid\Column
1719
/**
1820
* @param \Magento\Backend\Block\Template\Context $context
1921
* @param array $data
20-
* @param array $additionalRendererTypes
2122
*/
22-
public function __construct(
23-
\Magento\Backend\Block\Template\Context $context,
24-
array $data = [],
25-
array $additionalRendererTypes = []
26-
) {
23+
public function __construct(\Magento\Backend\Block\Template\Context $context, array $data = [])
24+
{
2725
parent::__construct($context, $data);
28-
$this->_rendererTypes = array_merge($this->_rendererTypes, $additionalRendererTypes);
2926
}
3027

3128
/**

dev/tests/static/testsuite/Magento/Test/Legacy/LayoutTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Test\Legacy;
89

0 commit comments

Comments
 (0)