Skip to content

Commit dbc4d72

Browse files
committed
Fix typehint for upsert method
1 parent 5eee020 commit dbc4d72

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Phpforce/SoapClient/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function update(array $objects, $objectType);
235235
* @param array $objects Array of objects
236236
* @param string $objectType Object type, e.g., account or contact
237237
*
238-
* @return Result\SaveResult[]
238+
* @return Result\UpsertResult[]
239239
* @link http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_upsert.htm
240240
*/
241241
public function upsert($externalFieldName, array $objects, $objectType);

src/Phpforce/SoapClient/Result/UpsertResult.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Upsert result
7+
*
8+
* @see http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_upsert_upsertresult.htm
79
*/
810
class UpsertResult extends SaveResult
911
{

0 commit comments

Comments
 (0)