Skip to content

Commit bd80b1a

Browse files
committed
Missing strict compare in new method
1 parent 18ca5f0 commit bd80b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function getStatusLabelForArea(string $code, string $area): string
128128
$code = $this->maskStatusForArea($area, $code);
129129
$status = $this->orderStatusFactory->create()->load($code);
130130

131-
if ($area == 'adminhtml') {
131+
if ($area === 'adminhtml') {
132132
return $status->getLabel();
133133
}
134134

0 commit comments

Comments
 (0)