mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Remove usage of Arr from Cookie class.
This commit is contained in:
parent
1a82d9c54f
commit
629122a5a9
@ -107,7 +107,7 @@ class Cookie {
|
||||
*/
|
||||
public static function get($name, $default = null)
|
||||
{
|
||||
return Arr::get($_COOKIE, $name, $default);
|
||||
return (array_key_exists($name, $_COOKIE)) ? $_COOKIE[$name] : $default;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user