Code Duplication    Length = 3-3 lines in 2 locations

lib/ElectionProcess/VotesProcess.php 2 locations

@@ 233-235 (lines=3) @@
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);
235
            endif;
236
237
            for ($i = 0; $i < $multi; $i++) :
238
                $adding[] = new Vote ($record['vote'], $tags);
@@ 285-287 (lines=3) @@
282
                throw new CondorcetException(16, (string) self::$_maxParseIteration);
283
            endif;
284
285
            if (self::$_maxParseIteration !== null && $adding_predicted_count >= self::$_maxParseIteration) :
286
                throw new CondorcetException(12, (string) self::$_maxParseIteration);
287
            endif;
288
289
            // addVote
290
            for ($i = 0; $i < $multiple; $i++) :