|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0"> |
| 2 | +<files psalm-version="6.2.0@814dfde37b43a1fe6d9b0996e08b19661af53bc5"> |
3 | 3 | <file src="lib/AppInfo/Application.php"> |
4 | 4 | <UndefinedClass> |
5 | 5 | <code><![CDATA[BeforeTemplateRenderedEvent]]></code> |
|
44 | 44 | <code><![CDATA[$return['num_rooms']]]></code> |
45 | 45 | </InvalidArrayAccess> |
46 | 46 | </file> |
| 47 | + <file src="lib/Model/Poll.php"> |
| 48 | + <LessSpecificReturnStatement> |
| 49 | + <code><![CDATA[[ |
| 50 | + 'id' => $this->getId(), |
| 51 | + // The room id is not needed on the API level but only internally for optimising database queries |
| 52 | + // 'roomId' => $this->getRoomId(), |
| 53 | + 'question' => $this->getQuestion(), |
| 54 | + 'options' => json_decode($this->getOptions(), true, 512, JSON_THROW_ON_ERROR), |
| 55 | + 'actorType' => $this->getActorType(), |
| 56 | + 'actorId' => $this->getActorId(), |
| 57 | + 'actorDisplayName' => $this->getDisplayName(), |
| 58 | + 'status' => $this->getStatus(), |
| 59 | + 'resultMode' => $this->getResultMode(), |
| 60 | + 'maxVotes' => $this->getMaxVotes(), |
| 61 | + ]]]></code> |
| 62 | + </LessSpecificReturnStatement> |
| 63 | + <MoreSpecificReturnType> |
| 64 | + <code><![CDATA[TalkPollDraft]]></code> |
| 65 | + </MoreSpecificReturnType> |
| 66 | + </file> |
47 | 67 | <file src="lib/Notification/Notifier.php"> |
48 | 68 | <InvalidPropertyAssignmentValue> |
49 | 69 | <code><![CDATA[$this->participants]]></code> |
|
69 | 89 | <code><![CDATA[Filesystem]]></code> |
70 | 90 | </UndefinedClass> |
71 | 91 | </file> |
| 92 | + <file src="lib/Service/BotService.php"> |
| 93 | + <InvalidArgument> |
| 94 | + <code><![CDATA[[ |
| 95 | + 'type' => 'Activity', |
| 96 | + 'actor' => [ |
| 97 | + 'type' => 'Person', |
| 98 | + 'id' => $message->getActorType() . '/' . $message->getActorId(), |
| 99 | + 'name' => $message->getActorDisplayName(), |
| 100 | + ], |
| 101 | + 'object' => [ |
| 102 | + 'type' => 'Note', |
| 103 | + 'id' => $event->getComment()->getId(), |
| 104 | + 'name' => $message->getMessageRaw(), |
| 105 | + 'content' => json_encode($messageData), |
| 106 | + 'mediaType' => 'text/markdown', |
| 107 | + ], |
| 108 | + 'target' => [ |
| 109 | + 'type' => 'Collection', |
| 110 | + 'id' => $event->getRoom()->getToken(), |
| 111 | + 'name' => $event->getRoom()->getName(), |
| 112 | + ] |
| 113 | + ]]]></code> |
| 114 | + </InvalidArgument> |
| 115 | + </file> |
72 | 116 | <file src="lib/Service/RecordingService.php"> |
73 | 117 | <LessSpecificReturnStatement> |
74 | 118 | <code><![CDATA[$recordingFolder]]></code> |
|
0 commit comments