@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * |
| 85 | 85 | * @return array |
| 86 | 86 | */ |
| 87 | - protected function getFormErrors($form){ |
|
| 87 | + protected function getFormErrors($form) { |
|
| 88 | 88 | $errors = $this->get("starkerxp_structure.services.form_errors")->getFormErrors($form); |
| 89 | 89 | return $errors; |
| 90 | 90 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | * |
| 95 | 95 | * @return string |
| 96 | 96 | */ |
| 97 | - protected function getUuid(){ |
|
| 97 | + protected function getUuid() { |
|
| 98 | 98 | return (\Ramsey\Uuid\Uuid::uuid4())->toString(); |
| 99 | 99 | } |
| 100 | 100 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | return new JsonResponse([]); |
| 28 | 28 | } |
| 29 | 29 | $retour = array_map( |
| 30 | - function ($element) use ($manager, $options) { |
|
| 30 | + function($element) use ($manager, $options) { |
|
| 31 | 31 | return $manager->toArray($element, $this->getFields($options['fields'])); |
| 32 | 32 | }, |
| 33 | 33 | $resultSets |