Browse Source

refactoring input class.

Taylor Otwell 13 years ago
parent
commit
d53ae7457a
1 changed files with 1 additions and 4 deletions
  1. 1 4
      system/input.php

+ 1 - 4
system/input.php

@@ -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);
 	}