Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2021-10-05 20:31:59 +0300
committerVitor Mattos <vitor@php.rio>2021-10-07 16:26:56 +0300
commita2e57ab980a419d0f40cf4540b5387d40e65f51a (patch)
tree74be5f60e0ca09a5c395db8b64eb414a8f964a5a /lib/Service
parent251d68513b7a7d932592edb314581ad2a443de63 (diff)
Changes after run --alter
psalm --alter --issues=MissingClosureReturnType,MismatchingDocblockReturnType,MissingReturnType,InvalidReturnType,MissingParamType Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/HostedSignalingServerService.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Service/HostedSignalingServerService.php b/lib/Service/HostedSignalingServerService.php
index efb88cef5..83987ecd7 100644
--- a/lib/Service/HostedSignalingServerService.php
+++ b/lib/Service/HostedSignalingServerService.php
@@ -246,8 +246,12 @@ class HostedSignalingServerService {
/**
* @throws HostedSignalingServerAPIException
+ *
+ * @return (\ArrayAccess|array|mixed)[]|\ArrayAccess
+ *
+ * @psalm-return list<created: mixed, owner: <array>, status: mixed, signaling: <array>>
*/
- public function fetchAccountInfo(AccountId $accountId): array {
+ public function fetchAccountInfo(AccountId $accountId) {
try {
$nonce = $this->secureRandom->generate(32);
$this->config->setAppValue('spreed', 'hosted-signaling-server-nonce', $nonce);
@@ -400,8 +404,10 @@ class HostedSignalingServerService {
/**
* @throws HostedSignalingServerAPIException
+ *
+ * @return void
*/
- public function deleteAccount(AccountId $accountId) {
+ public function deleteAccount(AccountId $accountId): void {
try {
$nonce = $this->secureRandom->generate(32);
$this->config->setAppValue('spreed', 'hosted-signaling-server-nonce', $nonce);