8000 Avoid deprecation in tests · symfony/symfony@4606b5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4606b5f

Browse files
Avoid deprecation in tests
1 parent ac59106 commit 4606b5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, callable $va
6868

6969
/**
7070
* {@inheritdoc}
71+
*
72+
* @param array|callable $labelTranslationParameters The parameters used to translate the choice labels
7173
*/
7274
public function createView(ChoiceListInterface $list, $preferredChoices = null, $label = null, callable $index = null, callable $groupBy = null, $attr = null/*, $labelTranslationParameters = []*/)
7375
{

0 commit comments

Comments
 (0)
0