File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Customer
Test/Unit/Ui/Component/DataProvider
Ui/Component/DataProvider Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ public function testGetConfirmationAttribute()
187187 static ::assertEquals ('Confirmed ' , (string )$ value );
188188 }
189189
190-
191190 /**
192191 * @covers \Magento\Customer\Ui\Component\DataProvider\Document::getCustomAttribute
193192 */
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function __construct(
8989 $ this ->customerMetadata = $ customerMetadata ;
9090 $ this ->groupRepository = $ groupRepository ;
9191 $ this ->storeManager = $ storeManager ;
92- $ this ->scopeConfig = $ scopeConfig ? $ scopeConfig : ObjectManager::getInstance ()->create (ScopeConfigInterface::class);
92+ $ this ->scopeConfig = $ scopeConfig ?: ObjectManager::getInstance ()->create (ScopeConfigInterface::class);
9393 }
9494
9595 /**
@@ -181,7 +181,8 @@ private function setConfirmationValue()
181181 $ isConfirmationRequired = (bool )$ this ->scopeConfig ->getValue (
182182 AccountManagement::XML_PATH_IS_CONFIRM ,
183183 ScopeInterface::SCOPE_WEBSITES ,
184- $ websiteId );
184+ $ websiteId
185+ );
185186
186187 $ valueText = __ ('Confirmation Not Required ' );
187188 if ($ isConfirmationRequired ) {
You can’t perform that action at this time.
0 commit comments