@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | * ?> |
| 366 | 366 | * </code> |
| 367 | 367 | * |
| 368 | - * @param \Jose\Util\Integer $y |
|
| 368 | + * @param BigInteger $y |
|
| 369 | 369 | * |
| 370 | 370 | * @return \Jose\Util\BigInteger |
| 371 | 371 | * |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | * ?> |
| 479 | 479 | * </code> |
| 480 | 480 | * |
| 481 | - * @param \Jose\Util\Integer $y |
|
| 481 | + * @param BigInteger $y |
|
| 482 | 482 | * |
| 483 | 483 | * @return \Jose\Util\BigInteger |
| 484 | 484 | * |
@@ -596,7 +596,7 @@ discard block |
||
| 596 | 596 | * ?> |
| 597 | 597 | * </code> |
| 598 | 598 | * |
| 599 | - * @param \Jose\Util\Integer $x |
|
| 599 | + * @param BigInteger $x |
|
| 600 | 600 | * |
| 601 | 601 | * @return \Jose\Util\BigInteger |
| 602 | 602 | */ |
@@ -857,9 +857,9 @@ discard block |
||
| 857 | 857 | * ?> |
| 858 | 858 | * </code> |
| 859 | 859 | * |
| 860 | - * @param \Jose\Util\Integer $y |
|
| 860 | + * @param BigInteger $y |
|
| 861 | 861 | * |
| 862 | - * @return array |
|
| 862 | + * @return BigInteger[] |
|
| 863 | 863 | * |
| 864 | 864 | */ |
| 865 | 865 | public function divide(BigInteger $y) |
@@ -916,8 +916,8 @@ discard block |
||
| 916 | 916 | * ?> |
| 917 | 917 | * </code> |
| 918 | 918 | * |
| 919 | - * @param \Jose\Util\Integer $e |
|
| 920 | - * @param \Jose\Util\Integer $n |
|
| 919 | + * @param BigInteger $e |
|
| 920 | + * @param BigInteger $n |
|
| 921 | 921 | * |
| 922 | 922 | * @return \Jose\Util\BigInteger |
| 923 | 923 | * |
@@ -966,8 +966,8 @@ discard block |
||
| 966 | 966 | * |
| 967 | 967 | * Alias for modPow(). |
| 968 | 968 | * |
| 969 | - * @param \Jose\Util\Integer $e |
|
| 970 | - * @param \Jose\Util\Integer $n |
|
| 969 | + * @param BigInteger $e |
|
| 970 | + * @param BigInteger $n |
|
| 971 | 971 | * |
| 972 | 972 | * @return \Jose\Util\BigInteger |
| 973 | 973 | */ |
@@ -1339,9 +1339,9 @@ discard block |
||
| 1339 | 1339 | * ?> |
| 1340 | 1340 | * </code> |
| 1341 | 1341 | * |
| 1342 | - * @param \Jose\Util\Integer $n |
|
| 1342 | + * @param BigInteger $n |
|
| 1343 | 1343 | * |
| 1344 | - * @return \Jose\Util\eger|false |
|
| 1344 | + * @return BigInteger |
|
| 1345 | 1345 | * |
| 1346 | 1346 | */ |
| 1347 | 1347 | public function modInverse(BigInteger $n) |
@@ -1373,7 +1373,7 @@ discard block |
||
| 1373 | 1373 | * ?> |
| 1374 | 1374 | * </code> |
| 1375 | 1375 | * |
| 1376 | - * @param \Jose\Util\Integer $n |
|
| 1376 | + * @param BigInteger $n |
|
| 1377 | 1377 | * |
| 1378 | 1378 | * @return \Jose\Util\BigInteger |
| 1379 | 1379 | * |
@@ -1408,7 +1408,7 @@ discard block |
||
| 1408 | 1408 | * ?> |
| 1409 | 1409 | * </code> |
| 1410 | 1410 | * |
| 1411 | - * @param \Jose\Util\Integer $n |
|
| 1411 | + * @param BigInteger $n |
|
| 1412 | 1412 | * |
| 1413 | 1413 | * @return \Jose\Util\BigInteger |
| 1414 | 1414 | */ |
@@ -1445,7 +1445,7 @@ discard block |
||
| 1445 | 1445 | * |
| 1446 | 1446 | * Note how the same comparison operator is used. If you want to test for equality, use $x->equals($y). |
| 1447 | 1447 | * |
| 1448 | - * @param \Jose\Util\Integer $y |
|
| 1448 | + * @param BigInteger $y |
|
| 1449 | 1449 | * |
| 1450 | 1450 | * @return int < 0 if $this is less than $y; > 0 if $this is greater than $y, and 0 if they are equal. |
| 1451 | 1451 | * |
@@ -1495,7 +1495,7 @@ discard block |
||
| 1495 | 1495 | * |
| 1496 | 1496 | * If you need to see if one number is greater than or less than another number, use BigInteger::compare() |
| 1497 | 1497 | * |
| 1498 | - * @param \Jose\Util\Integer $x |
|
| 1498 | + * @param BigInteger $x |
|
| 1499 | 1499 | * |
| 1500 | 1500 | * @return bool |
| 1501 | 1501 | */ |
@@ -1544,7 +1544,7 @@ discard block |
||
| 1544 | 1544 | /** |
| 1545 | 1545 | * Logical And. |
| 1546 | 1546 | * |
| 1547 | - * @param \Jose\Util\Integer $x |
|
| 1547 | + * @param BigInteger $x |
|
| 1548 | 1548 | * |
| 1549 | 1549 | * |
| 1550 | 1550 | * @return \Jose\Util\BigInteger |
@@ -1560,7 +1560,7 @@ discard block |
||
| 1560 | 1560 | /** |
| 1561 | 1561 | * Logical Or. |
| 1562 | 1562 | * |
| 1563 | - * @param \Jose\Util\Integer $x |
|
| 1563 | + * @param BigInteger $x |
|
| 1564 | 1564 | * |
| 1565 | 1565 | * |
| 1566 | 1566 | * @return \Jose\Util\BigInteger |
@@ -1576,7 +1576,7 @@ discard block |
||
| 1576 | 1576 | /** |
| 1577 | 1577 | * Logical Exclusive-Or. |
| 1578 | 1578 | * |
| 1579 | - * @param \Jose\Util\Integer $x |
|
| 1579 | + * @param BigInteger $x |
|
| 1580 | 1580 | * |
| 1581 | 1581 | * |
| 1582 | 1582 | * @return \Jose\Util\BigInteger |
@@ -1743,8 +1743,8 @@ discard block |
||
| 1743 | 1743 | * |
| 1744 | 1744 | * Byte length is equal to $length. Uses \phpseclib\Crypt\Random if it's loaded and mt_rand if it's not. |
| 1745 | 1745 | * |
| 1746 | - * @param int $length |
|
| 1747 | 1746 | * |
| 1747 | + * @param integer $size |
|
| 1748 | 1748 | * @return \Jose\Util\BigInteger |
| 1749 | 1749 | */ |
| 1750 | 1750 | private static function _random_number_helper($size) |
@@ -1777,8 +1777,6 @@ discard block |
||
| 1777 | 1777 | * BigInteger::random($min, $max) |
| 1778 | 1778 | * BigInteger::random($max, $min) |
| 1779 | 1779 | * |
| 1780 | - * @param \Jose\Util\eger $arg1 |
|
| 1781 | - * @param \Jose\Util\eger $arg2 |
|
| 1782 | 1780 | * |
| 1783 | 1781 | * @return \Jose\Util\BigInteger |
| 1784 | 1782 | */ |
@@ -1844,8 +1842,8 @@ discard block |
||
| 1844 | 1842 | * If there's not a prime within the given range, false will be returned. |
| 1845 | 1843 | * If more than $timeout seconds have elapsed, give up and return false. |
| 1846 | 1844 | * |
| 1847 | - * @param \Jose\Util\teger $min |
|
| 1848 | - * @param \Jose\Util\teger $max |
|
| 1845 | + * @param BigInteger $min |
|
| 1846 | + * @param BigInteger $max |
|
| 1849 | 1847 | * @param int $timeout |
| 1850 | 1848 | * |
| 1851 | 1849 | * @return Math_BigInteger|false |
@@ -1958,6 +1956,7 @@ discard block |
||
| 1958 | 1956 | * Removes leading zeros and truncates (if necessary) to maintain the appropriate precision |
| 1959 | 1957 | * |
| 1960 | 1958 | * @param \Jose\Util\BigInteger |
| 1959 | + * @param BigInteger $result |
|
| 1961 | 1960 | * |
| 1962 | 1961 | * @return \Jose\Util\BigInteger |
| 1963 | 1962 | */ |
@@ -1997,8 +1996,8 @@ discard block |
||
| 1997 | 1996 | /** |
| 1998 | 1997 | * Array Repeat. |
| 1999 | 1998 | * |
| 2000 | - * @param $input Array |
|
| 2001 | - * @param $multiplier mixed |
|
| 1999 | + * @param integer $input Array |
|
| 2000 | + * @param integer $multiplier mixed |
|
| 2002 | 2001 | * |
| 2003 | 2002 | * @return array |
| 2004 | 2003 | */ |
@@ -2012,8 +2011,8 @@ discard block |
||
| 2012 | 2011 | * |
| 2013 | 2012 | * Shifts binary strings $shift bits, essentially multiplying by 2**$shift. |
| 2014 | 2013 | * |
| 2015 | - * @param $x String |
|
| 2016 | - * @param $shift Integer |
|
| 2014 | + * @param string $x String |
|
| 2015 | + * @param integer $shift Integer |
|
| 2017 | 2016 | * |
| 2018 | 2017 | * @return string |
| 2019 | 2018 | */ |