@@ -88,13 +88,13 @@ |
||
88 | 88 | |
89 | 89 | $translatableEntity->expects($this->any())->method('configureOptions')->will( |
90 | 90 | $this->returnCallback( |
91 | - function (OptionsResolver $resolver) use ($choices) { |
|
92 | - $choiceList = function (Options $options) use ($choices) { |
|
91 | + function(OptionsResolver $resolver) use ($choices) { |
|
92 | + $choiceList = function(Options $options) use ($choices) { |
|
93 | 93 | $className = $options->offsetGet('class'); |
94 | 94 | if (array_key_exists($className, $choices)) { |
95 | 95 | return new ArrayChoiceList( |
96 | 96 | $choices[$className], |
97 | - function ($item) { |
|
97 | + function($item) { |
|
98 | 98 | if ($item instanceof Country) { |
99 | 99 | return $item->getIso2Code(); |
100 | 100 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $resolver = $this->createMock('Symfony\Component\OptionsResolver\OptionsResolver'); |
45 | 45 | $resolver->expects($this->once()) |
46 | 46 | ->method('setDefaults') |
47 | - ->with($this->callback(function (array $options) { |
|
47 | + ->with($this->callback(function(array $options) { |
|
48 | 48 | $this->assertArrayHasKey('data_class', $options); |
49 | 49 | $this->assertArrayHasKey('compact_units', $options); |
50 | 50 | $this->assertArrayHasKey('csrf_token_id', $options); |