Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 200-206 (lines=7) @@
197
     * @param string $domainName
198
     * @param string $selector
199
     */
200
    public function __construct($privateKey, $domainName, $selector)
201
    {
202
        $this->_privateKey = $privateKey;
203
        $this->_domainName = $domainName;
204
        $this->_signerIdentity = '@' . $domainName;
205
        $this->_selector = $selector;
206
    }
207
208
    /**
209
     * Instanciate DKIMSigner.

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

@@ 144-150 (lines=7) @@
141
     * @param string $domainName
142
     * @param string $selector
143
     */
144
    public function __construct($privateKey, $domainName, $selector)
145
    {
146
        $this->_privateKey = $privateKey;
147
        $this->_domainName = $domainName;
148
        $this->_signerIdentity = '@' . $domainName;
149
        $this->_selector = $selector;
150
    }
151
152
    /**
153
     * Instanciate DomainKeySigner.