Skip to content

Commit eb64e32

Browse files
committed
minor symfony#27849 [DomCrawler] Fix ChoiceFormField::select() PHPDoc (dunglas)
This PR was merged into the 2.8 branch. Discussion ---------- [DomCrawler] Fix ChoiceFormField::select() PHPDoc | Q | A | ------------- | --- | Branch? | 2.8 | 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 and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a It's allowed by `setValue`, it works, and it makes sense for `<select multiple>` fields. Commits ------- 154ce9c [DomCrawler] Fix ChoiceFormField::select() PHPDoc
2 parents 46a32f1 + 154ce9c commit eb64e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DomCrawler/Field/ChoiceFormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function isDisabled()
7575
/**
7676
* Sets the value of the field.
7777
*
78-
* @param string $value The value of the field
78+
* @param string|array $value The value of the field
7979
*/
8080
public function select($value)
8181
{

0 commit comments

Comments
 (0)