Code Duplication    Length = 4-4 lines in 2 locations

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
            }

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

@@ 709-712 (lines=4) @@
706
                        break;
707
                    }
708
                default:
709
                    if ($this->_bodyCanonEmptyCounter > 0) {
710
                        $canon .= str_repeat("\r\n", $this->_bodyCanonEmptyCounter);
711
                        $this->_bodyCanonEmptyCounter = 0;
712
                    }
713
                    if ($this->_bodyCanonSpace) {
714
                        $this->_bodyCanonLine .= ' ';
715
                        $canon .= ' ';