Skip to content

Commit 424ff89

Browse files
committed
Remove unused variable
1 parent a9147ee commit 424ff89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public function api($endpoint, array $params = array(), $method = Method::GET)
378378
*/
379379
public function get($endpoint, array $params = array())
380380
{
381-
return $this->api($endpoint, $params, $method = Method::GET);
381+
return $this->api($endpoint, $params, Method::GET);
382382
}
383383

384384
/**
@@ -390,6 +390,6 @@ public function get($endpoint, array $params = array())
390390
*/
391391
public function post($endpoint, array $params = array())
392392
{
393-
return $this->api($endpoint, $params, $method = Method::POST);
393+
return $this->api($endpoint, $params, Method::POST);
394394
}
395395
}

0 commit comments

Comments
 (0)