Skip to content

Commit

Permalink
Remove Input::all() override.
Browse files Browse the repository at this point in the history
Laravel's "Illuminate\Http\Concerns\InteractsWithInput::all()" method provides all values (query and request) as well as files. The override prevented files from being included.
  • Loading branch information
bennothommo committed Aug 4, 2022
1 parent 4ef95b4 commit 444c099
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Support/Facades/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ public static function get($key = null, $default = null)
return static::$app['request']->input($key, $default);
}

/**
* Gets all input data items.
*
* This method is used for all request verbs (GET, POST, PUT, and DELETE)
*
* @return array|null
*/
public static function all()
{
return static::$app['request']->input();
}

/**
* Get the registered name of the component.
*
Expand Down

0 comments on commit 444c099

Please sign in to comment.