Merge pull request #271 from pschiffe/3.1

FIX `HTTPBulkToolsResponse.addSuccessRecords()` fn
This commit is contained in:
Guy Sartorelli 2024-03-08 14:13:00 +13:00 committed by GitHub
commit 734090af68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
*/ */
public function addSuccessRecords(SS_List $records) public function addSuccessRecords(SS_List $records)
{ {
array_push($this->successRecords, $records->toArray()); $this->successRecords = array_merge($this->successRecords, $records->toArray());
return $this; return $this;
} }