Skip to content

Commit

Permalink
Change findByReference to getByReference to match naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
john.birch-evans committed Jan 24, 2020
1 parent 89bffba commit ad89dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Account/CreditClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getAll()
* @return Credit
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function findByReference($reference)
public function getByReference($reference)
{
$response = $this->request("GET", "v1/credits/" . $reference);
$body = $this->decodeJson($response->getBody()->getContents());
Expand Down

0 comments on commit ad89dbc

Please sign in to comment.