fix errors in Protocoll namespace

This commit is contained in:
Art4 2024-12-06 22:55:58 +00:00
parent d9ab7efcd6
commit 99603d3d90
10 changed files with 59 additions and 54 deletions

View file

@ -1449,7 +1449,7 @@ class Processor
* @return int|bool New mail table row id or false on error
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
private static function postMail(array $item): bool
private static function postMail(array $item)
{
if (($item['gravity'] != Item::GRAVITY_PARENT) && !DBA::exists('mail', ['uri' => $item['thr-parent'], 'uid' => $item['uid']])) {
Logger::info('Parent not found, mail will be discarded.', ['uid' => $item['uid'], 'uri' => $item['thr-parent']]);