Bugfix: ParseFromStreamRecursion return value must be of type MailSo\Mime\Part, bool returned

This commit is contained in:
the-djmaze 2022-01-25 19:57:43 +01:00
parent 0ed7f000d6
commit e0238e9966

View file

@ -426,7 +426,7 @@ class Part
} }
$oCallbackClass->EndParseMimePart($this); $oCallbackClass->EndParseMimePart($this);
return true; return $this;
} }
else else
{ {
@ -492,7 +492,7 @@ class Part
else else
{ {
$oCallbackClass->EndParseMimePart($this); $oCallbackClass->EndParseMimePart($this);
return true; return $this;
} }
} }
} }