@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | $this->translator->expects($this->any()) |
46 | 46 | ->method('trans') |
47 | - ->willReturnCallback(function ($label) { |
|
47 | + ->willReturnCallback(function($label) { |
|
48 | 48 | return $label; |
49 | 49 | }); |
50 | 50 | |
@@ -75,8 +75,7 @@ discard block |
||
75 | 75 | /** @var AbstractToken $token */ |
76 | 76 | $token = $this->createMock( |
77 | 77 | $isGuest ? |
78 | - AnonymousCustomerUserToken::class : |
|
79 | - UsernamePasswordOrganizationToken::class |
|
78 | + AnonymousCustomerUserToken::class : UsernamePasswordOrganizationToken::class |
|
80 | 79 | ); |
81 | 80 | |
82 | 81 | $this->tokenStorage |
@@ -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 | } |