Skip to content

Commit

Permalink
feat!: remove method
Browse files Browse the repository at this point in the history
Reqeust::input method now also covers this feature
  • Loading branch information
Mohammad-Alavi committed Feb 6, 2025
1 parent 30dbccd commit c712d11
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Abstract/Requests/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c712d11

Please sign in to comment.