@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Converts base-10 and binary strings (base-256) to BigIntegers. |
27 | 27 | * |
28 | - * @param mixed $value base-10 number or base-$base number if $base set. |
|
28 | + * @param integer $value base-10 number or base-$base number if $base set. |
|
29 | 29 | * @param int $base |
30 | 30 | */ |
31 | 31 | private function __construct($value = 0, $base = 10) |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * |
159 | 159 | * @param \Jose\Util\BigInteger $y |
160 | 160 | * |
161 | - * @return \Jose\Util\BigInteger[] |
|
161 | + * @return BigInteger[] |
|
162 | 162 | */ |
163 | 163 | public function divide(BigInteger $y) |
164 | 164 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @param \Jose\KeyConverter\RSAKey $key |
66 | 66 | * @param \Jose\Util\BigInteger $m |
67 | 67 | * |
68 | - * @return \Jose\Util\BigInteger|false |
|
68 | + * @return BigInteger |
|
69 | 69 | */ |
70 | 70 | private static function _rsaep(RSAKey $key, BigInteger $m) |
71 | 71 | { |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | * @param int $emBits |
222 | 222 | * @param \Jose\Util\Hash $hash |
223 | 223 | * |
224 | - * @return string|bool |
|
224 | + * @return false|string |
|
225 | 225 | */ |
226 | 226 | private static function _emsa_pss_encode($m, $emBits, Hash $hash) |
227 | 227 | { |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | * @param string $signature |
390 | 390 | * @param string $hash |
391 | 391 | * |
392 | - * @return bool |
|
392 | + * @return string |
|
393 | 393 | */ |
394 | 394 | public static function verify(RSAKey $key, $message, $signature, $hash) |
395 | 395 | { |