@@ -510,7 +510,7 @@ discard block |
||
510 | 510 | return array('DKIM-Signature', 'X-DebugHash'); |
511 | 511 | } |
512 | 512 | |
513 | - return array('DKIM-Signature'); |
|
513 | + return array('DKIM-Signature'); |
|
514 | 514 | } |
515 | 515 | |
516 | 516 | /** |
@@ -591,7 +591,7 @@ discard block |
||
591 | 591 | |
592 | 592 | if ($this->_signatureTimestamp === true) { |
593 | 593 | |
594 | - $params['t'] = time(); |
|
594 | + $params['t'] = time(); |
|
595 | 595 | if ($this->_signatureExpiration !== false) { |
596 | 596 | $params['x'] = $params['t'] + $this->_signatureExpiration; |
597 | 597 | } |
@@ -739,8 +739,8 @@ discard block |
||
739 | 739 | { |
740 | 740 | $len = strlen($string); |
741 | 741 | if ($len > ($new_len = ($this->_maxLen - $this->_bodyLen))) { |
742 | - /** @noinspection CallableParameterUseCaseInTypeContextInspection */ |
|
743 | - $string = substr($string, 0, $new_len); |
|
742 | + /** @noinspection CallableParameterUseCaseInTypeContextInspection */ |
|
743 | + $string = substr($string, 0, $new_len); |
|
744 | 744 | $len = $new_len; |
745 | 745 | } |
746 | 746 | hash_update($this->_bodyHashHandler, $string); |
@@ -779,9 +779,9 @@ discard block |
||
779 | 779 | } |
780 | 780 | |
781 | 781 | if ($this->_passphrase) { |
782 | - $pkeyId = openssl_get_privatekey($this->_privateKey, $this->_passphrase); |
|
782 | + $pkeyId = openssl_get_privatekey($this->_privateKey, $this->_passphrase); |
|
783 | 783 | } else { |
784 | - $pkeyId = openssl_get_privatekey($this->_privateKey); |
|
784 | + $pkeyId = openssl_get_privatekey($this->_privateKey); |
|
785 | 785 | } |
786 | 786 | if (!$pkeyId) { |
787 | 787 | throw new Swift_SwiftException('Unable to load DKIM Private Key [' . openssl_error_string() . ']'); |