Skip to content

Commit 7800e5d

Browse files
committed
7241 Re-add removed protected method and mark it as deprecated
This is due to Backwards Compatibility reasons.
1 parent 11e38f6 commit 7800e5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/code/Magento/Customer/Model/Options.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ public function getNameSuffixOptions($store = null)
6363
);
6464
}
6565

66+
/**
67+
* @param $options
68+
* @param bool $isOptional
69+
* @return array|bool
70+
*
71+
* @deprecated See prepareNamePrefixSuffixOptions
72+
*/
73+
protected function _prepareNamePrefixSuffixOptions($options, $isOptional = false)
74+
{
75+
return $this->prepareNamePrefixSuffixOptions($options, $isOptional);
76+
}
77+
6678
/**
6779
* Unserialize and clear name prefix or suffix options
6880
* If field is optional, add an empty first option.

0 commit comments

Comments
 (0)