Completed
Push — master ( 5ad39d...f36908 )
by Dan
03:26
created
Src/Authenticate/HashHmac.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,8 @@  discard block
 block discarded – undo
58 58
      * Creates hash from payload.
59 59
      *
60 60
      * @param  array $payload
61
-     * @return mixed
61
+     * @param string $privateKey
62
+     * @return string
62 63
      */
63 64
     public function createHash($algorithm, array $payload = [], $privateKey)
64 65
     {
@@ -81,7 +82,7 @@  discard block
 block discarded – undo
81 82
     /**
82 83
      * Compare received hash against payload.
83 84
      *
84
-     * @param  $encodedHash
85
+     * @param  string $encodedHash
85 86
      * @param  array       $payload
86 87
      * @return bool
87 88
      * @throws \Exception
@@ -107,7 +108,7 @@  discard block
 block discarded – undo
107 108
 
108 109
 
109 110
     /**
110
-     * @param $key
111
+     * @param string $key
111 112
      * @return $this
112 113
      */
113 114
     public function setPrivateKey($key)
Please login to merge, or discard this patch.