mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 05:51:28 +01:00
FIX: Update swiftmailer librairies
This commit is contained in:
@@ -20,16 +20,15 @@ class Swift_Plugins_Reporters_HitReporter implements Swift_Plugins_Reporter
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $failures = array();
|
||||
private $failures = [];
|
||||
|
||||
private $failures_cache = array();
|
||||
private $failures_cache = [];
|
||||
|
||||
/**
|
||||
* Notifies this ReportNotifier that $address failed or succeeded.
|
||||
*
|
||||
* @param Swift_Mime_SimpleMessage $message
|
||||
* @param string $address
|
||||
* @param int $result from {@link RESULT_PASS, RESULT_FAIL}
|
||||
* @param string $address
|
||||
* @param int $result from {@link RESULT_PASS, RESULT_FAIL}
|
||||
*/
|
||||
public function notify(Swift_Mime_SimpleMessage $message, $address, $result)
|
||||
{
|
||||
@@ -54,6 +53,6 @@ class Swift_Plugins_Reporters_HitReporter implements Swift_Plugins_Reporter
|
||||
*/
|
||||
public function clear()
|
||||
{
|
||||
$this->failures = $this->failures_cache = array();
|
||||
$this->failures = $this->failures_cache = [];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,9 +18,8 @@ class Swift_Plugins_Reporters_HtmlReporter implements Swift_Plugins_Reporter
|
||||
/**
|
||||
* Notifies this ReportNotifier that $address failed or succeeded.
|
||||
*
|
||||
* @param Swift_Mime_SimpleMessage $message
|
||||
* @param string $address
|
||||
* @param int $result from {@see RESULT_PASS, RESULT_FAIL}
|
||||
* @param string $address
|
||||
* @param int $result from {@see RESULT_PASS, RESULT_FAIL}
|
||||
*/
|
||||
public function notify(Swift_Mime_SimpleMessage $message, $address, $result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user