mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
swiftmailer
This commit is contained in:
@@ -20,7 +20,7 @@ class Swift_Mailer_ArrayRecipientIterator implements Swift_Mailer_RecipientItera
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $_recipients = array();
|
||||
private $recipients = array();
|
||||
|
||||
/**
|
||||
* Create a new ArrayRecipientIterator from $recipients.
|
||||
@@ -29,7 +29,7 @@ class Swift_Mailer_ArrayRecipientIterator implements Swift_Mailer_RecipientItera
|
||||
*/
|
||||
public function __construct(array $recipients)
|
||||
{
|
||||
$this->_recipients = $recipients;
|
||||
$this->recipients = $recipients;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ class Swift_Mailer_ArrayRecipientIterator implements Swift_Mailer_RecipientItera
|
||||
*/
|
||||
public function hasNext()
|
||||
{
|
||||
return !empty($this->_recipients);
|
||||
return !empty($this->recipients);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -50,6 +50,6 @@ class Swift_Mailer_ArrayRecipientIterator implements Swift_Mailer_RecipientItera
|
||||
*/
|
||||
public function nextRecipient()
|
||||
{
|
||||
return array_splice($this->_recipients, 0, 1);
|
||||
return array_splice($this->recipients, 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user