Skip to content

Commit dd34452

Browse files
committed
magento/magento2#: Replace deprecated addError, addSuccess, addException methods in Magento/Customer/Controller/Account/CreatePost.php
1 parent 12c738e commit dd34452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Controller/Account/CreatePost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ protected function getSuccessMessage()
474474
* @return MessageInterface
475475
* @throws \Magento\Framework\Exception\NoSuchEntityException
476476
*/
477-
protected function getMessageManagerSuccessMessage(): MessageInterface
477+
private function getMessageManagerSuccessMessage(): MessageInterface
478478
{
479479
if ($this->addressHelper->isVatValidationEnabled()) {
480480
if ($this->addressHelper->getTaxCalculationAddressType() == Address::TYPE_SHIPPING) {

0 commit comments

Comments
 (0)