Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 667-670 (lines=4) @@
664
                        break;
665
                    }
666
                default:
667
                    if ($this->_bodyCanonEmptyCounter > 0) {
668
                        $canon .= str_repeat("\r\n", $this->_bodyCanonEmptyCounter);
669
                        $this->_bodyCanonEmptyCounter = 0;
670
                    }
671
                    if ($this->_bodyCanonSpace) {
672
                        $this->_bodyCanonLine .= ' ';
673
                        $canon .= ' ';

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

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