Commit d53ae745 authored by Taylor Otwell's avatar Taylor Otwell

refactoring input class.

parent 5664c9dc
...@@ -41,10 +41,7 @@ class Input { ...@@ -41,10 +41,7 @@ class Input {
*/ */
public static function get($key = null, $default = null) public static function get($key = null, $default = null)
{ {
if (is_null(static::$input)) if (is_null(static::$input)) static::hydrate();
{
static::hydrate();
}
return Arr::get(static::$input, $key, $default); 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