Fixed parameters on Session::has.

This commit is contained in:
Taylor Otwell
2011-06-15 11:21:39 -07:00
parent 525f53b54c
commit 55eb2ecb08

View File

@@ -70,10 +70,9 @@ class Session {
/** /**
* Determine if the session or flash data contains an item or set of items. * Determine if the session or flash data contains an item or set of items.
* *
* @param string $key
* @return bool * @return bool
*/ */
public static function has($key) public static function has()
{ {
foreach (func_get_args() as $key) foreach (func_get_args() as $key)
{ {