Completed
Push — master ( b8d256...a49b1d )
by Michael
03:45
created
src/Michaelc/Voting/STV/VoteHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Check if any candidates have reached the quota and can be elected.
117 117
      *
118
-     * @param array $candidates Array of active candidates to check
118
+     * @param Candidate[] $candidates Array of active candidates to check
119 119
      *
120 120
      * @return bool Whether any candidates were changed to elected
121 121
      */
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     /**
334 334
      * Check if ballot is valid.
335 335
      *
336
-     * @param Ballot $Ballot Ballot to test
336
+     * @param Ballot $ballot Ballot to test
337 337
      *
338 338
      * @return bool True if valid, false if invalid
339 339
      */
Please login to merge, or discard this patch.
tests/Michaelc/Voting/StvElectionTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Tests\Michaelc\Voting;
4 4
 
5
-use Michaelc\Voting\STV\Election;
6
-use Michaelc\Voting\STV\Candidate;
7 5
 use Michaelc\Voting\STV\Ballot;
6
+use Michaelc\Voting\STV\Candidate;
7
+use Michaelc\Voting\STV\Election;
8 8
 use Michaelc\Voting\STV\VoteHandler;
9 9
 use Psr\Log\LoggerInterface as Logger;
10 10
 
Please login to merge, or discard this patch.