Code Duplication    Length = 3-3 lines in 2 locations

src/Mapper.php 2 locations

@@ 87-89 (lines=3) @@
84
            }
85
86
            foreach($topic->getField('comments', []) as $i => $comment) {
87
                if ($comment->getField('created_time') >= $startDate && $comment->getField('created_time') <= $endDate) {
88
                    $this->mapComment($comment, $topic);
89
                }
90
91
                foreach($comment->getField('comments', []) as $j=>$reply) {
92
                    if ($reply->getField('created_time') >= $startDate && $reply->getField('created_time') <= $endDate) {
@@ 92-94 (lines=3) @@
89
                }
90
91
                foreach($comment->getField('comments', []) as $j=>$reply) {
92
                    if ($reply->getField('created_time') >= $startDate && $reply->getField('created_time') <= $endDate) {
93
                        $this->mapReply($reply, $topic, $comment);
94
                    }
95
                }
96
            }
97
        }