Code Duplication    Length = 4-4 lines in 2 locations

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

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

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
            }