Use array_merge_recursive in input class.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-04-04 11:30:19 -05:00
parent 73e355bf18
commit 98fa907805

View File

@@ -16,7 +16,7 @@ class Input {
*/
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]);