/** * Increment the number of posts in the forum by one. * * @param int $id The ID of the forum to increment the post count for. * * @return mixed */ public function incrementPostCount($id = 0) { // TODO: It'd be better to update the cache instead of forgetting it $this->cache->forget('forums.index_tree'); $this->cache->forget('forums.all'); return $this->decoratedRepository->incrementPostCount($id); }