1
0
mirror of synced 2025-01-31 23:31:41 +03:00

Remove cyrillic symbols (#123)

This commit is contained in:
DanielWeiser 2020-08-25 10:30:16 +03:00 committed by GitHub
parent 745d1afd5a
commit 458febab46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -238,7 +238,7 @@ class ApiClient
* *
* @return ApiResponse * @return ApiResponse
*/ */
public function customersСorporateFixExternalIds(array $ids) public function customersCorporateFixExternalIds(array $ids)
{ {
if (! count($ids)) { if (! count($ids)) {
throw new \InvalidArgumentException( throw new \InvalidArgumentException(
@ -293,7 +293,7 @@ class ApiClient
* *
* @return ApiResponse * @return ApiResponse
*/ */
public function customersСorporateGet($id, $by = 'externalId', $site = null) public function customersCorporateGet($id, $by = 'externalId', $site = null)
{ {
$this->checkIdParameter($by); $this->checkIdParameter($by);
@ -362,7 +362,7 @@ class ApiClient
* *
* @return ApiResponse * @return ApiResponse
*/ */
public function customersСorporateEdit(array $customer, $by = 'externalId', $site = null) public function customersCorporateEdit(array $customer, $by = 'externalId', $site = null)
{ {
if (!count($customer)) { if (!count($customer)) {
throw new \InvalidArgumentException( throw new \InvalidArgumentException(
@ -398,7 +398,7 @@ class ApiClient
* @return ApiResponse * @return ApiResponse
* *
*/ */
public function customersСorporateHistory(array $filter = array(), $page = null, $limit = null) public function customersCorporateHistory(array $filter = array(), $page = null, $limit = null)
{ {
$parameters = array(); $parameters = array();

View File

@ -452,10 +452,10 @@ class RCrmActions
case 'ordersEdit': case 'ordersEdit':
case 'customersGet': case 'customersGet':
case 'customersEdit': case 'customersEdit':
case 'customersСorporateGet': case 'customersCorporateGet':
return self::proxy($api, $methodApi, $method, array($params, 'externalId', $site)); return self::proxy($api, $methodApi, $method, array($params, 'externalId', $site));
case 'customersСorporateGetById': case 'customersCorporateGetById':
return self::proxy($api, 'customersСorporateGet', $method, array($params, 'id', $site)); return self::proxy($api, 'customersCorporateGet', $method, array($params, 'id', $site));
case 'customersGetById': case 'customersGetById':
return self::proxy($api, 'customersGet', $method, array($params, 'id', $site)); return self::proxy($api, 'customersGet', $method, array($params, 'id', $site));
@ -492,7 +492,7 @@ class RCrmActions
if ($result->getStatusCode() !== 200 && $result->getStatusCode() !== 201) { if ($result->getStatusCode() !== 200 && $result->getStatusCode() !== 201) {
if ($methodApi == 'ordersGet' if ($methodApi == 'ordersGet'
|| $methodApi == 'customersGet' || $methodApi == 'customersGet'
|| $methodApi == 'customersСorporateGet' || $methodApi == 'customersCorporateGet'
) { ) {
Logger::getInstance()->write(array( Logger::getInstance()->write(array(
'api' => $version, 'api' => $version,