Skip to content

Commit 6468283

Browse files
35481 Modified the implementation
1 parent deef79a commit 6468283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Theme/Block/Html/Header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(
3333
\Magento\Framework\Escaper $escaper,
3434
array $data = []
3535
) {
36-
$this->_escaper = $escaper;
36+
$this->escaper = $escaper;
3737
parent::__construct($context, $data);
3838
}
3939

@@ -57,7 +57,7 @@ public function getWelcome()
5757
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
5858
);
5959
}
60-
$this->_data['welcome'] = $this->_escaper->escapeQuote($this->_data['welcome'], true);
60+
$this->_data['welcome'] = $this->escaper->escapeQuote($this->_data['welcome'], true);
6161
return __($this->_data['welcome']);
6262
}
6363
}

0 commit comments

Comments
 (0)