Fix type hint typo in Protocol\Email::messageGetPart

- Address https://github.com/friendica/friendica/issues/11724
This commit is contained in:
Hypolite Petovan 2022-07-11 23:05:13 -04:00
parent 05ed13a279
commit 74991d1f95

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;