1
0
mirror of synced 2024-11-21 21:06:07 +03:00

fix controller

This commit is contained in:
Alex Lushpai 2016-09-21 12:56:43 +03:00
parent 0168ce754a
commit 5c4413a97c

View File

@ -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;
} }
/** /**