diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index cc04d1b0a3220..37c2bb50e6849 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -731,6 +731,9 @@
+
+
+
@@ -744,8 +747,7 @@
-
-
+ getPrincipalPropertiesByPath($path)]]>
@@ -1364,6 +1366,7 @@
+
@@ -1981,6 +1984,8 @@
+
+
@@ -2393,7 +2398,6 @@
-
@@ -2866,6 +2870,11 @@
+
+
+
+
+
@@ -2988,6 +2997,11 @@
+
+
+
+
+
@@ -3013,6 +3027,9 @@
+
+
+
@@ -3028,6 +3045,11 @@
+
+
+
+
+
@@ -3069,6 +3091,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
getUID())]]>
@@ -3076,10 +3113,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 028ee87b40bb3..765e8fa3d7b7f 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -252,15 +252,6 @@ public function checkPasswordNoLogging($loginName, $password) {
return false;
}
- /**
- * Search by user id
- *
- * @param string $pattern
- * @param int $limit
- * @param int $offset
- * @return IUser[]
- * @deprecated 27.0.0, use searchDisplayName instead
- */
public function search($pattern, $limit = null, $offset = null) {
$users = [];
foreach ($this->backends as $backend) {
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index a4b70327e1e63..973e1c5ef4077 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -104,6 +104,7 @@ public function checkPassword($loginName, $password);
* @param int $offset
* @return \OCP\IUser[]
* @since 8.0.0
+ * @deprecated 27.0.0, use searchDisplayName instead
*/
public function search($pattern, $limit = null, $offset = null);