public static function plusOneComment($projectId, $userId, $commentId)
 {
     $project = new LexiconProjectModel($projectId);
     $comment = new LexCommentModel($project, $commentId);
     $vote = new UserGenericVoteModel($userId, $projectId, 'lexCommentPlusOne');
     if (!$vote->hasVote($commentId)) {
         $comment->score++;
         $comment->write();
         $vote->addVote($commentId);
         $vote->write();
     }
 }
 public static function plusOneComment($projectId, $userId, $commentId)
 {
     $project = new LexProjectModel($projectId);
     ProjectCommands::checkIfArchivedAndThrow($project);
     $comment = new LexCommentModel($project, $commentId);
     $vote = new UserGenericVoteModel($userId, $projectId, 'lexCommentPlusOne');
     if ($vote->hasVote($commentId)) {
         return false;
     }
     $comment->score++;
     $id = $comment->write();
     $vote->addVote($commentId);
     $vote->write();
     return $id;
 }