CommentFileSizeAuthor
#2 3106466-2.patch692 byteshardik_patel_12

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

StatusFileSize
new692 bytes

Kindly review a patch.

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review
hash6’s picture

Assigned: Unassigned » hash6
Status: Needs review » Reviewed & tested by the community

Thanks @Hardik_Patel_12 Good Catch !!

hash6’s picture

Assigned: hash6 » Unassigned
alexpott’s picture

Status: Reviewed & tested by the community » Needs work

The typehint is correct. This does have to be a \Drupal\Core\Datetime\DateFormatInterface - we call $entity->setPattern($value); on it in the method.

We could add assert($entity instanceof DateFormatInterface); to make this more explicit.

alexpott’s picture