aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IAddressBook.php
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/IAddressBook.php
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/IAddressBook.php')
-rw-r--r--lib/public/IAddressBook.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IAddressBook.php b/lib/public/IAddressBook.php
index 738745376d3..4bb632ae070 100644
--- a/lib/public/IAddressBook.php
+++ b/lib/public/IAddressBook.php
@@ -67,7 +67,8 @@ namespace OCP {
* - '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
- * - 'wildcard' - Whether the search should use wildcards
+ * - 'wildcard' - (since 23.0.0) Whether the search should use wildcards
+ * @psalm-param array{types?: bool, escape_like_param?: bool, limit?: int, offset?: int, wildcard?: bool} $options
* @return array an array of contacts which are arrays of key-value-pairs
* example result:
* [