@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $em = $this->getDoctrine(); |
26 | 26 | |
27 | - $groupEntityValidator = function (array $params, Group $group, DefaultEntityValidator $defaultValidator, array $config, ContainerInterface $container) use ($em) { |
|
27 | + $groupEntityValidator = function(array $params, Group $group, DefaultEntityValidator $defaultValidator, array $config, ContainerInterface $container) use ($em) { |
|
28 | 28 | |
29 | 29 | $validationResult = $defaultValidator->validate($group, $config); |
30 | 30 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | }; |
55 | 55 | |
56 | - $mapEntity = function (array $params, Group $group, DataMapperInterface $defaultMapper, ContainerInterface $container) { |
|
56 | + $mapEntity = function(array $params, Group $group, DataMapperInterface $defaultMapper, ContainerInterface $container) { |
|
57 | 57 | $defaultMapper->mapData($params, $group); |
58 | 58 | |
59 | 59 | /* |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | ), |
87 | 87 | 'hydration' => array( |
88 | 88 | 'groups' => array( |
89 | - 'list' => function (Group $group) { |
|
89 | + 'list' => function(Group $group) { |
|
90 | 90 | return array( |
91 | 91 | 'id' => $group->getId(), |
92 | 92 | 'name' => $group->getName(), |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | 'edit-group' => array('main-form'), |
104 | 104 | ), |
105 | 105 | ), |
106 | - 'format_new_entity_values' => function (array $params, array $config, NewValuesFactoryInterface $defaultImpl, ContainerInterface $container) { |
|
106 | + 'format_new_entity_values' => function(array $params, array $config, NewValuesFactoryInterface $defaultImpl, ContainerInterface $container) { |
|
107 | 107 | return array( |
108 | 108 | 'refName' => null, |
109 | 109 | ); |