We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24d8c15 commit 5a7ab53Copy full SHA for 5a7ab53
stubs/Symfony/Component/HttpFoundation/InputBag.stub
@@ -3,14 +3,15 @@
3
namespace Symfony\Component\HttpFoundation;
4
5
/**
6
- * @template TValue of string|int|float|bool
+ * @template TInput of string|int|float|bool|null
7
*/
8
final class InputBag extends ParameterBag
9
{
10
11
12
- * @param TValue|null $default
13
- * @return TValue|null
+ * @template TDefault of string|int|float|bool|null
+ * @param TDefault $default
14
+ * @return TDefault|TInput
15
16
public function get(string $key, $default = null)
17
0 commit comments