From f2dfba1bd1f6b1a441539ff6a0b096c583691ab7 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Wed, 16 Aug 2023 12:31:34 +0200 Subject: [PATCH] Mark Request JSON data to be InputBag in docblocks --- src/Illuminate/Http/Request.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Http/Request.php b/src/Illuminate/Http/Request.php index 624607035905..f9112822ad44 100644 --- a/src/Illuminate/Http/Request.php +++ b/src/Illuminate/Http/Request.php @@ -31,7 +31,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess /** * The decoded JSON content for the request. * - * @var \Symfony\Component\HttpFoundation\ParameterBag|null + * @var \Symfony\Component\HttpFoundation\InputBag|null */ protected $json; @@ -398,7 +398,7 @@ public function get(string $key, mixed $default = null): mixed * * @param string|null $key * @param mixed $default - * @return \Symfony\Component\HttpFoundation\ParameterBag|mixed + * @return \Symfony\Component\HttpFoundation\InputBag|mixed */ public function json($key = null, $default = null) { @@ -416,7 +416,7 @@ public function json($key = null, $default = null) /** * Get the input source for the request. * - * @return \Symfony\Component\HttpFoundation\ParameterBag + * @return \Symfony\Component\HttpFoundation\InputBag */ protected function getInputSource() { @@ -646,7 +646,7 @@ public function fingerprint() /** * Set the JSON payload for the request. * - * @param \Symfony\Component\HttpFoundation\ParameterBag $json + * @param \Symfony\Component\HttpFoundation\InputBag $json * @return $this */ public function setJson($json)