From f573abe27912c758feb3e7a95def8adbc4c83cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 14 Mar 2022 08:37:22 +0100 Subject: [PATCH] fix: Psalm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Db/BoardMapper.php | 6 +----- lib/Service/BoardService.php | 5 +---- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/Db/BoardMapper.php b/lib/Db/BoardMapper.php index 9813df722..fad86c62d 100644 --- a/lib/Db/BoardMapper.php +++ b/lib/Db/BoardMapper.php @@ -320,11 +320,7 @@ class BoardMapper extends DeckMapper implements IPermissionMapper { } /** - * Reset Cache for a - * given board or a given user - * - * @param int|null $boardId - * @param int|null $userId + * Reset cache for a given board or a given user */ public function flushCache(?int $boardId = null, ?string $userId = null) { diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index a9135a8e0..cf8d287f2 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -726,10 +726,7 @@ class BoardService { } /** - * Clean a given board data - * from the Cache - * - * @param OCA\Deck\Db\Board $board + * Clean a given board data from the Cache */ private function clearBoardFromCache(Board $board) { $boardId = $board->getId();