Fix errors in pnut addon
This commit is contained in:
parent
5b13274bed
commit
2fe37c6d4a
2 changed files with 7 additions and 11 deletions
|
@ -1519,7 +1519,6 @@ class PHPMailer
|
|||
public function getSMTPInstance()
|
||||
{
|
||||
if (!is_object($this->smtp)) {
|
||||
/** @phpstan-ignore-next-line file class.smtp.php does not exist */
|
||||
$this->smtp = new SMTP;
|
||||
}
|
||||
return $this->smtp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue