summaryrefslogtreecommitdiffstats
path: root/lib/private/notification/inotification.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/notification/inotification.php')
-rw-r--r--lib/private/notification/inotification.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/notification/inotification.php b/lib/private/notification/inotification.php
index a8bf5b110ab..b79b7f6d9d3 100644
--- a/lib/private/notification/inotification.php
+++ b/lib/private/notification/inotification.php
@@ -61,18 +61,18 @@ interface INotification {
public function getUser();
/**
- * @param int $timestamp
+ * @param \DateTime $dateTime
* @return $this
- * @throws \InvalidArgumentException if the timestamp are invalid
- * @since 8.2.0
+ * @throws \InvalidArgumentException if the $dateTime is invalid
+ * @since 9.0.0
*/
- public function setTimestamp($timestamp);
+ public function setDateTime(\DateTime $dateTime);
/**
- * @return int
- * @since 8.2.0
+ * @return \DateTime
+ * @since 9.0.0
*/
- public function getTimestamp();
+ public function getDateTime();
/**
* @param string $type