From: Hypolite Petovan Date: Tue, 12 Jul 2022 03:05:13 +0000 (-0400) Subject: Fix type hint typo in Protocol\Email::messageGetPart X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74991d1f958d4d13c3fde99240a9dead1d21448c;p=friendica.git Fix type hint typo in Protocol\Email::messageGetPart - Address https://github.com/friendica/friendica/issues/11724 --- 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;