Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zoonman committed Aug 26, 2017
1 parent a9147ee commit 424ff89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function api($endpoint, array $params = array(), $method = Method::GET)
*/
public function get($endpoint, array $params = array())
{
return $this->api($endpoint, $params, $method = Method::GET);
return $this->api($endpoint, $params, Method::GET);
}

/**
Expand All @@ -390,6 +390,6 @@ public function get($endpoint, array $params = array())
*/
public function post($endpoint, array $params = array())
{
return $this->api($endpoint, $params, $method = Method::POST);
return $this->api($endpoint, $params, Method::POST);
}
}

0 comments on commit 424ff89

Please sign in to comment.