Code Duplication    Length = 5-5 lines in 2 locations

www/app/model/PHPMailer/PHPMailer/PHPMailer.php 1 location

@@ 792-796 (lines=5) @@
789
            return;
790
        }
791
        //Avoid clash with built-in function names
792
        if (!in_array($this->Debugoutput, ['error_log', 'html', 'echo']) and is_callable($this->Debugoutput)) {
793
            call_user_func($this->Debugoutput, $str, $this->SMTPDebug);
794
795
            return;
796
        }
797
        switch ($this->Debugoutput) {
798
            case 'error_log':
799
                //Don't output, just log

www/app/model/PHPMailer/PHPMailer/SMTP.php 1 location

@@ 240-244 (lines=5) @@
237
            return;
238
        }
239
        //Avoid clash with built-in function names
240
        if (!in_array($this->Debugoutput, ['error_log', 'html', 'echo']) and is_callable($this->Debugoutput)) {
241
            call_user_func($this->Debugoutput, $str, $level);
242
243
            return;
244
        }
245
        switch ($this->Debugoutput) {
246
            case 'error_log':
247
                //Don't output, just log