Ops, wrong type again

This commit is contained in:
Roland Häder 2022-06-17 13:02:43 +02:00
parent a770634b95
commit 88c40f3336

View file

@ -89,7 +89,7 @@ class Notify extends BaseModule
System::xmlExit($ret, 'Done');
}
private static function dispatchPrivate(array $user, array $postdata)
private static function dispatchPrivate(array $user, string $postdata)
{
$msg = Diaspora::decodeRaw($postdata, $user['prvkey'] ?? '');
if (!is_array($msg)) {