Skip to content

Commit e8eccbb

Browse files
committed
synchronise the form builder docblock
1 parent 3ce6266 commit e8eccbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/Form/EventListener/MergeDoctrineCollectionListenerTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ protected function tearDown()
4545
$this->form = null;
4646
}
4747

48-
protected function getBuilder($name = 'name')
48+
protected function getBuilder()
4949
{
50-
return new FormBuilder($name, null, $this->dispatcher, $this->factory);
50+
return new FormBuilder('name', null, $this->dispatcher, $this->factory);
5151
}
5252

53-
protected function getForm($name = 'name')
53+
protected function getForm()
5454
{
55-
return $this->getBuilder($name)
55+
return $this->getBuilder()
5656
->setData($this->collection)
5757
->addEventSubscriber(new MergeDoctrineCollectionListener())
5858
->getForm();
@@ -84,7 +84,7 @@ public function testOnSubmitNullClearCollection()
8484
*/
8585
public function testLegacyChildClassOnSubmitCallParent()
8686
{
87-
$form = $this->getBuilder('name')
87+
$form = $this->getBuilder()
8888
->setData($this->collection)
8989
->addEventSubscriber(new TestClassExtendingMergeDoctrineCollectionListener())
9090
->getForm();

0 commit comments

Comments
 (0)