From c712d112e5f6981da8ad3676396d967d2d8931cf Mon Sep 17 00:00:00 2001 From: Mohammad Alavi Date: Thu, 6 Feb 2025 21:07:22 +0330 Subject: [PATCH] feat!: remove method Reqeust::input method now also covers this feature --- src/Abstract/Requests/Request.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Abstract/Requests/Request.php b/src/Abstract/Requests/Request.php index 8bd38326..2ca85ce4 100644 --- a/src/Abstract/Requests/Request.php +++ b/src/Abstract/Requests/Request.php @@ -181,15 +181,6 @@ public function input($key = null, $default = null) return parent::input($key, $default); } - /** - * TODO: do something about this - * This method mimics the $request->input() method but works on the "decoded" values. - */ - public function getInputByKey($key = null, $default = null): mixed - { - return data_get($this->all(), $key, $default); - } - /** * Used from the `authorize` function if the Request class. * To call functions and compare their bool responses to determine