Merge pull request #42056 from nextcloud/chore/dashboard/limit-range-items-v1-api

chore(dashboard): Add limit range to items v1 API
This commit is contained in:
Joas Schilling 2023-12-07 11:29:04 +01:00 committed by GitHub
commit 4a9f99809c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,6 +101,7 @@ class DashboardApiController extends OCSController {
*
* @param array<string, string> $sinceIds Array indexed by widget Ids, contains date/id from which we want the new items
* @param int $limit Limit number of result items per widget
* @psalm-param int<1, 30> $limit
* @param string[] $widgets Limit results to specific widgets
* @return DataResponse<Http::STATUS_OK, array<string, DashboardWidgetItem[]>, array{}>
*