Skip to content

Commit 0627db9

Browse files
author
solwininfotech
committed
boolean function starts with is
1 parent 49f9277 commit 0627db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,7 @@ protected function _getNewCustomerEmail()
20392039
{
20402040
$email = $this->getData('account/email');
20412041

2042-
if ($email || $this->getIsEmailRequired()) {
2042+
if ($email || $this->isEmailRequired()) {
20432043
return $email;
20442044
}
20452045

@@ -2051,7 +2051,7 @@ protected function _getNewCustomerEmail()
20512051
*
20522052
* @return bool
20532053
*/
2054-
private function getIsEmailRequired(): bool
2054+
private function isEmailRequired(): bool
20552055
{
20562056
return (bool)$this->_scopeConfig->getValue(
20572057
self::XML_PATH_EMAIL_REQUIRED_CREATE_ORDER,

0 commit comments

Comments
 (0)