diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-03-31 09:43:56 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-04-05 07:06:50 +0200 |
commit | 7e58aa1a05b01d2db0a1c32f63fd622566d38334 (patch) | |
tree | 27653ab0a95beb2c5480e26a695d9a4e964b8db7 /apps/dav/lib/CardDAV/CardDavBackend.php | |
parent | 746a1e9922ccbbd3756934eb3d20c03ca0ebdbe8 (diff) | |
download | nextcloud-server-7e58aa1a05b01d2db0a1c32f63fd622566d38334.tar.gz nextcloud-server-7e58aa1a05b01d2db0a1c32f63fd622566d38334.zip |
Fix DAV types
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/dav/lib/CardDAV/CardDavBackend.php')
-rw-r--r-- | apps/dav/lib/CardDAV/CardDavBackend.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php index ab21af1ce10..666f1e7a85c 100644 --- a/apps/dav/lib/CardDAV/CardDavBackend.php +++ b/apps/dav/lib/CardDAV/CardDavBackend.php @@ -989,11 +989,12 @@ class CardDavBackend implements BackendInterface, SyncSupport { * @param string $pattern which should match within the $searchProperties * @param array $searchProperties defines the properties within the query pattern should match * @param array $options = array() to define the search behavior + * - 'types' boolean (since 15.0.0) If set to true, fields that come with a TYPE property will be an array * - 'escape_like_param' - If set to false wildcards _ and % are not escaped, otherwise they are * - '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 - * @psalm-param array{escape_like_param?: bool, limit?: int, offset?: int, wildcard?: bool} $options + * @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 */ public function search($addressBookId, $pattern, $searchProperties, $options = []): array { |