Completed
Push — master ( 29f90c...6ceb07 )
by Sergei
02:28
created
Tests/Functional/Controller/GroupsControllerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
     }
294 294
 
295 295
     /**
296
-     * @return array
296
+     * @return string[]
297 297
      */
298 298
     private static function getTablesClasses()
299 299
     {
Please login to merge, or discard this patch.
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) 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
 block discarded – undo
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
 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.