Home
last modified time | relevance | path

Searched refs:minVote (Results 1 – 1 of 1) sorted by relevance

/web-php/src/UserNotes/
H A DSorter.php9 private $minVote; variable in phpweb\\UserNotes\\Sorter
33 $this->voteFactor = $this->maxVote - $this->minVote
34 ? (1 - .3) / ($this->maxVote - $this->minVote)
52 return ($note->upvotes - $note->downvotes - $this->minVote) * $this->voteFactor + .3;
87 $this->minVote = $this->maxVote = ($first->upvotes - $first->downvotes);
92 $this->minVote = min($this->minVote, ($note->upvotes - $note->downvotes));

Completed in 6 milliseconds