Skip to content

Commit

Permalink
correct doc for bulk requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ins0 committed Jul 9, 2020
1 parent b76d01b commit 5b2cfe0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/BulkOperations.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@

/** @var EncryptDataResponse $bulkResult */
foreach($encryptBulkResponse as $bulkResult) {
// BULK REQUEST WON'T THROW INVALID DATA EXCEPTIONS
// SO YOU ARE RESPONSABLE TO CHECK IF EVERY BULK WAS
// SUCCESSFULLY PROCESSED
// TO ENSURE EVERY BULK ENCRYPT REQUEST WAS SUCCESSFULLY PROCESSED
// YOU HAVE TO CHECK FOR ERRORS OF EVERY BULK ITEM
if (!$bulkResult->getMetaData()->hasErrors()) {
var_dump($bulkResult->getCiphertext());
}
Expand Down

0 comments on commit 5b2cfe0

Please sign in to comment.