Failed Conditions
Push — PHPSecLib_Rid ( 1a2f9f...838957 )
by Florent
05:04
created
src/Algorithm/KeyEncryption/RSA.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @return \phpseclib\Crypt\RSA
93
+     * @return JoseRSA
94 94
      */
95 95
     private function getRsaObject()
96 96
     {
Please login to merge, or discard this patch.
src/Util/Hash.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * As set by the constructor or by the setHash() method.
52 52
      *
53
-     * @return string
53
+     * @return integer
54 54
      */
55 55
     public function getHash()
56 56
     {
Please login to merge, or discard this patch.
src/Util/RSA.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1187,7 +1187,7 @@  discard block
 block discarded – undo
1187 1187
      *    Typical salt lengths in octets are hLen (the length of the output
1188 1188
      *    of the hash function Hash) and 0.
1189 1189
      *
1190
-     * @param int $format
1190
+     * @param integer $sLen
1191 1191
      */
1192 1192
     public function setSaltLength($sLen)
1193 1193
     {
@@ -1445,7 +1445,6 @@  discard block
 block discarded – undo
1445 1445
      * See {@link http://tools.ietf.org/html/rfc3447#appendix-B.2.1 RFC3447#appendix-B.2.1}.
1446 1446
      *
1447 1447
      * @param string $mgfSeed
1448
-     * @param int    $mgfLen
1449 1448
      *
1450 1449
      * @return string
1451 1450
      */
@@ -1766,7 +1765,7 @@  discard block
 block discarded – undo
1766 1765
      * @param string $em
1767 1766
      * @param int    $emBits
1768 1767
      *
1769
-     * @return string
1768
+     * @return boolean
1770 1769
      */
1771 1770
     private function _emsa_pss_verify($m, $em, $emBits)
1772 1771
     {
@@ -1839,7 +1838,7 @@  discard block
 block discarded – undo
1839 1838
      * @param string $m
1840 1839
      * @param string $s
1841 1840
      *
1842
-     * @return string
1841
+     * @return boolean
1843 1842
      */
1844 1843
     private function _rsassa_pss_verify($m, $s)
1845 1844
     {
@@ -1964,8 +1963,9 @@  discard block
 block discarded – undo
1964 1963
      * See {@link http://tools.ietf.org/html/rfc3447#section-8.2.2 RFC3447#section-8.2.2}.
1965 1964
      *
1966 1965
      * @param string $m
1966
+     * @param string $s
1967 1967
      *
1968
-     * @return string
1968
+     * @return boolean
1969 1969
      */
1970 1970
     private function _rsassa_pkcs1_v1_5_verify($m, $s)
1971 1971
     {
@@ -2089,8 +2089,8 @@  discard block
 block discarded – undo
2089 2089
      *
2090 2090
      * @see self::encrypt()
2091 2091
      *
2092
-     * @param string $plaintext
2093 2092
      *
2093
+     * @param string $ciphertext
2094 2094
      * @return string
2095 2095
      */
2096 2096
     public function decrypt($ciphertext)
Please login to merge, or discard this patch.
src/Util/BigInteger.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * ?>
38 38
      * </code>
39 39
      *
40
-     * @param mixed $value    base-10 number or base-$base number if $base set.
40
+     * @param integer $value    base-10 number or base-$base number if $base set.
41 41
      * @param int   $base
42 42
      */
43 43
     private function __construct($value = 0, $base = 10)
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param \GMP $value
68
+     * @param resource $value
69 69
      *
70 70
      * @return \Jose\Util\BigInteger
71 71
      */
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * </code>
240 240
      * @param \Jose\Util\BigInteger $y
241 241
      *
242
-     * @return \Jose\Util\BigInteger[]
242
+     * @return BigInteger[]
243 243
      *
244 244
      */
245 245
     public function divide(BigInteger $y)
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      * @param \Jose\Util\BigInteger $e
273 273
      * @param \Jose\Util\BigInteger $n
274 274
      *
275
-     * @return \Jose\Util\BigInteger|bool
275
+     * @return BigInteger
276 276
      *
277 277
      *    and although the approach involving repeated squaring does vastly better, it, too, is impractical
278 278
      *    for our purposes.  The reason being that division - by far the most complicated and time-consuming
Please login to merge, or discard this patch.