refactoring the input class.
This commit is contained in:
parent
937441d31b
commit
ccb6bc6b8a
|
@ -38,7 +38,7 @@ public static function all()
|
||||||
*/
|
*/
|
||||||
public static function has($key)
|
public static function has($key)
|
||||||
{
|
{
|
||||||
return ( ! is_null(static::get($key)) and trim((string) static::get($key)) !== '');
|
return trim((string) static::get($key)) !== '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue