diff --git a/src/Zttp.php b/src/Zttp.php index 7e7744e..7fe0380 100755 --- a/src/Zttp.php +++ b/src/Zttp.php @@ -299,7 +299,7 @@ function status() return $this->response->getStatusCode(); } - function effectiveURI() + function effectiveUri() { return $this->transferStats->getEffectiveUri(); } diff --git a/tests/ZttpTest.php b/tests/ZttpTest.php index b452127..e5a3189 100644 --- a/tests/ZttpTest.php +++ b/tests/ZttpTest.php @@ -492,7 +492,7 @@ function can_retrieve_effective_uri() { $response = Zttp::get($this->url('/redirect')); - $this->assertEquals($this->url('/redirected'), $response->effectiveURI()); + $this->assertEquals($this->url('/redirected'), $response->effectiveUri()); } /**