Skip to content

Commit b31a9cf

Browse files
committed
Replacing type in method name.
1 parent 7fac89a commit b31a9cf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/code/Magento/Wishlist/Block/AbstractBlock.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,21 @@ public function hasDescription($item)
231231
* Retrieve formated Date
232232
*
233233
* @param string $date
234+
* @deprecated
234235
* @return string
235236
*/
236237
public function getFormatedDate($date)
238+
{
239+
return $this->getFormattedDate($date);
240+
}
241+
242+
/**
243+
* Retrieve formatted Date
244+
*
245+
* @param string $date
246+
* @return string
247+
*/
248+
public function getFormattedDate($date)
237249
{
238250
return $this->formatDate($date, \IntlDateFormatter::MEDIUM);
239251
}

0 commit comments

Comments
 (0)