Skip to content

Commit 69151ea

Browse files
committed
Reduce variable length name
isConfirmationRequired -> isConfirmRequired Keep the variable name less than 20 chars
1 parent 20c3b4e commit 69151ea

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Customer/Ui/Component/DataProvider

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Ui/Component/DataProvider/Document.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ private function setConfirmationValue()
178178
{
179179
$value = $this->getData(self::$confirmationAttributeCode);
180180
$websiteId = $this->getData(self::$websiteIdAttributeCode) ?: $this->getData(self::$websiteAttributeCode);
181-
$isConfirmationRequired = (bool)$this->scopeConfig->getValue(
181+
$isConfirmRequired = (bool)$this->scopeConfig->getValue(
182182
AccountManagement::XML_PATH_IS_CONFIRM,
183183
ScopeInterface::SCOPE_WEBSITES,
184184
$websiteId
185185
);
186186

187187
$valueText = __('Confirmation Not Required');
188-
if ($isConfirmationRequired) {
188+
if ($isConfirmRequired) {
189189
$valueText = $value === null ? __('Confirmed') : __('Confirmation Required');
190190
}
191191

0 commit comments

Comments
 (0)