Code Duplication    Length = 10-10 lines in 2 locations

www/app/model/PHPMailer/PHPMailer/PHPMailer.php 2 locations

@@ 3348-3357 (lines=10) @@
3345
     *
3346
     * @return bool
3347
     */
3348
    protected function cidExists($cid)
3349
    {
3350
        foreach ($this->attachment as $attachment) {
3351
            if ('inline' == $attachment[6] and $cid == $attachment[7]) {
3352
                return true;
3353
            }
3354
        }
3355
3356
        return false;
3357
    }
3358
3359
    /**
3360
     * Check if an inline attachment is present.
@@ 3364-3373 (lines=10) @@
3361
     *
3362
     * @return bool
3363
     */
3364
    public function inlineImageExists()
3365
    {
3366
        foreach ($this->attachment as $attachment) {
3367
            if ($attachment[6] == 'inline') {
3368
                return true;
3369
            }
3370
        }
3371
3372
        return false;
3373
    }
3374
3375
    /**
3376
     * Check if an attachment (non-inline) is present.