diff --git a/src/Illuminate/Foundation/helpers.php b/src/Illuminate/Foundation/helpers.php index 58a90c873c0b..3dd10430ffd2 100644 --- a/src/Illuminate/Foundation/helpers.php +++ b/src/Illuminate/Foundation/helpers.php @@ -600,7 +600,7 @@ function request($key = null, $default = null) } if (is_array($key)) { - return app('request')->only($key); + return app('request')->intersect($key); } else { return app('request')->input($key, $default); }