File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Config/Console/Command Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ public function __construct(
92
92
$ this ->changeDetector = $ changeDetector ;
93
93
$ this ->processorFacadeFactory = $ processorFacadeFactory ;
94
94
$ this ->deploymentConfig = $ deploymentConfig ;
95
- $ this ->localeEmulator = $ localeEmulator ??
96
- ObjectManager::getInstance ()->get (LocaleEmulatorInterface::class);
95
+ $ this ->localeEmulator = $ localeEmulator ;
97
96
98
97
parent ::__construct ();
99
98
}
Original file line number Diff line number Diff line change @@ -126,8 +126,7 @@ public function __construct(
126
126
?: ObjectManager::getInstance ()->get (PathValidatorFactory::class);
127
127
$ this ->emulatedAreaProcessor = $ emulatedAreaProcessor
128
128
?: ObjectManager::getInstance ()->get (EmulatedAdminhtmlAreaProcessor::class);
129
- $ this ->localeEmulator = $ localeEmulator
130
- ?: ObjectManager::getInstance ()->get (LocaleEmulatorInterface::class);
129
+ $ this ->localeEmulator = $ localeEmulator ;
131
130
}
132
131
133
132
/**
You can’t perform that action at this time.
0 commit comments