mark client parameter in recipient list class as deprecated
This commit is contained in:
parent
a8756c7ade
commit
95384c5eba
@ -31,6 +31,10 @@ class RecipientsList implements RecipientsListInterface, Iterator
|
||||
*/
|
||||
private $recipients = [];
|
||||
|
||||
/**
|
||||
* @deprecated unused client parameter will removed
|
||||
* @param Client $client
|
||||
*/
|
||||
public function __construct(Client $client)
|
||||
{
|
||||
$this->setClient($client);
|
||||
@ -113,6 +117,7 @@ class RecipientsList implements RecipientsListInterface, Iterator
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @return Client
|
||||
*/
|
||||
public function getClient(): Client
|
||||
@ -121,6 +126,7 @@ class RecipientsList implements RecipientsListInterface, Iterator
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @param Client $client
|
||||
*
|
||||
* @return RecipientsList
|
||||
|
@ -20,6 +20,10 @@ use D3\LinkmobilityClient\ValueObject\Recipient;
|
||||
|
||||
interface RecipientsListInterface
|
||||
{
|
||||
/**
|
||||
* @deprecated unused client parameter will removed
|
||||
* @param Client $client
|
||||
*/
|
||||
public function __construct(Client $client);
|
||||
|
||||
public function add(Recipient $recipient): RecipientsListInterface;
|
||||
|
Loading…
Reference in New Issue
Block a user