Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit f7691bb

Browse files
committed
MAGETWO-65722: [GitHub][PR] Type hint for \DateTimeInterface instead of \DateTime magento/magento2#7174
1 parent f4b49ee commit f7691bb

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Eav/Model/Entity/Attribute/Backend

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Attribute/Backend/Datetime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function beforeSave($object)
6565
* string format used from input fields (all date input fields need apply locale settings)
6666
* int value can be declared in code (this meen whot we use valid date)
6767
*
68-
* @param string|int|\DateTime $date
68+
* @param string|int|\DateTimeInterface $date
6969
* @return string
7070
*/
7171
public function formatDate($date)

0 commit comments

Comments
 (0)