diff --git a/src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php b/src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php index ac6c3bcfa34d1..04e414df5a079 100644 --- a/src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php +++ b/src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php @@ -78,14 +78,11 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul * attributes that should be added to the respective choice. * * @param array|callable|null $preferredChoices The preferred choices - * @param callable|null $label The callable generating the - * choice labels - * @param callable|null $index The callable generating the - * view indices - * @param callable|null $groupBy The callable generating the - * group names - * @param array|callable|null $attr The callable generating the - * HTML attributes + * @param callable|false|null $label The callable generating the choice labels; + * pass false to discard the label + * @param callable|null $index The callable generating the view indices + * @param callable|null $groupBy The callable generating the group names + * @param array|callable|null $attr The callable generating the HTML attributes * * @return ChoiceListView The choice list view */