Failed Conditions
Push — PHPSecLib_Rid ( cdef82...9d7c65 )
by Florent
02:40
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/BigInteger.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Util/RSA.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1398,7 +1398,7 @@  discard block
 block discarded – undo
1398 1398
      * @param string $m
1399 1399
      * @param int    $emBits
1400 1400
      *
1401
-     * @return bool
1401
+     * @return false|string
1402 1402
      */
1403 1403
     private function _emsa_pss_encode($m, $emBits)
1404 1404
     {
@@ -1435,7 +1435,7 @@  discard block
 block discarded – undo
1435 1435
      * @param string $em
1436 1436
      * @param int    $emBits
1437 1437
      *
1438
-     * @return string
1438
+     * @return boolean
1439 1439
      */
1440 1440
     private function _emsa_pss_verify($m, $em, $emBits)
1441 1441
     {
@@ -1504,7 +1504,7 @@  discard block
 block discarded – undo
1504 1504
      * @param string $m
1505 1505
      * @param string $s
1506 1506
      *
1507
-     * @return string
1507
+     * @return boolean
1508 1508
      */
1509 1509
     private function _rsassa_pss_verify($m, $s)
1510 1510
     {
@@ -1623,8 +1623,9 @@  discard block
 block discarded – undo
1623 1623
      * RSASSA-PKCS1-V1_5-VERIFY.
1624 1624
      *
1625 1625
      * @param string $m
1626
+     * @param string $s
1626 1627
      *
1627
-     * @return string
1628
+     * @return boolean
1628 1629
      */
1629 1630
     private function _rsassa_pkcs1_v1_5_verify($m, $s)
1630 1631
     {
Please login to merge, or discard this patch.