From 74991d1f958d4d13c3fde99240a9dead1d21448c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 11 Jul 2022 23:05:13 -0400 Subject: [PATCH] Fix type hint typo in Protocol\Email::messageGetPart - Address https://github.com/friendica/friendica/issues/11724 --- src/Protocol/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Email.php b/src/Protocol/Email.php index 042fca26d6..7584518449 100644 --- a/src/Protocol/Email.php +++ b/src/Protocol/Email.php @@ -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;