mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Fixed parameters on Session::has.
This commit is contained in:
parent
525f53b54c
commit
55eb2ecb08
@ -70,10 +70,9 @@ class Session {
|
||||
/**
|
||||
* Determine if the session or flash data contains an item or set of items.
|
||||
*
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
public static function has($key)
|
||||
public static function has()
|
||||
{
|
||||
foreach (func_get_args() as $key)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user