@@ -293,7 +293,7 @@ |
||
293 | 293 | } |
294 | 294 | |
295 | 295 | /** |
296 | - * @return array |
|
296 | + * @return string[] |
|
297 | 297 | */ |
298 | 298 | private static function getTablesClasses() |
299 | 299 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $em = $this->getDoctrine(); |
26 | 26 | |
27 | - $groupEntityValidator = function (array $params, Group $group) use ($em) { |
|
27 | + $groupEntityValidator = function(array $params, Group $group) use ($em) { |
|
28 | 28 | $validationResult = new ValidationResult(); |
29 | 29 | |
30 | 30 | if (!$group->getName()) { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | }; |
61 | 61 | |
62 | - $mapEntity = function (array $params, $group, DataMapperInterface $defaultMapper, ContainerInterface $container) { |
|
62 | + $mapEntity = function(array $params, $group, DataMapperInterface $defaultMapper, ContainerInterface $container) { |
|
63 | 63 | $defaultMapper->mapData($params, $group); |
64 | 64 | |
65 | 65 | /* |
@@ -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 | ); |