@@ -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); |