From ab8937ba6ab28048d667dc6aa34a7ba1b1bd6bd9 Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Mon, 23 Nov 2015 23:58:22 +0100
Subject: [PATCH] =?UTF-8?q?missing=20setters=20for=20setChildrenCount=20an?=
 =?UTF-8?q?d=20setLatestChildDateTime=20(formerly=20=E2=80=A6Timestamp)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/public/comments/icomment.php | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/lib/public/comments/icomment.php b/lib/public/comments/icomment.php
index 3bc15c800f..c8f407624a 100644
--- a/lib/public/comments/icomment.php
+++ b/lib/public/comments/icomment.php
@@ -64,6 +64,15 @@ interface IComment {
 	 */
 	public function getChildrenCount();
 
+	/**
+	 * sets the number of children
+	 *
+	 * @param int $count
+	 * @return IComment
+	 * @since 9.0.0
+	 */
+	public function setChildrenCount($count);
+
 	/**
 	 * returns the message of the comment
 	 *
@@ -137,19 +146,28 @@ interface IComment {
 	/**
 	 * sets the creation date of the comment and returns itself
 	 *
-	 * @param \DateTime $timestamp
+	 * @param \DateTime $dateTime
 	 * @return IComment
 	 * @since 9.0.0
 	 */
-	public function setCreationDateTime(\DateTime $timestamp);
+	public function setCreationDateTime(\DateTime $dateTime);
 
 	/**
-	 * returns the timestamp of the most recent child
+	 * returns the date of the most recent child
 	 *
-	 * @return int
+	 * @return \DateTime
+	 * @since 9.0.0
+	 */
+	public function getLatestChildDateTime();
+
+	/**
+	 * sets the date of the most recent child
+	 *
+	 * @param \DateTime $dateTime
+	 * @return IComment
 	 * @since 9.0.0
 	 */
-	public function getLatestChildTimestamp();
+	public function setLatestChildDateTime(\DateTime $dateTime);
 
 	/**
 	 * returns the object type the comment is attached to
-- 
GitLab