fixed & improved phpdoc

This commit is contained in:
Steffen Schröder
2014-05-09 17:31:29 +02:00
parent e8bcae081a
commit 3b47f0fd9a
8 changed files with 45 additions and 49 deletions

View File

@ -186,12 +186,13 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
}
/**
* Defines a Vote
* Define a Vote
*
* @param $voteIndex
* @param $voteName
* @param bool $idBased
* @param $neededRatio
* @param int $voteIndex
* @param string $voteName
* @param bool $idBased
* @param string $startText
* @param float $neededRatio
*/
public function defineVote($voteIndex, $voteName, $idBased = false, $startText = '', $neededRatio = -1) {
if ($neededRatio == -1) {
@ -422,11 +423,11 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
}
/**
* Starts a vote
* Start a vote
*
* @param \ManiaControl\Players\Player $player
* @param $voteIndex
* @param $action
* @param Player $player
* @param int $voteIndex
* @param callable $function
*/
public function startVote(Player $player, $voteIndex, $function = null) {
//Player is muted