Commit c80a2e46 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #693 from kbanman/request-fix

Fix capitalization regression in Request::server()
parents d29c5bfd e46d9c5b
......@@ -81,7 +81,7 @@ class Request {
*/
public static function server($key = null, $default = null)
{
return array_get(static::foundation()->server->all(), $key, $default);
return array_get(static::foundation()->server->all(), strtoupper($key), $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