Code Duplication    Length = 4-4 lines in 2 locations

lib/classes/Swift/Signers/DKIMSigner.php 1 location

@@ 680-683 (lines=4) @@
677
                        break;
678
                    }
679
                default:
680
                    if ($this->_bodyCanonEmptyCounter > 0) {
681
                        $canon .= str_repeat("\r\n", $this->_bodyCanonEmptyCounter);
682
                        $this->_bodyCanonEmptyCounter = 0;
683
                    }
684
                    if ($this->_bodyCanonSpace) {
685
                        $this->_bodyCanonLine .= ' ';
686
                        $canon .= ' ';

lib/classes/Swift/Signers/DomainKeySigner.php 1 location

@@ 502-505 (lines=4) @@
499
                        break;
500
                    }
501
                default:
502
                    if ($this->_bodyCanonEmptyCounter > 0) {
503
                        $canon .= str_repeat("\r\n", $this->_bodyCanonEmptyCounter);
504
                        $this->_bodyCanonEmptyCounter = 0;
505
                    }
506
                    $this->_bodyCanonLine .= $string[$i];
507
                    $canon .= $string[$i];
508
            }