Add false type to ChoiceListFactoryInterface::createView $label argument

This commit is contained in:
Valentin Udaltsov 2019-08-12 23:34:00 +03:00
parent fcdc61ad4d
commit 8f5d1ca794
1 changed files with 5 additions and 8 deletions

View File

@ -78,14 +78,11 @@ interface ChoiceListFactoryInterface
* 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
*/