Failed Conditions
Push — PHPSecLib_Rid ( fca9fd...3a3eb8 )
by Florent
03:04
created
src/Util/RSA.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * @param \Jose\KeyConverter\RSAKey $key
66 66
      * @param \Jose\Util\BigInteger     $m
67 67
      *
68
-     * @return \Jose\Util\BigInteger|false
68
+     * @return BigInteger
69 69
      */
70 70
     private static function _rsaep(RSAKey $key, BigInteger $m)
71 71
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      * @param int             $emBits
222 222
      * @param \Jose\Util\Hash $hash
223 223
      *
224
-     * @return string|bool
224
+     * @return false|string
225 225
      */
226 226
     private static function _emsa_pss_encode($m, $emBits, Hash $hash)
227 227
     {
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
      * @param string                    $signature
390 390
      * @param string                    $hash
391 391
      *
392
-     * @return bool
392
+     * @return string
393 393
      */
394 394
     public static function verify(RSAKey $key, $message, $signature, $hash)
395 395
     {
Please login to merge, or discard this patch.