minor #26545 [DomCrawler] Fix the PHPDoc of ChoiceFormField::setValue (dunglas)
This PR was merged into the 2.7 branch.
Discussion
----------
[DomCrawler] Fix the PHPDoc of ChoiceFormField::setValue
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? |no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? |no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | n/a
| License | MIT
| Doc PR |n/a
Commits
-------
0c62f65
[DomCrawler] Fix the PHPDoc of ChoiceFormField::setValue
This commit is contained in:
commit
3a3f7b6532
|
@ -113,7 +113,7 @@ class ChoiceFormField extends FormField
|
|||
/**
|
||||
* Sets the value of the field.
|
||||
*
|
||||
* @param string $value The value of the field
|
||||
* @param string|array $value The value of the field
|
||||
*
|
||||
* @throws \InvalidArgumentException When value type provided is not correct
|
||||
*/
|
||||
|
|
Reference in New Issue