Completed
Push — master ( 5ad39d...f36908 )
by Dan
03:26
created
Src/Authenticate/HashHmac.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         );
73 73
     }
74 74
 
75
-    public function getEncodedHash(array $payload = []){
75
+    public function getEncodedHash(array $payload = []) {
76 76
         $hash = $this->createHash($this->algorithm, $payload);
77 77
         return base64_encode($this->algorithm.'='.$hash);
78 78
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         $decodedHash = base64_decode($encodedHash);
92 92
 
93
-        list($algo, $hash) = array_pad( explode('=', $decodedHash), 4, $this->algorithm);
93
+        list($algo, $hash) = array_pad(explode('=', $decodedHash), 4, $this->algorithm);
94 94
         $payloadHash = $this->createHash($this->algorithm, $payload, $this->privateKey);
95 95
 
96 96
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
 
131
-    public function getPayload(){
131
+    public function getPayload() {
132 132
         return $this->payload;
133 133
     }
134 134
 
Please login to merge, or discard this patch.