@@ -115,7 +115,7 @@ |
||
115 | 115 | * @param string $algo |
116 | 116 | * @param BufferInterface $data |
117 | 117 | * @param BufferInterface $salt |
118 | - * @return BufferInterface |
|
118 | + * @return EcAdapter\Adapter\EcAdapterInterface |
|
119 | 119 | */ |
120 | 120 | public static function hmac($algo, BufferInterface $data, BufferInterface $salt) |
121 | 121 | { |
@@ -60,8 +60,8 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param int|string $start |
|
64 | - * @param int|string $length |
|
63 | + * @param integer $start |
|
64 | + * @param integer $length |
|
65 | 65 | * @return $this |
66 | 66 | */ |
67 | 67 | public function slice($start, $length) |
@@ -253,8 +253,8 @@ discard block |
||
253 | 253 | /** |
254 | 254 | * Attempt to calculate the public key recovery param by trial and error |
255 | 255 | * |
256 | - * @param integer|string $r |
|
257 | - * @param integer|string $s |
|
256 | + * @param integer $r |
|
257 | + * @param integer $s |
|
258 | 258 | * @param BufferInterface $messageHash |
259 | 259 | * @param PublicKey $publicKey |
260 | 260 | * @return int |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | } |
324 | 324 | |
325 | 325 | /** |
326 | - * @param int|string $element |
|
326 | + * @param string $element |
|
327 | 327 | * @param bool $half |
328 | 328 | * @return bool |
329 | 329 | */ |
@@ -127,7 +127,7 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
130 | - * @param $length |
|
130 | + * @param integer $length |
|
131 | 131 | * @return $this |
132 | 132 | */ |
133 | 133 | public function resize($length) |