@@ -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 |
@@ -133,6 +133,6 @@ |
||
133 | 133 | /** @var Field[] $fields */ |
134 | 134 | $fields = (new AnnotationEntityHydrator())->extractSpecAnnotations($className, Field::class); |
135 | 135 | |
136 | - return isset($fields[$propertyName]) ? $fields[$propertyName]: null; |
|
136 | + return isset($fields[$propertyName]) ? $fields[$propertyName] : null; |
|
137 | 137 | } |
138 | 138 | } |
@@ -299,7 +299,7 @@ |
||
299 | 299 | |
300 | 300 | $url = "$index/$type/_search?" . http_build_query($queryParams); |
301 | 301 | |
302 | - $cleanQuery = function ($queryPart, callable $recusiveFn) { |
|
302 | + $cleanQuery = function($queryPart, callable $recusiveFn) { |
|
303 | 303 | if (!is_array($queryPart)) { |
304 | 304 | return $queryPart; |
305 | 305 | } |