Skip to content

Commit d1021a3

Browse files
committed
MAGETWO-94070: [2.3.x] Enable/disable EAV indexer from configuration
- Add declare strict types;
1 parent 7e16ca7 commit d1021a3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/code/Magento/CatalogSearch/Plugin/EnableEavIndexer.php

Lines changed: 2 additions & 0 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\CatalogSearch\Plugin;
79

810
/**

app/code/Magento/CatalogSearch/Test/Unit/Plugin/EnableEavIndexerTest.php

Lines changed: 7 additions & 0 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\CatalogSearch\Test\Unit\Plugin;
79

810
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
@@ -19,6 +21,11 @@ class EnableEavIndexerTest extends \PHPUnit\Framework\TestCase
1921
*/
2022
private $config;
2123

24+
/**
25+
* Set up
26+
*
27+
* @return void
28+
*/
2229
protected function setUp()
2330
{
2431
$this->config = $this->getMockBuilder(\Magento\Config\Model\Config::class)

0 commit comments

Comments
 (0)