Commit 629122a5 authored by Taylor Otwell's avatar Taylor Otwell

Remove usage of Arr from Cookie class.

parent 1a82d9c5
...@@ -107,7 +107,7 @@ class Cookie { ...@@ -107,7 +107,7 @@ class Cookie {
*/ */
public static function get($name, $default = null) public static function get($name, $default = null)
{ {
return Arr::get($_COOKIE, $name, $default); return (array_key_exists($name, $_COOKIE)) ? $_COOKIE[$name] : $default;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment