summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Comments/Manager.php3
-rw-r--r--lib/public/Comments/ICommentsManager.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php
index 4ea1a8076c1..1830fb00f3c 100644
--- a/lib/private/Comments/Manager.php
+++ b/lib/private/Comments/Manager.php
@@ -685,7 +685,8 @@ class Manager implements ICommentsManager {
* @param string $verb
* @param string $actorType
* @param string[] $actors
- * @return array
+ * @return \DateTime[] Map of "string actor" => "\DateTime most recent comment date"
+ * @psalm-return array<string, \DateTime>
* @since 21.0.0
*/
public function getLastCommentDateByActor(
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php
index d90179acada..5f381f59647 100644
--- a/lib/public/Comments/ICommentsManager.php
+++ b/lib/public/Comments/ICommentsManager.php
@@ -205,7 +205,8 @@ interface ICommentsManager {
* @param string $verb
* @param string $actorType
* @param string[] $actors
- * @return array Map of "string actor" => "\DateTime most recent comment date"
+ * @return \DateTime[] Map of "string actor" => "\DateTime most recent comment date"
+ * @psalm-return array<string, \DateTime>
* @since 21.0.0
*/
public function getLastCommentDateByActor(