Merge pull request #101 from leek/patch-1

Updating break from `v0.19.3.0`
This commit is contained in:
Richard Miller 2012-05-02 01:04:02 -07:00
commit 77961ffcd9

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;