@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->translator->expects($this->any()) |
35 | 35 | ->method('trans') |
36 | 36 | ->willReturnCallback( |
37 | - function ($id) { |
|
37 | + function($id) { |
|
38 | 38 | return $id . '.trans'; |
39 | 39 | } |
40 | 40 | ); |
@@ -79,13 +79,13 @@ |
||
79 | 79 | |
80 | 80 | $translatableEntity->expects($this->any())->method('setDefaultOptions')->will( |
81 | 81 | $this->returnCallback( |
82 | - function (OptionsResolver $resolver) use ($choices) { |
|
83 | - $choiceList = function (Options $options) use ($choices) { |
|
82 | + function(OptionsResolver $resolver) use ($choices) { |
|
83 | + $choiceList = function(Options $options) use ($choices) { |
|
84 | 84 | $className = $options->offsetGet('class'); |
85 | 85 | if (array_key_exists($className, $choices)) { |
86 | 86 | return new ArrayChoiceList( |
87 | 87 | $choices[$className], |
88 | - function ($item) { |
|
88 | + function($item) { |
|
89 | 89 | if ($item instanceof Country) { |
90 | 90 | return $item->getIso2Code(); |
91 | 91 | } |