Updating break from v0.19.3.0

This commit is contained in:
Chris Jones 2012-05-01 19:06:28 -03:00 committed by Richard Miller
parent 21abb977ac
commit 9fa452f314

View file

@ -17,10 +17,10 @@ class Client extends Elastica_Client
$this->logger = $logger;
}
public function request($path, $method, $data = array())
public function request($path, $method, $data = array(), array $query = array())
{
$start = microtime(true);
$response = parent::request($path, $method, $data);
$response = parent::request($path, $method, $data, $query);
if (null !== $this->logger) {
$time = microtime(true) - $start;