You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
In the code provided to document Add/Edit subscriber:
`
// if you want use another adding mode, create it. It's optional too and by default "AddAndUpdate"
$mode = Mode::ADD_AND_UPDATE();
// you can add more than one subscriber to request
$addOrEditResponse = $api->subscribers()->addOrEdit([$subscriberData], $options, $mode);
`
But it seems there's only two parameters in the method:
`
/**
* Add or edit subscriber
*
* @param SubscriberInfo[] $subscriberInfos Subscribers information list
* @param Options|null $options Options
*
* @return SubscribersPostResponse Response
*/
public function addOrEdit(array $subscriberInfos, Options $options = null): SubscribersPostResponse
{
return new SubscribersPostResponse(
$this->requestSender->send(new SubscribersPostRequest($subscriberInfos, $options))
);
}
`
Please, consider to update documentation.
The text was updated successfully, but these errors were encountered: