8000 Merge branch '2.7' into 2.8 · enumag/symfony@2c84ac2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c84ac2

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [Form] fix guesed value param type in docblock
2 parents 44cf367 + 84b50f1 commit 2c84ac2

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/Symfony/Component/Form/Guess/ValueGuess.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,14 @@
1818
*/
1919
class ValueGuess extends Guess
2020
{
21-
/**
22-
* The guessed value.
23-
*
24-
* @var array
25-
*/
2621
private $value;
2722

2823
/**
2924
* Constructor.
3025
*
31-
* @param string $value The guessed value
32-
* @param int $confidence The confidence that the guessed class name
33-
* is correct
26+
* @param string|int|bool|null $value The guessed value
27+
* @param int $confidence The confidence that the guessed class name
28+
* is correct
3429
*/
3530
public function __construct($value, $confidence)
3631
{
@@ -42,7 +37,7 @@ public function __construct($value, $confidence)
4237
/**
4338
* Returns the guessed value.
4439
*
45-
* @return mixed
40+
* @return string|int|bool|null
4641
*/
4742
public function getValue()
4843
{

0 commit comments

Comments
 (0)
0