Completed
Pull Request — master (#17)
by Eric
08:11
created
GridBundle/Form/EventSubscriber/Batch/AbstractGridBatchSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 
126 126
         $this->buildForm($form, $choices);
127 127
 
128
-        return array_map(function ($choice) use ($choiceValue) {
128
+        return array_map(function($choice) use ($choiceValue) {
129 129
             return call_user_func($choiceValue, $choice);
130 130
         }, $choices);
131 131
     }
Please login to merge, or discard this patch.
src/Bundle/GridBundle/Form/Type/Batch/GridBatchAllType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
     {
30 30
         $resolver
31 31
             ->setDefaults([
32
-                'label' => function (Options $options) {
32
+                'label' => function(Options $options) {
33 33
                     return 'lug.'.$options['grid']->getDefinition()->getResource()->getName().'.batch.all';
34 34
                 },
35
-                'label_translation_arguments' => function (Options $options) {
35
+                'label_translation_arguments' => function(Options $options) {
36 36
                     return ['%count%' => count($options['grid']->getDataSource())];
37 37
                 },
38 38
             ])
Please login to merge, or discard this patch.