Skip to content

Commit 6dc952f

Browse files
dunglasfabpot
authored andcommitted
[DomCrawler] Fix FileFormField PHPDoc
1 parent 2f0e66c commit 6dc952f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Field/ChoiceFormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function untick()
113113
/**
114114
* Sets the value of the field.
115115
*
116-
* @param string|array $value The value of the field
116+
* @param string|array|bool $value The value of the field
117117
*
118118
* @throws \InvalidArgumentException When value type provided is not correct
119119
*/

Field/FileFormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function upload($value)
4848
/**
4949
* Sets the value of the field.
5050
*
51-
* @param string $value The value of the field
51+
* @param string|null $value The value of the field
5252
*/
5353
public function setValue($value)
5454
{

Field/FormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function getValue()
9999
/**
100100
* Sets the value of the field.
101101
*
102-
* @param string $value The value of the field
102+
* @param string|array|bool|null $value The value of the field
103103
*/
104104
public function setValue($value)
105105
{

0 commit comments

Comments
 (0)