@@ -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) |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * |
| 162 | 162 | * @param \Jose\Util\BigInteger $y |
| 163 | 163 | * |
| 164 | - * @return \Jose\Util\BigInteger[] |
|
| 164 | + * @return BigInteger[] |
|
| 165 | 165 | * |
| 166 | 166 | */ |
| 167 | 167 | public function divide(BigInteger $y) |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * @param \Jose\Util\BigInteger $e |
| 182 | 182 | * @param \Jose\Util\BigInteger $n |
| 183 | 183 | * |
| 184 | - * @return \Jose\Util\BigInteger|bool |
|
| 184 | + * @return BigInteger |
|
| 185 | 185 | */ |
| 186 | 186 | public function modPow(BigInteger $e, BigInteger $n) |
| 187 | 187 | { |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | * @param string $m |
| 568 | 568 | * @param int $emBits |
| 569 | 569 | * |
| 570 | - * @return bool |
|
| 570 | + * @return false|string |
|
| 571 | 571 | */ |
| 572 | 572 | private function _emsa_pss_encode($m, $emBits) |
| 573 | 573 | { |
@@ -603,7 +603,7 @@ discard block |
||
| 603 | 603 | * @param string $em |
| 604 | 604 | * @param int $emBits |
| 605 | 605 | * |
| 606 | - * @return string |
|
| 606 | + * @return boolean |
|
| 607 | 607 | */ |
| 608 | 608 | private function _emsa_pss_verify($m, $em, $emBits) |
| 609 | 609 | { |
@@ -672,7 +672,7 @@ discard block |
||
| 672 | 672 | * @param string $m |
| 673 | 673 | * @param string $s |
| 674 | 674 | * |
| 675 | - * @return string |
|
| 675 | + * @return boolean |
|
| 676 | 676 | */ |
| 677 | 677 | private function _rsassa_pss_verify($m, $s) |
| 678 | 678 | { |