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

merge upstream

This commit is contained in:
Alex Lushpai 2015-12-23 10:26:23 +03:00
commit 04520e7993

View File

@ -411,7 +411,7 @@ class ApiClient
public function storeInventoriesUpload(array $offers, $site = null) public function storeInventoriesUpload(array $offers, $site = null)
{ {
if (!sizeof($offers)) { if (!sizeof($offers)) {
throw new \InvalidArgumentException('Parameter `offers` must contains array of the customers'); throw new \InvalidArgumentException('Parameter `offers` must contains array of the offers');
} }
return $this->client->makeRequest( return $this->client->makeRequest(
@ -520,7 +520,7 @@ class ApiClient
{ {
return $this->client->makeRequest('/reference/sites', Client::METHOD_GET); return $this->client->makeRequest('/reference/sites', Client::METHOD_GET);
} }
/** /**
* Returns stores list * Returns stores list
* *