diff --git a/lib/BigBlueButton/API.php b/lib/BigBlueButton/API.php
index cb1e008..1ddae0e 100644
--- a/lib/BigBlueButton/API.php
+++ b/lib/BigBlueButton/API.php
@@ -94,7 +94,7 @@ class API {
/**
* Create meeting room.
*
- * @return int creation time
+ * @return float|int creation time
*/
public function createMeeting(Room $room, Presentation $presentation = null) {
$bbb = $this->getServer();
@@ -145,6 +145,7 @@ class API {
}
if ($presentation !== null && $presentation->isValid()) {
+ /** @psalm-suppress InvalidArgument */
$createMeetingParams->addPresentation($presentation->getUrl(), null, $presentation->getFilename());
}
diff --git a/lib/Crypto.php b/lib/Crypto.php
index 5e2213b..a7d0a99 100644
--- a/lib/Crypto.php
+++ b/lib/Crypto.php
@@ -14,7 +14,10 @@ class Crypto {
$this->crypto = $crypto;
}
- public function calculateHMAC(string $message): string {
+ /**
+ * @return false|string
+ */
+ public function calculateHMAC(string $message) {
if ($message === null) {
throw new \InvalidArgumentException();
}
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml
index eddd964..1c8a2c2 100644
--- a/tests/psalm-baseline.xml
+++ b/tests/psalm-baseline.xml
@@ -7,26 +7,6 @@
\OCA\Circles\Model\Member
-
-
- null
-
-
-
-
- $success
-
-
-
-
- Template
-
-
-
-
- Template
-
-
Restriction