Code Duplication    Length = 5-5 lines in 2 locations

core/vendor/phpmailer/phpmailer/src/PHPMailer.php 1 location

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

core/vendor/phpmailer/phpmailer/src/SMTP.php 1 location

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