mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Fix formatting on Session::has method.
This commit is contained in:
parent
2ef32608f2
commit
525f53b54c
@ -77,12 +77,12 @@ class Session {
|
||||
{
|
||||
foreach (func_get_args() as $key)
|
||||
{
|
||||
if ( ! array_key_exists($key, static::$session['data']) and
|
||||
! array_key_exists(':old:'.$key, static::$session['data']) and
|
||||
! array_key_exists(':new:'.$key, static::$session['data']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if ( ! array_key_exists($key, static::$session['data']) and
|
||||
! array_key_exists(':old:'.$key, static::$session['data']) and
|
||||
! array_key_exists(':new:'.$key, static::$session['data']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user