File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ public function __construct(
9292 $ this ->changeDetector = $ changeDetector ;
9393 $ this ->processorFacadeFactory = $ processorFacadeFactory ;
9494 $ this ->deploymentConfig = $ deploymentConfig ;
95- $ this ->localeEmulator = $ localeEmulator ??
96- ObjectManager::getInstance ()->get (LocaleEmulatorInterface::class);
95+ $ this ->localeEmulator = $ localeEmulator ;
9796
9897 parent ::__construct ();
9998 }
Original file line number Diff line number Diff line change @@ -126,8 +126,7 @@ public function __construct(
126126 ?: ObjectManager::getInstance ()->get (PathValidatorFactory::class);
127127 $ this ->emulatedAreaProcessor = $ emulatedAreaProcessor
128128 ?: ObjectManager::getInstance ()->get (EmulatedAdminhtmlAreaProcessor::class);
129- $ this ->localeEmulator = $ localeEmulator
130- ?: ObjectManager::getInstance ()->get (LocaleEmulatorInterface::class);
129+ $ this ->localeEmulator = $ localeEmulator ;
131130 }
132131
133132 /**
Original file line number Diff line number Diff line change 1111 <preference for =" Magento\Framework\App\Config\ConfigResource\ConfigInterface" type =" Magento\Config\Model\ResourceModel\Config" />
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" />
14- <preference for =" Magento\Config\Console\Command\LocaleEmulatorInterface" type =" Magento\Config\Console\Command\LocaleEmulator\Proxy " />
14+ <preference for =" Magento\Config\Console\Command\LocaleEmulatorInterface" type =" Magento\Config\Console\Command\LocaleEmulator" />
1515 <type name =" Magento\Config\Model\Config\Structure\ElementVisibilityComposite" >
1616 <arguments >
1717 <argument name =" visibility" xsi : type =" array" >
310310 <type name =" Magento\Config\Console\Command\ConfigShowCommand" >
311311 <arguments >
312312 <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 >
313319 </arguments >
314320 </type >
315321 <type name =" Magento\Framework\Console\CommandListInterface" >
You can’t perform that action at this time.
0 commit comments