Skip to content

Commit

Permalink
Rename effectiveURI to effectiveUri
Browse files Browse the repository at this point in the history
  • Loading branch information
fyrts committed Jun 10, 2019
1 parent 2da7f80 commit 8047041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Zttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function status()
return $this->response->getStatusCode();
}

function effectiveURI()
function effectiveUri()
{
return $this->transferStats->getEffectiveUri();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ZttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit 8047041

Please sign in to comment.