Skip to content

Commit 8872e10

Browse files
committed
ACP2E-2312: avoid possible error when running setup:upgrade
1 parent 75e153e commit 8872e10

File tree

1 file changed

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

1 file changed

+6
-10
lines changed

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@
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>
2515
<type name="Magento\Config\Model\Config\Structure\ElementVisibilityComposite">
2616
<arguments>
2717
<argument name="visibility" xsi:type="array">
@@ -320,6 +310,12 @@
320310
<type name="Magento\Config\Console\Command\ConfigShowCommand">
321311
<arguments>
322312
<argument name="configSource" xsi:type="object">configShowSourceAggregated</argument>
313+
<argument name="localeEmulator" xsi:type="object">Magento\Config\Console\Command\LocaleEmulatorInterface\Proxy</argument>
314+
</arguments>
315+
</type>
316+
<type name="Magento\Config\Console\Command\ConfigSetCommand">
317+
<arguments>
318+
<argument name="localeEmulator" xsi:type="object">Magento\Config\Console\Command\LocaleEmulatorInterface\Proxy</argument>
323319
</arguments>
324320
</type>
325321
<type name="Magento\Framework\Console\CommandListInterface">

0 commit comments

Comments
 (0)