Completed
Push — master ( 2bf777...8cb5a2 )
by Michael
03:38
created
src/Michaelc/Voting/STV/Ballot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Constructor
32 32
      *
33
-     * @param array $ranking The ranking of candidates Key being ranking,
33
+     * @param integer[] $ranking The ranking of candidates Key being ranking,
34 34
      *                       value being a candidate id
35 35
      */
36 36
     public function __construct(array $ranking)
Please login to merge, or discard this patch.
src/Michaelc/Voting/STV/VoteHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
 		}
58 58
 	}
59 59
 
60
+	/**
61
+	 * @param Ballot $ballot
62
+	 */
60 63
 	protected function allocateVotes(&$ballot): Ballot
61 64
 	{
62 65
 		$weight = $ballot->getWeight();
Please login to merge, or discard this patch.