Use array_merge_recursive in input class.
Signed-off-by: Taylor Otwell <[email protected]>
This commit is contained in:
+1
-1
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user