Completed
Pull Request — master (#20)
by Eric
07:11
created
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.
Tests/DependencyInjection/Compiler/ConvertRegistryPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             ->method('setDefinition')
99 99
             ->withConsecutive(
100 100
                 [$service.'.internal', $definition],
101
-                [$service, $this->callback(function ($definition) use ($service, $types) {
101
+                [$service, $this->callback(function($definition) use ($service, $types) {
102 102
                     $result = $definition instanceof Definition
103 103
                         && $definition->getClass() === LazyServiceRegistry::class
104 104
                         && count($definition->getArguments()) === 2
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/RegisterRegistryPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             ->method('addMethodCall')
82 82
             ->with(
83 83
                 $this->identicalTo('offsetSet'),
84
-                $this->callback(function (array $args) use ($service, $name) {
84
+                $this->callback(function(array $args) use ($service, $name) {
85 85
                     return isset($args[0])
86 86
                         && isset($args[1])
87 87
                         && $args[0] === $name
Please login to merge, or discard this patch.