Remove useless NewInstance

Bugfix: BodyStructure->SearchCharset return value
This commit is contained in:
djmaze 2020-05-08 11:49:18 +02:00
parent 82e560bc53
commit 693e0f4c10
61 changed files with 802 additions and 1345 deletions

View file

@ -20,7 +20,7 @@ class Syslog extends \MailSo\Log\Driver
{
private $iLogLevel;
protected function __construct()
function __construct()
{
parent::__construct();
@ -40,11 +40,6 @@ class Syslog extends \MailSo\Log\Driver
}
}
public static function NewInstance() : \MailSo\Log\Drivers\Syslog
{
return new self();
}
protected function writeImplementation($mDesc) : bool
{
if (null === $this->iLogLevel)