Fix errors in pnut addon

This commit is contained in:
Art4 2024-12-08 21:24:03 +00:00
parent 5b13274bed
commit 2fe37c6d4a
2 changed files with 7 additions and 11 deletions

View file

@ -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;