From bce571bf2603dc7ed7a81b2b2e6eda458ec04bbe Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 24 Oct 2011 23:41:08 -0500 Subject: [PATCH] refactoring the uri class more. --- laravel/uri.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/laravel/uri.php b/laravel/uri.php index 9c904f86..63cbbdc2 100644 --- a/laravel/uri.php +++ b/laravel/uri.php @@ -30,6 +30,10 @@ public function __construct($server) /** * Get the request URI for the current request. * + * If the request is to the root of the application, a single forward slash + * will be returned. Otherwise, the URI will be returned with all leading + * and trailing slashes removed. + * * @return string */ public function get() @@ -76,10 +80,6 @@ protected function remove($uri, $remove) /** * Format the URI for use throughout the framework. * - * If the request is to the root of the application, a single forward slash - * will be returned. Otherwise, the URI will be returned with all leading - * and trailing slashes removed. - * * @param string $uri * @return string */