refactoring the input class.

This commit is contained in:
Taylor Otwell 2011-11-21 22:33:09 -06:00
parent 937441d31b
commit ccb6bc6b8a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) !== '';
}
/**