Commit 0586bbe0 authored by Taylor Otwell's avatar Taylor Otwell

remove some comment bloat from the request class.

parent 75ce8796
......@@ -51,9 +51,6 @@ class Request {
$uri = substr($uri, strlen($index));
}
// If all we are left with is an empty string, we will return a single forward
// slash indicating the request is to the root of the application. If we have
// something left, we will its remove the leading and trailing slashes.
return static::$uri = (($uri = trim($uri, '/')) !== '') ? $uri : '/';
}
......
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