Code Duplication    Length = 3-3 lines in 2 locations

lib/ElectionProcess/VotesProcess.php 2 locations

@@ 229-231 (lines=3) @@
226
227
            $adding_predicted_count = count($adding) + $multi;
228
229
            if (self::$_maxVoteNumber && self::$_maxVoteNumber < ($this->countVotes() + $adding_predicted_count)) :
230
                throw new CondorcetException(16, self::$_maxParseIteration);
231
            endif;
232
233
            if (self::$_maxParseIteration !== null && $adding_predicted_count >= self::$_maxParseIteration) :
234
                throw new CondorcetException(12, self::$_maxParseIteration);
@@ 281-283 (lines=3) @@
278
279
            $adding_predicted_count = count($adding) + $multiple;
280
281
            if (self::$_maxVoteNumber && self::$_maxVoteNumber < ($this->countVotes() + $adding_predicted_count)) :
282
                throw new CondorcetException(16, self::$_maxParseIteration);
283
            endif;
284
285
            if (self::$_maxParseIteration !== null && $adding_predicted_count >= self::$_maxParseIteration) :
286
                throw new CondorcetException(12, self::$_maxParseIteration);