remove some comment bloat from the request class.
This commit is contained in:
parent
75ce8796d7
commit
0586bbe04e
|
@ -51,9 +51,6 @@ public static function uri()
|
||||||
$uri = substr($uri, strlen($index));
|
$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 : '/';
|
return static::$uri = (($uri = trim($uri, '/')) !== '') ? $uri : '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue