Skip to content

Commit 09a7dde

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-32710: Code micro-optimizations
minor fix
1 parent 9efc688 commit 09a7dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Model/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public function isValidForSend()
397397
public function getType()
398398
{
399399
$templateType = $this->getTemplateType();
400-
if (null == $templateType && $this->getId()) {
400+
if (null === $templateType && $this->getId()) {
401401
$templateType = $this->_emailConfig->getTemplateType($this->getId());
402402
$templateType = $templateType == 'html' ? self::TYPE_HTML : self::TYPE_TEXT;
403403
}

0 commit comments

Comments
 (0)