Updating break from v0.19.3.0
This commit is contained in:
parent
38bdc44185
commit
a8fcfbbb1e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue