diff --git a/laravel/uri.php b/laravel/uri.php index 08b5624f..42e106c4 100644 --- a/laravel/uri.php +++ b/laravel/uri.php @@ -44,9 +44,9 @@ public static function current() // Format the final request URI. If there is nothing left, we will just // return a single forward slash. Otherwise, we'll remove all of the // leading and trailing spaces from the URI before returning it. - static::$uri = $uri = static::format($uri); + static::$uri = static::format($uri); - static::$segments = explode('/', $uri); + static::$segments = explode('/', static::$uri); return static::$uri; }