refactoring the input class.
This commit is contained in:
@@ -38,7 +38,7 @@ class Input {
|
||||
*/
|
||||
public static function has($key)
|
||||
{
|
||||
return ( ! is_null(static::get($key)) and trim((string) static::get($key)) !== '');
|
||||
return trim((string) static::get($key)) !== '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user