From 8d0ce463c40c4c37f1aa7fddf9f80c3a5d562f42 Mon Sep 17 00:00:00 2001 From: Christian Ruhstaller Date: Wed, 16 Jan 2019 10:03:11 +0100 Subject: [PATCH] Add params parameter to getContactsRelations --- src/Bexio/Resource/Contact.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Bexio/Resource/Contact.php b/src/Bexio/Resource/Contact.php index 40193ab..95fe85b 100644 --- a/src/Bexio/Resource/Contact.php +++ b/src/Bexio/Resource/Contact.php @@ -64,11 +64,12 @@ public function editContact($id, array $params = []) /** * Get relations from contacts * + * @param array $params * @return mixed */ - public function getContactsRelations() + public function getContactsRelations(array $params = []) { - return $this->client->get('contact_relation', []); + return $this->client->get('contact_relation', $params); } /**