mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:43:40 +00:00
Fix formatting and PHPDoc in ActivityPub\Processor
Add expected return value to postMail method
This commit is contained in:
parent
fb63274aaf
commit
9e24b8c55f
1 changed files with 2 additions and 2 deletions
|
@ -442,8 +442,8 @@ class Processor
|
|||
*
|
||||
* @param array $activity Activity data
|
||||
* @param array $item item array
|
||||
* @return int|bool New mail table row id or false on error
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
private static function postMail($activity, $item)
|
||||
{
|
||||
|
@ -497,7 +497,7 @@ class Processor
|
|||
}
|
||||
$msg['body'] = $item['body'];
|
||||
|
||||
Mail::insert($msg);
|
||||
return Mail::insert($msg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue