@@ -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 |
@@ -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 | } |