commit
11bae943f2
@ -48,8 +48,6 @@ class ApiClient
|
|||||||
* @param string $site site code
|
* @param string $site site code
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
*
|
|
||||||
* @return mixed
|
|
||||||
*/
|
*/
|
||||||
public function __construct($url, $apiKey, $site = null)
|
public function __construct($url, $apiKey, $site = null)
|
||||||
{
|
{
|
||||||
@ -61,8 +59,6 @@ class ApiClient
|
|||||||
|
|
||||||
$this->client = new Client($url, array('apiKey' => $apiKey));
|
$this->client = new Client($url, array('apiKey' => $apiKey));
|
||||||
$this->siteCode = $site;
|
$this->siteCode = $site;
|
||||||
|
|
||||||
return $this->client;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user