Completed
Push — master ( d2b861...119fde )
by Michael
04:06
created
src/Michaelc/Voting/STV/VoteHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -223,8 +223,7 @@  discard block
 block discarded – undo
223 223
                 $minimum = $candidate->getVotes();
224 224
                 unset($minimumCandidates);
225 225
                 $minimumCandidates[] = $candidate;
226
-            }
227
-            elseif ($candidate->getVotes() == $minimum)
226
+            } elseif ($candidate->getVotes() == $minimum)
228 227
             {
229 228
                 $minimumCandidates[] = $candidate;
230 229
             }
@@ -253,8 +252,7 @@  discard block
 block discarded – undo
253 252
             if (count($ballot->getRanking()) > $this->election->getCandidateCount())
254 253
             {
255 254
                 $rejected = true;
256
-            }
257
-            else
255
+            } else
258 256
             {
259 257
                 $candidateIds = $this->election->getCandidateIds();
260 258
 
Please login to merge, or discard this patch.