remove some comment bloat from the request class.

This commit is contained in:
Taylor Otwell 2011-10-29 23:20:07 -05:00
parent 75ce8796d7
commit 0586bbe04e
1 changed files with 0 additions and 3 deletions

View File

@ -51,9 +51,6 @@ public static function uri()
$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 : '/';
}