Skip to content

Commit 8b1c7fa

Browse files
keradusnicolas-grekas
authored andcommitted
chore: CS fixes
1 parent 0174ad0 commit 8b1c7fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Form/Type/EntityTypePerformanceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ public function testCollapsedEntityFieldWithPreferredChoices()
127127

128128
for ($i = 0; $i < 40; ++$i) {
129129
$form = $this->factory->create('Symfony\Bridge\Doctrine\Form\Type\EntityType', null, [
130-
'class' => self::ENTITY_CLASS,
131-
'preferred_choices' => $choices,
132-
]);
130+
'class' => self::ENTITY_CLASS,
131+
'preferred_choices' => $choices,
132+
]);
133133

134134
// force loading of the choice list
135135
$form->createView();

Tests/Form/Type/EntityTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ public function testOverrideChoicesValuesWithCallable()
780780
$this->assertEquals([
781781
'BazGroup/Foo' => new ChoiceView($entity1, 'BazGroup/Foo', 'Foo'),
782782
'BooGroup/Bar' => new ChoiceView($entity2, 'BooGroup/Bar', 'Bar'),
783-
], $field->createView()->vars['choices']);
783+
], $field->createView()->vars['choices']);
784784
$this->assertTrue($field->isSynchronized(), 'Field should be synchronized.');
785785
$this->assertSame($entity2, $field->getData(), 'Entity should be loaded by custom value.');
786786
$this->assertSame('BooGroup/Bar', $field->getViewData());

0 commit comments

Comments
 (0)