summaryrefslogtreecommitdiffstats
path: root/lib/Events
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-04-06 19:05:22 -0300
committerVitor Mattos <vitor@php.rio>2022-04-06 19:05:30 -0300
commit94c29af7fe1c56a17f2be37a9c3bb5543f56a404 (patch)
treee23fb1daa83a29c5c2c2b08f099fad7fe06185b4 /lib/Events
parentc07251f0c67d3c02debe1f6dbe0e12ee3fe9f99a (diff)
Fix psalm issues
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Events')
-rw-r--r--lib/Events/CommandEvent.php2
-rw-r--r--lib/Events/EndCallForEveryoneEvent.php6
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/Events/CommandEvent.php b/lib/Events/CommandEvent.php
index 7a9e099b5..3c62182bb 100644
--- a/lib/Events/CommandEvent.php
+++ b/lib/Events/CommandEvent.php
@@ -51,7 +51,7 @@ class CommandEvent extends ChatEvent {
$this->output = $output;
}
- public function getOutput(): string {
+ public function getOutput(): ?string {
return $this->output;
}
}
diff --git a/lib/Events/EndCallForEveryoneEvent.php b/lib/Events/EndCallForEveryoneEvent.php
index b960c31a8..9710e0602 100644
--- a/lib/Events/EndCallForEveryoneEvent.php
+++ b/lib/Events/EndCallForEveryoneEvent.php
@@ -48,9 +48,8 @@ class EndCallForEveryoneEvent extends ModifyRoomEvent {
/**
* Only available in the after-event
- * @return string[]
*/
- public function getSessionIds(): array {
+ public function getSessionIds(): ?array {
return $this->sessionIds;
}
@@ -64,9 +63,8 @@ class EndCallForEveryoneEvent extends ModifyRoomEvent {
/**
* Only available in the after-event
- * @return string[]
*/
- public function getUserIds(): array {
+ public function getUserIds(): ?array {
return $this->userIds;
}
}