Skip to content

Commit 3461977

Browse files
committed
ACP2E-2312: avoid possible error when running setup:upgrade
1 parent bc1594d commit 3461977

File tree

1 file changed

+10
-0
lines changed
  • app/code/Magento/Config/etc

1 file changed

+10
-0
lines changed

app/code/Magento/Config/etc/di.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
<preference for="Magento\Framework\App\Config\CommentParserInterface" type="Magento\Config\Model\Config\Parser\Comment" />
1313
<preference for="Magento\Config\Model\Config\Structure\ElementVisibilityInterface" type="Magento\Config\Model\Config\Structure\ElementVisibilityComposite" />
1414
<preference for="Magento\Config\Console\Command\LocaleEmulatorInterface" type="Magento\Config\Console\Command\LocaleEmulator" />
15+
<type name="Magento\Config\Console\Command\ConfigSetCommand">
16+
<arguments>
17+
<argument name="localeEmulator" xsi:type="object">Magento\Config\Console\Command\LocaleEmulatorInterface\Proxy</argument>
18+
</arguments>
19+
</type>
20+
<type name="Magento\Config\Console\Command\ConfigShowCommand">
21+
<arguments>
22+
<argument name="localeEmulator" xsi:type="object">Magento\Config\Console\Command\LocaleEmulatorInterface\Proxy</argument>
23+
</arguments>
24+
</type>
1525
<type name="Magento\Config\Model\Config\Structure\ElementVisibilityComposite">
1626
<arguments>
1727
<argument name="visibility" xsi:type="array">

0 commit comments

Comments
 (0)