fix: Psalm

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-14 08:37:22 +01:00
parent 26c76fbb46
commit 48ec97386c
2 changed files with 2 additions and 9 deletions

View File

@@ -492,11 +492,7 @@ class BoardMapper extends QBMapper 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)
{

View File

@@ -729,10 +729,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();