Completed
Push — master ( efd3e9...5888f9 )
by Michael
03:40
created
src/Michaelc/Voting/STV/VoteHandler.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Check if any candidates have reached the quota and can be elected
120 120
      *
121
-     * @param  array  $candidates 	Array of active candidates to check
121
+     * @param  Candidate[]  $candidates 	Array of active candidates to check
122 122
      * @return bool 				Whether any candidates were changed to elected
123 123
      */
124 124
     protected function checkCandidates(array $candidates): bool
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
     /**
348 348
      * Check if ballot is valid
349 349
      *
350
-     * @param  Ballot $Ballot  Ballot to test
350
+     * @param  Ballot $ballot  Ballot to test
351 351
      * @return bool             True if valid, false if invalid
352 352
      */
353 353
     public function checkBallotValidity(Ballot $ballot): bool
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         foreach ($this->ballots as $i => $ballot)
103 103
         {
104 104
             $this->logger->debug("Processing ballot $i in stage 1",
105
-                ['ballot' => $ballot,]
105
+                ['ballot' => $ballot, ]
106 106
             );
107 107
 
108 108
             $this->allocateVotes($ballot);
Please login to merge, or discard this patch.