diff --git a/src/Client.php b/src/Client.php index 0f2d825..2adc525 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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); } /** @@ -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); } }