Skip to content

Commit 98fa907

Browse files
committed
Use array_merge_recursive in input class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
1 parent 73e355b commit 98fa907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/input.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Input {
1616
*/
1717
public static function all()
1818
{
19-
$input = array_merge(static::get(), static::query(), static::file());
19+
$input = array_merge_recursive(static::get(), static::query(), static::file());
2020

2121
unset($input[Request::spoofer]);
2222

0 commit comments

Comments
 (0)