| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | interface ReadStatusManagerInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Updates the read status for a message collection for a given participant. |
||
| 26 | * |
||
| 27 | * If the old read status equals the new read status no updates happen |
||
| 28 | * If the participant is not part of the messageMeta no updates happen |
||
| 29 | * |
||
| 30 | * @param ReadStatus $updatedReadStatus The new read status |
||
| 31 | * @param ParticipantInterface $participant The participant for who we update the read status |
||
| 32 | * @param MessageInterface[] $messages array of messageInterfaces for whom we update the reads status |
||
| 33 | * |
||
| 34 | * @return MessageInterface[]|[] Array with the updated messages, an empty array if no messages were updated |
||
|
|
|||
| 35 | */ |
||
| 36 | public function updateReadStatusForMessageCollection( |
||
| 41 | } |
||
| 42 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.