make PSR2 compliant

This commit is contained in:
Patrick McAndrew 2014-06-16 14:30:03 +01:00
parent 629ca0df2e
commit 934c6af8b8

View file

@ -28,7 +28,7 @@ class Client extends ElasticaClient
'host' => $connection->getHost(),
'port' => $connection->getPort(),
'transport' => $connection->getTransport(),
'headers' => $connection->hasConfig('headers')?$connection->getConfig('headers'):array(),
'headers' => $connection->hasConfig('headers') ? $connection->getConfig('headers') : array(),
);
$this->_logger->logQuery($path, $method, $data, $time, $connection_array, $query);