Skip to content

Commit 4a1d103

Browse files
committed
Removed static values and used related constants
1 parent 6a8a6a0 commit 4a1d103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ public function addRelatedObject(\Magento\Framework\Model\AbstractModel $object)
19451945
/**
19461946
* Get formatted order created date in store timezone
19471947
*
1948-
* @param string $format date format type (short|medium|long|full)
1948+
* @param int $format date format type (\IntlDateFormatter::SHORT|\IntlDateFormatter::MEDIUM|\IntlDateFormatter::LONG|\IntlDateFormatter::FULL)
19491949
* @return string
19501950
*/
19511951
public function getCreatedAtFormatted($format)

0 commit comments

Comments
 (0)