File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
setup/src/Magento/Setup/Fixtures Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,13 @@ public function execute()
28
28
$ this ->fixtureModel ->resetObjectManager ();
29
29
30
30
foreach ($ configs ['config ' ] as $ config ) {
31
+ $ backendModel = isset ($ config ['backend_model ' ])
32
+ ?
33
+ $ config ['backend_model ' ] : 'Magento\Framework\App\Config\Value ' ;
31
34
/**
32
- * @var \Magento\Framework\App\Config\Value $configData
35
+ * @var \Magento\Framework\App\Config\ValueInterface $configData
33
36
*/
34
- $ configData = $ this ->fixtureModel ->getObjectManager ()->create (' Magento\Framework\App\Config\Value ' );
37
+ $ configData = $ this ->fixtureModel ->getObjectManager ()->create ($ backendModel );
35
38
$ configData ->setPath ($ config ['path ' ])
36
39
->setScope ($ config ['scope ' ])
37
40
->setScopeId ($ config ['scopeId ' ])
You can’t perform that action at this time.
0 commit comments