Completed
Pull Request — master (#78)
by Tobias
26:00
created
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() === LazyRegistry::class
104 104
                         && count($definition->getArguments()) === 2
Please login to merge, or discard this patch.
src/Bundle/ResourceBundle/Behat/Context/AbstractResourceContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     private function findResource($resource, array &$criteria)
59 59
     {
60
-        array_walk_recursive($criteria, function (&$value) {
60
+        array_walk_recursive($criteria, function(&$value) {
61 61
             if ($value === 'yes') {
62 62
                 $value = true;
63 63
             } elseif ($value === 'no') {
Please login to merge, or discard this patch.
src/Bundle/ResourceBundle/Controller/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
             $data = array_merge($bag->get($form->getName(), []), $request->files->get($form->getName(), []));
247 247
         }
248 248
 
249
-        array_walk_recursive($data, function (&$value) {
249
+        array_walk_recursive($data, function(&$value) {
250 250
             if ($value === false) {
251 251
                 $value = 'false';
252 252
             }
Please login to merge, or discard this patch.
src/Bundle/GridBundle/Form/Type/Filter/ResourceFilterType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $builder
48 48
             ->add($builder->create('type', ChoiceType::class, [
49 49
                 'choices' => array_combine(
50
-                    array_map(function ($choice) use ($options) {
50
+                    array_map(function($choice) use ($options) {
51 51
                         return $options['label_prefix'].'.type.'.$choice;
52 52
                     }, $choices = ResourceType::getTypes($collection)),
53 53
                     $choices
Please login to merge, or discard this patch.
src/Bundle/TranslationBundle/Form/Type/TranslatableType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $builder->add('translations', TranslationsFormsType::class, [
31 31
             'form_type'  => $options['resource']->getRelation('translation')->getForm(),
32
-            'empty_data' => function () {
32
+            'empty_data' => function() {
33 33
                 return new ArrayCollection();
34 34
             },
35 35
         ]);
Please login to merge, or discard this patch.