diff --git a/laravel/input.php b/laravel/input.php index 8cc31de7..d475bd90 100644 --- a/laravel/input.php +++ b/laravel/input.php @@ -38,7 +38,7 @@ public static function all() */ public static function has($key) { - return ( ! is_null(static::get($key)) and trim((string) static::get($key)) !== ''); + return trim((string) static::get($key)) !== ''; } /**