From d53ae7457a121f18e8413965edcb963fda902440 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 6 Aug 2011 20:45:45 -0500 Subject: [PATCH] refactoring input class. --- system/input.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/input.php b/system/input.php index 193015cf..6b22be1e 100644 --- a/system/input.php +++ b/system/input.php @@ -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); }