mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
give creation datetime setter and getter a more meaningful and less misleading name
This commit is contained in:
parent
d43abd0b8f
commit
4005c0337b
1 changed files with 5 additions and 5 deletions
|
|
@ -125,23 +125,23 @@ interface IComment {
|
|||
public function setActor($actorType, $actorId);
|
||||
|
||||
/**
|
||||
* returns the unix timestamp of the comment.
|
||||
* returns the creation date of the comment.
|
||||
*
|
||||
* If not explicitely set, it shall default to the time of initialization.
|
||||
* If not explicitly set, it shall default to the time of initialization.
|
||||
*
|
||||
* @return \DateTime
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public function getTimestamp();
|
||||
public function getCreationDateTime();
|
||||
|
||||
/**
|
||||
* sets the timestamp of the comment and returns itself
|
||||
* sets the creation date of the comment and returns itself
|
||||
*
|
||||
* @param \DateTime $timestamp
|
||||
* @return IComment
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public function setTimestamp(\DateTime $timestamp);
|
||||
public function setCreationDateTime(\DateTime $timestamp);
|
||||
|
||||
/**
|
||||
* returns the timestamp of the most recent child
|
||||
|
|
|
|||
Loading…
Reference in a new issue