fixing segments bug.

This commit is contained in:
Taylor Otwell
2012-02-04 20:13:30 -06:00
parent ce5a922b87
commit ab5e8615c5

View File

@@ -73,7 +73,7 @@ class URI {
* @param string $uri
* @return void
*/
protected function segments($uri)
protected static function segments($uri)
{
$segments = explode('/', trim($uri, '/'));