Fixes Undefined property: FOS\ElasticaBundle\Client::
This commit is contained in:
parent
860a1f8108
commit
929c1bfc0d
1 changed files with 2 additions and 2 deletions
|
|
@ -15,9 +15,9 @@ class Client extends ElasticaClient
|
|||
$start = microtime(true);
|
||||
$response = parent::request($path, $method, $data, $query);
|
||||
|
||||
if (null !== $this->logger) {
|
||||
if (null !== $this->_logger) {
|
||||
$time = microtime(true) - $start;
|
||||
$this->logger->logQuery($path, $method, $data, $time);
|
||||
$this->_logger->logQuery($path, $method, $data, $time);
|
||||
}
|
||||
|
||||
return $response;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue