1
0
mirror of synced 2025-01-31 15:22:01 +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
*/
public function customersСorporateFixExternalIds(array $ids)
public function customersCorporateFixExternalIds(array $ids)
{
if (! count($ids)) {
throw new \InvalidArgumentException(
@ -293,7 +293,7 @@ class ApiClient
*
* @return ApiResponse
*/
public function customersСorporateGet($id, $by = 'externalId', $site = null)
public function customersCorporateGet($id, $by = 'externalId', $site = null)
{
$this->checkIdParameter($by);
@ -362,7 +362,7 @@ class ApiClient
*
* @return ApiResponse
*/
public function customersСorporateEdit(array $customer, $by = 'externalId', $site = null)
public function customersCorporateEdit(array $customer, $by = 'externalId', $site = null)
{
if (!count($customer)) {
throw new \InvalidArgumentException(
@ -398,7 +398,7 @@ class ApiClient
* @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();

View File

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