@@ -125,7 +125,7 @@ |
||
| 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 | } |
@@ -29,10 +29,10 @@ |
||
| 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 | ]) |