Code Duplication    Length = 4-4 lines in 2 locations

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

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

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

@@ 660-663 (lines=4) @@
657
                        break;
658
                    }
659
                default:
660
                    if ($this->_bodyCanonEmptyCounter > 0) {
661
                        $canon .= str_repeat("\r\n", $this->_bodyCanonEmptyCounter);
662
                        $this->_bodyCanonEmptyCounter = 0;
663
                    }
664
                    if ($this->_bodyCanonSpace) {
665
                        $this->_bodyCanonLine .= ' ';
666
                        $canon .= ' ';