From ea06ace801c13ea0070d441f085a53ada4ae1ef6 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Thu, 26 Jan 2017 17:35:28 +0000 Subject: [PATCH] changed `Command::search`: added passing send options --- src/Command.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Command.php b/src/Command.php index ae8e699..80551c5 100644 --- a/src/Command.php +++ b/src/Command.php @@ -37,14 +37,15 @@ public function setRequest(RequestInterface $request) /** * Sends a request to retrieve data. * In API this could be get, search or list request. + * @param array $options send options * @throws ResponseErrorException * @return mixed response data */ - public function search() + public function search($options = []) { $this->request->getQuery()->addAction('search'); - return $this->send(); + return $this->send($options); } /**