File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
dev/tools/performance-toolkit/fixtures Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,16 @@ class ConfigsApplyFixture extends \Magento\ToolkitFramework\Fixture
17
17
/**
18
18
* {@inheritdoc}
19
19
*/
20
- public function execute ()
20
+ public function execute ()
21
21
{
22
- $ configs = \Magento \ToolkitFramework \Config::getInstance ()->getValue ('configs ' , [] );
22
+ $ configs = \Magento \ToolkitFramework \Config::getInstance ()->getValue ('configs ' , array () );
23
23
$ this ->application ->resetObjectManager ();
24
-
24
+ /**
25
+ * @var \Magento\Framework\App\Config\Value $configData
26
+ */
25
27
foreach ($ configs ['config ' ] as $ config ) {
26
- /**
27
- * @var \Magento\Framework\App\Config\Value $configData
28
- */
29
28
$ configData = $ this ->application ->getObjectManager ()->create ('Magento\Framework\App\Config\Value ' );
30
- $ configData ->setPatho ( $ cnfig ['path ' ])
29
+ $ configData ->setPath ( $ config ['path ' ])
31
30
->setScope ($ config ['scope ' ])
32
31
->setScopeId ($ config ['scopeId ' ])
33
32
->setValue ($ config ['value ' ])
You can’t perform that action at this time.
0 commit comments