refactoring input class.
This commit is contained in:
parent
5664c9dc92
commit
d53ae7457a
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue