diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-07-23 19:57:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 19:57:10 +0200 |
commit | 41f97411ac8ebfb58595a0e4746a7971393a84ce (patch) | |
tree | 592acd5df428e2b5a357badd68b25303b843856f /apps | |
parent | 4a66e955305dddeda421ca04655bdefbd5ca317f (diff) | |
parent | 77c09252d5333a3665ccd5bf058666d5a26ee3b7 (diff) | |
download | nextcloud-server-41f97411ac8ebfb58595a0e4746a7971393a84ce.tar.gz nextcloud-server-41f97411ac8ebfb58595a0e4746a7971393a84ce.zip |
Merge pull request #16505 from nextcloud/enh/nitpicks-14954
Dont assign $options to $options and cleanup doc
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CardDAV/AddressBookImpl.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php index 918b4eb2255..21455fc3863 100644 --- a/apps/dav/lib/CardDAV/AddressBookImpl.php +++ b/apps/dav/lib/CardDAV/AddressBookImpl.php @@ -107,12 +107,10 @@ class AddressBookImpl implements IAddressBook { * ['id' => 0, 'FN' => 'Thomas Müller', 'EMAIL' => 'a@b.c', 'GEO' => '37.386013;-122.082932'], * ['id' => 5, 'FN' => 'Thomas Tanghus', 'EMAIL' => ['d@e.f', 'g@h.i']] * ] - * @param array $options = array() 'escape_like_param' - to not escape wildcards _ and % - for future use. One should always have options! - * @return array an array of contacts which are arrays of key-value-pairs * @since 5.0.0 */ public function search($pattern, $searchProperties, $options) { - $results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options = $options); + $results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options); $withTypes = \array_key_exists('types', $options) && $options['types'] === true; |