diff --git a/src/Http/Request.php b/src/Http/Request.php index 3ff027d5..fcfc2600 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -82,9 +82,9 @@ class Request */ public function has($key) { - $value = $this->input($key); + $data = $this->request + $this->query; - return !(empty($value) && strlen($value) == 0); + return isset($data[$key]); } /**