Skip to content

Commit 3e5d019

Browse files
committed
Add phpdoc
1 parent 7d604e0 commit 3e5d019

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/Phpforce/SoapClient/BulkSaver.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ class BulkSaver implements BulkSaverInterface
2828
private $bulkDeleteLimit = 200;
2929

3030
/**
31-
* Salesforce client
31+
* Salesforce SOAP client
3232
*
33-
* @var Client
33+
* @var ClientInterface
3434
*/
3535
private $client;
3636

@@ -45,17 +45,18 @@ class BulkSaver implements BulkSaverInterface
4545
*
4646
* @param Client $client Salesforce client
4747
*/
48-
public function __construct(Client $client)
48+
public function __construct(ClientInterface $client)
4949
{
5050
$this->client = $client;
5151
}
5252

5353
/**
5454
* Save a record in bulk
5555
*
56-
* @param mixed $record
57-
* @param string $objectType The record type, e.g., Account
58-
* @param string $matchField Optional match field for upserts
56+
* @param mixed $record
57+
* @param string $objectType The record type, e.g., Account
58+
* @param string $matchField Optional match field for upserts
59+
*
5960
* @return BulkSaver
6061
*/
6162
public function save($record, $objectType, $matchField = null)

0 commit comments

Comments
 (0)