Merge pull request #11725 from MrPetovan/bug/fatal-errors

Fix type hint typo in Protocol\Email::messageGetPart
This commit is contained in:
Michael Vogel 2022-07-12 07:13:27 +02:00 committed by GitHub
commit d9d30c7b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class Email
* @param string $subtype sub type
* @return string
*/
private static function messageGetPart($mbox, int $uid, $p, in $partno, string $subtype): string
private static function messageGetPart($mbox, int $uid, $p, int $partno, string $subtype): string
{
// $partno = '1', '2', '2.1', '2.1.3', etc for multipart, 0 if simple
global $htmlmsg,$plainmsg,$charset,$attachments;