Skip to content

Commit ea530d4

Browse files
committed
Improve phpdoc
1 parent e1b45a1 commit ea530d4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ public function createListFromChoices($choices, $value = null);
4646
* The callable receives the choice as only argument.
4747
* Null may be passed when the choice list contains the empty value.
4848
*
49-
* @param ChoiceLoaderInterface $loader The choice loader
50-
* @param callable|null $value The callable generating the choice
51-
* values
49+
* @param callable|null $value The callable generating the choice
50+
* values
5251
*
5352
* @return ChoiceListInterface The choice list
5453
*/
@@ -80,7 +79,6 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
8079
* match the keys of the choices. The values should be arrays of HTML
8180
* attributes that should be added to the respective choice.
8281
*
83-
* @param ChoiceListInterface $list The choice list
8482
* @param array|callable|null $preferredChoices The preferred choices
8583
* @param callable|null $label The callable generating the
8684
* choice labels

src/Symfony/Component/Form/ChoiceList/View/ChoiceView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ChoiceView
3232
*
3333
* @param mixed $data The original choice
3434
* @param string $value The view representation of the choice
35-
* @param string|false $label The label displayed to humans. Pass false to discard the label
35+
* @param string|false $label The label displayed to humans; pass false to discard the label
3636
* @param array $attr Additional attributes for the HTML tag
3737
*/
3838
public function __construct($data, $value, $label, array $attr = [])

0 commit comments

Comments
 (0)