@@ -210,7 +210,7 @@ |
||
210 | 210 | ); |
211 | 211 | |
212 | 212 | $params = array_merge_recursive($defaultParams, $mergeParams); |
213 | - $existsParams = array_filter($params, function ($key) { |
|
213 | + $existsParams = array_filter($params, function($key) { |
|
214 | 214 | return in_array($key, ['id', 'index', 'type', 'refresh']); |
215 | 215 | }, ARRAY_FILTER_USE_KEY); |
216 | 216 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $data = $rowData['_source']; |
37 | 37 | $data['_id'] = $rowData['_id']; |
38 | 38 | |
39 | - if(isset($results['aggregations'])) { |
|
39 | + if (isset($results['aggregations'])) { |
|
40 | 40 | $aggregations = $results['aggregations']; |
41 | 41 | $iterator->append($aggregations); |
42 | 42 | unset($results['aggregations']); |
@@ -337,7 +337,7 @@ |
||
337 | 337 | } |
338 | 338 | |
339 | 339 | public function delete($entity) { |
340 | - if(!is_object($entity)){ |
|
340 | + if (!is_object($entity)) { |
|
341 | 341 | throw new InvalidArgumentException('Trying to schedule a non object to delete'); |
342 | 342 | } |
343 | 343 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | $this->query = $query; |
28 | 28 | $doctrineQuery = new Query($query->getEntityManager()); |
29 | 29 | $doctrineQuery->setDQL($query->getDQL()); |
30 | - $this->doctrineParser = new Parser($doctrineQuery);; |
|
30 | + $this->doctrineParser = new Parser($doctrineQuery); ; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | public function getAST() { |