diff --git a/src/Http/Request.php b/src/Http/Request.php index 585fb5e9..c6a9e5ad 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -38,9 +38,9 @@ class Request extends SymfonyRequest */ public function has($key) { - $value = $this->input($key, null); + $value = $this->input($key); - return !($value === null); + return !is_null($value); } /**