mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Fix return type comment on Crypt/RSA::createKey()
Function returns a Crypt/RSA/PrivateKey and updating the PHPDoc for it will help with static analysis.
This commit is contained in:
parent
c73b9f0884
commit
dd9146e259
@ -290,7 +290,7 @@ abstract class RSA extends AsymmetricKey
|
||||
*
|
||||
* The public key can be extracted from the private key
|
||||
*
|
||||
* @return RSA
|
||||
* @return RSA\PrivateKey
|
||||
* @param int $bits
|
||||
*/
|
||||
public static function createKey($bits = 2048)
|
||||
|
Loading…
Reference in New Issue
Block a user