@@ -344,6 +344,9 @@ discard block |
||
344 | 344 | } |
345 | 345 | } |
346 | 346 | |
347 | + /** |
|
348 | + * @param ZohoBeanInterface[] $array |
|
349 | + */ |
|
347 | 350 | private function array_clone($array) { |
348 | 351 | return array_map(function($element) { |
349 | 352 | return ((is_array($element)) |
@@ -356,6 +359,9 @@ discard block |
||
356 | 359 | }, $array); |
357 | 360 | } |
358 | 361 | |
362 | + /** |
|
363 | + * @param string $needle |
|
364 | + */ |
|
359 | 365 | private function endsWith($haystack, $needle) |
360 | 366 | { |
361 | 367 | return substr_compare($haystack, $needle, -strlen($needle)) === 0; |
@@ -391,7 +397,6 @@ discard block |
||
391 | 397 | * Insert data to bean in order to update zoho records. |
392 | 398 | * |
393 | 399 | * @param ZohoBeanInterface $zohoBean |
394 | - * @param array $fieldsMatching |
|
395 | 400 | * @param type $columnName |
396 | 401 | * @param type $valueDb |
397 | 402 | */ |
@@ -6,10 +6,8 @@ |
||
6 | 6 | use Psr\Log\LoggerInterface; |
7 | 7 | use Psr\Log\NullLogger; |
8 | 8 | use Wabel\Zoho\CRM\AbstractZohoDao; |
9 | -use Wabel\Zoho\CRM\Helpers\BeanHelper; |
|
10 | 9 | use Wabel\Zoho\CRM\Service\EntitiesGeneratorService; |
11 | 10 | use Wabel\Zoho\CRM\ZohoBeanInterface; |
12 | -use zcrmsdk\crm\api\response\EntityResponse; |
|
13 | 11 | use zcrmsdk\crm\crud\ZCRMRecord; |
14 | 12 | use zcrmsdk\crm\exception\ZCRMException; |
15 | 13 |