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

@ -52,7 +52,7 @@ class Response
*/
public $Tag;
private function __construct()
function __construct()
{
$this->ResponseList = array();
$this->OptionalResponse = null;
@ -63,11 +63,6 @@ class Response
$this->Tag = '';
}
public static function NewInstance() : self
{
return new self();
}
private function recToLine(array $aList) : string
{
$aResult = array();