Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 538591c

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: [Form] fix guesed value param type in docblock
2 parents 46fc4c4 + 2c84ac2 commit 538591c

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)