mirror of https://github.com/sualko/cloud_bbb
refactor: fix documentation
parent
dee6866fd1
commit
cf0f315094
|
@ -94,7 +94,7 @@ class API {
|
||||||
/**
|
/**
|
||||||
* Create meeting room.
|
* Create meeting room.
|
||||||
*
|
*
|
||||||
* @return int creation time
|
* @return float|int creation time
|
||||||
*/
|
*/
|
||||||
public function createMeeting(Room $room, Presentation $presentation = null) {
|
public function createMeeting(Room $room, Presentation $presentation = null) {
|
||||||
$bbb = $this->getServer();
|
$bbb = $this->getServer();
|
||||||
|
@ -145,6 +145,7 @@ class API {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($presentation !== null && $presentation->isValid()) {
|
if ($presentation !== null && $presentation->isValid()) {
|
||||||
|
/** @psalm-suppress InvalidArgument */
|
||||||
$createMeetingParams->addPresentation($presentation->getUrl(), null, $presentation->getFilename());
|
$createMeetingParams->addPresentation($presentation->getUrl(), null, $presentation->getFilename());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,10 @@ class Crypto {
|
||||||
$this->crypto = $crypto;
|
$this->crypto = $crypto;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function calculateHMAC(string $message): string {
|
/**
|
||||||
|
* @return false|string
|
||||||
|
*/
|
||||||
|
public function calculateHMAC(string $message) {
|
||||||
if ($message === null) {
|
if ($message === null) {
|
||||||
throw new \InvalidArgumentException();
|
throw new \InvalidArgumentException();
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,26 +7,6 @@
|
||||||
<code>\OCA\Circles\Model\Member</code>
|
<code>\OCA\Circles\Model\Member</code>
|
||||||
</UndefinedClass>
|
</UndefinedClass>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/Controller/RoomController.php">
|
|
||||||
<NullArgument occurrences="1">
|
|
||||||
<code>null</code>
|
|
||||||
</NullArgument>
|
|
||||||
</file>
|
|
||||||
<file src="lib/Controller/ServerController.php">
|
|
||||||
<InvalidArgument occurrences="1">
|
|
||||||
<code>$success</code>
|
|
||||||
</InvalidArgument>
|
|
||||||
</file>
|
|
||||||
<file src="lib/NoPermissionResponse.php">
|
|
||||||
<MissingDependency occurrences="1">
|
|
||||||
<code>Template</code>
|
|
||||||
</MissingDependency>
|
|
||||||
</file>
|
|
||||||
<file src="lib/NotFoundResponse.php">
|
|
||||||
<MissingDependency occurrences="1">
|
|
||||||
<code>Template</code>
|
|
||||||
</MissingDependency>
|
|
||||||
</file>
|
|
||||||
<file src="lib/Service/RestrictionService.php">
|
<file src="lib/Service/RestrictionService.php">
|
||||||
<InvalidReturnType occurrences="3">
|
<InvalidReturnType occurrences="3">
|
||||||
<code>Restriction</code>
|
<code>Restriction</code>
|
||||||
|
|
Loading…
Reference in New Issue