Use array_merge_recursive in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
parent
73e355bf18
commit
98fa907805
|
@ -16,7 +16,7 @@ class Input {
|
||||||
*/
|
*/
|
||||||
public static function all()
|
public static function all()
|
||||||
{
|
{
|
||||||
$input = array_merge(static::get(), static::query(), static::file());
|
$input = array_merge_recursive(static::get(), static::query(), static::file());
|
||||||
|
|
||||||
unset($input[Request::spoofer]);
|
unset($input[Request::spoofer]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue