Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-04-19 17:10:03 +02:00
parent f50abde7ac
commit 5157349b69
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
2 changed files with 17 additions and 14 deletions

View File

@ -377,11 +377,13 @@ class Manager implements ICommentsManager {
}
/**
* @param string $objectType
* @param string $objectId
* @param int $lastKnownCommentId
* @param string $sortDirection
* @param int $limit
* @param string $objectType the object type, e.g. 'files'
* @param string $objectId the id of the object
* @param int $lastKnownCommentId the last known comment (will be used as offset)
* @param string $sortDirection direction of the comments (`asc` or `desc`)
* @param int $limit optional, number of maximum comments to be returned. if
* set to 0, all comments are returned.
* @return IComment[]
* @return array
*/
public function getForObjectSince(
@ -463,9 +465,9 @@ class Manager implements ICommentsManager {
}
/**
* @param string $objectType
* @param string $objectId
* @param int $id
* @param string $objectType the object type, e.g. 'files'
* @param string $objectId the id of the object
* @param int $id the comment to look for
* @return Comment|null
*/
protected function getLastKnownComment(string $objectType,

View File

@ -121,12 +121,13 @@ interface ICommentsManager {
);
/**
* @param string $objectType
* @param string $objectId
* @param int $lastKnownCommentId
* @param string $sortDirection
* @param int $limit
* @return array
* @param string $objectType the object type, e.g. 'files'
* @param string $objectId the id of the object
* @param int $lastKnownCommentId the last known comment (will be used as offset)
* @param string $sortDirection direction of the comments (`asc` or `desc`)
* @param int $limit optional, number of maximum comments to be returned. if
* set to 0, all comments are returned.
* @return IComment[]
* @since 14.0.0
*/
public function getForObjectSince(