From 5386e6e24fb7aa5a2a5534a598dc33cc2592f7e7 Mon Sep 17 00:00:00 2001 From: chandi Langecker Date: Fri, 11 Nov 2022 16:41:41 +0100 Subject: [PATCH] make psalm & linter happy Signed-off-by: chandi Langecker --- lib/Controller/SessionController.php | 2 +- src/components/SessionList.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Controller/SessionController.php b/lib/Controller/SessionController.php index 0d9e5ee67..6df51d295 100644 --- a/lib/Controller/SessionController.php +++ b/lib/Controller/SessionController.php @@ -86,7 +86,7 @@ class SessionController extends ApiController { */ public function close(int $boardId, string $token) { $this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ); - $this->sessionService->closeSession((int)$boardId, $token); + $this->sessionService->closeSession($boardId, $token); return true; } } diff --git a/src/components/SessionList.vue b/src/components/SessionList.vue index a5710034c..5e996258d 100644 --- a/src/components/SessionList.vue +++ b/src/components/SessionList.vue @@ -37,8 +37,7 @@