summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-11-23 17:29:44 +0100
committerArthur Schiwon <blizzz@owncloud.com>2015-11-23 17:32:22 +0100
commit4005c0337b41c222cbc94ba4f7a34e8da61a38d0 (patch)
tree350852aaf4e1ac85eb3d86d92a7531c594286fd7 /lib
parentd43abd0b8fcdad74a7a95936d919fb206534f0dc (diff)
downloadnextcloud-server-4005c0337b41c222cbc94ba4f7a34e8da61a38d0.tar.gz
nextcloud-server-4005c0337b41c222cbc94ba4f7a34e8da61a38d0.zip
give creation datetime setter and getter a more meaningful and less misleading name
Diffstat (limited to 'lib')
-rw-r--r--lib/public/comments/icomment.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/comments/icomment.php b/lib/public/comments/icomment.php
index 34adf5983fa..3bc15c800f0 100644
--- a/lib/public/comments/icomment.php
+++ b/lib/public/comments/icomment.php
@@ -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