Completed
Push — 5.x ( 5eecd4...c9dc5a )
by Lars
06:17
created
lib/classes/Swift/Signers/DKIMSigner.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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() . ']');
Please login to merge, or discard this patch.