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