Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f5d1ca

Browse filesBrowse files
committed
Add false type to ChoiceListFactoryInterface::createView $label argument
1 parent fcdc61a commit 8f5d1ca
Copy full SHA for 8f5d1ca

File tree

Expand file treeCollapse file tree

1 file changed

+5
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-8
lines changed

‎src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/Factory/ChoiceListFactoryInterface.php
+5-8Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,11 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
7878
* attributes that should be added to the respective choice.
7979
*
8080
* @param array|callable|null $preferredChoices The preferred choices
81-
* @param callable|null $label The callable generating the
82-
* choice labels
83-
* @param callable|null $index The callable generating the
84-
* view indices
85-
* @param callable|null $groupBy The callable generating the
86-
* group names
87-
* @param array|callable|null $attr The callable generating the
88-
* HTML attributes
81+
* @param callable|false|null $label The callable generating the choice labels;
82+
* pass false to discard the label
83+
* @param callable|null $index The callable generating the view indices
84+
* @param callable|null $groupBy The callable generating the group names
85+
* @param array|callable|null $attr The callable generating the HTML attributes
8986
*
9087
* @return ChoiceListView The choice list view
9188
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.