File tree 2 files changed +3
-3
lines changed
app/code/Magento/Customer
Test/Unit/Ui/Component/DataProvider
Ui/Component/DataProvider 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ public function testGetConfirmationAttribute()
187
187
static ::assertEquals ('Confirmed ' , (string )$ value );
188
188
}
189
189
190
-
191
190
/**
192
191
* @covers \Magento\Customer\Ui\Component\DataProvider\Document::getCustomAttribute
193
192
*/
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function __construct(
89
89
$ this ->customerMetadata = $ customerMetadata ;
90
90
$ this ->groupRepository = $ groupRepository ;
91
91
$ this ->storeManager = $ storeManager ;
92
- $ this ->scopeConfig = $ scopeConfig ? $ scopeConfig : ObjectManager::getInstance ()->create (ScopeConfigInterface::class);
92
+ $ this ->scopeConfig = $ scopeConfig ?: ObjectManager::getInstance ()->create (ScopeConfigInterface::class);
93
93
}
94
94
95
95
/**
@@ -181,7 +181,8 @@ private function setConfirmationValue()
181
181
$ isConfirmationRequired = (bool )$ this ->scopeConfig ->getValue (
182
182
AccountManagement::XML_PATH_IS_CONFIRM ,
183
183
ScopeInterface::SCOPE_WEBSITES ,
184
- $ websiteId );
184
+ $ websiteId
185
+ );
185
186
186
187
$ valueText = __ ('Confirmation Not Required ' );
187
188
if ($ isConfirmationRequired ) {
You can’t perform that action at this time.
0 commit comments