File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3636 *
3737 * This class manages the access to comments
3838 *
39- * @psalm-type CommentNode = array{comment: IComment, replies: list<CommentNode>}
40- * @psalm-type CommentTree = list<CommentNode>
41- *
4239 * @since 9.0.0
4340 */
4441interface ICommentsManager {
@@ -64,11 +61,12 @@ interface ICommentsManager {
6461 public function get ($ id );
6562
6663 /**
67- * returns the comment specified by the id and all it's child comments
64+ * Returns the comment specified by the id and all it's child comments
6865 *
6966 * @param string $id
7067 * @param int $limit max number of entries to return, 0 returns all
7168 * @param int $offset the start entry
69+ * @return array{comment: IComment, replies: list<array{comment: IComment, replies: array<empty, empty>}>}
7270 * @since 9.0.0
7371 *
7472 * The return array looks like this
You can’t perform that action at this time.
0 commit comments