Failed Conditions
Push — PHPSecLib_Rid ( 2ba149...2881a4 )
by Florent
05:10
created
src/Util/BigInteger.php 1 patch
Doc Comments   +12 added lines, -13 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      * ?>
302 302
      * </code>
303 303
      *
304
-     * @param \Jose\Util\Integer $y
304
+     * @param BigInteger $y
305 305
      *
306 306
      * @return \Jose\Util\BigInteger
307 307
      *
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      * ?>
330 330
      * </code>
331 331
      *
332
-     * @param \Jose\Util\Integer $y
332
+     * @param BigInteger $y
333 333
      *
334 334
      * @return \Jose\Util\BigInteger
335 335
      *
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
      * ?>
358 358
      * </code>
359 359
      *
360
-     * @param \Jose\Util\Integer $x
360
+     * @param BigInteger $x
361 361
      *
362 362
      * @return \Jose\Util\BigInteger
363 363
      */
@@ -391,9 +391,9 @@  discard block
 block discarded – undo
391 391
      * ?>
392 392
      * </code>
393 393
      *
394
-     * @param \Jose\Util\Integer $y
394
+     * @param BigInteger $y
395 395
      *
396
-     * @return array
396
+     * @return BigInteger[]
397 397
      *
398 398
      */
399 399
     public function divide(BigInteger $y)
@@ -426,8 +426,8 @@  discard block
 block discarded – undo
426 426
      * ?>
427 427
      * </code>
428 428
      *
429
-     * @param \Jose\Util\Integer $e
430
-     * @param \Jose\Util\Integer $n
429
+     * @param BigInteger $e
430
+     * @param BigInteger $n
431 431
      *
432 432
      * @return \Jose\Util\BigInteger
433 433
      *
@@ -493,9 +493,9 @@  discard block
 block discarded – undo
493 493
      * ?>
494 494
      * </code>
495 495
      *
496
-     * @param \Jose\Util\Integer $n
496
+     * @param BigInteger $n
497 497
      *
498
-     * @return \Jose\Util\eger|false
498
+     * @return BigInteger
499 499
      *
500 500
      */
501 501
     public function modInverse(BigInteger $n)
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
      *
533 533
      * Note how the same comparison operator is used.  If you want to test for equality, use $x->equals($y).
534 534
      *
535
-     * @param \Jose\Util\Integer $y
535
+     * @param BigInteger $y
536 536
      *
537 537
      * @return int < 0 if $this is less than $y; > 0 if $this is greater than $y, and 0 if they are equal.
538 538
      *
@@ -572,8 +572,8 @@  discard block
 block discarded – undo
572 572
      *
573 573
      * Byte length is equal to $length. Uses \phpseclib\Crypt\Random if it's loaded and mt_rand if it's not.
574 574
      *
575
-     * @param int $length
576 575
      *
576
+     * @param integer $size
577 577
      * @return \Jose\Util\BigInteger
578 578
      */
579 579
     private static function _random_number_helper($size)
@@ -590,8 +590,6 @@  discard block
 block discarded – undo
590 590
      * BigInteger::random($min, $max)
591 591
      * BigInteger::random($max, $min)
592 592
      *
593
-     * @param \Jose\Util\eger $arg1
594
-     * @param \Jose\Util\eger $arg2
595 593
      *
596 594
      * @return \Jose\Util\BigInteger
597 595
      */
@@ -657,6 +655,7 @@  discard block
 block discarded – undo
657 655
      * Removes leading zeros and truncates (if necessary) to maintain the appropriate precision
658 656
      *
659 657
      * @param \Jose\Util\BigInteger
658
+     * @param BigInteger $result
660 659
      *
661 660
      * @return \Jose\Util\BigInteger
662 661
      */
Please login to merge, or discard this patch.