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 975af7c056
commit f573abe279
2 changed files with 2 additions and 9 deletions

View File

@@ -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)
{

View File

@@ -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();