|
@@ 478-480 (lines=3) @@
|
| 475 |
|
$records = array_merge($records, $response->getRecords()); |
| 476 |
|
} |
| 477 |
|
} |
| 478 |
|
if (count($records) != count($beans)) { |
| 479 |
|
throw new ZohoCRMException('Error while inserting beans in Zoho. '.count($beans).' passed in parameter, but '.count($records).' returned.'); |
| 480 |
|
} |
| 481 |
|
|
| 482 |
|
foreach ($beans as $key => $bean) { |
| 483 |
|
$record = $records[$key]; |
|
@@ 532-534 (lines=3) @@
|
| 529 |
|
$records = array_merge($records, $response->getRecords()); |
| 530 |
|
} |
| 531 |
|
} |
| 532 |
|
if (count($records) != count($beans)) { |
| 533 |
|
throw new ZohoCRMException('Error while inserting beans in Zoho. '.count($beans).' passed in parameter, but '.count($records).' returned.'); |
| 534 |
|
} |
| 535 |
|
|
| 536 |
|
$exceptions = new \SplObjectStorage(); |
| 537 |
|
|