Skip to content

Commit 5a7ab53

Browse files
HypeMCondrejmirtes
authored andcommitted
Fix Docblock for InputBag
1 parent 24d8c15 commit 5a7ab53

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stubs/Symfony/Component/HttpFoundation/InputBag.stub

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
namespace Symfony\Component\HttpFoundation;
44

55
/**
6-
* @template TValue of string|int|float|bool
6+
* @template TInput of string|int|float|bool|null
77
*/
88
final class InputBag extends ParameterBag
99
{
1010

1111
/**
12-
* @param TValue|null $default
13-
* @return TValue|null
12+
* @template TDefault of string|int|float|bool|null
13+
* @param TDefault $default
14+
* @return TDefault|TInput
1415
*/
1516
public function get(string $key, $default = null)
1617
{

0 commit comments

Comments
 (0)