refactoring input class.

This commit is contained in:
Taylor Otwell 2011-08-06 20:45:45 -05:00
parent 5664c9dc92
commit d53ae7457a
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,7 @@ public static function has($key)
*/
public static function get($key = null, $default = null)
{
if (is_null(static::$input))
{
static::hydrate();
}
if (is_null(static::$input)) static::hydrate();
return Arr::get(static::$input, $key, $default);
}