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

Merge pull request #28 from gwinn/master

fix controller
This commit is contained in:
Alex Lushpai 2016-09-21 12:57:31 +03:00 committed by GitHub
commit 11bae943f2

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