From 39e4241061bc374c3b5dcf2bd5f209e37626636d Mon Sep 17 00:00:00 2001 From: feek <5747667+mr-feek@users.noreply.github.com> Date: Tue, 1 Nov 2022 15:57:40 -0400 Subject: [PATCH] Update helpers.stubphp fixes #240 --- stubs/helpers.stubphp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stubs/helpers.stubphp b/stubs/helpers.stubphp index 2658fb9..30f00d1 100644 --- a/stubs/helpers.stubphp +++ b/stubs/helpers.stubphp @@ -127,3 +127,12 @@ function logger($message = null, array $context = []) * @return ($key is null ? \Illuminate\Config\Repository : ($key is array ? null : mixed)) */ function config($key = null, $default = null) {} + +/** + * Get an instance of the current request or an input item from the request. + * + * @param string[]|string|null $key + * @param mixed $default + * @return ($key is null ? \Illuminate\Http\Request : ($key is array ? string[] : mixed)) + */ +function request($key = null, $default = null) {}