Update to Laravel 5.5 (#814)
This commit is contained in:
parent
f9df463d32
commit
b9d67459b2
35 changed files with 1021 additions and 818 deletions
|
@ -44,9 +44,6 @@ abstract class AdminFormRequest extends FormRequest
|
|||
*/
|
||||
public function normalize($only = [])
|
||||
{
|
||||
return array_merge(
|
||||
$this->only($only),
|
||||
$this->intersect(array_keys($this->rules()))
|
||||
);
|
||||
return $this->all(empty($only) ? array_keys($this->rules()) : $only);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue