From a9916781f351f4e717bde734bb7f1d517f63c49b Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Wed, 2 Sep 2026 13:08:49 +0000 Subject: [PATCH 1/2] chore(dev-deps): Bump nextcloud/ocp package Signed-off-by: GitHub --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 0e4673df318..09e21eac4ea 100644 --- a/composer.lock +++ b/composer.lock @@ -341,12 +341,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "8e0d2537bab13824ede074f334a40432a4bc0367" + "reference": "a56e4e2962b4f338b3233fea1fb2940d372440d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/8e0d2537bab13824ede074f334a40432a4bc0367", - "reference": "8e0d2537bab13824ede074f334a40432a4bc0367", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/a56e4e2962b4f338b3233fea1fb2940d372440d7", + "reference": "a56e4e2962b4f338b3233fea1fb2940d372440d7", "shasum": "" }, "require": { @@ -387,7 +387,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2026-08-29T04:41:42+00:00" + "time": "2026-09-02T01:51:46+00:00" }, { "name": "psr/clock", From f86639c4a13da738e4f2e311e2aec85d72fa559e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 2 Sep 2026 15:17:36 +0200 Subject: [PATCH 2/2] fix(collaboration): Restrict types as in upstream interface Signed-off-by: Joas Schilling --- lib/Collaboration/Collaborators/RoomPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Collaboration/Collaborators/RoomPlugin.php b/lib/Collaboration/Collaborators/RoomPlugin.php index d991bab326f..3ab6fbf1125 100644 --- a/lib/Collaboration/Collaborators/RoomPlugin.php +++ b/lib/Collaboration/Collaborators/RoomPlugin.php @@ -31,8 +31,8 @@ public function __construct( * {@inheritdoc} */ #[\Override] - public function search($search, $limit, $offset, ISearchResult $searchResult): bool { - if (!is_string($search) || $search === '') { + public function search(string $search, int $limit, int $offset, ISearchResult $searchResult): bool { + if ($search === '') { return false; } $search = mb_strtolower($search);