mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
fix: Fix psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6f764984a3
commit
63292da655
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ class FederationChatNotifier {
|
|||
return;
|
||||
}
|
||||
|
||||
/** @var array{silent?: bool, last_edited_time?: int, last_edited_by_type?: string, last_edited_by_id?: string, replyToActorType?: string, replyToActorId?: string} $metaData */
|
||||
/** @var array{silent?: bool, last_edited_time?: int, last_edited_by_type?: string, last_edited_by_id?: string, replyToActorType?: string, replyToActorId?: string, thread_id?: int} $metaData */
|
||||
$metaData = json_decode($inboundNotification['messageData']['metaData'] ?? '', true, flags: JSON_THROW_ON_ERROR);
|
||||
|
||||
if (isset($metaData[Message::METADATA_SILENT])) {
|
||||
|
|
@ -101,7 +101,7 @@ class FederationChatNotifier {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param array{silent?: bool, last_edited_time?: int, last_edited_by_type?: string, last_edited_by_id?: string, replyToActorType?: string, replyToActorId?: string} $metaData
|
||||
* @param array{silent?: bool, last_edited_time?: int, last_edited_by_type?: string, last_edited_by_id?: string, replyToActorType?: string, replyToActorId?: string, thread_id?: int} $metaData
|
||||
*/
|
||||
protected function isRepliedTo(Room $room, Participant $participant, array $metaData): bool {
|
||||
if (!isset($metaData[ProxyCacheMessage::METADATA_REPLY_TO_ACTOR_TYPE])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue