Code Duplication    Length = 5-6 lines in 2 locations

include/phpmailer/class.phpmailer.php 2 locations

@@ 935-940 (lines=6) @@
932
            return false;
933
        }
934
        if ('Reply-To' != $kind) {
935
            if (!array_key_exists(mb_strtolower($address), $this->all_recipients)) {
936
                array_push($this->$kind, [$address, $name]);
937
                $this->all_recipients[mb_strtolower($address)] = true;
938
939
                return true;
940
            }
941
        } else {
942
            if (!array_key_exists(mb_strtolower($address), $this->ReplyTo)) {
943
                $this->ReplyTo[mb_strtolower($address)] = [$address, $name];
@@ 942-946 (lines=5) @@
939
                return true;
940
            }
941
        } else {
942
            if (!array_key_exists(mb_strtolower($address), $this->ReplyTo)) {
943
                $this->ReplyTo[mb_strtolower($address)] = [$address, $name];
944
945
                return true;
946
            }
947
        }
948
949
        return false;