fix controller
This commit is contained in:
parent
0168ce754a
commit
5c4413a97c
@ -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