Skip to content

Commit

Permalink
use Request::input() facade instead of Input::all()
Browse files Browse the repository at this point in the history
  • Loading branch information
briedis committed Mar 15, 2017
1 parent 89e6d9e commit bf21adb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Briedis/ApiBuilder/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Briedis\ApiBuilder\Exceptions\InvalidStructureException;
use Illuminate\Contracts\Validation\ValidatesWhenResolved;
use Illuminate\Support\Str;
use Input;

abstract class Method implements ValidatesWhenResolved
{
Expand Down Expand Up @@ -80,6 +79,6 @@ public function getDocElementName()
public function validate()
{
$validator = new StructureValidator($this->getRequest());
$validator->validate(Input::all());
$validator->validate(\Request::input());
}
}

0 comments on commit bf21adb

Please sign in to comment.