Commit d53ae745 authored by Taylor Otwell's avatar Taylor Otwell

refactoring input class.

parent 5664c9dc
......@@ -41,10 +41,7 @@ class Input {
*/
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment