lib/ElectionProcess/CandidatesProcess.php 1 location
|
@@ 212-214 (lines=3) @@
|
| 209 |
|
|
| 210 |
|
// addCandidate |
| 211 |
|
try { |
| 212 |
|
if (self::$_maxParseIteration !== null && count($adding) >= self::$_maxParseIteration) : |
| 213 |
|
throw new CondorcetException(12, self::$_maxParseIteration); |
| 214 |
|
endif; |
| 215 |
|
|
| 216 |
|
$adding[] = $this->addCandidate($line); |
| 217 |
|
} catch (CondorcetException $e) { |
lib/ElectionProcess/VotesProcess.php 1 location
|
@@ 318-320 (lines=3) @@
|
| 315 |
|
|
| 316 |
|
// addVote |
| 317 |
|
for ($i = 0; $i < $multiple; $i++) : |
| 318 |
|
if (self::$_maxParseIteration !== null && count($adding) >= self::$_maxParseIteration) : |
| 319 |
|
throw new CondorcetException(12, self::$_maxParseIteration); |
| 320 |
|
endif; |
| 321 |
|
|
| 322 |
|
try { |
| 323 |
|
$adding[] = ($newVote = $this->addVote($vote, $tags)); |