Completed
Push — master ( 6ceb07...e22522 )
by Sergei
16:21
created
Controller/GroupsController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 );
Please login to merge, or discard this patch.