aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Contacts
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-08 18:53:54 +0100
committerJoas Schilling <coding@schilljs.com>2021-12-08 19:24:16 +0100
commitd5cb5a33dc5d09e7cef3b88e3f55240ef3384df2 (patch)
tree11070b1768827b120bd1365b4f917a8bf5c8acf2 /lib/public/Contacts
parentd49ad7ea47e35a463e4953c9922a5af77ff7acf2 (diff)
downloadnextcloud-server-d5cb5a33dc5d09e7cef3b88e3f55240ef3384df2.tar.gz
nextcloud-server-d5cb5a33dc5d09e7cef3b88e3f55240ef3384df2.zip
Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Contacts')
-rw-r--r--lib/public/Contacts/IManager.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php
index 6d5f318cfa8..e9bdc01c060 100644
--- a/lib/public/Contacts/IManager.php
+++ b/lib/public/Contacts/IManager.php
@@ -93,8 +93,10 @@ interface IManager {
* - 'escape_like_param' - If set to false wildcards _ and % are not escaped
* - 'limit' - Set a numeric limit for the search results
* - 'offset' - Set the offset for the limited search results
- * - 'enumeration' - Whether user enumeration on system address book is allowed
- * - 'fullmatch' - Whether matching on full detail in system addresss book is allowed
+ * - 'enumeration' - (since 23.0.0) Whether user enumeration on system address book is allowed
+ * - 'fullmatch' - (since 23.0.0) Whether matching on full detail in system addresss book is allowed
+ * - 'strict_search' - (since 23.0.0) Whether the search pattern is full string or partial search
+ * @psalm-param array{escape_like_param?: bool, limit?: int, offset?: int, enumeration?: bool, fullmatch?: bool, strict_search?: bool} $options
* @return array an array of contacts which are arrays of key-value-pairs
* @since 6.0.0
*/